/* ============================
   BASE – icônes (commun)
   ============================ */

.branch-icon{
  display: inline-block;
  vertical-align: middle;
  margin-right: 12px;
  width: 20px!important;
}


/* ============================
   HOME – HERO
   ============================ */

/* Layout : texte à gauche / compétences à droite, centrés verticalement */
@media (min-width: 40em) { /* ~640px */
  .page-template-template-home .row.head .home-head-grid{
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* Neutralise les floats Foundation quand on passe en flex */
  .page-template-template-home .row.head .home-head-grid > .columns{
    float: none;
  }
}

/* Mobile : spacing léger */
@media (max-width: 39.9375em) {
  .page-template-template-home .row.head .utitle.job_list{
    margin-top: 1rem;
  }
}

/* Liste compétences HOME */
.page-template-template-home .row.head .job_list + ul a{
  display: flex;
  align-items: center;
  gap: .6rem;
}

/* HOME uniquement (template-home)
/*.row.head img.branch-icon {
    opacity: .8;
    transition: opacity .2s ease;
    width: 20px!important;
}*/

/* Hover HOME */
.page-template-template-home .row.head a:hover img.branch-icon{
  opacity: 1;
}




/* ============================
   PAGE PROJETS (archive-project)
   ============================ */

/* Icônes catégories – état par défaut */
.post-type-archive-project .branch-icon{
  width: 20px;
  height: auto;
  opacity: 0.35;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Hover */
.post-type-archive-project a:hover .branch-icon{
  opacity: 1;
}

/* Catégorie active / sélectionnée */
.post-type-archive-project li.active .branch-icon,
.post-type-archive-project li.current .branch-icon{
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 767px){
.vc_row.wpb_row.vc_inner.vc_row-fluid.intro.rp-reverse-mobile.vc_rtl-columns-reverse.vc_row-o-content-middle.vc_row-flex {
    flex-direction: column-reverse !important;
    flex-wrap: nowrap !important;
  }
  .vc_row.vc_inner.rp-reverse-mobile.vc_row-flex > .vc_column_container{
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }

}
/* ============================
   60 ans
   ============================ */
@media only screen and (min-width: 40.0625em) {
    h4 {
        font-size: 1.2rem;
    }}
    
    
/* === BANDEAU 60 ANS === */

/* Image 60 ans */
.ann-wrap {
    min-height: 40px;
}
.ann-img {
    display: block;
    max-width: 560px;
    width: 55%;
    height: auto;
    background: #fff;
    padding: 12px 20px;
}

/* Colonne gauche : pas de fond global */
.hbg-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Boîte blanche H4 */
.hbg-title-box {
    background: rgba(255, 255, 255, 0.92);
    padding: 20px 24px;
}
.hbg-title-box h4 {
    margin: 0;
}

/* Boîte blanche bouton */
.hbg-cta-box {
    background: rgba(255, 255, 255, 0.92);
    padding: 14px 24px;
    display: inline-block;
}
.hbg-cta-box p {
    margin: 0;
}

/* Boîte blanche compétences */
.hbg-right {
    background: rgba(255, 255, 255, 0.92);
    padding: 20px 24px;
}

/* Espace entre les deux colonnes */
.hbg-grid {
    gap: 20px;
}

/* Responsive */
@media (max-width: 640px) {
    .ann-img {
        width: 85%;
    }
    .hbg-left,
    .hbg-right {
        margin-bottom: 16px;
    }
}