@charset "UTF-8";

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

  /* Clients prest-aside : cards statiques facon partenaires des pages pole (2026-07-22) */
  .jcd-lcards {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px; background: var(--line-2); border: 1px solid var(--line-2);
    border-radius: 4px; overflow: hidden;
  }
  .jcd-lcard {
    position: relative; aspect-ratio: 5 / 4;
    display: flex; align-items: center; justify-content: center;
    padding: 18px 16px; background: var(--bg);
    transition: background 320ms ease;
  }
  .jcd-lcard img {
    max-width: 74%; max-height: 54%; width: auto; height: auto;
    object-fit: contain; opacity: 0.62;
    filter: grayscale(1) brightness(1.9) contrast(0.95); mix-blend-mode: lighten;
    transition: opacity 320ms ease;
  }
  .jcd-lcard:hover img { opacity: 0; }
  .jcd-lcard::after {
    content: attr(data-name); position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    padding: 6px 10px; text-align: center;
    font-family: var(--font-mono); font-size: 11px; line-height: 1.3;
    font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase;
    color: var(--text-1); opacity: 0; transform: translateY(2px);
    transition: opacity 300ms ease, transform 300ms ease; pointer-events: none;
  }
  .jcd-lcard:hover::after { opacity: 1; transform: translateY(0); }
  @media (max-width: 820px) {
    .jcd-lcards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .jcd-lcard { aspect-ratio: 4 / 3; padding: 12px 10px; }
  }

/* ==================================================================
   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 id="jcd-fcat-lite"> - externalise le 2026-08-07
   ================================================================== */

/* Catalogue mobile compact 2026-07-29 -- voir _outils/apply_fcat_lite.py.
   Doit rester APRES jcd-mrefonte-css (meme head) pour gagner la cascade. */
@media (max-width:820px){
  .jcd-fcat-grid{
    display:grid !important; grid-template-columns:1fr 1fr !important;
    gap:0 16px !important; padding:0 18px !important;
  }
  .jcd-fcat-card{
    display:flex !important; flex-direction:row !important;
    align-items:baseline !important; justify-content:space-between !important;
    gap:8px !important; padding:9px 0 !important; min-height:0 !important;
    border-bottom:1px solid rgba(255,255,255,.07) !important;
  }
  .jcd-fcat-card:nth-child(-n+2){ border-top:1px solid rgba(255,255,255,.07) !important; }
  .jcd-fcat-name{
    font-size:12.5px !important; line-height:1.3 !important;
    flex:1 1 auto !important; min-width:0 !important;
  }
  .jcd-fcat-n{
    font-size:11px !important; white-space:nowrap !important; flex:0 0 auto !important;
    font-variant-numeric:tabular-nums !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-mpadprest"> - externalise le 2026-08-07
   ================================================================== */

/* Harmonisation ecart titre->liste prestations mobile 2026-07-22 */
@media (max-width:820px){
  .prest-layout .prest-menu, .prest-layout .prest-grid{ margin-top:28px !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; }
  }

/* ==================================================================
   ENGAGEMENTS & CERTIFICATIONS (2026-08-17)
   Rubrique exigee par Qualiopi. Deux briques :
   1. Indicateurs : cadrans a anneau SVG degrade, halo diffus, arc et
      compteur animes a l'entree dans le viewport.
   2. Engagements : registre de lignes (plus de cartes) separees par des
      filets degrades qui s'eteignent sur les bords.
   ================================================================== */

  .fq-engage {
    padding: clamp(90px, 10vw, 140px) 0;
    position: relative; z-index: 2;
    background: var(--bg);
    border-top: 1px solid var(--line-1);
  }
  /* Nappe lumineuse tres basse opacite : ancre la section sans la cadrer. */
  .fq-engage::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
      radial-gradient(90% 50% at 50% 0%, rgba(var(--accent-rgb), 0.055), transparent 70%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.018) 0%, transparent 42%);
  }
  .fq-engage > .container { position: relative; z-index: 1; }

  /* Porte-degrade des anneaux : hors flux, jamais rendu. */
  .fq-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
  /* Les teintes vivent ici : le degrade suit les tokens du pole. */
  #fq-arc stop:nth-child(1) { stop-color: var(--accent-hi); }
  #fq-arc stop:nth-child(2) { stop-color: var(--accent); }
  #fq-arc stop:nth-child(3) { stop-color: var(--accent-deep); }

  /* ------------------------------------------------------------------
     1. Indicateurs
     ------------------------------------------------------------------ */
  .fq-kpis {
    list-style: none; margin: 0 0 clamp(56px, 6.5vw, 88px); padding: 0;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 36px);
  }
  .fq-kpi { display: flex; flex-direction: column; align-items: center; text-align: center; }

  .fq-kpi-dial {
    position: relative;
    width: clamp(116px, 12vw, 152px); aspect-ratio: 1;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
  }
  /* Halo : la lueur derriere le cadran, montee en douceur avec l'arc. */
  .fq-kpi-halo {
    position: absolute; inset: -14%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(var(--accent-rgb), 0.20) 0%, rgba(var(--accent-rgb), 0.05) 45%, transparent 72%);
    filter: blur(10px);
    opacity: 0; transform: scale(0.9);
    transition: opacity 1200ms var(--ease-out), transform 1200ms var(--ease-out);
  }
  /* Disque interne : degrade doux + lisere haut, pour donner de l'epaisseur. */
  .fq-kpi-dial::after {
    content: ""; position: absolute; inset: 9%;
    border-radius: 50%;
    background:
      radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.055), transparent 62%),
      radial-gradient(circle at 50% 100%, rgba(var(--accent-rgb), 0.10), transparent 68%),
      linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.055),
      inset 0 -12px 26px -18px rgba(var(--accent-rgb), 0.55),
      0 18px 40px -26px rgba(0, 0, 0, 0.9);
  }

  .fq-kpi-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
  .fq-kpi-track { fill: none; stroke: rgba(255, 255, 255, 0.07); stroke-width: 3; }
  .fq-kpi-arc {
    fill: none; stroke-width: 3; stroke-linecap: round;
    stroke-dasharray: 339.292;   /* 2 x PI x 54 */
    stroke-dashoffset: 339.292;
    transition: stroke-dashoffset 1700ms var(--ease-expo);
  }
  .fq-kpis.visible .fq-kpi-halo { opacity: 1; transform: scale(1); }
  .fq-kpis.visible .fq-kpi-arc {
    stroke-dashoffset: calc(339.292 - 339.292 * var(--ratio, 1));
  }
  /* Escalier d'entree : chaque cadran demarre apres le precedent. */
  .fq-kpi:nth-child(1) .fq-kpi-arc, .fq-kpi:nth-child(1) .fq-kpi-halo { transition-delay: 60ms; }
  .fq-kpi:nth-child(2) .fq-kpi-arc, .fq-kpi:nth-child(2) .fq-kpi-halo { transition-delay: 200ms; }
  .fq-kpi:nth-child(3) .fq-kpi-arc, .fq-kpi:nth-child(3) .fq-kpi-halo { transition-delay: 340ms; }
  .fq-kpi:nth-child(4) .fq-kpi-arc, .fq-kpi:nth-child(4) .fq-kpi-halo { transition-delay: 480ms; }

  .fq-kpi-v {
    position: relative; z-index: 1;
    font-size: clamp(27px, 3.3vw, 39px); font-weight: 600;
    letter-spacing: -0.045em; line-height: 1; color: var(--text-1);
    font-variant-numeric: tabular-nums;
    background: linear-gradient(180deg, #ffffff 0%, #cfd6c4 118%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .fq-kpi-v small {
    font-size: 0.6em; font-weight: 500; letter-spacing: -0.02em;
    -webkit-text-fill-color: var(--text-3);
  }
  .fq-kpi-k {
    font-size: 14.5px; font-weight: 600; line-height: 1.35;
    color: var(--text-1); letter-spacing: -0.012em; max-width: 220px;
  }
  .fq-kpi-y {
    margin-top: 5px; font-family: var(--font-mono); font-size: 10.5px;
    letter-spacing: 0.09em; color: var(--text-4); max-width: 220px;
  }

  /* ------------------------------------------------------------------
     2. Engagements — registre de lignes
     ------------------------------------------------------------------ */
  .fq-ledger { position: relative; }
  .fq-row {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(180px, 232px) minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 0 clamp(18px, 2.4vw, 34px);
    padding: clamp(22px, 2.6vw, 30px) clamp(10px, 1.4vw, 18px);
    border-radius: 3px;
    transition: background 520ms var(--ease-out);
  }
  /* Filet superieur degrade : net au centre, eteint sur les bords. */
  .fq-row::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--line-2) 12%, var(--line-2) 88%, transparent 100%);
  }
  .fq-row:last-child::after {
    content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--line-2) 12%, var(--line-2) 88%, transparent 100%);
  }
  /* Au survol : lavis lateral, aucun cadre ajoute. */
  .fq-row:hover {
    background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.045) 0%, rgba(var(--accent-rgb), 0.012) 38%, transparent 72%);
  }
  .fq-row:hover::before {
    background: linear-gradient(90deg, transparent 0%, rgba(var(--accent-rgb), 0.42) 12%, var(--line-3) 62%, transparent 100%);
  }

  .fq-row-n {
    font-family: var(--font-mono); font-size: 11px; font-weight: 500;
    letter-spacing: 0.08em; color: var(--text-4);
    transition: color 420ms var(--ease-out);
  }
  .fq-row:hover .fq-row-n { color: var(--accent); }
  .fq-row-k {
    font-size: 15.5px; font-weight: 600; letter-spacing: -0.02em;
    color: var(--text-1); line-height: 1.35;
  }
  .fq-row-tx {
    margin: 0; font-size: 14px; line-height: 1.62;
    color: var(--text-2); letter-spacing: -0.005em; max-width: 62ch;
  }
  .fq-row-link {
    justify-self: end; white-space: nowrap;
    display: inline-flex; align-items: center; gap: 7px;
    font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.09em;
    text-transform: uppercase; color: var(--text-3); text-decoration: none;
    transition: color 380ms var(--ease-out);
  }
  .fq-row:hover .fq-row-link { color: var(--accent); }
  .fq-row-arrow { display: inline-block; transition: transform 420ms var(--ease-out); }
  .fq-row:hover .fq-row-arrow { transform: translate(2px, -2px); }
  .fq-row-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }

  /* ------------------------------------------------------------------
     Adaptatif
     ------------------------------------------------------------------ */
  @media (max-width: 1080px) {
    .fq-row {
      grid-template-columns: 34px minmax(0, 1fr);
      gap: 6px clamp(14px, 2vw, 20px);
    }
    .fq-row-k, .fq-row-tx, .fq-row-link { grid-column: 2; }
    .fq-row-link { justify-self: start; margin-top: 10px; }
  }
  @media (max-width: 720px) {
    .fq-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 16px; }
    .fq-kpi-dial { margin-bottom: 16px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .fq-kpi-halo { opacity: 1; transform: none; transition: none; }
    .fq-kpi-arc { transition: none; }
    .fq-row, .fq-row-n, .fq-row-link, .fq-row-arrow { transition: none; }
  }

/* ==================================================================
   Manifeste - bouton calendrier des formations (2026-08-27)
   Fichier telecharge : public/docs/calendrier-formations.pdf
   ================================================================== */

  .mf-calendrier {
    margin-top: clamp(26px, 3.4vw, 42px);
    padding-top: clamp(18px, 2.2vw, 26px);
    border-top: 1px solid var(--line-2);
  }
  .mf-cal-btn {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 13px 22px 13px 17px;
    background: var(--cahier-ink, #141414);
    color: var(--cahier-paper-1, #efe9da);
    text-decoration: none; border-radius: 999px;
    font-family: var(--font-mono); font-size: 11.5px; line-height: 1;
    letter-spacing: 0.08em; text-transform: uppercase;
    transition: background 320ms var(--ease-out), color 320ms var(--ease-out), transform 320ms var(--ease-out);
    margin-right: 26px;
  }
  .mf-cal-btn:first-child {
    background: var(--accent);
    color: var(--cahier-ink, #141414);
  }
  .mf-cal-btn:hover {
    background: var(--cahier-margin-red, #c43a3a);
    color: var(--cahier-paper-1, #efe9da);
    transform: translateY(-1px);
  }
  .mf-cal-btn:focus-visible {
    outline: 2px solid var(--cahier-margin-red, #c43a3a);
    outline-offset: 3px;
  }
  .mf-cal-ic { display: inline-flex; }
  .mf-cal-ic svg { width: 15px; height: 15px; }
  .mf-cal-tag {
    padding: 4px 7px; border: 1px solid currentColor; border-radius: 4px;
    font-size: 9px; opacity: 0.75;
  }
  @media (prefers-reduced-motion: reduce) {
    .mf-cal-btn { transition: none; }
    .mf-cal-btn:hover { transform: none; }
  }
