/* PRATINIUM v126 — Footer desktop balance + mobile copy sizing/centering
   Objectifs :
   1) Desktop : centrer optiquement le bloc de liens avec un espace gauche/droite équivalent.
   2) Mobile : garder le copyright sur une ligne et lui donner une longueur visuelle proche
      de « Infrastructure de financement structuré ».
   3) Mobile : empêcher la baseline de déborder à droite et la centrer dans le cadran bleu.
*/

.pf-footer-links--global .pf-footer-links__trust{
  display:none !important;
}

/* Desktop : 3 colonnes équilibrées, bloc central réellement centré */
@media (min-width:992px){
  .pf-footer-links--global .pf-footer-links__inner{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) !important;
    align-items:center !important;
    column-gap:24px !important;
    width:100% !important;
  }
  .pf-footer-links--global .pf-footer-links__brand{
    justify-self:start !important;
    text-align:left !important;
    min-width:0 !important;
  }
  .pf-footer-links--global .pf-footer-links__nav{
    justify-self:center !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:30px !important;
    flex-wrap:nowrap !important;
    white-space:nowrap !important;
    margin:0 auto !important;
  }
  .pf-footer-links--global .pf-footer-links__copy{
    justify-self:end !important;
    text-align:right !important;
    white-space:nowrap !important;
    font-size:clamp(.78rem,.92vw,.96rem) !important;
    letter-spacing:-.035em !important;
    line-height:1.2 !important;
  }
}

/* Mobile / tablette : centrage strict dans le cadran bleu */
@media (max-width:991px){
  .pf-footer-links--global{
    padding:19px 10px 21px !important;
  }
  .pf-footer-links--global .pf-footer-links__inner{
    width:100% !important;
    max-width:100% !important;
    margin:0 auto !important;
    padding-left:10px !important;
    padding-right:10px !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    gap:11px !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
  }
  .pf-footer-links--global .pf-footer-links__brand{
    width:100% !important;
    max-width:100% !important;
    margin:0 auto !important;
    padding:0 !important;
    display:block !important;
    text-align:center !important;
    white-space:normal !important;
    min-width:0 !important;
  }
  .pf-footer-links--global .pf-footer-links__brand small{
    display:inline-block !important;
    width:auto !important;
    max-width:calc(100vw - 76px) !important;
    margin:5px auto 0 !important;
    padding:0 !important;
    text-align:center !important;
    white-space:nowrap !important;
    overflow:visible !important;
    box-sizing:border-box !important;
    font-size:clamp(.48rem,2.42vw,.66rem) !important;
    line-height:1.16 !important;
    letter-spacing:.032em !important;
    transform:none !important;
  }
  .pf-footer-links--global .pf-footer-links__nav{
    width:100% !important;
    max-width:100% !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:12px !important;
    flex-wrap:nowrap !important;
    white-space:nowrap !important;
    text-align:center !important;
    margin:0 auto !important;
  }
  .pf-footer-links--global .pf-footer-links__nav a{
    font-size:clamp(.78rem,3.55vw,.94rem) !important;
    line-height:1.15 !important;
    white-space:nowrap !important;
  }
  .pf-footer-links--global .pf-footer-links__copy{
    display:inline-block !important;
    width:auto !important;
    max-width:calc(100vw - 76px) !important;
    margin:0 auto !important;
    padding:0 !important;
    text-align:center !important;
    white-space:nowrap !important;
    overflow:visible !important;
    line-height:1.16 !important;
    font-size:clamp(.62rem,2.92vw,.80rem) !important;
    letter-spacing:-.034em !important;
    transform:none !important;
  }
}

@media (max-width:380px){
  .pf-footer-links--global .pf-footer-links__inner{
    padding-left:8px !important;
    padding-right:8px !important;
    gap:10px !important;
  }
  .pf-footer-links--global .pf-footer-links__brand small{
    max-width:calc(100vw - 68px) !important;
    font-size:clamp(.45rem,2.36vw,.58rem) !important;
    letter-spacing:.020em !important;
  }
  .pf-footer-links--global .pf-footer-links__nav{
    gap:10px !important;
  }
  .pf-footer-links--global .pf-footer-links__nav a{
    font-size:clamp(.74rem,3.45vw,.86rem) !important;
  }
  .pf-footer-links--global .pf-footer-links__copy{
    max-width:calc(100vw - 68px) !important;
    font-size:clamp(.58rem,2.78vw,.70rem) !important;
    letter-spacing:-.045em !important;
  }
}

@media (max-width:340px){
  .pf-footer-links--global .pf-footer-links__brand small{
    font-size:.43rem !important;
    letter-spacing:.010em !important;
  }
  .pf-footer-links--global .pf-footer-links__nav{
    gap:8px !important;
  }
  .pf-footer-links--global .pf-footer-links__nav a{
    font-size:.70rem !important;
  }
  .pf-footer-links--global .pf-footer-links__copy{
    font-size:.53rem !important;
    letter-spacing:-.060em !important;
  }
}


/* PRATINIUM v127 — suppression du libellé PRATINIUM et copyright desktop cadratin */
.pf-footer-links--global .pf-footer-links__copy--mobile{display:none !important;}
.pf-footer-links--global .pf-footer-links__copy--desktop{display:inline-block !important;}

.pf-footer-links--global .pf-footer-links__brand{
  font-size:0 !important;
}
.pf-footer-links--global .pf-footer-links__brand small{
  font-size:inherit;
}

@media (min-width:992px){
  .pf-footer-links--global .pf-footer-links__copy--desktop{
    display:inline-block !important;
    white-space:nowrap !important;
  }
  .pf-footer-links--global .pf-footer-links__copy--mobile{display:none !important;}
}

@media (max-width:991px){
  .pf-footer-links--global .pf-footer-links__copy--desktop{display:none !important;}
  .pf-footer-links--global .pf-footer-links__copy--mobile{
    display:inline-block !important;
    white-space:nowrap !important;
  }
  .pf-footer-links--global .pf-footer-links__brand{
    font-size:0 !important;
    line-height:0 !important;
  }
  .pf-footer-links--global .pf-footer-links__brand small{
    line-height:1.16 !important;
  }
}

/* PRATINIUM v128 — restaure la baseline desktop + supprime le doublon copyright mobile */
@media (min-width:992px){
  .pf-footer-links--global .pf-footer-links__brand{
    font-size:inherit !important;
    line-height:normal !important;
    justify-self:start !important;
    text-align:left !important;
  }
  .pf-footer-links--global .pf-footer-links__brand small{
    display:inline-block !important;
    font-size:clamp(.72rem,.92vw,.96rem) !important;
    line-height:1.15 !important;
    letter-spacing:.055em !important;
    text-transform:uppercase !important;
    white-space:nowrap !important;
  }
  .pf-footer-links--global .pf-footer-links__copy--desktop{
    display:inline-block !important;
    white-space:nowrap !important;
  }
  .pf-footer-links--global .pf-footer-links__copy--mobile{
    display:none !important;
  }
}

@media (max-width:991px){
  .pf-footer-links--global .pf-footer-links__copy--desktop{
    display:none !important;
    visibility:hidden !important;
    height:0 !important;
    width:0 !important;
    overflow:hidden !important;
    position:absolute !important;
    pointer-events:none !important;
  }
  .pf-footer-links--global .pf-footer-links__copy--mobile{
    display:inline-block !important;
    visibility:visible !important;
    position:static !important;
    white-space:nowrap !important;
  }
  .pf-footer-links--global .pf-footer-links__brand{
    font-size:0 !important;
    line-height:0 !important;
  }
  .pf-footer-links--global .pf-footer-links__brand small{
    display:inline-block !important;
    line-height:1.16 !important;
  }
}
