*,
:root :where(.is-layout-flow) > *,
:root :where(.is-layout-constrained) > *{
  margin: 0;
  padding: 0;
}

html, body{
  background-color: var(--wp--preset--color--secondary);
  scroll-behavior: smooth;
}

img{
  max-width: 100%;
}

.mxw-40{
  max-width: 40px;
}
.mxw-72{
  max-width: 72px;
}
.mxw-139{
  max-width: 139px;
}
.mxw-174{
  max-width: 174px;
}
.mxw-189{
  max-width: 189px;
}
.mxw-357{
  max-width: 357px;
}
.mxw-461{
  max-width: 461px;
}

h1{
  font-weight: 800;
}
h3{
  font-family: var(--wp--preset--font-family--cooperhewitt);
  font-weight: 700;
}

.has-700-font-weight{
  font-weight: 700;
}

.wp-block-columns.are-vertically-aligned-bottom {
  align-items: flex-end !important;
}
.wp-block-columns.are-vertically-aligned-center {
  align-items: center !important;
}

.btn a.wp-block-button__link{
  padding: 10px var(--wp--preset--spacing--16);
  background-color: var(--wp--preset--color--red);
  color: var(--wp--preset--color--white);
  text-decoration: none;
  font-size: var(--wp--preset--font-size--base);
  font-weight: 700;
  font-family: var(--wp--preset--font-family--ptsans);
  
  border-top-left-radius: 0;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: fit-content;
  margin-top: var(--wp--preset--spacing--32);

  transition: all 0.3s ease;
}

.btn a.wp-block-button__link:hover{
  background-color: var(--wp--preset--color--darkred);
}

.btn.btn-primary a.wp-block-button__link{
  background-color: var(--wp--preset--color--primary);
}

.btn a.wp-block-button__link::after{
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background-image: url("../images/btn-arrow.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.btn.arrow-down a.wp-block-button__link::after{
  transform: rotate(90deg);
  transform-origin: center center;

}

.btn.btn-contact a.wp-block-button__link::after{
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background-image: url("../images/btn-contact.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.btn.nobg a.wp-block-button__link{
  background-color: transparent;
  border: 1px solid var(--wp--preset--color--red);
  color: var(--wp--preset--color--red);
  height: auto;
}

.btn.nobg a.wp-block-button__link::after{
  background-image: url("../images/btn-arrow-red.svg");
}

.btn-anchor{
  display: inline-block;
  padding: var(--wp--preset--spacing--12);
  background-color: var(--wp--preset--color--red);
  color: var(--wp--preset--color--white);
  text-decoration: none;
  font-size: var(--wp--preset--font-size--sm);
  
  border-top-left-radius: 0;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 0;
}

.btn-anchor::before{
  content: "";
  display: block;
  width: 11px;
  height: 11px;
  background-image: url("../images/arrow-down.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.btn.btn-download a.wp-block-button__link::after{
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background-image: url("../images/download.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.blocs-details .btn a.wp-block-button__link{
  margin-top: var(--wp--preset--spacing--16);
}

.blocs-details-3 > .wp-block-columns,
.blocs-details > .wp-block-columns,
.blocs-details-big > .wp-block-columns{
  align-items: flex-start !important;
}

.blocs-details-3 > .wp-block-columns .wp-block-column:first-child,
.blocs-details > .wp-block-columns .wp-block-column:first-child,
.blocs-details-big > .wp-block-columns .wp-block-column:first-child{
  position: sticky;
  top: 140px;
}

.blocs-details-big .timeline-item h3{
  margin-bottom: 0;
}
.blocs-details-big .timeline-item h4{
  line-height: 1;
  margin-bottom: 10px;
}
.blocs-details-big .timeline-item h4 span{
  font-size: 40px;
}
.blocs-details-big .timeline-details p{
  line-height: 1.3;
}

header nav a.wp-block-navigation-item__content[aria-current="page"]{
  position: relative;
}
header nav a.wp-block-navigation-item__content[aria-current="page"]::after{
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  border-bottom: 3px solid var(--wp--preset--color--red);
}

header nav a.wp-block-navigation-item__content[aria-current="page"] span{
  color: var(--wp--preset--color--red);
}

/* ========================================================================== */
/* PILIERS                                                                    */
/* ========================================================================== */
.piliers-grid,
.mieux-vivre-grid{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  flex-direction: row;
  gap: var(--wp--preset--spacing--24);
  position: relative;
  z-index: 1;
}

.piliers-grid::before,
.mieux-vivre-grid::before{
  content: "";
  display: block;
  position: absolute;
  top: -47px;
  right: -73px;
  width: 195px;
  height: 213px;
  background-color: var(--wp--preset--color--accent);
  z-index: 2;
  border-top-left-radius: 999px;
  border-top-right-radius: 999px;
}

.pilier-item{
  padding: var(--wp--preset--spacing--24);
  box-sizing: border-box;
  border-top-right-radius: 24px;
  border-bottom-left-radius: 24px;
  min-height: 245px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 3;
}

.pilier-item .wp-block-columns{
  align-items: center !important;
}

.mieux-vivre-item{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  position: relative;
  z-index: 3;
  min-width: 331px;
}

.mieux-vivre-item:nth-child(1),
.mieux-vivre-item:nth-child(2),
.mieux-vivre-item:nth-child(3),
.mieux-vivre-item:nth-child(1) img,
.mieux-vivre-item:nth-child(2) img,
.mieux-vivre-item:nth-child(3) img{
  border-top-left-radius: 24px;
}

.mieux-vivre-item:nth-child(4),
.mieux-vivre-item:nth-child(5),
.mieux-vivre-item:nth-child(6),
.mieux-vivre-item:nth-child(4) img,
.mieux-vivre-item:nth-child(5) img,
.mieux-vivre-item:nth-child(6) img{
  border-bottom-right-radius: 24px;
}
  

.mieux-vivre-item .wp-block-image{
  flex: 1;
  margin: 0;
}

.mieux-vivre-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.mieux-vivre-item.text-item{
  padding: var(--wp--preset--spacing--24);
  box-sizing: border-box;
}  

.pilier-item h3{
  /* font-family: var(--wp--preset--font-family--opensans); */
  line-height: 1;
}

.mieux-vivre-item h3{
  /* font-family: var(--wp--preset--font-family--opensans); */
  line-height: 1.3;
  margin-bottom: var(--wp--preset--spacing--12);
}

.pilier-item h4,
.mieux-vivre-item h4{
  line-height: 1.3;
  margin-bottom: var(--wp--preset--spacing--8);
  margin-top: var(--wp--preset--spacing--24);
}

.pilier-item p{
  margin-top: 0;
}

.piliers-grid .pilier-item:nth-child(1),
.piliers-grid .pilier-item:nth-child(2),
.piliers-grid .pilier-item:nth-child(3),
.mieux-vivre-grid .mieux-vivre-item{
  width: calc((100% - (2 * var(--wp--preset--spacing--24))) / 3);
}

.piliers-grid .pilier-item:nth-child(4){
  width: calc(((100% - var(--wp--preset--spacing--24)) / 3) * 1.8);
}

.piliers-grid .pilier-item:last-child{
  width: calc(((100% - var(--wp--preset--spacing--24)) / 3) * 1.2);
}
  
.pilier-item .pilier-text-clamp{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pilier-item .pilier-text-clamp.is-expanded{
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
}

.piliers footer{
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-plus{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
  color: var(--wp--preset--color--red) !important;
  text-decoration: none;
  cursor: pointer;
  padding: var(--wp--preset--spacing--12) var(--wp--preset--spacing--16);
  background-color: transparent;
  border-radius: 0;
  border: none;
  margin-left: 0 !important;
}

.btn-plus a{
  border: none;
  outline: none;
  background-color: transparent;
  color: var(--wp--preset--color--red) !important;
  text-decoration: none;
  cursor: pointer;
  padding: 0;
  border-radius: none;
  border: none;
  font-size: var(--wp--preset--font-size--md);
  font-weight: 700;
}

.btn-plus::after{
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background-image: url("../images/add.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.btn-arrow{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
  color: var(--wp--preset--color--red) !important;
  text-decoration: none;
  cursor: pointer;
  background-color: transparent;
  border-radius: 0;
  border: none;
  margin-left: 0 !important;
}

.btn-arrow a.wp-block-button__link{
  border: none;
  outline: none;
  background-color: transparent;
  color: var(--wp--preset--color--red) !important;
  text-decoration: none;
  cursor: pointer;
  padding: 0;
  border-radius: none;
  border: none;
  font-size: var(--wp--preset--font-size--md);
  font-weight: 700;
  height: auto;
  margin-top: 0;
}

.btn-arrow a.wp-block-button__link::after{
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background-image: url("../images/arrow-top-right.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.container, .site-header{
  max-width: var(--wp--style--global--content-size);
  margin: 0 auto;
}
/* ========================================================================== */
/* CONSTRUIRE ENSEMBLE                                                        */
/* ========================================================================== */
.construire .wp-block-columns{
  gap: var(--wp--preset--spacing--24);
  position: relative;
  z-index: 1;
}

.construire .wp-block-columns::before{
  content: "";
  display: block;
  position: absolute;
  left: -26px;
  bottom: -38px;
  z-index: 2;
  width: 148px;
  height: 148px;
  background-color: var(--wp--preset--color--primary);
  border-bottom-left-radius: 50%;
  border-top-right-radius: 50%;
}

.construire-block{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  gap: var(--wp--preset--spacing--24);
  padding: var(--wp--preset--spacing--24);
  box-sizing: border-box;
  border-top-right-radius: var(--wp--preset--spacing--24);
  border-bottom-left-radius: var(--wp--preset--spacing--24);
  position: relative;
  z-index: 3;
}

.construire-block figure{
  margin-left: 0 !important;
}

.construire-block h3{
  margin-top: var(--wp--preset--spacing--24);
  margin-bottom: var(--wp--preset--spacing--16);
}

.construire-block .btn a{
  margin-top: 0;
}

.rapports-block{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  gap: 4px;
  padding: var(--wp--preset--spacing--24);
  box-sizing: border-box;
  border-top-right-radius: var(--wp--preset--spacing--24);
  border-bottom-left-radius: var(--wp--preset--spacing--24);
  position: relative;
  z-index: 3;
}

/* ========================================================================== */
/* HEADER                                                                     */
/* ========================================================================== */
.site-header{
  padding: var(--wp--preset--spacing--8);
  border-radius: 8px;
  border: 1px solid var(--wp--preset--color--grey);
  background: var(--wp--preset--color--white);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

header:has(.site-header){
  padding-top: var(--wp--preset--spacing--24);
  position: sticky;
  z-index: 100;
  top: var(--wp--preset--spacing--24);
  padding-left: var(--wp--preset--spacing--16);
  padding-right: var(--wp--preset--spacing--16);
  box-sizing: border-box;
}

.nav-main,
.nav-marques{
  margin-top: 0;
}

.nav-main nav ul{
  gap: var(--wp--preset--spacing--24);
}

.nav-marques .wp-block-navigation-item__content,
.nav-marques .wp-block-navigation-item__content:hover,
.nav-marques .wp-block-navigation-item__content.wp-block-navigation-item__content{
  color: var(--wp--preset--color--red);
  padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--12);
}

.nav-marques .wp-block-navigation-item__label::after,
.mobile-menu-container .mobile-nav-marques .wp-block-navigation-item__label::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 8px;
  vertical-align: middle;
  background-image: url("../images/open.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

/* ========================================================================== */
/* FRONT PAGE                                                                 */
/* ========================================================================== */
.hero{
  position: relative;
}

.hero h1{
  position: relative;
  z-index: 2;
}

.front-page .logo-but-conforama{
  display: flex;
  justify-content: center;
  margin-top: var(--wp--preset--spacing--80);
  margin-bottom: var(--wp--preset--spacing--16);
}

.front-page.hero::after{
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--wp--preset--color--white);
  height: 120px;
  z-index: 0;
}

.hero .feuille-bleue{
  background-image: url("../images/Feuille-bleue.svg");
  width: 121px;
  height: 191px;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
}

.hero .demi-ellipse-rouge{
  background-image: url("../images/Demi-Ellipse-rouge.svg");
  width: 207px;
  height: 134px;
  position: absolute;
  bottom: 120px;
  right: 40px;
  pointer-events: none;
  z-index: 0;
}

.hero1 .demi-ellipse-rouge{
  right: 20.5%;
  bottom: 0;
}
.hero.hero4 .demi-ellipse-rouge{
  bottom: -1px;
  right: 24dvw;
}
.hero4 .wp-block-columns{
  align-items: flex-start !important;
}
.hero4 > .wp-block-group > .wp-block-columns .hero1-images > div{
  justify-content: center;
}
.hero4 .wp-block-buttons{
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.hero4 .wp-block-buttons .wp-block-button,
.hero4 .wp-block-buttons .wp-block-button__link{
  margin-top: 0;
}

.front-page .wp-block-site-logo,
.front-page h1 {
  position: relative;
  z-index: 1;
}

.front-page .hero-columns{
  align-items: stretch;
}

.front-page .hero-columns .decoration-1, .front-page .hero-columns .decoration-2{
  position: relative;
}

.front-page .hero-columns .decoration-1 figure, .front-page .hero-columns .decoration-2 figure{
  position: absolute;
}

.front-page .hero-columns .decoration-1 img, .front-page .hero-columns .decoration-2 img{
  max-width: 153px;
}

.front-page .hero-columns .decoration-1 figure:first-child{
  bottom: 20px;
  left: 0;
  z-index: 2;
}

.front-page .hero-columns .decoration-1 figure:first-child img{
  border-top-left-radius: 9999px;
  border-top-right-radius: 9999px;
}

.front-page .hero-columns .decoration-1 figure:last-child{
  top: 0;
  right: 0;
  z-index: 3;
}

.front-page .hero-columns .decoration-1 figure:last-child img{
  border-radius: 9999px;
}

.front-page .hero-columns .decoration-2 figure:first-child{
  top: 0;
  left: 0;
  z-index: 2;
}

.front-page .hero-columns .decoration-2 figure:first-child img{
  border-top-left-radius: 9999px;
  border-top-right-radius: 9999px;
}

.front-page .hero-columns .decoration-2 figure:last-child{
  bottom: 0;
  right: 0;
  z-index: 3;
}

.front-page .hero-columns .decoration-2 figure:last-child img{
  border-top-left-radius: 9999px;
  border-top-right-radius: 9999px;
}

@media (max-width: 1120px){
  .front-page .hero-columns .decoration-1 figure:first-child, .front-page .hero-columns .decoration-2 figure:last-child{
    transform: scale(0.8);
  }
}

@media (max-width: 1000px){
  .front-page .hero-columns .decoration-1 figure:first-child, .front-page .hero-columns .decoration-2 figure:last-child{
    display: none;
  }

  .front-page .decorative-elements .demi-ellipse-rouge{
    display: none;
  }

  .news-section.alignfull{
    padding-left: 0;
    padding-right: 0;
  }

  .news-section .category-filters, .news-section .posts-list{
    padding-left: var(--wp--preset--spacing--16);
    padding-right: var(--wp--preset--spacing--16);
    box-sizing: border-box;
  }
}

@media (max-width: 650px){
  .front-page .logo-but-conforama.wp-block-site-logo{
    display: none;
  }
}

/* ========================================================================== */
/* POSTS LIST                                                                 */
/* ========================================================================== */
.posts-list{
  position: relative;
}

.posts-list::before{
  content: "";
  display: block;
  width: 191px;
  height: 191px;
  background-color: var(--wp--preset--color--red);
  position: absolute;
  top: -30px;
  left: -30px;
  z-index: 0;
  border-top-right-radius: 50%;
  border-bottom-left-radius: 50%;
}

.posts-list > ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--wp--preset--spacing--24);
  align-items: stretch;
}

.posts-list li.wp-block-post {
  width: calc((100% - (2 * var(--wp--preset--spacing--24))) / 3);

  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--12);
  margin-top: 0;

  border-bottom: 4px solid var(--category-bg);
  box-sizing: border-box;
  padding-bottom: var(--wp--preset--spacing--32);
}

/* Filtrage des posts - par défaut, on cache au-delà de 6 */
.posts-filterable li.wp-block-post:nth-child(n+7) {
  display: none;
}

/* Quand un filtre est actif, on montre tous les posts correspondants */
.posts-filterable.is-filtering li.wp-block-post {
  display: none;
}

.posts-filterable.is-filtering li.wp-block-post.is-visible {
  display: flex;
}

/* Quand "show all" est actif */
.posts-filterable.show-all li.wp-block-post {
  display: flex;
}

.posts-list li.wp-block-post .wp-block-post-featured-image{
  border-top-right-radius: 16px;
  border-bottom-left-radius: 16px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1/0.65;
  margin-bottom: var(--wp--preset--spacing--12);
}

.posts-list li.wp-block-post .wp-block-post-featured-image img{
  object-fit: cover;
  object-position: center;
}

/* ========================================================================== */
/* CATEGORY FILTERS                                                           */
/* ========================================================================== */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--wp--preset--spacing--10);
  margin-top: var(--wp--preset--spacing--32);
  margin-bottom: var(--wp--preset--spacing--32);
}

.category-filter {
  padding: var(--wp--preset--spacing--12) var(--wp--preset--spacing--16);
  border: none;
  border-radius: 9999px;
  background: var(--wp--preset--color--lightred);
  color: var(--wp--preset--color--white);
  font-size: var(--wp--preset--font-size--base);
  font-weight: 700;
  font-family: var(--wp--preset--font-family--ptsans);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.category-filter--active,
.category-filter:hover {
  background: var(--wp--preset--color--red);
}

/* ========================================================================== */
/* TERMS LIST                                                                 */
/* ========================================================================== */
.terms-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wp--preset--spacing--10);
  list-style: none;
  padding: 0;
}

.terms-list__link{
  display: inline-block;
  background: var(--term-bg);
  color: var(--term-color);
  padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--16);
  border-radius: 8px;
  text-decoration: none;
  font-size: var(--wp--preset--font-size--base);
  font-weight: 700;
  font-family: var(--wp--preset--font-family--ptsans);
}
.terms-list__link:hover{
  opacity: 0.8;
}

/* ========================================================================== */
/* HERO SECTION                                                               */
/* ========================================================================== */
.hero-video {
  position: relative;
  z-index: 2;
}

.hero-video .hero-embed{
  margin: 0;
}

.hero-video .hero-embed .wp-block-embed__wrapper{
  border-bottom-right-radius: 40px;
  border-top-left-radius: 40px;
  overflow: hidden;
}

.hero-video .hero-embed iframe{
  border-bottom-right-radius: 40px;
  border-top-left-radius: 40px;
}

/* Facade : cover cliquable au-dessus de l'iframe YouTube */
.hero-video-facade{
  position: relative;
}

.hero-video-facade .video-cover{
  position: absolute;
  inset: 0;
  z-index: 3;
  cursor: pointer;
  min-height: 0;
  border-bottom-right-radius: 40px;
  border-top-left-radius: 40px;
  overflow: hidden;
}

.hero-video-facade .video-cover .wp-block-cover__image-background{
  object-fit: cover;
}

.hero-video-facade.is-playing .video-cover{
  display: none;
}

/* Bouton play centré */
.video-cover__play{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.55);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.video-cover__play::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 16px 0 16px 26px;
  border-color: transparent transparent transparent #ffffff;
}

.video-cover__play:hover{
  background-color: rgba(0, 0, 0, 0.8);
  transform: translate(-50%, -50%) scale(1.08);
}

/* ========================================================================== */
/* TITLE WITH ARROW                                                           */
/* ========================================================================== */
.title-arrow{
  position: relative;
  display: inline-block;
}
.title-arrow::after{
  content: "";
  display: block;
  background-image: url("../images/Arrow-yellow-left.svg");
  background-size: contain;
  background-repeat: no-repeat;
  width: 51px;
  height: 34px;
  position: absolute;
  bottom: 0;
  right: -60px;
}
.title-arrow.arrow-high::after{
  bottom: auto;
  top: -30px;
  transform: rotate(-15deg);
}
.title-arrow.arrow-middle::after{
  bottom: auto;
  top: 50%;
  transform: rotate(-15deg) translateY(-50%) translateX(50%);
}
.title-arrow.has-text-align-center,
.title-arrow-left.has-text-align-center{
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.title-arrow-left{
  position: relative;
  display: inline-block;
}
.title-arrow-left::before{
  content: "";
  display: block;
  background-image: url("../images/Arrow-yellow-right.svg");
  background-size: contain;
  background-repeat: no-repeat;
  width: 51px;
  height: 34px;
  position: absolute;
  top: -5px;
  left: -50px;
}

.deux-enseignes .ambition-content{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/* ========================================================================== */
/* MIEUX CONTRIBUER                                                           */
/* ========================================================================== */
.mieux-contribuer{
  position: relative;
  overflow: hidden;
}

.mieux-contribuer::before{
  content: "";
  display: block;
  width: 213px;
  height: 213px;
  background-color: var(--wp--preset--color--blue);
  border-radius: 50%;
  position: absolute;
  top: -90px;
  left: -100px;
}

.mieux-contribuer::after{
  content: "";
  display: block;
  background-image: url("../images/demi-ellipse.png");
  background-size: contain;
  background-repeat: no-repeat;
  width: 126px;
  height: 107px;
  position: absolute;
  bottom: 0;
  right: 0;
}  

.mieux-contribuer-grid{
  gap: 0;
  align-items: flex-start;
}

.mieux-contribuer-item{
  width: 25%;
}

.mieux-contribuer-number:has(.has-accent-color){
  border-bottom: 1px solid var(--wp--preset--color--accent);
}
.mieux-contribuer-number:has(.has-accent-color) p{
  border-bottom: 6px solid var(--wp--preset--color--accent);
}
.mieux-contribuer-number:has(.has-red-color){
  border-bottom: 1px solid var(--wp--preset--color--red);
}
.mieux-contribuer-number:has(.has-red-color) p{
  border-bottom: 6px solid var(--wp--preset--color--red);
}
.mieux-contribuer-number:has(.has-blue-color){
  border-bottom: 1px solid var(--wp--preset--color--blue);
}
.mieux-contribuer-number:has(.has-blue-color) p{
  border-bottom: 6px solid var(--wp--preset--color--blue);
}
.mieux-contribuer-number:has(.has-primary-color){
  border-bottom: 1px solid var(--wp--preset--color--primary);
}
.mieux-contribuer-number:has(.has-primary-color) p{
  border-bottom: 6px solid var(--wp--preset--color--primary);
}

.mieux-contribuer-number{
  width: 100%;
  margin-bottom: var(--wp--preset--spacing--12);
}

.mieux-contribuer-number p{
  max-width: 62px;
  width: 100%;
  padding-bottom: var(--wp--preset--spacing--8);
  margin-left: 0;
  line-height: 1;
}

.mieux-contribuer-content{
  margin-left: 0;
  padding-right: var(--wp--preset--spacing--24);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: var(--wp--preset--spacing--16);
}

.mieux-contribuer-details{
  width: 100%;
  padding: var(--wp--preset--spacing--8);
  box-sizing: border-box;
  border: 1px solid var(--wp--preset--color--primary);
  border-top-left-radius: var(--wp--preset--spacing--8);
  border-top-right-radius: var(--wp--preset--spacing--8);
}

.devenir-franchise::before{
  display: none;
}
.devenir-franchise::after{
  bottom: -60px;
}

/* ========================================================================== */
/* AMBITION SECTION                                                           */
/* ========================================================================== */
.ambition {
  position: relative;
  z-index: 1;
}

.ambition h2{
  margin-bottom: var(--wp--preset--spacing--24);
}

.ambition > .wp-block-columns{
  align-items: center;
}

.ambition .ambition-content-container{
  padding-left: var(--wp--preset--spacing--32);
  position: relative;
}

.ambition .ambition-images{
  position: sticky;
  top: 0px;
  align-self: flex-start;
}

.ambition .ambition-images .ambition-image{
  overflow: hidden;
}

.ambition .ambition-content{
  border-left: 1px solid var(--wp--preset--color--red);
  position: relative;
}

.ambition .ambition-images .ambition-image .wp-block-column{
  display: flex;
  gap: var(--wp--preset--spacing--16);
}

.ambition .ambition-content .ambition-item{
  opacity: 0.3;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  /* padding-top: var(--wp--preset--spacing--16);
  padding-bottom: var(--wp--preset--spacing--16); */
  display: flex;
  align-items: center;
  width: calc(100% - 40px);
}

.ambition .ambition-content .ambition-item.active,
.ambition .ambition-content .ambition-item:hover{
  opacity: 1;
  transform: translateY(0);
  position: relative;
}
.ambition .ambition-content .ambition-indicator{
  position: absolute;
  left: 0;
  top: 0;
  width: 11px;
  height: 0;
  background-color: var(--wp--preset--color--red);
  transform: translateX(-6px);
  z-index: 1;
  pointer-events: none;
  transition: top 0.4s ease, height 0.4s ease;
}

.ambition.deux-enseignes .ambition-content .ambition-indicator{
  min-height: 190px;
  transform: translateY(-25%);
  left: -6px;
}

@media (prefers-reduced-motion: reduce){
  .ambition .ambition-content .ambition-indicator{
    transition: none;
  }
}

.ambition .ambition-content .ambition-item-content{
  padding: var(--wp--preset--spacing--16) 0 var(--wp--preset--spacing--16) var(--wp--preset--spacing--32);
  box-sizing: border-box;
}

.ambition-image-wrapper,
.audace-image-wrapper{
  position: relative;
}

.ambition-image-wrapper .wp-block-image,
.audace-image-wrapper .wp-block-image{
  position: relative;
  z-index: 1;
}

.ambition-image-wrapper .wp-block-image img,
.audace-image-wrapper .wp-block-image img{
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.decorative-shapes,
.decorative-shapes-right{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}

/* ========================================================================== */
/* FORCE SECTION                                                              */
/* ========================================================================== */
.force-reseau{
  overflow-x: hidden;
}

/* ========================================================================== */
/* STATS SECTION                                                              */
/* ========================================================================== */
.stats-grid{
  gap: var(--wp--preset--spacing--16);
  position: relative;
  align-items: stretch;
}

.stats-grid .title-arrow{
  display: inline-flex;
  justify-content: center;
}

.stats-grid::before{
  content: "";
  display: block;
  width: 191px;
  height: 191px;
  background-color: var(--wp--preset--color--primary);
  position: absolute;
  bottom: -60px;
  left: -60px;
  z-index: 0;
  border-top-right-radius: 50%;
  border-bottom-left-radius: 50%;
}

.stats-grid::after{
  content: "";
  display: block;
  width: 191px;
  height: 191px;
  background-color: var(--wp--preset--color--red);
  position: absolute;
  top: -60px;
  right: -60px;
  z-index: 0;
  border-top-right-radius: 50%;
  border-top-left-radius: 50%;
}

.stat-item{
  flex: 1;
  min-width: 150px;
  background-color: var(--wp--preset--color--white);
  color: var(--wp--preset--color--primary);
  padding: var(--wp--preset--spacing--24);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: relative;
  /* gap: var(--wp--preset--spacing--24); */
  aspect-ratio: 1/1;
  z-index: 1;
  border-top-right-radius: var(--wp--preset--spacing--24);
  border-bottom-left-radius: 8px;
}

.stat-item h3{
  /* font-family: var(--wp--preset--font-family--opensans); */
  margin-bottom: var(--wp--preset--spacing--8);
}

.stat-item h3,
.stat-item p{
  text-align: left;
  margin-left: 0 !important;
}

/* ========================================================================== */
/* TIMELINE SECTION                                                           */
/* ========================================================================== */
.timeline{
  position: relative;
  padding-left: var(--wp--preset--spacing--24);
}

.timeline-item{
  padding: var(--wp--preset--spacing--32);
  box-sizing: border-box;
  margin: 0;
}

.timeline-item h3{
  margin-bottom: var(--wp--preset--spacing--8);
}

.timeline-details{
  margin-top: var(--wp--preset--spacing--12);
}
.timeline-details .wp-block-column{
  padding: var(--wp--preset--spacing--16);
  border-top-right-radius: var(--wp--preset--spacing--16);
  border-bottom-left-radius: var(--wp--preset--spacing--16);
}

.mieux-vivre-details{
  margin-top: var(--wp--preset--spacing--16);
  padding: var(--wp--preset--spacing--16);
  border-top-right-radius: var(--wp--preset--spacing--8);
  border-bottom-left-radius: var(--wp--preset--spacing--8);
}

/* ========================================================================== */
/* CONTACT SECTION                                                            */
/* ========================================================================== */
.contact-phone{
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-phone:hover{
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(181, 24, 39, 0.4);
}

/* ========================================================================== */
/* NEWS SECTION                                                               */
/* ========================================================================== */
.news-section .title-arrow{
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.news-section .title-arrow::after{
  display: none;
}
.news-section .title-arrow::before{
  content: "";
  display: block;
  background-image: url("../images/Arrow-yellow-right.svg");
  background-size: contain;
  background-repeat: no-repeat;
  width: 51px;
  height: 34px;
  position: absolute;
  top: -5px;
  left: -50px;
}

/* ========================================================================== */
/* HERO 1                                                                     */
/* ========================================================================== */
.hero1 .hero1-images{
  position: relative;
  padding: 25px 25px 0 25px;
}

.hero1 .hero1-images .large-image img{
  position: relative;
  z-index: 1;
  margin: auto;
  display: block;
}

.hero1 .hero1-images .small-image{
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  margin: 0;
}

.hero1 .hero1-images .small-image img{
  border-top-right-radius: 999px;
  border-top-left-radius: 999px;
}

/* ========================================================================== */
/* HERO 2                                                                     */
/* ========================================================================== */
.hero2{
  overflow: hidden;
}

.hero2 h1.has-right-arrow{
  position: relative;
}

.hero2 h1.has-right-arrow::after{
  content: "";
  display: block;
  background-image: url("../images/Arrow-yellow-right2.svg");
  background-size: contain;
  background-repeat: no-repeat;
  width: 51px;
  height: 34px;
  position: absolute;
  top: 10px;
  right: 0;
}

.hero2 .demi-ellipse-rouge{
  right: -80px;
  bottom: -20px;
}

.hero2-images{
  position: relative;
}

.hero2-images img{
  border-top-left-radius: var(--wp--preset--spacing--24);
  border-bottom-right-radius: var(--wp--preset--spacing--24);
}

.hero2-images p{
  position: absolute;
  top: var(--wp--preset--spacing--24);
  left: var(--wp--preset--spacing--24);
  z-index: 2;
  padding-right: var(--wp--preset--spacing--16);
  line-height: 1;
  margin: 0;
}

.hero2-images .hero2-link{
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
}

.hero2-images .btn-anchor{
  position: absolute;
  bottom: var(--wp--preset--spacing--24);
  right: var(--wp--preset--spacing--24);
  z-index: 2;
}

.hero2 .ambition-images p{
  max-width: 80%;
}

@media (max-width: 1400px){
  .hero2 .decorative-elements .feuille-bleue{
    left: -60px;  
  }
}

@media (max-width: 1250px){
  .hero2{
    padding-top: 200px !important;
  }
}

@media (max-width: 1150px){
  .hero2 .ambition-images p{
    max-width: 100%;
  }
}

@media (max-width: 1072px){
  .hero2 h1.has-right-arrow::after{
    display: none;
  }
}

/* ========================================================================== */
/* THREE IMAGES                                                               */
/* ========================================================================== */
.three-images-images img{
  border-top-right-radius: 999px;
  border-top-left-radius: 999px;
}

/* ========================================================================== */
/* FOOTER                                                                     */
/* ========================================================================== */
.site-footer{
  padding: 40px var(--wp--preset--spacing--16) 40px var(--wp--preset--spacing--16);
  background-color: var(--wp--preset--color--darkred);
  color: var(--wp--preset--color--white);

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.site-footer .custom-logo{
  width: 153px;
}

.site-footer .wp-block-columns{
  width: 100%;
}

.site-footer .wp-block-columns .wp-block-navigation{
  flex-direction: column;
  align-items: flex-start;
}

.site-footer .wp-block-columns .wp-block-navigation .wp-block-navigation__container {
  flex-direction: column;
  align-items: flex-start;
}

.site-footer .wp-block-columns{
  align-items: flex-end !important;
}

.site-footer .footer-marques {
  flex-direction: column;
  align-items: flex-start;
}

.site-footer .wp-block-navigation .wp-block-navigation-link a{
  color: var(--wp--preset--color--white);
  font-size: var(--wp--preset--font-size--md);
}

.site-footer .footer-marques .wp-block-navigation-link a{
  padding: var(--wp--preset--spacing--12) var(--wp--preset--spacing--16);
  background-color: var(--wp--preset--color--red);
  text-decoration: none;
  font-size: var(--wp--preset--font-size--md);
  font-weight: 700;
  font-family: var(--wp--preset--font-family--ptsans);
  
  border-top-left-radius: 0;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: fit-content;
}

.site-footer .footer-faq a{
  font-size: 14px !important;
  padding: 8px var(--wp--preset--spacing--16);
  background-color: var(--wp--preset--color--red);
  text-decoration: none;
  font-family: var(--wp--preset--font-family--ptsans);
  border-top-left-radius: 0;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 0;
}

.site-footer .footer-marques .wp-block-navigation-link a::after{
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background-image: url("../images/btn-newtab.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.site-footer .footer-legals{
  gap: 32px;
}

.site-footer .footer-legals .wp-block-navigation-link a{
  font-weight: 400;
  font-size: var(--wp--preset--font-size--small);
}

.footer-footer{
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
}

.footer-footer .footer-rse{
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: var(--wp--preset--spacing--8);
}

.footer-footer .footer-rse img{
  max-height: 93px;
}

.footer-footer .footer-social li a{
  padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--16);
  border: 1px solid var(--wp--preset--color--white);
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;

  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}

.footer-footer .footer-social li a::after{
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background-image: url("../images/linkedin.svg");
}

@media (max-width: 1000px){
  .footer-footer{
    flex-direction: column;
    align-items: center;
    gap: 80px;
  }

  .footer-footer .footer-social-links{
    order: 0;
  }

  .footer-footer .footer-rse{
    order: 1;
  }

  .footer-footer .footer-legal-links{
    order: 2;
  }

  .site-footer .footer-legals{
    gap: 16px;
  }
}

@media (max-width: 400px){
  .site-footer .footer-legals{
    flex-direction: column;
    align-items: center;
  }
}

/* ========================================================================== */
/* MOBILE MENU                                                                */
/* ========================================================================== */
.nav-mobile{
  display: none;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  z-index: 1001;
  margin-top: 0;
}

.nav-mobile .wp-block-columns,
.nav-mobile .wp-block-column{
  margin-top: 0;
}

.nav-mobile .wp-block-column:first-child{
  display: none;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  padding: 10px;
  margin-top: 0;
}

.mobile-menu-toggle .close{
  display: none;
}

.mobile-menu-toggle.is-active{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mobile-menu-toggle.is-active .close{
  display: block;
  color: var(--wp--preset--color--primary);
  font-family: var(--wp--preset--font-family--ptsans);
  font-size: var(--wp--preset--font-size--base);
  font-weight: 700;
  line-height: normal;
}

.burger-icon {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--wp--preset--color--primary);
  position: relative;
  transition: background-color 0.3s ease;
}

.burger-icon::before,
.burger-icon::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--wp--preset--color--primary);
  position: absolute;
  left: 0;
  transition: transform 0.3s ease, top 0.3s ease;
}

.burger-icon::before {
  top: -7px;
}

.burger-icon::after {
  top: 7px;
}

/* Animation burger -> croix */
.mobile-menu-toggle.is-active .burger-icon {
  background-color: transparent;
}

.mobile-menu-toggle.is-active .burger-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-menu-toggle.is-active .burger-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Overlay du menu mobile */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin-top: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-container {
  position: absolute;
  inset: 0;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100dvh;
  background-color: var(--wp--preset--color--white);
  padding: calc(var(--wp--preset--spacing--120) + var(--wp--preset--spacing--16)) var(--wp--preset--spacing--24) var(--wp--preset--spacing--80) var(--wp--preset--spacing--24);
  box-sizing: border-box;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu-overlay.is-open .mobile-menu-container {
  transform: translateX(0);
}

/* Styles des liens dans le menu mobile */
.mobile-menu-container .wp-block-navigation {
  margin-bottom: var(--wp--preset--spacing--24);
}

.mobile-menu-container .wp-block-navigation__container {
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--8);
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.mobile-menu-container .wp-block-navigation-item {
  list-style: none;
  width: 100%;
  display: block;
}

.mobile-menu-container .wp-block-navigation-item__content {
  display: block;
  padding: var(--wp--preset--spacing--12) 0;
  color: var(--wp--preset--color--primary);
  text-decoration: none;
  font-size: var(--wp--preset--font-size--base);
  font-weight: 600;
  font-family: var(--wp--preset--font-family--ptsans);
  border-bottom: 1px solid var(--wp--preset--color--grey);
}

.mobile-menu-container .mobile-nav-marques .wp-block-navigation-item__content {
  color: var(--wp--preset--color--red);
  border-bottom: none;
  padding: var(--wp--preset--spacing--12) var(--wp--preset--spacing--16);
  /* background-color: var(--wp--preset--color--red); */
  /* color: var(--wp--preset--color--white); */
  border-radius: 8px;
  margin-top: var(--wp--preset--spacing--8);
}

.bandeau-bleu .container{
  position: relative;
  z-index: 1;
}
/* .bandeau-bleu::after{
  content: "";
  display: block;
  position: absolute;
  z-index: 0;
  bottom: 0;
  right: 0;
  width: 129px;
  height: 108px;
  background-image: url(../images/Demi-Ellipse-bleue-sombre.svg);
  background-size: cover;
  background-repeat: no-repeat;
} */
.bandeau-bleu h2{
  text-transform: uppercase;
}

.bandeau-rouge::before{
  content: "";
  background-image: url("../images/Demi-Ellipse-rouge.svg");
  background-repeat: no-repeat;
  width: 207px;
  height: 134px;
  position: absolute;
  bottom: -20px;
  left: -5%;
  pointer-events: none;
  z-index: 0;
}
.bandeau-rouge.bandeau-bleu::before{
  display: none;
}
.bandeau-rouge{
  padding-top: 24px;
}
.bandeau-rouge h2{
  text-transform: uppercase;
}
.bandeau-rouge .wp-block-columns{
  align-items: center;
}
.bandeau-rouge .wp-block-column:last-child{
  align-self: flex-end;
}
.bandeau-rouge figure,
.bandeau-rouge figure img{
  border-top-left-radius: 9999px;
  border-top-right-radius: 9999px;
}
.deux-modeles .separator{
  background-color: var(--wp--preset--color--darkred);
}
.deux-modeles .container{
  justify-content: space-between;
}
.deux-modeles .container .wp-block-column:first-child{
  flex-basis: calc((100% - 40px) * 0.55) !important;
}
.deux-modeles .container .wp-block-column:last-child{
  flex-basis: calc((100% - 40px) * 0.45) !important;
}
.deux-modeles .deux-modeles-images .container figure,
.deux-modeles .deux-modeles-images .container figure img{
  border-top-left-radius: 9999px;
  border-top-right-radius: 9999px;
}

/* ========================================================================== */
/* RESPONSIVE                                                                 */
/* ========================================================================== */
@media (max-width: 1370px){
  .hero .feuille-bleue{
    transform: translateX(-75%);
  }
}

@media (max-width: 1200px) {
  .hero .feuille-bleue{
    transform: translateX(-90%);
  }
  .piliers{
    overflow-x: hidden;
  }
  .three-images .title-arrow{
    width: 85%;
  }

  .mieux-vivre{
    padding-left: var(--wp--preset--spacing--16);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .mieux-vivre::-webkit-scrollbar{
    display: none;
  }
  .mieux-vivre > .wp-block-group:first-child,
  .mieux-vivre footer{
    position: sticky;
    left: 0;
  }
  .mieux-vivre-grid{
    min-width: calc((331px * 3) + (3 * var(--wp--preset--spacing--24)));
    padding-right: var(--wp--preset--spacing--24);
  }
  .mieux-vivre-grid::before{
    display: none;
  }
}

@media (max-width: 1072px) {
  /* Header mobile : burger menu */
  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .site-header .nav-main,
  .site-header .nav-marques {
    display: none;
  }

  .nav-mobile {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  .site-header:has(.is-active) > .wp-block-site-logo{
    display: none;
  }

  .nav-mobile:has(.is-active){
    width: 100%;
  }

  .nav-mobile:has(.is-active) .wp-block-column:first-child{
    display: block;
    flex-basis: 70% !important;
  }

  .nav-mobile:has(.is-active) .wp-block-column:last-child{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-basis: 30% !important;
  }

  .mobile-menu-overlay {
    display: block;
  }

  .mobile-menu-container .mobile-nav-marques{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }

  .mobile-menu-container .mobile-nav-marques .wp-block-navigation-item{
    width: auto;
  }

  .container,
  .hero,
  .news-section,
  .force-reseau{
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }

  /* Stats grid: scroll horizontal avec formes visibles */
  .force-reseau{
    position: relative;
    overflow: visible;
  }

  .force-reseau::before{
    content: "";
    display: block;
    width: 191px;
    height: 191px;
    background-color: var(--wp--preset--color--primary);
    position: absolute;
    bottom: 40px;
    left: -40px;
    z-index: 0;
    border-top-right-radius: 50%;
    border-bottom-left-radius: 50%;
  }

  .force-reseau .is-layout-constrained{
    padding-left: var(--wp--preset--spacing--16);
    padding-right: var(--wp--preset--spacing--16);
  }

  .stats-grid{
    box-sizing: border-box;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-left: var(--wp--preset--spacing--16);
    padding-right: var(--wp--preset--spacing--16);
  }

  .stats-grid::before,
  .stats-grid::after{
    display: none;
  }

  .stats-grid .stat-item{
    min-width: 195px;
    flex-shrink: 0;
  }

  /* Cacher la scrollbar sur mobile */
  .stats-grid{
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
  }

  .stats-grid::-webkit-scrollbar{
    display: none; /* Chrome, Safari, Opera */
  }

  .hero2 .container > .wp-block-columns{
    flex-direction: column;
  }

  .hero2 .hero2-images.wp-block-column{
    flex-basis: auto !important;
    width: 189px;
  }

  /* Category filters: scroll horizontal */
  .category-filters{
    flex-wrap: nowrap;
    justify-content: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
  }

  .category-filters::-webkit-scrollbar{
    display: none; /* Chrome, Safari, Opera */
  }

  /* Rapports scroll horizontal */
  .rapports{
    padding-left: var(--wp--preset--spacing--16);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .rapports::-webkit-scrollbar{
    display: none;
  }
  .rapports > .wp-block-group:first-child,
  .rapports > .wp-block-buttons:last-child{
    position: sticky;
    left: 0;
  }
  .rapports .wp-block-columns{
    flex-wrap: nowrap;
    min-width: calc((250px * 4) + (3 * var(--wp--preset--spacing--24)));
    padding-right: var(--wp--preset--spacing--24);
  }
  
  .mieux-contribuer{
    padding: 0 var(--wp--preset--spacing--16);
  }
  .mieux-contribuer::before{
    content: "";
    display: block;
    width: 213px;
    height: 213px;
    background-color: var(--wp--preset--color--blue);
    border-radius: 50%;
    position: absolute;
    top: -90px;
    left: auto;
    right: -90px;
  }

  .mieux-contribuer-grid{
    flex-direction: column;
  }

  .mieux-contribuer-item{
    width: 100%;
    padding-bottom: calc(2 * var(--wp--preset--spacing--24));
  }

  .mieux-contribuer-item:has(.mieux-contribuer-number .has-accent-color){
    border-left: 1px solid var(--wp--preset--color--accent);
  }
  .mieux-contribuer-item:has(.mieux-contribuer-number .has-red-color){
    border-left: 1px solid var(--wp--preset--color--red);
  }
  .mieux-contribuer-item:has(.mieux-contribuer-number .has-blue-color){
    border-left: 1px solid var(--wp--preset--color--blue);
  }
  .mieux-contribuer-item:has(.mieux-contribuer-number .has-primary-color){
    border-left: 1px solid var(--wp--preset--color--primary);
  }
  .mieux-contribuer-number:has(.has-accent-color){
    border-bottom: 0;
  }
  .mieux-contribuer-number:has(.has-accent-color) p{
    border-left: 6px solid var(--wp--preset--color--accent);
    border-bottom: 0;
  }
  .mieux-contribuer-number:has(.has-red-color){
    border-bottom: 0;
  }
  .mieux-contribuer-number:has(.has-red-color) p{
    border-left: 6px solid var(--wp--preset--color--red);
    border-bottom: 0;
  }
  .mieux-contribuer-number:has(.has-blue-color){
    border-bottom: 0;
  }
  .mieux-contribuer-number:has(.has-blue-color) p{
    border-left: 6px solid var(--wp--preset--color--blue);
    border-bottom: 0;
  }
  .mieux-contribuer-number:has(.has-primary-color){
    border-bottom: 0;
  }
  .mieux-contribuer-number:has(.has-primary-color) p{
    border-left: 6px solid var(--wp--preset--color--primary);
    border-bottom: 0;
  }

  .mieux-contribuer-number p{
    padding-left: var(--wp--preset--spacing--12);
  }
  
  .mieux-contribuer-content{
    padding: 0 var(--wp--preset--spacing--16);
  }

  .mieux-contribuer footer{
    justify-content: flex-start;
    margin-top: var(--wp--preset--spacing--32);
  }

  .mieux-contribuer footer .btn a.wp-block-button__link{
    margin-top: 0;
  }

  .mieux-contribuer::after{
    display: none;
  }
}

@media (max-width: 1140px) {
  .alignfull{
    padding-left: var(--wp--preset--spacing--16);
    padding-right: var(--wp--preset--spacing--16);
  }
  .construire{
    padding-right: 0;
    padding-left: 0;
  }
}

@media (max-width: 781px) {
  .hero .feuille-bleue{
    left: 0;
    top: 15%;
    transform: translateX(-80%);
    width: 100px;
    height: 100px;
    background-size: cover;
  }
  
  .hero1{
    overflow-x: hidden;
    /* padding-left: 20px;
    padding-right: 0; */
  }
  .hero1 .feuille-bleue{
    display: none;
  }
  .hero1 .demi-ellipse-rouge{
    right: -20px;
  }

  .hero2,
  .hero2 .container,
  .hero4,
  .hero4 .container{
    padding-right: 0;
  }

  .hero2, .hero4 {
    padding-top: 120px !important;
  }

  .hero2 .demi-ellipse-rouge, .hero4 .demi-ellipse-rouge{
    bottom: 0;
    right: -120px;
  }

  .hero2 .ambition-images .wp-block-image,
  .hero4 .ambition-images .wp-block-image {
    display: none;
  }

  .hero2 h1::before, .hero4 h1::before{
    content: "";
    display: block;
    width: 52px;
    height: 34px;
    background-image: url("../images/Arrow-yellow-down.svg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: -24px;
    left: 0;
    z-index: 0;
  }

  .hero2 .hero1-images,
  .hero4 .hero1-images{
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
  }

  .hero2 .hero1-images::-webkit-scrollbar,
  .hero4 .hero1-images::-webkit-scrollbar{
    display: none; /* Chrome, Safari, Opera */
  }

  .hero2 .hero1-images > .wp-block-columns,
  .hero4 .hero1-images > .wp-block-columns{
    width: calc((189px * 3) + (var(--wp--preset--spacing--16) * 4));
    flex-wrap: nowrap !important;
    gap: var(--wp--preset--spacing--16);
    padding-left: var(--wp--preset--spacing--16);
    padding-right: var(--wp--preset--spacing--16);
  }

  .hero2 .hero2-images.wp-block-column{
    flex-shrink: 0;
  }

  .hero4 .wp-block-columns{
    gap: 24px;
  }

  .front-page .hero-columns .decoration-1,
  .front-page .hero-columns .decoration-2{
    display: none;
  }

  .hero2 .hero1-images, 
  .hero4 .hero1-images{
    max-width: calc(100% + 40px);
    transform: translateX(-20px);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding-right: 20px;
    box-sizing: border-box;
  }

  .ambition{
    overflow-x: hidden;
  }

  .ambition .container > .wp-block-columns{
    flex-direction: column-reverse;
  }

  .ambition .ambition-content-container{
    padding-left: 5px;
  }

  .ambition .ambition-images{
    max-width: calc(100% + 40px);
    transform: translateX(-20px);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    gap: var(--wp--preset--spacing--16);
  }

  .ambition .ambition-images::-webkit-scrollbar{
    display: none; /* Chrome, Safari, Opera */
  }

  .ambition .ambition-images .wp-block-columns{
    flex-direction: row;
    flex-wrap: nowrap !important;
    gap: var(--wp--preset--spacing--16);
    width: calc((241px * 6) + (var(--wp--preset--spacing--16) * 5));
  }

  .ambition .ambition-images .wp-block-columns::-webkit-scrollbar{
    display: none; /* Chrome, Safari, Opera */
  }

  .ambition .ambition-images .wp-block-columns .wp-block-column{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: var(--wp--preset--spacing--16);
  }

  .ambition .ambition-images .wp-block-columns .wp-block-column:first-child{
    padding-left: 20px;
    box-sizing: border-box;
  }

  .ambition .ambition-images .wp-block-columns .wp-block-column:last-child{
    padding-right: 20px;
    box-sizing: border-box;
  }

  .ambition .ambition-images .wp-block-columns .wp-block-column img{
    width: 241px;
    height: auto;
  }

  .ambition.deux-enseignes .ambition-content .ambition-indicator{
    min-height: 100px;
    transform: translateY(0);
  }

  .mobile-menu-container .current-menu-item .wp-block-navigation-item__content{
    border-bottom: none;
  }

  .rapports .rapports-block.wp-block-column{
    flex-basis: auto !important;
  }

  .posts-list::before{
    display: none;
  }

  .news-section{
    position: relative;
    overflow: hidden;
  }
  .news-section::after{
    content: "";
    display: block;
    width: 80px;
    height: 80px;
    border: 40px solid var(--wp--preset--color--accent);
    position: absolute;
    bottom: -80px;
    right: -60px;
    z-index: 0;
    border-radius: 50%;
  }

  .posts-list li.wp-block-post{
    width: 100%;
  }

  .timeline{
    padding-left: 0;
  }

  .timeline-item::before{
    left: calc(-1 * var(--wp--preset--spacing--24) - 5px);
    width: 10px;
    height: 10px;
  }

  .title-arrow,
  .title-arrow-left{
    width: 100%;
    text-align: left;
  }
  .title-arrow::after,
  .title-arrow-left::after{
    display: none;
  }

  .title-arrow::before,
  .title-arrow-left::before{
    content: "";
    display: block;
    width: 52px;
    height: 34px;
    background-image: url("../images/Arrow-yellow-down.svg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: -54px;
    left: 0;
    z-index: 0;
  }

  .news-section .title-arrow::before{
    background-image: url("../images/Arrow-yellow-down.svg");
    left: 0;
    top: -54px;
  }

  .category-filters{
    justify-content: flex-start;
  }

  .title-arrow.has-text-align-center{
    left: 0;
    transform: none;
  }

  .three-images{
    padding-bottom: 0 !important;
  }

  .three-images .three-images-images{
    order: 2;
  }

  .three-images .container > .wp-block-columns{
    gap: 0;
  }

  .three-images .three-images-images .wp-block-columns{
    flex-direction: row;
    flex-wrap: nowrap !important;
  }

  .piliers > div{
    padding-left: var(--wp--preset--spacing--16);
    padding-right: var(--wp--preset--spacing--16);
  }

  .piliers-grid .pilier-item{
    width: 100% !important;
  }
  .piliers-grid .pilier-item:nth-child(4){
    order: 2;
  }
  .piliers-grid .pilier-item:nth-child(4) img{
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .construire .wp-block-group:first-child{
    padding-left: var(--wp--preset--spacing--16);
    padding-right: var(--wp--preset--spacing--16);
  }

  .construire .wp-block-group:last-child{
    padding-left: var(--wp--preset--spacing--16);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
  }

  .construire .wp-block-columns{
    width: calc((241px * 4) + (var(--wp--preset--spacing--16) * 4));
    flex-wrap: nowrap !important;
    gap: var(--wp--preset--spacing--16);
  }
  .construire .wp-block-columns:last-child{
    margin-right: var(--wp--preset--spacing--16);
  }

  .construire .wp-block-columns::-webkit-scrollbar{
    display: none; /* Chrome, Safari, Opera */
  }

  .construire .wp-block-columns::before{
    display: none;
  }

  .mieux-vivre footer{
    margin-top: var(--wp--preset--spacing--32);
    justify-content: flex-start;
  }

  .mieux-vivre footer .btn a.wp-block-button__link{
    margin-top: 0;
  }

  .mieux-vivre-grid{
    min-width: calc((80dvw * 3) + (3 * var(--wp--preset--spacing--24)));
    padding-right: 0;
  }
  .mieux-vivre-grid .mieux-vivre-item{
    width: calc((100% - (2 * var(--wp--preset--spacing--24))) / 3);
    min-width: 80dvw;
  }

  .blocs-details-3 > .wp-block-columns .wp-block-column:first-child,
  .blocs-details > .wp-block-columns .wp-block-column:first-child,
  .blocs-details-big > .wp-block-columns .wp-block-column:first-child{
    position: relative;
    top: 0;
    margin-bottom: var(--wp--preset--spacing--24);
  }

  .site-footer{
    text-align: center;
    justify-content: center;
    align-items: center;
    padding-top: var(--wp--preset--spacing--80);
    padding-bottom: var(--wp--preset--spacing--32);
  }

  .site-footer > .wp-block-columns,
  .site-footer > .wp-block-columns .wp-block-columns{
    gap: var(--wp--preset--spacing--80);
  }

  .site-footer .wp-block-column,
  .site-footer .wp-block-columns .wp-block-navigation .wp-block-navigation__container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center !important;
    text-align: center;
  }

  .site-footer .btn-contact a{
    margin-top: 0 !important;
  }
}
/* =========================================================================
 * RAPPORTS — bloc "Liste de rapports"
 * ========================================================================= */
.rapports-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--wp--preset--spacing--24);
  justify-content: center;
}

/* Espace entre les deux lignes de rapports (un type par ligne) */
.rapports-list + .rapports-list {
  margin-top: var(--wp--preset--spacing--24);
}

/* Le .item réutilise .rapports-block (fond beige, rayons, padding) */
.rapports-list__item {
  width: calc((100% - (3 * var(--wp--preset--spacing--24))) / 4);
  gap: var(--wp--preset--spacing--24);
}

.rapports-list__head {
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--24);
}

.rapports-list__illustration {
  width: 40px;
  height: 40px;
  overflow: hidden;
  flex: 0 0 auto;
}

.rapports-list__image {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  display: block;
}

.rapports-list__title {
  margin: 0;
  color: var(--wp--preset--color--primary);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  font-family: var(--wp--preset--font-family--opensans);
}

.rapports-list__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--wp--preset--color--red);
  font-size: var(--wp--preset--font-size--md);
  font-weight: 700;
  text-decoration: none;
}

.rapports-list__link:hover {
  text-decoration: underline;
}

.rapports-list__icon {
  width: 16px;
  height: 16px;
  display: block;
}

@media (max-width: 1000px) {
  .rapports-list{
    width: calc(100% - (var(--wp--preset--spacing--24) * 2));
  }
  .rapports-list__item {
    width: calc((100% - var(--wp--preset--spacing--24)) / 2);
  }
}

@media (max-width: 600px) {
  .rapports-list__item {
    width: 100%;
  }
}

/* Pagination des rapports */
.rapports-pagination {
  margin-top: var(--wp--preset--spacing--40);
}

.rapports-pagination__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.rapports-pagination__item .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  line-height: 1;
  color: var(--wp--preset--color--primary);
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}

.rapports-pagination__item .page-numbers:hover {
  background-color: var(--wp--preset--color--red);
  color: var(--wp--preset--color--white);
}

.rapports-pagination__item .page-numbers.current {
  background-color: var(--wp--preset--color--red);
  color: var(--wp--preset--color--white);
}

.rapports-pagination__item .page-numbers.dots {
  background: transparent;
}

@media (min-width: 1200px) {
  .mieux-vivre {
    overflow-x: hidden;
  }
}

/* ========================================================================== */
/* RESEAU BUT                                                                  */
/* ========================================================================== */
.reseau-but{
  position: relative;
  overflow: hidden;
  background-image: url("../images/filigrane-but.svg");
  background-repeat: no-repeat;
  background-position: top left;
}

.reseau-but::after{
  content: "";
  background-image: url("../images/Demi-Ellipse-bleue.svg");
  background-repeat: no-repeat;
  width: 123px;
  height: 131px;
  position: absolute;
  bottom: 0;
  right: 0;
  pointer-events: none;
  z-index: 0;
}


.reseau-but-grid{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: var(--wp--preset--spacing--40);
  position: relative;
  z-index: 1;
}

.reseau-but-media,
.reseau-but-content{
  flex: 1 1 460px;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--24);
}

/* IMAGES */
.reseau-but-media figure{
  height: calc((100% - var(--wp--preset--spacing--24)) / 2);
}
.reseau-but-media .wp-block-image{
  margin: 0;
}
.reseau-but-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.reseau-but-img-top img{
  border-top-left-radius: 24px;
  border-bottom-right-radius: 24px;
}
.reseau-but-img-bottom{
  position: relative;
}
.reseau-but-img-bottom img{
  border-top-right-radius: 24px;
  border-bottom-left-radius: 24px;
}

/* forme bleue arrondie bas-gauche */
.reseau-but-img-bottom::before{
  content: "";
  position: absolute;
  left: -26px;
  bottom: -38px;
  width: 148px;
  height: 148px;
  background-color: var(--wp--preset--color--primary);
  border-bottom-left-radius: 50%;
  border-top-right-radius: 50%;
  z-index: -1;
}

/* LOGO BUT (asset marque) */
.reseau-but-logo{
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.reseau-but-logo p{
  margin: 0;
  font-size: 32px;
  line-height: 1;
  letter-spacing: 1px;
}

/* CONTENU */
.reseau-but-content h2.title-arrow{
  margin: 0;
}
.reseau-but-content > p{
  margin: 0;
}

/* CARTES */
.reseau-but-cards{
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--16);
}
.reseau-but-card{
  padding: 20px var(--wp--preset--spacing--24);
  box-sizing: border-box;
  border-top-right-radius: 24px;
  border-bottom-left-radius: 24px;
}
.reseau-but-card h3{
  /* font-family: var(--wp--preset--font-family--opensans); */
  line-height: 1.3;
  margin-bottom: var(--wp--preset--spacing--8);
}
.reseau-but-card p{
  margin: 0;
}
.reseau-but-list{
  margin: 0;
  padding-left: var(--wp--preset--spacing--20);
  line-height: 1.5;
}
.reseau-but-list li{
  margin-bottom: 4px;
}

/* ========================================================================== */
/* RESEAU CONFORAMA                                                           */
/* ========================================================================== */
.reseau-conforama{
  position: relative;
  overflow: hidden;
  background-image: url("../images/filigrane-conforama.svg");
  background-repeat: no-repeat;
  background-position: bottom center;
}

.reseau-conforama::after{
  content: "";
  background-image: url("../images/Demi-Ellipse-rouge.svg");
  background-repeat: no-repeat;
  width: 207px;
  height: 134px;
  position: absolute;
  bottom: 0;
  left: -5%;
  pointer-events: none;
  z-index: 0;
}


.reseau-conforama-grid{
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: var(--wp--preset--spacing--40);
  position: relative;
  z-index: 1;
}

.reseau-conforama-media,
.reseau-conforama-content{
  flex: 1 1 460px;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--24);
}

/* IMAGES */
.reseau-conforama-media figure{
  height: calc((100% - var(--wp--preset--spacing--24)) / 2);
}
.reseau-conforama-media .wp-block-image{
  margin: 0;
}
.reseau-conforama-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.reseau-conforama-img-top img{
  border-top-left-radius: 24px;
  border-bottom-right-radius: 24px;
}
.reseau-conforama-img-bottom{
  position: relative;
}
.reseau-conforama-img-bottom img{
  border-top-right-radius: 24px;
  border-bottom-left-radius: 24px;
}

/* forme bleue arrondie bas-gauche */
.reseau-conforama-img-top::before{
  content: "";
  position: absolute;
  right: -64px;
  top: -58px;
  width: 187px;
  height: 204px;
  background-image: url("../images/Demi-cercle.svg");
  z-index: -1;
}

/* LOGO CONFORAMA (asset marque) */
.reseau-conforama-logo{
  width: 230px;
  height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.reseau-conforama-logo p{
  margin: 0;
  font-size: 32px;
  line-height: 1;
  letter-spacing: 1px;
}

/* CONTENU */
.reseau-conforama-content h2.title-arrow{
  margin: 0;
}
.reseau-conforama-content > p{
  margin: 0;
}

/* CARTES */
.reseau-conforama-cards{
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--16);
}
.reseau-conforama-card{
  padding: 20px var(--wp--preset--spacing--24);
  box-sizing: border-box;
  border-top-right-radius: 24px;
  border-bottom-left-radius: 24px;
}
.reseau-conforama-card h3{
  /* font-family: var(--wp--preset--font-family--opensans); */
  line-height: 1.3;
  margin-bottom: var(--wp--preset--spacing--8);
}
.reseau-conforama-card p{
  margin: 0;
}
.reseau-conforama-list{
  margin: 0;
  padding-left: var(--wp--preset--spacing--20);
  line-height: 1.5;
}
.reseau-conforama-list li{
  margin-bottom: 4px;
}

@media (max-width: 1000px){
  .reseau-but::before, .reseau-conforama::before{
    font-size: 160px;
    top: -30px;
  }
  .reseau-but-media,
  .reseau-but-content,
  .reseau-conforama-media,
  .reseau-conforama-content{
    flex-basis: 100%;
  }

  .reseau-but-grid, .reseau-conforama-grid{
    flex-direction: column-reverse;
  }
}

/* ========================================================================== */
/* RESEAU STATS                                                                */
/* ========================================================================== */
.reseau-stats{
  position: relative;
  overflow: hidden;
}

.reseau-stats-grid{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: var(--wp--preset--spacing--24);
  position: relative;
  z-index: 1;
}

.reseau-stat-item{
  flex: 1 1 280px;
  min-width: 260px;
  padding: var(--wp--preset--spacing--24);
  box-sizing: border-box;
  border-bottom-left-radius: 24px;
  border-top-right-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.reseau-stat-number{
  font-family: var(--wp--preset--font-family--opensans);
  line-height: 1;
  margin: 0 0 var(--wp--preset--spacing--8);

  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.reseau-stat-number small{
  font-size: 20px;
}
.reseau-stat-item p{
  margin: 0;
}

/* TAGS */
.reseau-tags{
  position: relative;
  z-index: 1;
}
.reseau-tag{
  margin: 0;
  padding: var(--wp--preset--spacing--10) 16px;
  border-radius: 8px;
  line-height: 1;
}

@media (max-width: 1000px){
  .reseau-stat-item{
    flex-basis: 100%;
  }
}

/* ========================================================================== */
/* COLLABORATEURS                                                             */
/* ========================================================================== */
.collaborateurs-section h2.title-arrow::after{
  bottom: auto;
  top: 0;
  height: 45px;
}

.collaborateurs-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wp--preset--spacing--10);
  margin-top: var(--wp--preset--spacing--32);
}

.collaborateurs-filters-mobile{
  display: none;
}

.collaborateurs-filter {
  padding: 8px var(--wp--preset--spacing--16);
  border: none;
  border-radius: 9999px;
  background: var(--wp--preset--color--lightred);
  color: var(--wp--preset--color--white);
  font-size: var(--wp--preset--font-size--md);
  font-weight: 700;
  font-family: var(--wp--preset--font-family--ptsans);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.collaborateurs-filter--active,
.collaborateurs-filter:hover {
  background: var(--wp--preset--color--red);
}

.collaborateurs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.collaborateurs-list__item {
  display: none;
  flex-direction: column;
  gap: var(--wp--preset--spacing--10);
  padding-bottom: var(--wp--preset--spacing--16);
  border-bottom: 3px solid var(--wp--preset--color--red);
}

.collaborateurs-list__item.is-visible {
  display: flex;
}

.collaborateurs-list__photo {
  margin: 0 0 10px;
  /* aspect-ratio: 1 / 1; */
  overflow: hidden;
  /* background: var(--wp--preset--color--grey); */
}

.collaborateurs-list__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-top-right-radius: 24px;
  border-bottom-left-radius: 24px;
}

.collaborateurs-list__photo--empty {
  background: var(--wp--preset--color--grey);
}

.collaborateurs-list__name {
  margin: 0;
  color: var(--wp--preset--color--primary);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.collaborateurs-list__nom {
  text-transform: capitalize;
}

.collaborateurs-list__poste {
  margin: 0;
  color: var(--wp--preset--color--primary);
  font-size: var(--wp--preset--font-size--md);
}

.collaborateurs-list__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--wp--preset--color--primary);
  font-weight: 700;
  font-size: var(--wp--preset--font-size--base);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.collaborateurs-list__linkedin:hover {
  opacity: 0.7;
}

@media (max-width: 1000px) {
  .collaborateurs-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================================================== */
/* TIMELINE                                                                   */
/* ========================================================================== */
/* .timeline-title {
  margin-bottom: 48px;
} */

.timeline-title::before{
  content: "";
  display: block;
  width: 100%;
  height: 106px;
  background-image: url("../images/frise-1.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top center;
  margin-bottom: 20px;
}

.timeline-title::after{
  content: "";
  display: block;
  width: 100%;
  height: 380px;
  background-image: url("../images/frise-loop.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top center;
  margin-top: 24px;
}

.timeline-track {
  position: relative;
  /* padding-top: 150px; */
}

/* Ligne verticale centrale */
/* .timeline-track::after {
  content: "";
  position: absolute;
  top: 150px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background-color: var(--wp--preset--color--primary);
} */

.timeline-track .timeline-periode {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
  padding-bottom: 80px;
}

.timeline-track .timeline-periode:last-child {
  padding-bottom: 0;
}

/* Point de période posé sur la ligne */
.timeline-track .timeline-periode::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  margin-top: 6px;
  margin-bottom: 6px;
  transform: translateX(-4px);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--wp--preset--color--primary);
  z-index: 1;
}

.timeline-track .timeline-periode::after {
  content: "";
  position: absolute;
  top: calc(12px + 6px + 6px); /* positionné juste en dessous du point de période */
  bottom: 0;
  left: 50%;
  /* transform: translateX(-50%); */
  width: 5px;
  border-radius: 5px;
  background-color: var(--wp--preset--color--primary);
  z-index: 1;
}

.timeline-track .timeline-periode:last-child{
  padding-bottom: 70px;
}

.timeline-track .timeline-periode:last-child::after {
  bottom: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.periode-label {
  text-align: right;
  padding-right: 50px;
}

.periode-dates {
  padding-left: 50px;
}

.timeline-periode .date-item + .date-item {
  margin-top: 16px;
}

/* .timeline-periode .date-item h4 {
  margin-bottom: 4px;
} */

@media (max-width: 781px) {
  header:has(.site-header){
    padding-top: 0;
    padding-bottom: 16px;
    top: -1px;
  }

  header > .site-header{
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  .timeline-periode {
    grid-template-columns: 1fr;
    column-gap: 0;
    padding-left: 40px;
  }

  .periode-label {
    text-align: left;
    padding-right: 0;
    padding-bottom: 20px;
  }

  .periode-dates {
    padding-left: 0;
  }

  .reseau-but, .reseau-conforama{
    background-image: none;
    padding-bottom: 40px !important;
  }
  .reseau-but-content .title-arrow::before{
    top: -180px;
  }

  .reseau-conforama-content .title-arrow::before{
    top: -120px;
  }
  .reseau-but-img-bottom::before, .reseau-but::after, .reseau-conforama-img-top::before, .reseau-conforama::after{
    display: none;
  }
  .collaborateurs-filters{
    display: none;
  }
  .collaborateurs-filters-mobile{
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: var(--wp--preset--spacing--10);
    padding-top: var(--wp--preset--spacing--16);
    padding-bottom: var(--wp--preset--spacing--16);
    background-color: var(--wp--preset--color--white);
    margin-top: 0;
    position: sticky;
    top: 62px;
  }

  .timeline-track .timeline-periode{
    display: flex;
    flex-direction: column;
  }
  .timeline-track .timeline-periode::before{
    left: 6px;
    transform: translateX(0);
  }
  .timeline-track .timeline-periode::after{
    left: 9px;
    transform: translateX(0);
  }
  .timeline-title::after{
    display: none;
  }
  .timeline-title{
    text-align: left !important;
    padding-left: 40px;
    padding-top: 60px;
    padding-bottom: 60px;
    position: relative;
  }
  .timeline-title::before {
    content: "";
    position: absolute;
    top: 0; /* positionné juste en dessous du point de période */
    bottom: 0;
    left: 9px;
    width: 5px;
    border-radius: 5px;
    background-color: var(--wp--preset--color--primary);
    background-image: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    z-index: 1;
    height: 100%;
  }
}

@media (max-width: 600px) {
  .collaborateurs-list {
    grid-template-columns: 1fr;
  }
}
/* ========================================================================== */
/* PAGE ACTUALITES                                                            */
/* ========================================================================== */
.actualites-intro {
  text-align: center;
  overflow-x: hidden;
  overflow-y: visible;
}

.single-actualite-intro{
  overflow-x: hidden;
  overflow-y: visible;
}

.actualites-intro .container{
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.actualites-intro::before,
.single-actualite-intro::before {
  content: "";
  display: block;
  width: 121px;
  height: 191px;
  background-image: url("../images/Feuille-bleue.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(-50%);
}

.single-actualite-intro::before{
  transform: translateX(0);
}

.actualites-intro::after,
.single-actualite-intro::after {
  content: "";
  display: block;
  width: 207px;
  height: 134px;
  background-image: url("../images/Demi-Ellipse-rouge.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  bottom: 0;
  right: -10%;
  transform: translateX(-50%);
}

.single-actualite-intro::after{
  right: 50%;
  transform: translateX(560px);
  z-index: 0;
}

.actualites-intro .title-arrow.has-text-align-center {
  left: 0;
  transform: translateX(0);
}

.actualites-intro .title-arrow::after{
  background-image: url("../images/Arrow-yellow-left2.svg");
  top: -20px;
  bottom: auto;
  right: -70px;
}

.actualites-featured .terms-list {
  display: none;
}

.actualites-featured .featured-post-image .wp-block-post-featured-image {
  aspect-ratio: 16/10;
  width: 100%;
  position: relative;
}

.actualites-featured .featured-post-image .wp-block-post-featured-image::after{
  content: "";
  display: block;
  position: absolute;
  bottom: -100px;
  left: -40px;
  width: 148px;
  height: 148px;
  background-color: var(--wp--preset--color--primary);
  border-radius: 0 50%;
  z-index: 0;
}

.actualites-featured .featured-post-image .wp-block-post-featured-image img {
  border-top-right-radius: 16px;
  border-bottom-left-radius: 16px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 1;
}

.actualites-featured .featured-post-content .terms-list {
  margin-bottom: var(--wp--preset--spacing--12);
}

.actualites-featured .featured-post-content .wp-block-post-title {
  font-size: 28px;
  line-height: 1.2;
  margin: var(--wp--preset--spacing--12) 0;
}

.actualites-featured .featured-post-content .wp-block-post-excerpt__more-link {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  margin-top: var(--wp--preset--spacing--16);
  padding: var(--wp--preset--spacing--12) var(--wp--preset--spacing--16);
  background-color: var(--wp--preset--color--white);
  border: 1px solid var(--wp--preset--color--red);
  border-radius: 0 10px;
  color: var(--wp--preset--color--red);
  font-weight: 700;
  text-decoration: none;
  font-size: 16px;
}

.actualites-featured .featured-post-content .wp-block-post-excerpt__more-link::after{
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background-image: url("../images/btn-arrow-red.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin-left: var(--wp--preset--spacing--8);
}

@media (max-width: 1000px) {
  .actualites-intro,
  .single-actualite-intro{
    position: relative;
    padding-bottom: 120px !important;
    overflow: hidden;
  }
  .actualites-intro::after{
    bottom: -50px;
    right: -25%;
  }

  .single-actualite-intro::after{
    right: 0;
    transform: translateX(0);
  }
}

@media (max-width: 781px) {
  .actualites-featured li.type-post > div{
    flex-direction: column-reverse;
    gap: 40px;
  }
  .actualites-featured .terms-list {
    display: block;
  }
  .actualites-featured .featured-post-image .wp-block-post-featured-image::after{
    display: none;
  }
}

@media (max-width: 768px) {
  .actualites-intro .container{
    max-width: 100%;
  }
  .actualites-intro .container h1,
  .actualites-intro .container p{
    text-align: left;
  }
  .actualites-intro::before,
  .single-actualite-intro::before {
    display: none;
  }
  .actualites-intro .wp-block-buttons{
    justify-content: flex-start;
  }

  .actualites-featured .wp-block-columns {
    flex-direction: column;
  }
  .actualites-featured .wp-block-column {
    flex-basis: 100% !important;
    width: 100%;
  }
}

/* ============================================================
   Single actualité
   ============================================================ */

.single-actualite-intro > .wp-block-group {
  position: relative;
  z-index: 1;
}

.single-actualite-intro .wp-block-columns {
  justify-content: space-between;
}
.single-actualite-intro .intro-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.single-actualite-intro .wp-block-post-date {
  color: var(--wp--preset--color--primary);
  font-family: var(--wp--preset--font-family--ptsans);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: var(--wp--preset--spacing--24);
}

.single-actualite-intro .intro-text {
  max-width: 500px;
}

.single-actualite-content .wp-block-post-content p{
  margin-bottom: var(--wp--preset--spacing--24);
}
.single-actualite-content .wp-block-post-content .wp-block-heading{
  padding-top: var(--wp--preset--spacing--24);
  margin-bottom: var(--wp--preset--spacing--24);
}
.single-actualite-content .wp-block-post-content .wp-block-list{
  margin-left: var(--wp--preset--spacing--24) !important;
}
.single-actualite-content .wp-block-post-content .wp-block-quote{
  padding-top: var(--wp--preset--spacing--24);
  margin-bottom: var(--wp--preset--spacing--24);
}
.single-actualite-content .wp-block-post-content .wp-block-quote::before{
  content: "";
  display: block;
  width: 54px;
  height: 32px;
  background-image: url("../images/quote.svg");
  background-size: cover;
  background-repeat: no-repeat;
}
.single-actualite-content .wp-block-post-content .wp-block-quote p{
  font-family: var(--wp--preset--font-family--opensans);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 0;
}
.single-actualite-content .wp-block-post-content .wp-block-quote cite{
  font-family: var(--wp--preset--font-family--ptsans);
  font-size: 16px;
  font-weight: 400;
  color: var(--wp--preset--color--primary);
  font-style: normal;

}

/* Contenu + colonne sticky */
.single-actualite-content .content-aside {
  align-self: flex-start;
}

.single-actualite-content .aside-sticky {
  position: sticky;
  top: 120px;
}

/* Bloc partage */
.share-buttons{
  padding: 20px var(--wp--preset--spacing--24);
  background-color: var(--wp--preset--color--secondary);
  border-radius: 0 24px 24px 0;
}

.share-buttons__label {
  display: block;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--wp--preset--color--primary);
}

.share-buttons__actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;
}

.share-buttons__copy{
  font-family: var(--wp--preset--font-family--ptsans);
  font-size: 14px;
  color: var(--wp--preset--color--primary);
}

.share-buttons__btn {
  display: inline-block;
  border: none;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
}

.separator{
  border: none;
  width: 100%;
  height: 1px;
  background-color: #9CAEB7;
  margin: 32px 0;
}

/* Mots clés */
.keywords-list-container{
  padding: 0 var(--wp--preset--spacing--24);
}

.keywords-list-container h3{
  /* font-weight: 700; */
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--wp--preset--color--primary);
}
.keywords-list-container .wp-block-post-terms {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wp--preset--spacing--8);
}
.keywords-list-container .wp-block-post-terms a{
  display: inline-block;
  background-color: var(--wp--preset--color--secondary);
  color: var(--wp--preset--color--primary);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--wp--preset--font-family--ptsans);
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease;
}
.keywords-list-container .wp-block-post-terms a:hover{
  background-color: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--white);
}
.keywords-list-container .wp-block-post-terms__separator{
  display: none;
}

.tag-result-title{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--wp--preset--spacing--16);
  justify-content: flex-start;
}
.tag-result-title h1,
.tag-result-title h2{
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.single-actualite-content .aside-title {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

/* À lire aussi : réutilise la grille posts-list existante */
.single-actualite-related .related-header {
  align-items: flex-end;
  margin-bottom: 40px;
}

.single-actualite-related .related-header .title-arrow {
  margin: 0;
}
.single-actualite-related .related-header .title-arrow::after {
  bottom: 10px;
}

.single-actualite-related .posts-list li.wp-block-post{
  width: 100%;
}

.single-actualite-related .posts-list li.wp-block-post .wp-block-post-featured-image img{
  height: 100%;
}

.single-actualite-related .posts-list li.wp-block-post h3{
  font-size: 20px;
  margin: 0;
  line-height: 1.3;
}

.single-actualite-related .related-all-link {
  margin: 0;
}

.single-actualite-related .related-all-link a {
  color: var(--wp--preset--color--red);
  font-weight: 700;
  font-family: var(--wp--preset--font-family--ptsans);
  text-decoration: none;
  white-space: nowrap;
}

.single-actualite-related .related-all-link a:hover {
  text-decoration: underline;
}

.single-actualite-related .related-all-link span {
  margin-left: var(--wp--preset--spacing--8);
}

.single-actualite-related .wp-block-post-template.posts-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--wp--preset--spacing--40, 2rem);
}

/* Pas de cercle décoratif rouge dans le single */
.single-actualite-related .wp-block-post-template.posts-list::before {
  display: none;
}

.single-actualite-related .wp-block-post-template.posts-list > li {
  margin: 0;
}

.single-actualite-related .posts-list .wp-block-post-excerpt {
  margin: 0;
}

.single-actualite-related .posts-list .wp-block-post-excerpt p {
  margin: 0;
}

/* Responsive */
@media (max-width: 781px) {
  .single-actualite-content .aside-sticky {
    position: static;
  }
  .single-actualite-related .wp-block-post-template.posts-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .single-actualite-related .related-header {
    flex-wrap: wrap;
    gap: var(--wp--preset--spacing--16);
  }
}

.grandir-bouger{
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 80px;
}

.grandir-bouger .content > h2,
.grandir-bouger .content > hr,
.grandir-bouger .content > p{
  max-width: 85%;
}

.grandir-bouger .grandir-item:not(:last-child){
  margin-bottom: 24px;
}

.grandir-bouger .revert > .wp-block-columns{
  flex-direction: row-reverse;
}
/* ========================================================================== */
/* QUATRE COLONNES                                                            */
/* ========================================================================== */
.quatre-colonnes{
  position: relative;
  overflow: hidden;
}

.quatre-colonnes::before{
  content: "";
  display: block;
  position: absolute;
  top: -60px;
  left: -90px;
  width: 200px;
  height: 200px;
  background-color: var(--wp--preset--color--blue);
  border-radius: 50%;
  z-index: 1;
}

.quatre-colonnes::after{
  content: "";
  display: block;
  position: absolute;
  bottom: -1px;
  right: 0;
  width: 207px;
  height: 134px;
  background-image: url(../images/Demi-Ellipse-rouge.svg);
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
}

.quatre-colonnes .container{
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.quatre-colonnes-header{
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.quatre-colonnes-card{
  flex: 1;
  height: 100%;
  box-sizing: border-box;
  padding: var(--wp--preset--spacing--24);
  background-color: var(--wp--preset--color--white);
  border-top-right-radius: var(--wp--preset--spacing--16);
  border-bottom-left-radius: var(--wp--preset--spacing--16);
}

.quatre-colonnes .wp-block-column{
  display: flex;
}

@media (max-width: 781px){
  .quatre-colonnes::before{
    width: 130px;
    height: 130px;
    top: -40px;
    left: -60px;
  }
  .quatre-colonnes::after{
    width: 160px;
    height: 160px;
    border-width: 38px;
    bottom: -90px;
    right: -90px;
  }
}
.retours-clients .retour{
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--24);
  border-radius: 0 24px;
}
.retours-clients .retour > div{
  flex-wrap: nowrap;
  gap: 16px;
}
.retours-clients .retour > div figure,
.retours-clients .retour > div figure img{
  width: auto;
  max-width: 150px;
  height: auto !important;
  max-height: 48px;
}
.retours-clients blockquote::before{
  content: "";
  display: block;
  width: 54px;
  height: 32px;
  background-image: url("../images/quote-red.svg");
  background-size: cover;
  background-repeat: no-repeat;
  margin-bottom: 24px;
}

.mobile-only{
  display: none !important;
}

.wp-block-query-pagination{
  padding-top: 40px;
}
.wp-block-query-pagination a{
  color: var(--wp--preset--color--primary);
  text-decoration: none;
}
.wp-block-query-pagination a:hover{
  color: var(--wp--preset--color--red);
  text-decoration: underline;
}
.wp-block-query-pagination .current{
  color: var(--wp--preset--color--red);
}

.hidden{
  display: none !important;
}

@media (max-width: 781px){
  .hero4 .decorative-elements,
  .bandeau-bleu::after{
    display: none;
  }

  .deux-enseignes .ambition-images .wp-block-columns{
    width: calc((241px * 4) + (var(--wp--preset--spacing--16) * 5));
  }

  .grandir-bouger{
    gap: var(--wp--preset--spacing--24);
  }
  .grandir-bouger h2{
    padding-top: 50px;
    position: relative;
  }
  .grandir-bouger h2::before {
    content: "";
    display: block;
    width: 52px;
    height: 34px;
    background-image: url(../images/Arrow-yellow-down.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 0;
    left: 20px;
    z-index: 0;
  }
  .grandir-bouger .wp-block-group:first-child .wp-block-columns{
    flex-direction: column-reverse;
  }
  .grandir-bouger .revert > .wp-block-columns{
    flex-direction: column-reverse;
  }
  .grandir-bouger .wp-block-cover{
    min-height: 300px !important;
    border-radius: 8px;
  }
  .grandir-bouger .wp-block-buttons{
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 8px;
  }
  .grandir-bouger .wp-block-buttons .wp-block-button__link{
    margin-top: 0;
  }

  .quatre-colonnes-header::before,
  .bandeau-rouge::before,
  .devenir-franchise::before{
    display: none;
  }

  .bandeau-rouge .wp-block-columns{
    gap: var(--wp--preset--spacing--24);
  }
  .bandeau-rouge .wp-block-columns .wp-block-column:first-child,
  .bandeau-rouge .wp-block-columns .wp-block-column:last-child{
    order: 2;
    flex-basis: calc((100% - var(--wp--preset--spacing--24)) / 2) !important;
    flex-grow: 0;
  }
  .bandeau-rouge .wp-block-columns .wp-block-column:first-child{
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-end;
  }

  .mobile-only{
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    justify-content: flex-start;
    margin-top: var(--wp--preset--spacing--24);
    padding-bottom: 40px;
  }
  .mobile-only .wp-block-button__link{
    margin-top: 0 !important;
  }

  .deux-modeles{
    padding-bottom: 0 !important;
  }
  .deux-modeles .container{
    flex-direction: column;
    gap: 40px;
  }
  .deux-modeles .deux-modeles-images .container{
    flex-direction: row;
    gap: 16px;
  }
  .deux-modeles .container .wp-block-column:nth-child(1),
  .deux-modeles .container .wp-block-column:nth-child(2),
  .deux-modeles .container .wp-block-column:nth-child(3){
    flex-basis: calc((100% - 32px) / 3) !important;
  }

  .devenir-franchise{
    padding-bottom: 80px !important;
  }
  .devenir-franchise footer{
    flex-direction: column; 
    width: 100%;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .retours-clients h2{
    text-align: left !important;
  }
  .retours-clients img{
    height: auto !important;
  }
}

/* ===== Modale image (.has-modale) ===== */
.has-modale {
  cursor: zoom-in;
  position: relative;
}
.has-modale::after{
  content: "";
  background-color: var(--wp--preset--color--red);
  background-image: url(../images/loupe.svg);
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: center;
  width: 32px;
  height: 32px;

  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  border-radius: 0 10px;
}
.has-modale img {
  cursor: zoom-in;
}

.image-modale {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5dvh 5dvw;
  background: rgba(0, 0, 0, 0.8);
}
.image-modale.is-open {
  display: flex;
}
body.image-modale-open {
  overflow: hidden;
}

.image-modale__inner {
  position: relative;
  max-width: 90dvw;
  max-height: 90dvh;
  display: flex;
}
.image-modale__img {
  display: block;
  max-width: 90dvw;
  max-height: 90dvh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  background-color: var(--wp--preset--color--white);
  padding: 64px 24px 24px 24px;
  box-sizing: border-box;
}

.image-modale__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  padding: 0;
  background: url(../images/close.svg);
  background-size: cover;
  border: none;
  cursor: pointer;
}

@media (max-width: 600px) {
  .image-modale__close {
    top: 8px;
    right: 8px;
  }
}

/* Onglets années — section rapports */
.rapports-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.rapports-tabs__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border: none;
  border-radius: 999px;
  background-color: var(--wp--preset--color--lightred);
  color: var(--wp--preset--color--white);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease;
  min-height: 40px;
  box-sizing: border-box;
}

.rapports-tabs__item:hover {
  background-color: var(--wp--preset--color--red);
}

.rapports-tabs__item.is-active {
  background-color: var(--wp--preset--color--red);
}

.rapports-list__item[hidden] {
  display: none;
}

/* Design dédié à la page /rapports/ (cf. body_class "rapports-page") */
body.rapports-page {
  background-color: var(--wp--preset--color--white);
}

body.rapports-page h1{
  font-size: var(--wp--preset--font-size--xxl);
  line-height: 1.3;
  padding: var(--wp--preset--spacing--32) 0;
}

body.rapports-page .rapports-list{
  padding-bottom: var(--wp--preset--spacing--32);
  max-width: var(--wp--style--global--content-size);
  margin: 0 auto;
}

.wpcf7{
  background-color: var(--wp--preset--color--white);
  padding: 64px 0;
}
.wpcf7-form{
  max-width: 1120px;
  padding: 0 16px;
  box-sizing: border-box;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 40px;
}
.wpcf7-form h2{
  font-size: 24px;
  margin: 0;
}
.wpcf7-form fieldset{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 24px;
  border: none;
}
.wpcf7-form fieldset > p{
  width: 100%;
}
.wpcf7-form .row{
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
}
.wpcf7-form .row .col{
  width: calc((100% - 24px) / 2);
}
.wpcf7-form .wpcf7-form-control-wrap{
  display: block;
  padding-top: 6px;
}
.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-number{
  width: 100%;
  border: 1px solid #9CAEB7;
  border-radius: none;
  background: #FFFEFA;
  line-height: 48px;
  box-sizing: border-box;
  padding-left: 12px;
  font-family: var(--wp--preset--font-family--ptsans);
  font-size: 16px;
}
.wpcf7-form .wpcf7-textarea{
  width: 100%;
  border: 1px solid #9CAEB7;
  border-radius: 0;
  background: #FFFEFA;
  line-height: 1.3;
  box-sizing: border-box;
  padding: 12px;
  font-family: var(--wp--preset--font-family--ptsans);
  font-size: 16px;
}
.wpcf7-form .wpcf7-text::placeholder,
.wpcf7-form .wpcf7-number::placeholder,
.wpcf7-form .wpcf7-textarea::placeholder{
  opacity: 0.5;
  color: #07344A;
  font-family: var(--wp--preset--font-family--ptsans);
  font-size: 16px;
}
.wpcf7-form .wpcf7-radio label{
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}
.wpcf7-form input[type="radio"]{
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  -ms-progress-appearance: none;
  width: 14px;      /* some browsers respect this */
  height: 14px;
  transform: scale(1.5);         /* visually enlarge */
  transform-origin: center;
  border-radius: 0;
  border: 1px solid #6A8592;
  background: #FFFEFA;
  box-sizing: border-box;
  margin-right: 12px;
}
.wpcf7-form input[type="radio"]:checked{
  background-color: var(--wp--preset--color--blue);
}
.wpcf7-form .submit-btn{
  position: relative;
}
.wpcf7-form .submit-btn::after{
  content:"";
  display:block;
  width: 16px;
  height: 16px;
  background-image: url("../images/btn-arrow-white.svg");
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 12px;
  right: 12px;
}
.wpcf7-form input[type="submit"]{
  padding: 10px 40px 10px var(--wp--preset--spacing--16);
  background-color: var(--wp--preset--color--red);
  color: var(--wp--preset--color--white);
  text-decoration: none;
  font-size: var(--wp--preset--font-size--base);
  font-weight: 700;
  font-family: var(--wp--preset--font-family--ptsans);
  border: none;
  border-top-left-radius: 0;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: fit-content;
}
form.failed .wpcf7-response-output,
form.invalid .wpcf7-response-output{
  font-family: var(--wp--preset--font-family--cooperhewitt);
  font-size: 20px;
  color: var(--wp--preset--color--red);
  border: none;
  margin: 0;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  padding: 0;
}
form.failed .wpcf7-response-output::before,
form.invalid .wpcf7-response-output::before{
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  margin-top: -6px;
  background-image: url("../images/close-white.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--wp--preset--color--red);
  border-radius: 0 10px;
}
form.sent .wpcf7-response-output{
  font-family: var(--wp--preset--font-family--cooperhewitt);
  font-size: 20px;
  color: #006D0D;
  border: none;
  margin: 0;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  padding: 0;
}
form.sent .wpcf7-response-output::before{
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  margin-top: -6px;
  background-image: url("../images/check.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-color: #006D0D;
  border-radius: 0 10px;
}
.wpcf7 .wpcf7-submit:disabled{
  opacity: 0.5;
}
@media(max-width: 700px){
  .wpcf7-form .row{
    flex-wrap: wrap;
  }
  .wpcf7-form .row .col{
    width: 100%;
  }
}

.mentions{
  background-color: var(--wp--preset--color--white);
}
.mentions .wp-block-column{
  max-width: 1120px;
  margin: auto;
  padding: 40px 0 80px 0;
}
.mentions h2{
  margin-top: 24px;
}
.mentions p{
  margin-top: 12px;
}
.mentions ul,
.mentions ol{
  margin-left: 32px;
}
.mentions p,
.mentions ul,
.mentions ol{
  line-height: 1.5;
}
