/*! Changement */

.icone {
    width: 32px; /* Largeur souhaitée de l'icône */
    height: 32px; /* Hauteur souhaitée de l'icône */
    margin-top: 0px; 
margin-bottom: 10px; 
}


/*Logo*/
#menu2 .col-lg-2.text-center.text-left-sm.hidden-xs.order-lg-2 .bar__module {
    position: relative;
}

/* Positionnement absolu pour le logo, avec une taille originale respectée et un z-index plus élevé */
#menu2 .logo-dark, #menu2 .logo-light {
    position: absolute;
    width: 60px;  
    top: -10px;  /* Changez cette valeur pour contrôler le décalage vertical */
    z-index: 10;
}
@media (min-width: 769px) {
    .logo {
        max-height: none !important;
    }
}

/* Masque l'élément sur les écrans de plus de 1024px de large */
@media (min-width: 1024px) {
    .hide-on-desktop {
        display: none;
    }
}


/* Dot changement */

.flickity-page-dots {
    display: flex;
    justify-content: center;
    padding: 0;
    list-style: none;
}

.flickity-page-dots .dot {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background: #333;
    border-radius: 50%;
    cursor: pointer;
}

.flickity-page-dots .dot.is-selected {
    background: #000 !important;
}

/* Centre Icon */
    .icon-centered {
            display: flex;
            justify-content: center;
            margin-bottom: 10px;
        }


/*.Titre Special */
.breadcrumbs-wrapper {
    position: relative;
    top: -100px; /* Ajustez cette valeur pour remonter le fil d'Ariane */
    width: 100%;
    margin-bottom: -125px; /* Ajustez cette valeur pour remonter le fil d'Ariane */
    padding-top: 0px; /* Supprimer tout padding supplémentaire */
}

.breadcrumbs-wrapper-video {
    position: relative;
    top: -66px; /* Ajustez cette valeur pour remonter le fil d'Ariane */
    width: 100%;
    margin-bottom: -125px; /* Ajustez cette valeur pour remonter le fil d'Ariane */
    padding-top: 0px; /* Supprimer tout padding supplémentaire */
}


.breadcrumbs-wrapper .breadcrumbs-container, .breadcrumbs-wrapper-video .breadcrumbs-container  {
    max-width: 1200px;
    width: 100%;
    padding-left: 0px;
}

.breadcrumbs-wrapper ol.breadcrumbs, .breadcrumbs-wrapper-video ol.breadcrumbs {
    align-items: center;
    padding: 20px 0px 0px; /* Ajustez selon vos besoins */
}

.breadcrumbs-wrapper ol.breadcrumbs li, .breadcrumbs-wrapper-video ol.breadcrumbs li {
    margin-right: 10px; /* Espacement entre les éléments du fil d'Ariane */
    line-height: 1; /* Assurer que tous les éléments ont la même hauteur de ligne */
}

.breadcrumbs-wrapper ol.breadcrumbs li a, .breadcrumbs-wrapper-video ol.breadcrumbs li a {
    display: inline-block; /* S'assurer que les liens ne prennent pas de hauteur supplémentaire */
    line-height: 1; /* Assurer que tous les éléments ont la même hauteur de ligne */
}

.breadcrumbs-wrapper ol.breadcrumbs li:last-child, .breadcrumbs-wrapper-video ol.breadcrumbs li:last-child {
    margin-right: 0; /* Pas d'espacement après le dernier élément */
}

.breadcrumbs-wrapper hr, .breadcrumbs-wrapper-video hr {
    margin-top: -25px; /* Ajustez cette valeur pour rapprocher la barre du fil d'Ariane */
    margin-bottom: 50px; /* Ajustez cette valeur pour ajouter de l'espacement en bas */
}

/* Media Queries for mobile */
@media (max-width: 768px) {
    .breadcrumbs-wrapper,
    .breadcrumbs-wrapper-video {
        visibility: hidden; 
    }}


/* Section video */

.embed-responsive .embed-responsive-item {
    height: 100%;
    object-fit: cover;
  }
  
  @media (max-width: 768px) { 
      .embed-responsive .embed-responsive-item {
          width: 100%;
      }
  }

/* Cacher le conteneur de la vidéo si nécessaire */

  @media screen and (max-width: 1024px) {
    .video-container {
        display: none;
    }
}

.arrondi {border-radius: 8px;}

/* Effet de transition */
.effetdetransition {
    opacity: 0;
    transform: translateY(20%);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.effetdetransition.active {
    opacity: 1;
    transform: translateY(0);
}

.Videoduslide {
    width: 100%;
    height: calc(100vh - 250px); /* Adjust the height to fit within the screen, considering other content */
    overflow: hidden;
    position: relative;
    margin: 0; /* Remove any margins */
    padding: 0; /* Remove any padding */
}


.full-width-videoduslide {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crop the video to fit the container */
    position: absolute;
    top: 0;
    left: 0;
}



.ClientVideoduslide {
    width: 100%;
    overflow: hidden;
    height: calc(100vh); /* Remplit toute la hauteur de la fenêtre */
    position: relative;

}

.ClientVideoduslide video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    z-index: 1;
    filter: brightness(0.9); /* Assombrit la vidéo pour améliorer la lisibilité du texte */

}

.ClientVideoduslide .ClientVideoduslidetext {
    position: absolute; /* Positionnement absolu */
    bottom: 20px; /* Espacement du bas */
    right: 20px; /* Espacement de la droite */
    z-index: 2;
    margin: 0; /* Supprime les marges des éléments de texte */
    padding: 0;
    display: flex;
    flex-direction: column; /* Permet d'empiler les éléments */
    align-items: flex-end; /* Aligne le texte à droite */
}


.ClientVideoduslide .ClientVideoduslidetext h2,
.ClientVideoduslide .ClientVideoduslidetext p,
.ClientVideoduslide .ClientVideoduslidetext h5 {
    color: white !important; /* Assure que tout le texte soit en blanc */
    margin: 0; /* Supprime les marges des éléments de texte */
    padding: 5px 0; /* Ajoute un peu d'espacement vertical */
}

/* Optionnel : Ajoutez un fond pour améliorer la lisibilité */
.ClientVideoduslide .ClientVideoduslidetext {
    background: rgb(92, 142, 220 ,0.4); /* Fond semi-transparent */
    padding: 3em 2em 3em 2em;
    border-radius: 5px; /* Coins arrondis */
}

.ClientVideoduslide .ClientVideoduslidetextswitchable {
    position: absolute; /* Positionnement absolu */
    bottom: 20px; /* Espacement du bas */
    left: 20px; /* Espacement de la gauche */
    z-index: 2;
    margin: 0; /* Supprime les marges des éléments de texte */
    padding: 3em 2em 3em 2em;
    display: flex;
    flex-direction: column; /* Permet d'empiler les éléments */
    align-items: flex-start; /* Aligne le texte à gauche */
}



.ClientVideoduslide .ClientVideoduslidetextswitchable h2,
.ClientVideoduslide .ClientVideoduslidetextswitchable p,
.ClientVideoduslide .ClientVideoduslidetextswitchable h5 {
    color: white !important; /* Assure que tout le texte soit en blanc */
    margin: 0; /* Supprime les marges des éléments de texte */
    padding: 5px 0; /* Ajoute un peu d'espacement vertical */
}

/* Optionnel : Ajoutez un fond pour améliorer la lisibilité */
.ClientVideoduslide .ClientVideoduslidetextswitchable {
    background: rgb(92, 142, 220 ,0.4); /* Fond semi-transparent */
    padding: 3em 2em 3em 2em;
    border-radius: 5px; /* Coins arrondis */
}




.custom-clientslide-logo {
    width: 100px; /* Ajustez cette valeur selon vos besoins */
    height: auto; /* Conserve les proportions du logo */
    display: block; /* Rend l'image un bloc pour que le margin auto fonctionne */
    margin: 0 auto; /* Centre l'image horizontalement */
}

.clientslide-text-block { /* Classe mise à jour */
    text-align: center; /* Centre le texte et les éléments enfants (logo et bouton) */
}



/* Effet sur boxe avec changement de couleur des icones */

.feature,
.switchable {
    transition: transform 0.3s ease-in-out;
}

.icon {
    transition: color 0.3s ease-in-out;
}

/* Animation texte intro */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated-block {
    opacity: 0;
    animation: fadeInDown 1.5s ease-out forwards;
}

.animated-block.delay-1 {
    animation-delay: 0.5s;
}

.animated-block.delay-2 {
    animation-delay: 1s;
}


/* Effet sur les logos de references sur le sliders */

.tooltiplogoreferences {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    display: none;
    white-space: normal; /* Permet le saut de ligne */
    z-index: 10000;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
    box-sizing: border-box;
}


/* Effet sur les logos de references sur le sliders de 600px de large */
@media (max-width: 600px) {
    .tooltiplogoreferences {
        max-width: 90%;
    }
}

/* Effet sur les logos de references sur le sliders de 600px et 900px de large */
@media (min-width: 600px) and (max-width: 900px) {
    .tooltiplogoreferences {
        max-width: 80%;
    }
}

/* Effet sur les logos de references sur le sliders de plus de 900px de large */
@media (min-width: 900px) {
    .tooltiplogoreferences {
        max-width: 30%;
    }
}

/* ------------------------------------------------------------------------ Effet de section qui ce fixe */
.custom-section {
    display: flex;
    position: relative;
    margin: 0;
}
.text-container {
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
}

.text-section {
    height: 100vh;
    width: 100vh;
    padding-left: 10vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}


.qr-container {
    top: 10vh;
    position: sticky;
    align-items: center;
    justify-content: center;
    margin-left: 9em;
    width: 80vh;
    height: 80vh;
    background: url('/img/Services/QRCode.svg') no-repeat center center;
    background-size: cover;
    -webkit-mask-image: url('/img/Services/QRCode.svg');
    mask-image: url('/img/Services/QRCode.svg');
    -webkit-mask-size: cover;
    mask-size: cover;
}

.qr-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #4876BD,#5448BD,#8F48BD,#BD48B1);
    background-size: 400% 400%;
    animation: gradientAnimation 5s ease infinite;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}



/* Responsive Mobile */
@media (max-width: 1064px) {
    .custom-section {
        flex-direction: column;
        height: auto;
        padding-top: 0px;
    }

    .qr-container {
        margin: 0 auto 0 ;
        width: 50vw;  
        height: 50vw; 
        max-width: 300px;  
        max-height: 300px; 
        min-width: 150px;  
        min-height: 150px; 
        position: relative;
    }

    .text-container {
        width: 100%;
        padding: 50px;
    }

    .text-section {
        height: auto;
        margin: 30px 0 0 20px;
        width: 100%;
        padding: 20px 0;
    }
}



/* ------------------------------------------------------------------------ Fin de Section Image fixe */

.sliderreferences {
    width: 100%;
    height: 100%;
    padding-top: 0;
    margin-top: 0;
}

.videorp {
    max-width: 99.88%; }

.sansbordures {
    margin-bottom: -2.5px !important;
    padding-bottom: 0px !important;
}

.sansborduretop {
    margin-top: 0px !important;
    padding-top: 0px !important;
}
.BPF
{
 padding-top: 40px;
 margin-bottom: 40px;
}

.bordurebot
{
    margin-top: 25px !important;
    padding-top: 25px !important;
}
/* Slider custom */


.custom-testimonial {
    text-align: center; /* Centre le bloc dans sa section */
    margin: 0 1em; /* Ajoute de l'espace de chaque côté pour éviter que les logos se chevauchent */
}

.custom-testimonial-content {
    display: flex;
    align-items: center;
    justify-content: center; /* Centre horizontalement le bloc entier dans la section */
}

.custom-testimonial h5, .custom-testimonial blockquote {
    text-align: right; /* Aligne le texte à droite */
    margin: 0;
}

.custom-testimonial-logo {
    width: 30em;
    max-height: 20em;
    margin-right: 5em; /* Espace entre le logo et le texte */
    margin-bottom: 0;
}

.custom-testimonial blockquote {
    margin-left: auto; /* Décale le texte vers la droite */
    margin-right: 0;   /* Aligne complètement à droite */
}


@media (max-width: 768px) {
    .custom-testimonial-content {
        flex-direction: column;
        align-items: center;
        margin-bottom: 2em;
    }

    .custom-testimonial-logo {
        margin-right: 0;
        margin-bottom: 5em;
        width: auto;
        max-height: 10em;
    }
    
    .custom-testimonial h5, .custom-testimonial blockquote {
        text-align: center; /* Pour le mobile, centre le texte */
        font-size: 17px;
    }
}

/* filtre */

.masonry-filter-container {
    display: flex; 
    justify-content: center; 
    margin-right: 4em;
    margin-bottom: 4em;
    margin-top: -4em;

}

@media (max-width: 1064px) {
    .masonry-filter-container {
    display: flex; 
    justify-content: center; 
    margin-top: -2em;

}}

img.miroir {
    transform: scaleX(-1);
  }

  /* blockvideoperso */

  .blockvideoimage {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* Ratio 16:9 – ajuste si ta vidéo a un autre ratio */
}

.videoblockvideoimage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Couvre l'espace sans déformer */
    background-color: #000; /* Fond noir si chargement lent */
}

.englobeblockvideoimage {
    display: contents; /* Ne perturbe pas le layout en desktop */
}

@media (max-width: 768px) {
    .englobeblockvideoimage {
        display: block;
        margin-bottom: 2rem;
    }
}


/* Correction décalage */
@media (max-width: 768px) {
  /* Conteneur principal du slider*/
    .row:has(.sliderreferences) {
    margin: 0 !important;
  }
  /* Conteneur principal de la vidéo du site*/
    .row.justify-content-center.sansbordures {
    margin: 0 !important;
    padding: 0 !important;

  }
   /* Conteneur principal du selecteur d'image*/
@media (max-width: 768px) {
  .masonry-filter-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
  }
  

}
}


/* Sticker contact flottant */

.contact-sticker {
    position: fixed;
    top: 140px;
    left: 0;
    z-index: 9999;
    font-family: inherit;
}

.contact-trigger {
    background: rgba(92, 142, 220, 0.8);
    color: #fff;
    padding: 13px 13px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all .35s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

.contact-trigger span {
    writing-mode: vertical-rl;
    transform: rotate(180deg) translateY(-1.5px);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    opacity: .9;
}

.contact-panel {
    position: absolute;
    top: 0;
    left: -300px;
    width: 300px;
    background: rgba(92, 142, 220, 0.8);
    color: #fff;
    padding: 15px;
    border-radius: 0 12px 12px 0;
    transition: all .4s ease;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 20px 40px rgba(0,0,0,.22);
    border: 1px solid rgba(255,255,255,.06);
}

.contact-item a{
    color: #fff;
    text-decoration: none;
    transition: opacity .25s ease;
}

.contact-item a:hover{
    opacity: .7;
    text-decoration: none;
}

.contact-sticker:hover .contact-panel {
    left: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    width: 22px;
    font-size: 14px;
    opacity: .7;
}

.contact-item strong {
    font-size: 14px;
    letter-spacing: .3px;
    font-weight: 600;
    color: #fff;
}

.contact-trigger:hover {
    background: rgba(25,25,25,0.95);
}

/* Mobile */

@media (max-width: 768px) {

    .contact-sticker {
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
    }

    .contact-trigger {
        width: 100%;
        text-align: center;
        border-radius: 0;
        padding: 12px;
    }

.contact-trigger span {
    writing-mode: initial;
    transform: none;
    display: block;
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 1.8;
}

    .contact-panel {
        width: 100%;
        left: 0;
        top: auto;
        bottom: -220px;
        border-radius: 12px 12px 0 0;
    }

    .contact-sticker:hover .contact-panel {
        bottom: 48px;
    }
}

/* Marge Intro */


@media (max-width: 768px) {

    .mobile-espace {
        margin-bottom: 25px;
    }

}

/* Correction footer */

@media (max-width: 768px) {

    .featurelogo .type--fine-print {
        font-size: 9px;
    }

}


/* Correction faq */
@media (max-width: 768px) {

    .accordion__title {
        font-size: 11px;
    }

}






/* Correction ref */

.section-refs {
  background: #fff !important;
  padding: 60px 0 80px;
}



.section-refs .masonry__filters {
  position: static !important;
  display: block !important;
  width: 100% !important;
  padding: 0 0 14px 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, .1) !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
}

.section-refs .masonry__filters ul {
  display: none !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 32px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  max-height: none !important;
  overflow: visible !important;
}

.section-refs .masonry__filters ul li {
  display: inline-block !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 1.8px !important;
  text-transform: uppercase !important;
  color: #9aa3ad !important;
  padding: 6px 0 !important;
  margin: 0 !important;
  white-space: nowrap !important;
  cursor: pointer;
  transition: color .25s ease;
  border-bottom: 2px solid transparent;
}

.section-refs .masonry__filters ul li:hover {
  color: #4a90e2 !important;
}

.section-refs .masonry__filters ul li.active {
  color: #1d2733 !important;
  border-bottom: 2px solid #4a90e2 !important;
  margin-bottom: -1px !important;
}

.section-refs .masonry__filters ul li::after,
.section-refs .masonry__filters ul li.active::after {
  display: none !important;
  content: none !important;
}

.ref-filter-select { display: none; }



.section-refs .masonry__container {
  display: block !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.section-refs .masonry__item {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
}

.section-refs .masonry__item.ref-hidden,
.section-refs .masonry__item.isotope-hidden {
  display: none !important;
}

@keyframes refFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.section-refs .masonry__item.ref-appearing {
  animation: refFadeIn 0.3s ease forwards;
}

.section-refs .masonry__item::before,
.section-refs .masonry__item::after {
  display: none !important;
  content: none !important;
}



a.ref-row {
  display: grid;
  grid-template-columns: 58px 1fr 170px 210px 250px;
  align-items: center;
  gap: 36px;
  padding: 38px 0;
  text-decoration: none !important;
  color: inherit;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  transition: background .3s ease;
}

a.ref-row:hover {
  background: rgba(74, 144, 226, .03);
  text-decoration: none !important;
}

.ref-row__num {
  font-size: 13px;
  font-weight: 500;
  color: #b5bcc4;
  letter-spacing: 1px;
  align-self: flex-start;
  padding-top: 6px;
}

.ref-row__body {
  min-width: 0;
}

.ref-row__title {
  font-size: clamp(1.7rem, 3vw, 2.7rem) !important;
  font-weight: 700 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.02em !important;
  color: #0d1620 !important;
  margin: 0 0 10px 0 !important;
  transition: color .3s ease;
}

a.ref-row:hover .ref-row__title {
  color: #4a90e2 !important;
}

.ref-row__desc {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  color: #6b7785;
  margin: 0;
  padding: 0;
}

.ref-row__category {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: center;
}

.ref-row__category span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #6b7785;
  line-height: 1.5;
}

.ref-row__tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-self: center;
}

.ref-row__tags li {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #9aa3ad;
  line-height: 1.4;
  transition: color .25s ease;
}

a.ref-row:hover .ref-row__tags li {
  color: #6b7785;
}

.ref-row__image {
  width: 100%;
  height: 195px;
  overflow: hidden;
  border-radius: 4px;
  align-self: center;
}

.ref-row__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s cubic-bezier(.22, .9, .35, 1);
}

a.ref-row:hover .ref-row__image img {
  transform: scale(1.06);
}


@media (max-width: 1199px) {
  a.ref-row {
    grid-template-columns: 48px 1fr 200px 235px;
    gap: 26px;
  }
  .ref-row__category { display: none; }
}

@media (max-width: 1023px) {
  a.ref-row {
    grid-template-columns: 40px 1fr 175px;
    grid-template-rows: auto auto;
    grid-template-areas:
      "num  body  image"
      "cat  cat   image";
    column-gap: 18px;
    row-gap: 8px;
    align-items: start;
    padding: 28px 0;
  }
  .ref-row__num    { grid-area: num;  padding-top: 4px; }
  .ref-row__body   { grid-area: body; }
  .ref-row__category {
    grid-area: cat;
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }
  .ref-row__category span {
    background: #f0f3f7;
    border-radius: 20px;
    padding: 3px 9px;
    font-size: 8.5px !important;
    letter-spacing: 1px !important;
    color: #4a90e2 !important;
  }
  .ref-row__tags  { display: none; }
  .ref-row__image {
    grid-area: image;
    height: 135px;
    align-self: stretch;
  }
  .ref-row__title { font-size: clamp(1.35rem, 2.6vw, 2rem) !important; }
}

@media (max-width: 767px) {
  .section-refs { padding: 26px 0 44px; }

  a.ref-row {
    display: grid;
    grid-template-columns: 28px 1fr;
    grid-template-rows: auto auto auto auto;
    grid-template-areas:
      "image image"
      "num   body"
      "cat   cat"
      "tags  tags";
    column-gap: 8px;
    row-gap: 8px;
    padding: 18px 0;
    align-items: start;
  }

  .ref-row__image {
    grid-area: image;
    height: 155px;
    border-radius: 6px;
    align-self: auto;
    order: unset;
  }

  .ref-row__num {
    grid-area: num;
    font-size: 11px;
    padding-top: 3px;
    align-self: auto;
  }

  .ref-row__body  { grid-area: body; }

  .ref-row__title {
    font-size: 1.2rem !important;
    letter-spacing: -0.01em !important;
    margin-bottom: 5px !important;
  }
  .ref-row__desc  { font-size: 12.5px; line-height: 1.4; }

  .ref-row__category {
    grid-area: cat;
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 3px;
  }
  .ref-row__category span {
    background: #eef2fa;
    border-radius: 20px;
    padding: 2px 8px;
    font-size: 7.5px !important;
    letter-spacing: 0.8px !important;
    color: #4a90e2 !important;
  }

  .ref-row__tags {
    grid-area: tags;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 3px;
    align-self: auto;
  }
  .ref-row__tags li {
    background: #f3f4f6;
    border-radius: 20px;
    padding: 2px 7px;
    font-size: 6.5px !important;
    letter-spacing: 0.5px !important;
    color: #7b8897 !important;
  }
  .ref-row__tags li:nth-child(n + 5) { display: none !important; }

  /* Filtres — select dropdown centré remplace les boutons */
  .section-refs .masonry__filters ul { display: none !important; }

  .ref-filter-select {
    display: block;
    margin: 0 auto 28px;
    -webkit-appearance: none;
    appearance: none;
    border: 1.5px solid #4a90e2;
    border-radius: 30px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%234a90e2' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center;
    color: #1d2733;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 16px 48px 16px 24px;
    height: 52px;
    line-height: 1;
    cursor: pointer;
    outline: none;
    min-width: 240px;
    box-shadow: 0 2px 12px rgba(74,144,226,0.12);
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .ref-filter-select:focus {
    border-color: #2176d2;
    box-shadow: 0 0 0 3px rgba(74,144,226,0.18);
  }
}