.elementor-kit-5{--e-global-color-primary:#00B1EB;--e-global-color-secondary:#00B1EB;--e-global-color-text:#7A7A7A;--e-global-color-accent:#82E6FF;--e-global-color-b5aeb33:#EAF7F1;--e-global-color-c58817e:#1A9DD9;--e-global-color-5420d44:#006078;--e-global-color-58be983:#ffffff;--e-global-color-09cc561:#0d141a;--e-global-color-a495fd4:#B8C0CC;--e-global-color-dff8941:#EAF7F1;--e-global-color-ab8ac3e:#202020;--e-global-color-a959424:#000000;--e-global-color-35edb06:#FFFFFF;--e-global-color-7a9e47c:#FFFFFF1A;--e-global-color-07aad29:#2F2F2F;--e-global-color-edacb92:#8C8C8C;--e-global-color-e9ed834:#E0E0E0;--e-global-color-669f931:#00000000;--e-global-color-ce320f8:#777680;--e-global-typography-primary-font-family:"Manrope";--e-global-typography-primary-font-size:36px;--e-global-typography-primary-font-weight:600;--e-global-typography-primary-line-height:34px;--e-global-typography-primary-letter-spacing:-1.1px;--e-global-typography-secondary-font-family:"Manrope";--e-global-typography-secondary-font-size:28px;--e-global-typography-secondary-font-weight:600;--e-global-typography-secondary-text-decoration:none;--e-global-typography-secondary-line-height:26px;--e-global-typography-secondary-letter-spacing:-0.2px;--e-global-typography-text-font-family:"Manrope";--e-global-typography-text-font-size:13px;--e-global-typography-text-font-weight:400;--e-global-typography-text-letter-spacing:0.2px;--e-global-typography-accent-font-family:"Manrope";--e-global-typography-accent-font-size:12px;--e-global-typography-accent-font-weight:500;--e-global-typography-f9e7e67-font-family:"Manrope";--e-global-typography-f9e7e67-font-size:21px;--e-global-typography-f9e7e67-font-weight:600;--e-global-typography-f9e7e67-line-height:21px;--e-global-typography-f9e7e67-letter-spacing:-0.2px;--e-global-typography-9dd86f2-font-family:"Manrope";--e-global-typography-9dd86f2-font-size:20px;--e-global-typography-9dd86f2-font-weight:400;--e-global-typography-9dd86f2-line-height:19px;--e-global-typography-9dd86f2-letter-spacing:-0.3px;--e-global-typography-bf11bd7-font-family:"Inter";--e-global-typography-bf11bd7-font-size:15px;--e-global-typography-f015206-font-family:"Inter Tight";--e-global-typography-f015206-font-size:14px;--e-global-typography-f015206-font-weight:300;--e-global-typography-f015206-line-height:16px;--e-global-typography-f015206-letter-spacing:-0.2px;--e-global-typography-a515b1c-font-family:"Inter Tight";--e-global-typography-a515b1c-font-size:11px;--e-global-typography-a515b1c-font-weight:400;--e-global-typography-a515b1c-font-style:normal;--e-global-typography-a515b1c-line-height:13px;--e-global-typography-a515b1c-letter-spacing:0px;--e-global-typography-a6c7153-font-family:"Manrope";--e-global-typography-a6c7153-font-size:13px;--e-global-typography-a6c7153-font-weight:400;--e-global-typography-a6c7153-line-height:14px;--e-global-typography-a6c7153-letter-spacing:-0.2px;--e-global-typography-0a05a1e-font-family:"Inter Tight";--e-global-typography-0a05a1e-font-size:13px;--e-global-typography-0a05a1e-font-weight:500;--e-global-typography-0a05a1e-text-transform:lowercase;background-color:var( --e-global-color-blocksy_palette_6 );color:var( --e-global-color-09cc561 );font-family:var( --e-global-typography-text-font-family );font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );letter-spacing:var( --e-global-typography-text-letter-spacing );}.elementor-kit-5 button,.elementor-kit-5 input[type="button"],.elementor-kit-5 input[type="submit"],.elementor-kit-5 .elementor-button{background-color:var( --e-global-color-primary );color:var( --e-global-color-58be983 );border-radius:4px 4px 4px 4px;}.elementor-kit-5 e-page-transition{background-color:transparent;background-image:linear-gradient(180deg, var( --e-global-color-accent ) 0%, var( --e-global-color-58be983 ) 100%);}.elementor-kit-5 a{color:var( --e-global-color-secondary );}.elementor-kit-5 a:hover{color:var( --e-global-color-accent );}.elementor-kit-5 h1{color:var( --e-global-color-09cc561 );font-family:var( --e-global-typography-primary-font-family );font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );line-height:var( --e-global-typography-primary-line-height );letter-spacing:var( --e-global-typography-primary-letter-spacing );}.elementor-kit-5 h2{color:var( --e-global-color-09cc561 );font-family:var( --e-global-typography-secondary-font-family );font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );text-decoration:var( --e-global-typography-secondary-text-decoration );line-height:var( --e-global-typography-secondary-line-height );letter-spacing:var( --e-global-typography-secondary-letter-spacing );}.elementor-kit-5 h3{font-family:var( --e-global-typography-f9e7e67-font-family );font-size:var( --e-global-typography-f9e7e67-font-size );font-weight:var( --e-global-typography-f9e7e67-font-weight );line-height:var( --e-global-typography-f9e7e67-line-height );letter-spacing:var( --e-global-typography-f9e7e67-letter-spacing );}.elementor-kit-5 h4{font-family:var( --e-global-typography-9dd86f2-font-family );font-size:var( --e-global-typography-9dd86f2-font-size );font-weight:var( --e-global-typography-9dd86f2-font-weight );line-height:var( --e-global-typography-9dd86f2-line-height );letter-spacing:var( --e-global-typography-9dd86f2-letter-spacing );}.elementor-kit-5 h5{font-family:var( --e-global-typography-text-font-family );font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );letter-spacing:var( --e-global-typography-text-letter-spacing );}.elementor-kit-5 h6{font-family:var( --e-global-typography-accent-font-family );font-size:var( --e-global-typography-accent-font-size );font-weight:var( --e-global-typography-accent-font-weight );}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-kit-5{font-size:var( --e-global-typography-text-font-size );letter-spacing:var( --e-global-typography-text-letter-spacing );}.elementor-kit-5 h1{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );letter-spacing:var( --e-global-typography-primary-letter-spacing );}.elementor-kit-5 h2{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );letter-spacing:var( --e-global-typography-secondary-letter-spacing );}.elementor-kit-5 h3{font-size:var( --e-global-typography-f9e7e67-font-size );line-height:var( --e-global-typography-f9e7e67-line-height );letter-spacing:var( --e-global-typography-f9e7e67-letter-spacing );}.elementor-kit-5 h4{font-size:var( --e-global-typography-9dd86f2-font-size );line-height:var( --e-global-typography-9dd86f2-line-height );letter-spacing:var( --e-global-typography-9dd86f2-letter-spacing );}.elementor-kit-5 h5{font-size:var( --e-global-typography-text-font-size );letter-spacing:var( --e-global-typography-text-letter-spacing );}.elementor-kit-5 h6{font-size:var( --e-global-typography-accent-font-size );}}@media(max-width:767px){.elementor-kit-5{font-size:var( --e-global-typography-text-font-size );letter-spacing:var( --e-global-typography-text-letter-spacing );}.elementor-kit-5 h1{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );letter-spacing:var( --e-global-typography-primary-letter-spacing );}.elementor-kit-5 h2{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );letter-spacing:var( --e-global-typography-secondary-letter-spacing );}.elementor-kit-5 h3{font-size:var( --e-global-typography-f9e7e67-font-size );line-height:var( --e-global-typography-f9e7e67-line-height );letter-spacing:var( --e-global-typography-f9e7e67-letter-spacing );}.elementor-kit-5 h4{font-size:var( --e-global-typography-9dd86f2-font-size );line-height:var( --e-global-typography-9dd86f2-line-height );letter-spacing:var( --e-global-typography-9dd86f2-letter-spacing );}.elementor-kit-5 h5{font-size:var( --e-global-typography-text-font-size );letter-spacing:var( --e-global-typography-text-letter-spacing );}.elementor-kit-5 h6{font-size:var( --e-global-typography-accent-font-size );}}
/* Start custom CSS */.elementor-button-success .elementor-button { background-color: #539252; }
.elementor-button-info .elementor-button    { background-color: #227089; }
.elementor-button-warning .elementor-button { background-color: #E5450F; }
.elementor-button-danger .elementor-button  { background-color: #7A1000; }


/* Set a max-height in viewport units (vh) on the image, and let the width/ratio stay flexible.*/

.img-max-80vh {
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
}


/* Container de la galerie */
.galerie-projet .elementor-image-gallery .gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 colonnes */
  gap: 16px;
}

/* Chaque item d'image */
.galerie-projet .elementor-image-gallery .gallery-item {
  background-color: #f5f5f5;          /* couleur de case vide / fond */
  min-height: 160px;                  /* hauteur minimale pour la case */
}

/* Option : style spécifique pour les cases réellement vides (si besoin) */
.galerie-projet .elementor-image-gallery .gallery-item img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* 4 colonnes fixes pour la galerie ACF */
.galerie-projet .dce-acf-gallery-grid,
.galerie-projet .dce-acf-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* Chaque item de la galerie */
.galerie-projet .dce-acf-gallery-item {
  min-height: 160px;      /* hauteur de “case” */
}

/* Image dans chaque item */
.galerie-projet .dce-acf-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* crédit photo */
.hero-left {
  position: relative;
}

.hero-left .hero-credit {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: auto;
  z-index: 10;
  margin: 0;
  width: auto;
  max-width: calc(100% - 2rem);
  font-size: 0.75rem;
  line-height: 1.3;
  color: #fff;
  text-align: right;
}


/* banniere */

.org-banner {
  width: 100%;
  height: 50vh;      /* or whatever */
  object-fit: cover;
}

/* wrap banniere par shortcode */
/* Le widget Shortcode devient une boîte 16:3 */
.elementor-widget-shortcode.org-banner-widget {
  position: relative;
  width: 100%;
  padding-top: 18.75%; /* 3 / 16 */
  overflow: hidden;
}

/* L’image générée par le shortcode remplit cette boîte */
.elementor-widget-shortcode.org-banner-widget .elementor-shortcode .org-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.org-banner-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 6;
  overflow: hidden;
  line-height: 0;
}

.org-banner-wrap > img.org-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* CPT navigateur */

:root {
  --cptnav-color-accent: #01696f;   /* archive + prev/next hover */
  --cptnav-color-add:    #437a22;   /* bouton + */
  --cptnav-color-edit:   #006494;   /* bouton édition */
  --cptnav-btn-size:     2.25rem;   /* taille des boutons prev/next */
}/* End custom CSS */