@charset "UTF-8";

/* ==================================================================
   Ex-bloc inline <style> principal - externalise le 2026-08-07
   ================================================================== */

  /* ===========================================================
     FOOTER — Bento compact · grain + hairlines lumineux ·
     interactions épurées. (index uniquement)
     =========================================================== */
  footer[role="contentinfo"] {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-top: 0;
    background:
      radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,0.025) 0%, transparent 55%),
      var(--bg-elev-1);
    padding: clamp(34px, 4vw, 56px) 0 clamp(18px, 2.4vw, 30px);
  }
  /* Hairline lumineux supérieur (fade aux extrémités) */
  footer[role="contentinfo"]::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22) 50%, transparent);
    z-index: 2;
  }
  footer[role="contentinfo"] .container { position: relative; z-index: 1; }

  /* Grain fin — couche décorative non interactive, statique */
  .footer-grain {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/></svg>");
    background-size: 180px 180px;
  }

  /* --- Bento : une seule rangée (compact) --- */
  .footer-bento {
    display: grid;
    grid-template-columns: 1fr 0.9fr 1.3fr;
    grid-template-areas: "poles groupe contact";
    gap: 14px;
    margin-bottom: 22px;
  }
  .fcard--poles   { grid-area: poles; }
  .fcard--groupe  { grid-area: groupe; }
  .fcard--contact { grid-area: contact; }

  /* --- Carte (double-liseré : fond + highlight interne + ring au hover) --- */
  .fcard {
    position: relative;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.012) 100%);
    border: 1px solid var(--border-subtle);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
    transition:
      transform 600ms cubic-bezier(0.32,0.72,0,1),
      border-color 600ms cubic-bezier(0.32,0.72,0,1),
      box-shadow 600ms cubic-bezier(0.32,0.72,0,1);
  }
  .fcard-inner { position: relative; z-index: 1; padding: clamp(18px, 1.6vw, 24px); height: 100%; }

  /* Touches bleu-gris « slate » du footer, alignées sur le footer de
     carrieres (#748099). Variables limitées au footer : le reste de la
     page conserve son bleu de marque. */
  footer[role="contentinfo"] {
    --accent: #748099;
    --accent-rgb: 116, 128, 153;
    --accent-hi: #97a3b8;
  }

  /* Ring lumineux révélé au survol (border-image via masque) */
  .fcard::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(var(--accent-rgb),0.55) 0%, rgba(255,255,255,0.22) 45%, rgba(255,255,255,0) 72%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 600ms cubic-bezier(0.32,0.72,0,1);
    pointer-events: none;
  }
  .fcard:hover {
    border-color: rgba(255,255,255,0.02);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
  }
  .fcard:hover::after { opacity: 1; }

  /* Accent de bord directionnel & cohérent sur la rangée (lumière qui
     balaie de gauche à droite) :
     · Pôles (gauche)        = haut + gauche  (réglage de base, 135°)
     · Le groupe (milieu)    = haut seul      (180°)
     · Nous trouver (droite) = haut + droite  (225°) */
  .fcard--groupe::after {
    background: linear-gradient(180deg,
      rgba(255,255,255,0.55) 0%,
      rgba(var(--accent-rgb),0.45) 20%,
      rgba(255,255,255,0) 60%);
  }
  .fcard--contact::after {
    background: linear-gradient(225deg,
      rgba(var(--accent-rgb),0.55) 0%,
      rgba(255,255,255,0.22) 45%,
      rgba(255,255,255,0) 72%);
  }

  /* --- Titres de carte (eyebrow) --- */
  .fcard-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin: 0 0 16px;
  }

  /* --- Liens + soulignement animé --- */
  .footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; }
  .footer-links--cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
  .footer-link {
    position: relative;
    display: inline-block;
    font-size: 13.5px;
    line-height: 1.4;
    color: #9a9a9a; /* qw3 contraste AA (ex text-tertiary 3.44:1) */
    text-decoration: none;
    transition: color 480ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .footer-link:hover { color: var(--text-primary); }



  .footer-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

  /* --- Écosystème : logos des sociétés sœurs, signature centrale de la
     barre légale (entre copyright et mentions). Registre volontairement
     discret (opacité réduite au repos) ; le survol restitue le logo
     plein + flèche externe. Hauteurs différenciées par logo pour
     égaliser la masse optique. --- */
  .footer-eco {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px 20px;
  }
  .footer-eco-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8a8a8a; /* fine print AA, aligné fc-hours */
  }
  .footer-eco-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    text-decoration: none;
    color: var(--accent-hi);
  }
  .footer-eco-link img {
    display: block;
    width: auto;
    opacity: 0.52;
    transition:
      opacity 480ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .footer-eco-arrow {
    flex: none;
    opacity: 0;
    transform: translate(-3px, 3px);
    transition:
      opacity 480ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .footer-eco-link:hover img { opacity: 0.95; transform: translateY(-1px); }
  .footer-eco-link:hover .footer-eco-arrow { opacity: 0.9; transform: translate(0, 0); }
  .footer-eco-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
  /* Sous 860px la barre wrappe : l'écosystème prend sa propre ligne,
     centrée, sous le copyright et la pilule légale. */
  @media (max-width: 860px) {
    .footer-bottom .footer-eco { width: 100%; order: 3; justify-content: center; }
  }

  /* --- Contacts Metz / Nancy --- */
  .footer-contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-contact-block { display: flex; flex-direction: column; gap: 3px; }
  .fc-city { color: var(--text-primary); font-weight: 600; font-size: 14px; letter-spacing: -0.01em; }
  .fc-role { color: var(--text-secondary); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
  .footer-contact-block address { font-style: normal; color: #8a8a8a; /* qw3 contraste AA, fine print */ font-size: 13px; line-height: 1.5; margin-bottom: 6px; }
  .footer-contact-block .footer-link { color: var(--text-secondary); font-variant-numeric: tabular-nums; }
  .fc-hours { color: #8a8a8a; /* qw3 contraste AA, fine print */ font-size: 12px; margin-top: 6px; }

  /* --- LinkedIn (seul réseau, mis en valeur : accent bleu JCD) --- */
  .footer-linkedin {
    width: 40px; height: 40px;
    flex: none;
    border-radius: 11px;
    display: inline-flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.82);
    background: linear-gradient(180deg, rgba(var(--accent-rgb),0.24) 0%, rgba(var(--accent-rgb),0.10) 100%);
    border: 1px solid rgba(var(--accent-rgb),0.45);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 6px 16px -8px rgba(var(--accent-rgb),0.55);
    transition:
      color 300ms cubic-bezier(0.32,0.72,0,1),
      background 300ms cubic-bezier(0.32,0.72,0,1),
      border-color 300ms cubic-bezier(0.32,0.72,0,1),
      transform 300ms cubic-bezier(0.32,0.72,0,1),
      box-shadow 300ms cubic-bezier(0.32,0.72,0,1);
  }
  .footer-linkedin:hover {
    color: #fff;
    background: linear-gradient(180deg, rgba(var(--accent-rgb),0.5) 0%, rgba(var(--accent-rgb),0.28) 100%);
    border-color: rgba(var(--accent-rgb),0.7);
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 10px 24px -8px rgba(var(--accent-rgb),0.7);
  }
  .footer-linkedin:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

  /* --- Barre légale --- */
  .footer-bottom {
    position: relative;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #8a8a8a; /* qw3 contraste AA, fine print */
  }
  .footer-bottom::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10) 50%, transparent);
  }
  .footer-bottom .footer-copyright { color: #8a8a8a; /* qw3 contraste AA, fine print */ }
  .footer-bottom-right {
    display: inline-flex; align-items: center; gap: 16px;
    /* Gradient JCD bleu subtil en backdrop (low opacity) */
    padding: 6px 14px 6px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(var(--accent-rgb),0.10) 0%, rgba(var(--accent-rgb),0.04) 55%, transparent 100%);
    border: 1px solid rgba(var(--accent-rgb),0.14);
  }
  .footer-bottom .footer-legal { display: inline-flex; gap: 6px; align-items: center; }

  /* --- Responsive --- */
  @media (max-width: 860px) {
    .footer-bento {
      grid-template-columns: 1fr 1fr;
      grid-template-areas:
        "poles groupe"
        "contact contact";
    }
  }
  @media (max-width: 560px) {
    .footer-bento {
      grid-template-columns: 1fr;
      grid-template-areas:
        "poles"
        "groupe"
        "contact";
    }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .footer-bottom-right { width: 100%; justify-content: space-between; }
  }
  @media (max-width: 380px) {
    .footer-contacts { grid-template-columns: 1fr; }
  }

  /* --- Accessibilité : mouvement réduit --- */
  @media (prefers-reduced-motion: reduce) {
    .fcard, .footer-link, .footer-link::after, .footer-linkedin,
    .footer-eco-link img, .footer-eco-arrow { transition: none; }
    .fcard:hover, .footer-linkedin:hover { transform: none; }
    .footer-eco-link:hover img { transform: none; }
  }

/* ==================================================================
   Ex-bloc inline <style id="jcd-mtap"> - externalise le 2026-08-07
   ================================================================== */

/* UX mobile 2026-07-20 */
@media (max-width:820px){
  a.jcd-skip{min-height:44px !important;}
  a.logo{padding:8px !important;margin:-8px !important;}
  .footer-link{display:inline-flex !important;align-items:center !important;min-height:44px !important;padding:5px 0 !important;}
  .footer-linkedin{width:44px !important;height:44px !important;}
  .footer-link,.footer-copyright,.footer-legal,.footer-legal a,#year{color:#9a9a9a !important;}
  .jcd-mnav__sub{font-size:16px !important;}

  em{background-image:linear-gradient(120deg,rgba(46,114,186,1) 0%,rgba(46,114,186,1) 9%,rgba(249,214,5,0.95) 24%,rgba(243,148,29,0.95) 38%,rgba(239,72,88,0.95) 53%,rgba(176,99,172,0.95) 69%,rgba(142,192,65,0.95) 84%,rgba(201,179,156,0.95) 100%) !important;}
}

/* ==================================================================
   Ex-bloc inline <style id="jcd-mlite"> - externalise le 2026-08-07
   ================================================================== */

/* Allegement mobile 2026-07-20 */
@media (max-width:767.98px){
  .clients-trust,.prest-aside-clients,section.partners,.prest-aside-partners{display:none !important;}
}
