@charset "UTF-8";

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

/* Pre-paint mobile 2026-07-29 -- voir _outils/inject_m22pre.py.
   jcd-m22 (grille 2x2 + hairlines) est parse en fin de <body>, bien apres que
   #process a ete peint : sans ce garde-fou les cellules apparaissent d'abord
   avec leur chrome desktop (cadres clairs) avant de virer au hairline gris.
   On ne remet ici a zero que ce que jcd-m22 remet a zero -> rendu final
   identique (ses hairlines sont sur des :nth-child, plus specifiques). */
@media (max-width:820px){
  .fp-step, .bp-step, .regie-steps .clip, .atelier-steps .station, .pf-vcard{
    background:none !important; border:0 !important; border-radius:0 !important; box-shadow:none !important;
  }
  .fp-step::before, .bp-step::before, .regie-steps .clip::before, .atelier-steps .station::before, .pf-vcard::before,
  .fp-step::after, .bp-step::after, .regie-steps .clip::after, .atelier-steps .station::after, .pf-vcard::after{
    display:none !important; content:none !important;
  }
  /* informatique : le quadrant "pourquoi nous" (.wt-items) est traite par le
     meme bloc jcd-m22 et souffre donc du meme flash. */
  .wt-item, .wt-card-box{
    background:none !important; border:0 !important; border-radius:0 !important; box-shadow:none !important;
  }
  .wt-item::before, .wt-item::after{ display:none !important; content:none !important; }
}

/* ==================================================================
   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;}
}

/* ==================================================================
   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;}
}

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

/* Quadrants 2x2 mobile (methode + partenaire) v2 2026-07-22 */
@media (max-width:820px){
  /* -- conteneurs d'etapes -> grille 2 colonnes -- */
  .fp-steps, .regie-steps, .atelier-steps, .blueprint, .pf-vcards{
    display:grid !important; grid-template-columns:1fr 1fr !important; gap:0 !important;
    margin:0 !important; padding:0 !important; position:relative !important; border:0 !important; background:none !important;
  }
  .fp-steps::before, .regie-steps::before, .atelier-steps::before, .blueprint::before, .pf-vcards::before,
  .fp-steps::after, .regie-steps::after, .atelier-steps::after, .blueprint::after, .pf-vcards::after{ display:none !important; content:none !important; }
  /* -- cellules : titre seul, croix hairline -- */
  .fp-step, .bp-step, .regie-steps .clip, .atelier-steps .station, .pf-vcard{
    display:block !important; position:relative !important; box-sizing:border-box !important;
    margin:0 !important; padding:2px 14px 14px 0 !important;
    min-height:0 !important; min-width:0 !important; width:auto !important; max-width:none !important;
    background:none !important; border:0 !important; border-radius:0 !important; box-shadow:none !important;
    transform:none !important; translate:none !important; opacity:1 !important; left:auto !important; right:auto !important; top:auto !important; bottom:auto !important;
    cursor:default !important; list-style:none !important; overflow:visible !important;
  }
  /* colonne droite : respiration + hairline verticale */
  .fp-step:nth-child(even), .regie-steps .clip:nth-child(even), .atelier-steps .station:nth-child(even), .pf-vcard:nth-child(even), .bp-step--r{
    padding-left:16px !important; padding-right:0 !important;
    border-left:1px solid rgba(255,255,255,.09) !important;
  }
  /* rangee haute : hairline horizontale sous les 2 premieres cellules */
  .fp-step:nth-child(-n+2), .regie-steps .clip:nth-child(-n+2), .atelier-steps .station:nth-child(-n+2), .pf-vcard:nth-child(-n+2), .bp-step--1, .bp-step--2{
    border-bottom:1px solid rgba(255,255,255,.09) !important;
  }
  /* rangee basse */
  .fp-step:nth-child(n+3), .regie-steps .clip:nth-child(n+3), .atelier-steps .station:nth-child(n+3), .pf-vcard:nth-child(n+3), .bp-step--3, .bp-step--4{
    padding-top:14px !important; padding-bottom:2px !important;
  }
  /* nombre impair d'etapes (agencement : 3) : la derniere s'etale sur les 2 colonnes */
  .pf-vcard:nth-child(odd):last-child, .fp-step:nth-child(odd):last-child, .regie-steps .clip:nth-child(odd):last-child, .atelier-steps .station:nth-child(odd):last-child{
    grid-column:1 / -1 !important; border-left:0 !important; padding-left:0 !important;
  }
  /* blueprint : neutralise le placement zigzag desktop (grid-row 1..4 / justify-self) */
  .bp-step--l, .bp-step--r{ justify-self:stretch !important; align-self:stretch !important; }
  .bp-step--1{ grid-column:1 !important; grid-row:1 !important; }
  .bp-step--2{ grid-column:2 !important; grid-row:1 !important; }
  .bp-step--3{ grid-column:1 !important; grid-row:2 !important; }
  .bp-step--4{ grid-column:2 !important; grid-row:2 !important; }
  /* -- marqueurs ronds / anneaux : supprimes (pas d'icone facon chargement) -- */
  .fp-step::before, .bp-step::before, .regie-steps .clip::before, .atelier-steps .station::before, .pf-vcard::before{
    display:none !important; content:none !important;
  }
  /* ancien trait de timeline verticale + chevrons accordeon : off */
  .fp-step::after, .bp-step::after, .regie-steps .clip::after, .atelier-steps .station::after, .pf-vcard::after{ display:none !important; content:none !important; }
  /* atelier : cartouche station sans relief residuel + bande striee decorative off */
  .atelier-steps .station .station-tag{ box-shadow:none !important; border-radius:0 !important; }
  .atelier-steps .station .station-tag::before{ display:none !important; content:none !important; }
  .process:has(.atelier-steps)::after{ display:none !important; content:none !important; }
  /* titres */
  .fp-step h3, .bp-step h3, .regie-steps .clip h3, .station-tag h3, .atelier-steps .station .station-tag h3, .pf-vcard-title{
    margin:0 !important; padding:0 !important; font-size:15px !important; font-weight:600 !important;
    line-height:1.3 !important; letter-spacing:-.01em !important; color:var(--text-1,#f4f4f4) !important;
    overflow-wrap:break-word !important;
  }
  .pf-vcard-head{ display:block !important; margin:0 !important; padding:0 !important; }
  /* -- partenaire (informatique) : 4 raisons en 2x2 -- */
  .wt-items{
    display:grid !important; grid-template-columns:1fr 1fr !important; gap:0 !important;
    margin:0 !important; padding:0 !important; list-style:none !important; position:relative !important;
  }
  .wt-item{
    display:block !important; margin:0 !important; padding:2px 14px 14px 0 !important;
    min-height:0 !important; min-width:0 !important; border:0 !important; background:none !important; box-sizing:border-box !important;
  }
  .wt-item::before, .wt-item::after{ display:none !important; content:none !important; }
  .wt-item:nth-child(even){ padding-left:16px !important; padding-right:0 !important; border-left:1px solid rgba(255,255,255,.09) !important; }
  .wt-item:nth-child(-n+2){ border-bottom:1px solid rgba(255,255,255,.09) !important; }
  .wt-item:nth-child(n+3){ padding-top:14px !important; padding-bottom:2px !important; }
  .wt-card-box{ margin:0 !important; padding:0 !important; border:0 !important; background:none !important; box-shadow:none !important; transform:none !important; }
  .wt-card-box h3{ margin:0 0 5px !important; font-size:15px !important; font-weight:600 !important; line-height:1.3 !important; letter-spacing:-.01em !important; }
  .wt-card-box p{
    margin:0 !important; font-size:13px !important; line-height:1.5 !important; color:var(--text-2,#b8b8b8) !important;
    display:-webkit-box !important; -webkit-box-orient:vertical !important; -webkit-line-clamp:4 !important; overflow:hidden !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; }
  }
