
/* TRANSITIONS */
:root {
  /* transition variables */
  --ease-bounce-back : cubic-bezier(0.205, 0.870, 0.660, 1.315);
  --ease-out-quad : cubic-bezier(0.100, 0.660, 0.380, 0.925);
}

.nav_link_underline_active,
.button_main_line_active {
  transition: width .2s ease-in-out;
}

.nav_link_item_wrap  {
  transition: color .2s ease;
}

.u-pressed-down {
  transition: transform .2s var(--ease-bounce-back);
}

.toast_wrap {
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer_back_top_track {
  transition: transform .2s ease-in-out;
}


:root {
    --gutter: 24px;          /* horizontal & vertical spacing */
    --cols: 3;               /* default columns (desktop) */
    --rowH: 400px;           /* base row height unit */
  }
  
  /* Wrapper */
  .projets_collection_list {
    position: relative; /* Isotope expects this */
  }
  
  /* Sizers — MUST match item base width and gutter */
  .grid-sizer,
  .projets_collection_item { 
    width: calc((100% - (var(--cols) - 1) * var(--gutter)) / var(--cols));
  }
  
  .gutter-sizer { width: var(--gutter); }
  
  /* Base item spacing and height unit */
  .projets_collection_item {
    /* margin-bottom: var(--gutter);        vertical gutter */
    height: var(--rowH);                 /* row-span = multiples of this */
    overflow: hidden;                    /* typical card behavior */
    display: block;                      /* Webflow links are <a> */
  }
  
  /* COLUMN SPAN (1..3 shown; extend if you need more) */
  .projets_collection_item[data-col-span="1"] { /* already the base width */ }
  .projets_collection_item[data-col-span="2"] {
    width: calc(
      2 * ( (100% - (var(--cols) - 1) * var(--gutter)) / var(--cols) )
      + var(--gutter)
    );
  }
  .projets_collection_item[data-col-span="3"] {
    width: calc(
      3 * ( (100% - (var(--cols) - 1) * var(--gutter)) / var(--cols) )
      + 2 * var(--gutter)
    );
  }
  
  /* ROW SPAN (visual height multiples) */
  .projets_collection_item[data-row-span="1"] { height: calc(1 * var(--rowH)); }
  .projets_collection_item[data-row-span="2"] { height: calc(2 * var(--rowH) + var(--gutter)); }
  .projets_collection_item[data-row-span="3"] { height: calc(3 * var(--rowH) + 2 * var(--gutter)); }
  
  /* Responsive columns */
  @media (max-width: 991px) {
    :root { --cols: 2; --rowH: 180px; }
  }
  @media (max-width: 479px) {
    :root { --cols: 1; --rowH: 250px; }

    /* When 1 column, any col-span >1 should just fill 100% */
    .projets_collection_item[data-col-span="2"],
    .projets_collection_item[data-col-span="3"] { width: 100%; }
  }
  

   .filter_collection_item.is-active .button_main_wrap {
    background: red;
   }


   :root{
    --c0: var(--swatch--blue);
    --c1: var(--swatch--green);
    --c2: var(--swatch--yellow);
  }
  
  
  
  .w-webflow-badge {
    opacity: 0!important;
    display: none!important;
  }

  [data-wf--button-main--variant="primary"] {    
    animation: rotate-accent .1s steps(3, end) infinite;    
  }
  /* Lock the color while hovered */
  [data-wf--button-main--variant="primary"]:hover {  
  animation-play-state: paused; /* freeze the current step */
}

@keyframes rotate-accent{
  0%      { --swatch--hover-random: var(--c0); }
  33.333% { --swatch--hover-random: var(--c1); }
  66.666% { --swatch--hover-random: var(--c2); }
  100%    { --swatch--hover-random: var(--c0); }
}

.transition_wrap {
  --cx: 50vw; --cy: 50vh; --r: 0px;
  -webkit-mask: radial-gradient(circle at var(--cx) var(--cy),
      transparent var(--r), #fff calc(var(--r) + 1px));
          mask: radial-gradient(circle at var(--cx) var(--cy),
      transparent var(--r), #fff calc(var(--r) + 1px));
  will-change: opacity, -webkit-mask, mask;

}

/* html.barba-animating [data-barba="container"] {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
} */
[data-barba="container"] {
  position: relative;  
}

.u-gap-11-64px {
  grid-column-gap: var(--_gap---size);
  grid-row-gap: var(--_gap---size);
  --_gap---size: var(--_spacing---space--11-64px);
}
.u-gap-12-72px {
  grid-column-gap: var(--_gap---size);
  grid-row-gap: var(--_gap---size);
  --_gap---size: var(--_spacing---space--12-72px);
}
.u-gap-13-80px {
  grid-column-gap: var(--_gap---size);
  grid-row-gap: var(--_gap---size);
  --_gap---size: var(--_spacing---space--13-80px);
}
.u-gap-14-112px {
  grid-column-gap: var(--_gap---size);
  grid-row-gap: var(--_gap---size);
  --_gap---size: var(--_spacing---space--14-112px);
}



/* ---------- custom cursor ---------- */

* {
  /* cursor: none; */
}

[data-cursor-word] a, 
[data-cursor-word], 
[data-cursor-word] .clickable_wrap, 
[data-cursor-word] button:not(:disabled) 
 {
  cursor: none!important;
}

a,
button,
[role="button"],
input[type="submit"],
input[type="button"],
[data-clickable],
[data-clickable] *,
.clickable_wrap  {
  cursor: pointer;
}

:root {
  --cursor-size-large-single: auto;  /* single-line state */
  --cursor-size-large-double: auto;  /* double-line state */
}


.custom_cursor_primary_text,
.custom_cursor_secondary_text {
  opacity: 0;
  transform: scale(0.85);
  transition:
    opacity 0.2s ease-out,
    transform 0.2s var(--ease-bounce-back);
}

.custom_cursor_wrap.is-large-single .custom_cursor_primary_text {
  opacity: 1;
  transform: scale(1);
}

.custom_cursor_wrap {
  transition: padding .2s var(--ease-bounce-back);
}

/* ---------- is-large-single ---------- */

.custom_cursor_wrap.is-large-single {
  width: var(--cursor-size-large-single); 
  height: var(--cursor-size-large-single);
  padding: var(--_spacing---space--5-16px);
}



/* ---------- is-large-double ---------- */

.custom_cursor_wrap.is-large-double {
  width: var(--cursor-size-large-double);
  height: var(--cursor-size-large-double);
  aspect-ratio: unset;
  padding: var(--_spacing---space--5-16px); 
}

.custom_cursor_wrap.is-large-double .custom_cursor_primary_text,
.custom_cursor_wrap.is-large-double .custom_cursor_secondary_text {
  opacity: 1;
  transform: scale(1);
  display: block;
}


/* BIGGER than XX pixels */
@media only screen and (min-width: 991px) {
  .nav_link_item_wrap:hover .nav_link_underline_active {
    width: 100%;
  }

  .nav_open_content .nav_link_item_wrap:hover .nav_link_underline_active {
    width: 0%;
  }
  
  /* Any item hovered OR its clickable area hovered */
.nav_link_list:has(
  .nav_link_item_wrap:hover,
  .nav_link_item_wrap .clickable_wrap:hover,
  .nav_link_item_wrap .clickable_link:hover,
  .nav_link_item_wrap .clickable_btn:hover
) .nav_link_item_wrap {
  color: var(--swatch--light-grey-o20, #aaa);
}

/* But the hovered one (or its clickable children) keeps active color */
.nav_link_list:has(
  .nav_link_item_wrap:hover,
  .nav_link_item_wrap .clickable_wrap:hover,
  .nav_link_item_wrap .clickable_link:hover,
  .nav_link_item_wrap .clickable_btn:hover
) .nav_link_item_wrap:hover,
.nav_link_list:has(.nav_link_item_wrap .clickable_wrap:hover) 
  .nav_link_item_wrap:has(.clickable_wrap:hover),
.nav_link_list:has(.nav_link_item_wrap .clickable_link:hover) 
  .nav_link_item_wrap:has(.clickable_link:hover),
.nav_link_list:has(.nav_link_item_wrap .clickable_btn:hover) 
  .nav_link_item_wrap:has(.clickable_btn:hover) {
  color: inherit;
  }
  
}

/* LARGER than XX pixels */
@media only screen and (min-width: 767px) {
  .button_main_wrap:hover .button_main_line_active {
    width: 100%;
  }
}


[data-prevent-flicker="true"] {
  visibility: hidden;
}


/* .claim_wrap {
  display: none;
} */

/* .claim_bg {    
    -webkit-mask-image: url('https://cdn.prod.website-files.com/69143c00aceae443a193ef93/691c3f726cd4a174a9114b66_reactive_mask_v3.svg');
    mask-image: url('https://cdn.prod.website-files.com/69143c00aceae443a193ef93/691c3deb099205aed1caaa25_reactive_mask_invert.svg');
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center center;
    mask-position: center center;
        
    --mask-size: 50%;
    -webkit-mask-size: var(--mask-size);
    mask-size: var(--mask-size);
} */

/* @media only screen and (max-width: 767px) {
  .hero_wrap {
    --mask-size: 100%;
  }
} */

h1.u-text-trim strong,
h2.u-text-trim strong {  
  padding: .15em .1em;  
}

.u-text-style-h2 strong {
  background-color: var(--swatch--red);
  color: var(--swatch--white);
  padding: 0 .15em;
  border-radius: var(--_spacing---space--2-4px);
  border: 1px solid var(--_theme---text);
  box-shadow: 4px 4px 0 0 var(--_theme---text);
}

.u-text-style-h2 em {
  color: var(--swatch--transparent);
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: var(--swatch--dark);
  font-style: inherit;
  text-decoration: underline;
  text-decoration-thickness: 0.02em;
  text-underline-offset: 0.15em; /* adjust as needed */
}
.u-text-style-h2 sup {
  position: relative;
  display: inline-block;
  padding: 0 .25em;          /* space between text and border */
  font-size: 1em;       /* reset superscript scaling */
  top: 0;               /* reset vertical shift */
  vertical-align: baseline;
  padding: 0 .25em;
}
.u-text-style-h2 sup::before {
  content: "";
  position: absolute;
  inset: -.6em -.2em;
  border: 1px solid currentColor;  /* or pick a color */
  border-radius: 999px;      /* makes the shape oval/pill */
  pointer-events: none;
}

/* Hide video while loading */
#vimeo-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Hide video while loading */
#vimeo-player.is-loading iframe {
  /* opacity: 0; */
  pointer-events: none;
}

.counter_item_component [data-plus-icon-color="white"] .counter_plus_icon {
  background-color: var(--swatch--white);
  color: var(--swatch--dark);
  border-color: var(--swatch--dark);
}

.counter_item_component [data-plus-icon-color="green"] .counter_plus_icon {
  background-color: var(--swatch--green);
  color: var(--swatch--dark);
  border-color: var(--swatch--dark);
}

.counter_item_component [data-plus-icon-color="yellow"] .counter_plus_icon {
  background-color: var(--swatch--yellow);
  color: var(--swatch--dark);
  border-color: var(--swatch--dark);
}


.team_presentation_img_reveal {
  /* default center in the middle */
  --maskX: 50%;
  --maskY: 50%;
  --maskR: 200px;              /* radius */

  -webkit-mask-image: radial-gradient(
    circle var(--maskR) at var(--maskX) var(--maskY),
    #000 0%,
    #000 60%,
    transparent 61%
  );
  mask-image: radial-gradient(
    circle var(--maskR) at var(--maskX) var(--maskY),
    #000 0%,
    #000 60%,
    transparent 61%
  );

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;  
}

.team_presentation_img_reveal {
  display: none;  
}



/* BIGGER than XX pixels */
@media only screen and (min-width: 991px) {
  .team_presentation_wrap:hover .team_presentation_img_reveal {
    display: block;
  }
  .team_presentation_img_reveal,
.team_presentation_img_reveal * {
  user-select: none;
  -webkit-user-drag: none;
}

.team_presentation_img_reveal {
  touch-action: none; /* prevents browser gestures interfering */
}
}

.team_reveal_mobile_canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;              /* ABOVE overlay */
  touch-action: none;      /* avoid scroll while scratching */
}


.rse_reveal_item_component:nth-of-type(1) .rse_reveal_contain {
  border-top: var(--border-width--main) solid var(--swatch--light-grey);
}

.logo_testimonial_collection_list {
  animation: scroll-marquee 60s linear infinite;
}

@keyframes scroll-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(
      calc(-1 * (var(--marquee-distance) + var(--_spacing---space--13-80px)))
    );
  }
}


.button_main_wrap[data-wf--button-main--variant="link"][ismultiline="true"] .button_main_text {
  text-align: left;
  line-height: 2;
}
.button_main_wrap[data-wf--button-main--variant="link"][ismultiline="true"] .button_main_element > .button_main_line {
  display: none;
}


/* .toast_wrap {
  opacity: 0;
 
} */

.toast_wrap.is-visible {
  opacity: 1;
  transform: translate(-50%, -75%);
}


.footer_back_top_btn:hover .footer_back_top_track {
  transform: translateY(-50%);
}

/* .article_new_collection_list .article_new_collection_item:nth-of-type(1) .article_card_wrap > .article_card_text_wrap,
.article_new_collection_list .article_new_collection_item:nth-of-type(1) .article_card_new_absolute_wrap
 {
  display: none;
} */

/* .article_new_collection_list .article_new_collection_item:nth-of-type(1) .article_card_first_article_cover {
  display: block;
} */


/* 1st in cycle → 1, 9, 17, 25, ... */
.article_list_all_collection_item:nth-child(11n + 1) {
  grid-row: span 2;
  grid-column: span 2;
}

/* 2nd in cycle → 2, 10, 18, ... */
.article_list_all_collection_item:nth-child(11n + 2) {
  grid-column: span 1;
  grid-row: span 1;
}

/* 4th */
.article_list_all_collection_item:nth-child(11n + 3) {
  grid-row: span 2;
}
/* 3rd in cycle → 3, 11, 19, ... */
.article_list_all_collection_item:nth-child(11n + 4) {
  grid-column: span 1;
  grid-row: span 1;
}

 
/* 5th */
.article_list_all_collection_item:nth-child(11n + 5) {
  grid-row: span 1;
  grid-column: 0 / 1;
}

/* 6th */
.article_list_all_collection_item:nth-child(11n + 6) {
  grid-row: span 2;
  grid-column: span 3;
}

/* 7th */
.article_list_all_collection_item:nth-child(11n + 7) {
  grid-row: span 1;
  grid-column: span 1;
}


/* 8th → 8, 16, 24, ... */
.article_list_all_collection_item:nth-child(11n + 8) {
  grid-row: span 2;
  grid-column: span 2;
}

.article_list_all_collection_item:nth-child(11n + 9) {
  grid-row: span 1;
  grid-column: span 1;
}
.article_list_all_collection_item:nth-child(11n + 10) {
  grid-row: span 2;
  grid-column: span 1;
}
.article_list_all_collection_item:nth-child(11n + 11) {
  grid-row: span 1;
  grid-column: span 1;
}


/* SMALLER than XX pixels */
@media only screen and (max-width: 568px) {
  .article_list_all_collection_item:nth-child(odd) {
    grid-column: span 1;
    grid-row: span 2;
  }
  .article_list_all_collection_item:nth-child(even) {
    grid-column: span 1;
    grid-row: span 1;
  }
  /* .article_list_all_collection_item .article_card_component {
    height: 100%!important;
  } */
  
  
}

section {
  background-color: var(--swatch--white);
  z-index: 2;
}

.expertises_nav_wrap.is-active .expertises_nav_backdrop {
  display: block;
}

.expertises_nav_wrap.is-active {
  background: var(--swatch--white);
}

.expertises_nav_wrap .u-section-spacer:last-child {
  /* background: red; */
  display: none;
}
.expertises_nav_wrap.is-active .u-section-spacer:last-child {  
  display: block;
}

.expertise_item_wrap.is-active .u-section-spacer {
  display: none;
}



:root {
  --grid-size: 60px;          /* distance between icons */
  --icon-size: 80px;          /* icon diameter */  
}

/* SMALLER than XX pixels */
@media only screen and (max-width: 768px) {
  :root {
    --grid-size: 40px;          /* distance between icons */
    --icon-size: 60px;          /* icon diameter */  
  }
  
}




/* BACKGROUND GRID */
/* .contact_hero_background {  
  display: grid;
  grid-template-columns: repeat(auto-fill, var(--grid-size));
  grid-auto-rows: var(--grid-size);
  pointer-events: none;
  overflow: hidden;
} */

.contact_hero_background {
  --cell: var(--grid-size);          /* ex: 50px */
  display: grid;
  grid-template-columns: repeat(auto-fill, var(--cell));
  grid-auto-rows: calc(var(--cell));  /* lignes 2x plus petites */
  pointer-events: none;
  overflow: hidden;
}

/* DYNAMIC ARROW ICON CONTAINER */
.contact-arrow-icon {
  width: var(--icon-size);
  height: var(--icon-size);
  margin: auto;
  transition: transform 0.2s ease-out;
  border-radius: 100vw;
  border: 1px solid black;
  grid-row: span 2;

}

/* BASE SVG */
.contact-arrow-icon svg {
  width: 50%;
  height: auto;
}

/* .contact-arrow-cell:nth-child(10n + 1) {
  transform: translateY(-50%);
}
.contact-arrow-cell:nth-child(10n + 2) {
  transform: translateY(-40%);
}
.contact-arrow-cell:nth-child(10n + 3) {
  transform: translateY(-30%);
}
.contact-arrow-cell:nth-child(10n + 4) {
  transform: translateY(-20%);
}
.contact-arrow-cell:nth-child(10n + 5) {
  transform: translateY(-10%);
}
.contact-arrow-cell:nth-child(10n + 6) {
  transform: translateY(0%);
}
.contact-arrow-cell:nth-child(10n + 7) {
  transform: translateY(-10%);
}
.contact-arrow-cell:nth-child(10n + 8) {
  transform: translateY(-20%);
}
.contact-arrow-cell:nth-child(10n + 9) {
  transform: translateY(-30%);
}
.contact-arrow-cell:nth-child(10n + 10) {
  transform: translateY(-40%);
} */

.contact-arrow-icon {
  display: flex;
  justify-content: center;
}

.contact-arrow-icon.c-white {
  background-color: var(--swatch--white);
  border-color: var(--swatch--red);
  color: var(--swatch--red);
}

.contact-arrow-icon.c-red {
  background-color: var(--swatch--red);
  border-color: var(--swatch--white);
  color: var(--swatch--white);
}

.contact-arrow-icon.c-yellow {
  background-color: var(--swatch--yellow);
  border-color: var(--swatch--dark);
  color: var(--swatch--dark);
}

.contact-arrow-icon.c-green {
  background-color: var(--swatch--green);
  border-color: var(--swatch--white);
  color: var(--swatch--white);
}

.contact-arrow-icon.c-blue {
  background-color: var(--swatch--blue);
  border-color: var(--swatch--white);
  color: var(--swatch--white);
}

.contact-arrow-icon.c-dark {
  background-color: var(--swatch--dark);
  border-color: var(--swatch--yellow);
  color: var(--swatch--yellow);
}

.contact_hero_title_wrap h1 {
  position: relative;
  z-index: 3;
  pointer-events: none;
  user-select: none;
  transition: transform 0.1s ease;
}


[data-cursor-word=""] .btn_cursor_style_component {
  display: none;
}

/* BIGGER than XX pixels */
@media only screen and (min-width: 767px) { 
  .bloc_3_wrap[text-align="droite"] .bloc_3_text_wrap {
    order: 2;
  }  
}

.filter_collection_item.is-active .button_main_element {
  background-color: var(--swatch--blue);
}

.filters_colelction_list [data-filter-btn="all"] {
  display: none;
}

.expertises_nav_contain .button_main_wrap.is-active .button_main_element {
  background-color: var(--swatch--blue)
} 

[data-action="open-filter-list"] .button_main_icon { 
  position: relative;
 }


[data-action="open-filter-list"] .button_main_icon svg:nth-of-type(2) {
  position: absolute;
  opacity: 0;
}

.button_main_wrap.is-active:hover .button_main_element {
  border-color: var(--swatch--dark);  
}

.lottie_in_text svg {
  width: auto!important;
}

/* ZOOM INTO IMAGES */

@media only screen and (min-width: 767px) {
  .projets_une_colection_item:hover img,
  .projets_collection_item:hover img,
  [data-cursor-word]:not([data-cursor-word=""]):hover img
   {
    transform: scale(1.1);
  }
}

.u-image-wrapper img {
  transition: transform .8s cubic-bezier(0.00,1.00,0.54,0.99);
}

.claim_cutout_cover {
  transform-origin: 48% 42%;
}


@media only screen and (max-width: 767px) {
  .claim_cutout_cover {
    transform-origin: 48% 41.8%;
  }  
}

/* LARGER than XX pixels */
@media only screen and (min-width: 767px) {
  .footer_social_icon_wrap[data-hover="linkedin"]:hover svg {
    color: #0072B1;
  }
  .footer_social_icon_wrap[data-hover="youtube"]:hover svg {
    color: #FF0033;
  }
  .footer_social_icon_wrap[data-hover="facebook"]:hover svg {
    color: #1877F2;
  }
  .footer_social_icon_wrap[data-hover="vimeo"]:hover svg {
    color: #1CA7CC;
  }
}

h2.heading_block_with_lottie::before {
  display: none!important;
}


/* Active locale */
.locales_list .button_main_wrap:has(.clickable_link[aria-current="page"]) .button_main_element {
  opacity: 1;
}

/* Inactive locales */
.locales_list .button_main_wrap:not(:has(.clickable_link[aria-current="page"])) .button_main_element {
  opacity: 0.5;
}
