@charset "UTF-8";

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

  /* ===========================================================
     FOOTER — Bento compact (repris de index), rendu autonome.
     Spécificité par pôle : liseré des cartes (au hover), bloc légal
     et bouton LinkedIn teintés via --accent / --accent-rgb.
     =========================================================== */
  footer[role="contentinfo"] {
    /* Tokens neutres autonomes (valeurs de l'index) : rendu identique
       quelle que soit la page hôte. L'accent reste piloté par la page. */
    --bg-elev-1: #101010;
    --text-primary: #f4f4f4;
    --text-secondary: #b8b8b8;
    --text-tertiary: #6a6a6a;
    --border-subtle: rgba(255, 255, 255, 0.06);

    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);
  }
  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; }

  .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;
  }

  .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; }

  .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%; }
  /* Liseré teinté pôle, révélé au survol (couleur du pôle = --accent-rgb) */
  .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; }

  .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%);
  }

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

  .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; }

  .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 (teinté couleur du pôle) --- */
  .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 */ }
  /* Bloc bas-droite (mentions légales · confidentialité · LinkedIn) teinté pôle */
  .footer-bottom-right {
    display: inline-flex; align-items: center; gap: 16px;
    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; }

  /* Garde-fou : neutralise les anciennes règles héritées
     .footer-bottom a / .footer-legal a (spécificité 0,1,1) qui sinon
     assombriraient les liens légaux et l'icône LinkedIn. */
  .footer-bottom .footer-link {
    color: #9a9a9a; /* qw3 contraste AA (ex text-tertiary 3.44:1) */
    transition: color 180ms ease; /* aligné sur l'index */
  }
  .footer-bottom .footer-link:hover { color: var(--text-primary); }
  .footer-bottom-right .footer-linkedin {
    color: rgba(255,255,255,0.82);
    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-bottom-right .footer-linkedin:hover { color: #fff; }

  @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; }
  }

  @media (prefers-reduced-motion: reduce) {
    .fcard, .footer-link, .footer-linkedin { transition: none; }
    .fcard:hover, .footer-linkedin:hover { 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;}

  .q-intent-opt{display:inline-flex !important;align-items:center !important;justify-content:center !important;min-height:44px !important;}
  .q-rgpd{padding:6px 0 !important;}
  .q-rgpd input[type="checkbox"]{width:22px !important;height:22px !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;}
}
@media (max-width:560px){
  .q-section{padding-top:30px !important;padding-bottom:30px !important;}
}

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

  /* =====================================================
     LE GROUPE - logos des societes soeurs, signature
     centrale de la barre legale (entre copyright et
     mentions). Injecte par _outils/inject_footer_eco.py
     ===================================================== */
  .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 */
  }
  .footer-eco-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px; /* cible tactile */
    text-decoration: none;
    color: var(--accent-hi, #97a3b8); /* fleche teintee pole */
  }
  .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, #748099); outline-offset: 3px; border-radius: 2px; }
  /* Sous 860px la barre wrappe : le bloc prend sa propre ligne centree. */
  @media (max-width: 860px) {
    .footer-bottom .footer-eco { width: 100%; order: 3; justify-content: center; }
  }
  @media (prefers-reduced-motion: reduce) {
    .footer-eco-link img, .footer-eco-arrow { transition: none; }
    .footer-eco-link:hover img { transform: none; }
  }
