.elementor-493 .elementor-element.elementor-element-a567f31{--display:flex;--min-height:100vh;--justify-content:center;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );}.elementor-493 .elementor-element.elementor-element-a567f31.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-493 .elementor-element.elementor-element-05c80a2{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:20px;--padding-right:20px;}.elementor-493 .elementor-element.elementor-element-d8844ca{--display:flex;--min-height:100vh;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-493 .elementor-element.elementor-element-875c5b7{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:50px;--padding-left:20px;--padding-right:20px;}.elementor-493 .elementor-element.elementor-element-0173aab{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:50px;--padding-left:20px;--padding-right:20px;}body.elementor-page-493:not(.elementor-motion-effects-element-type-background), body.elementor-page-493 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#F5F6F0;}:root{--page-title-display:none;}@media(max-width:767px){.elementor-493 .elementor-element.elementor-element-875c5b7{--margin-top:-100px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-493 .elementor-element.elementor-element-cbfe287{margin:-100px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;}}@media(min-width:768px){.elementor-493 .elementor-element.elementor-element-a567f31{--width:100vw;}.elementor-493 .elementor-element.elementor-element-05c80a2{--width:100vw;}.elementor-493 .elementor-element.elementor-element-d8844ca{--width:100vw;}.elementor-493 .elementor-element.elementor-element-875c5b7{--width:100vw;}.elementor-493 .elementor-element.elementor-element-0173aab{--width:100vw;}}/* Start custom CSS for html, class: .elementor-element-63c6c05 *//* Section projets */
.projects-section {
  box-sizing: border-box;
  width: 100%;
  color: #171717;
  padding: 150px 350px 25px;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.projects-header {
  width: 100%;
  max-width: 2000px;
  min-width: 0;
  text-align: center;
}

.projects-header h1 {
  font-size: 26px;
  letter-spacing: 1px;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 500;
  margin-bottom: 24px;
  color: #171717;
}

.projects-header p {
  font-size: 72px;
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  text-transform: none;
  color: #171717;
}

/* Masques d’animation */
.projects-header h1,
.projects-header p {
  overflow: hidden;
}

/* Wrappers mot par mot */
.reveal-words {
  display: inline-block;
  max-width: 100%;
}

.reveal-word {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  vertical-align: bottom;
}

.reveal-word-inner {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  will-change: transform, opacity;
}

/* Ordinateurs moins larges : seules les marges changent */
@media (min-width: 1025px) and (max-width: 1440px) {
  .projects-section {
    padding-inline: 60px;
  }
}

/* Tablette */
@media (max-width: 1024px) {
  .projects-section {
    padding: 110px 30px 25px;
  }

  .projects-header h1 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .projects-header p {
    font-size: 56px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .projects-section {
    padding: 100px 20px 20px;
  }

  .projects-header h1 {
    font-size: 22px;
    margin-bottom: 18px;
  }

  .projects-header p {
    font-size: clamp(30px, 7vw, 44px);
    line-height: 1.15;
  }
}

/* Petit mobile */
@media (max-width: 480px) {
  .projects-section {
    padding: 100px 15px 20px;
  }

  .projects-header h1 {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .projects-header p {
    font-size: clamp(26px, 7.5vw, 36px);
  }
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
  .reveal-word-inner {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-54b441b */:root {
  --header-height: -150px;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

/* Fond plein écran */
body {
  position: relative;
  background: transparent;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-color: #F5F6F0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

/* Container de la photo */
.photo-container {
    width: 100vw;
    height: 100vh; /* Prend toute la hauteur de la fenêtre */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    background: transparent;
    padding: 0px 100px 25px 100px;
}

/* Photo */
.photo {
    position: absolute; /* Permet de la centrer */
    width: 0;  /* Taille initiale (0 pour commencer petite) */
    height: 0; /* Taille initiale (0 pour commencer petite) */
    opacity: 0;    /* Initialement invisible */
    transition: all 2s cubic-bezier(0.8, -0.01, 0.27, 1.02);  /* Animation rapide au début puis lente à la fin */
    object-fit: cover;  /* Assure que l'image garde ses proportions */

}

/* Quand la page est chargée, on applique l'animation */
.photo-container.loaded .photo {
    width: 93vw;  /* Taille finale de l'image (en fonction de la largeur de l'écran) */
    height: 90vh; /* Hauteur proportionnelle */
    opacity: 1;    /* L'image devient totalement visible */
    border-radius: 24px;
}


/* Ordinateur */
.photo-container.loaded .photo {
  width: 93vw;
  height: 90vh;
  opacity: 1;
  border-radius: 24px;
}

/* Tablette */
@media (max-width: 1024px) {
  .photo-container.loaded .photo {
    width: calc(100vw - 60px);
    height: 90vh;
    border-radius: 20px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .photo-container.loaded .photo {
    width: calc(100vw - 40px);
    height: 60vh;
    border-radius: 16px;
    margin-top: -200px !important;
  }
}

/* Petit mobile */
@media (max-width: 480px) {
  .photo-container.loaded .photo {
    width: calc(100vw - 30px);
    height: 60vh;
    border-radius: 12px;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-cbfe287 *//* ==========================================================================
   PERSONNALISATION DES ORBES ROSES & HAUTEURS DES IMAGES
   ========================================================================== */

:root {
  --orbe1-couleur: #8A38F5;
  --orbe1-taille: 650px;
  --orbe1-top: 50%;
  --orbe1-left: -150px;
  --orbe1-opacite: 0.6;

  --orbe2-couleur: #8A38F5;
  --orbe2-taille: 650px;
  --orbe2-bottom: 20%;
  --orbe2-right: -150px;
  --orbe2-opacite: 0.8;

  --hauteur-img-1: 400px;
  --hauteur-img-2: 600px;
  --hauteur-img-3: 650px;
}

body {
  background: #F4F1EA;
  margin: 0;
  font-family: 'Arial', sans-serif;
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

body::before {
  width: var(--orbe1-taille);
  height: var(--orbe1-taille);
  top: var(--orbe1-top);
  left: var(--orbe1-left);
  background: radial-gradient(
    circle,
    var(--orbe1-couleur) 0%,
    rgba(219, 39, 119, 0.10) 50%,
    transparent 75%
  );
  opacity: var(--orbe1-opacite);
  z-index: -10;
}

body::after {
  width: var(--orbe2-taille);
  height: var(--orbe2-taille);
  bottom: var(--orbe2-bottom);
  right: var(--orbe2-right);
  background: radial-gradient(
    circle,
    var(--orbe2-couleur) 0%,
    rgba(190, 24, 93, 0.08) 50%,
    transparent 75%
  );
  opacity: var(--orbe2-opacite);
  z-index: -10;
}

.project-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.project-section {
  margin-bottom: 160px;
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.project-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* SECTION 1 : LE CHALLENGE */

.custom-challenge .custom-container {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}

.custom-title {
  position: sticky;
  top: 120px;
}

.custom-title h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  color: #171717;
  margin: 0;
}

/* ESPACEMENT ENTRE LES PARAGRAPHES */

.custom-content p,
.goals-text p {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #171717;
  margin: 0 0 45px 0;
  font-weight: 400;
}

.custom-content p:last-child,
.goals-text p:last-child {
  margin-bottom: 0;
}

/* SECTIONS INTERMÉDIAIRES PLEINE LARGEUR */

.custom-image-section,
.custom-video-section,
.custom-bento-section,
.case-studies-banner-wrapper {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  display: flex;
  justify-content: center;
}

.custom-image-section .image-container,
.custom-video-section .video-container,
.bento-wrapper {
  width: 100vw;
  margin: 0px 100px 25px 100px;
  border-radius: 24px;
  overflow: hidden;
  background: #171717;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.custom-image-section img,
.responsive-video {
  width: 100%;
  height: 90vh;
  display: block;
  object-fit: cover;
  will-change: transform;
}

/* ==========================================================================
   STYLE DE LA SECTION DATA VISUALIZATION
   ========================================================================== */

.case-studies-banner-wrapper {
  background: transparent;
  box-sizing: border-box;
}

.csb-container {
  width: 100vw;
  margin: 0px 100px;
  border-radius: 24px;
  padding: 60px 80px;
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  gap: 60px;
  align-items: center;
  box-sizing: border-box;
}

.csb-left {
  display: flex;
  flex-direction: column;
}

.csb-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 4.5vw, 4.5rem);
  line-height: 0.95;
  color: #171717;
  margin: 0 0 20px 0;
  text-transform: uppercase;
}

.csb-subtitle {
  font-size: 1.05rem;
  line-height: 1.5;
  color: #171717;
  opacity: 0.7;
  margin: 0;
}

.csb-right {
  width: 100%;
}

.csb-bars-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  height: 340px;
  padding-top: 20px;
}

.csb-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  position: relative;
}

.csb-stat-content {
  margin-bottom: 20px;
}

.csb-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem;
  color: #171717;
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.csb-stat-desc {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #171717;
  opacity: 0.7;
  display: block;
}

.csb-glowing-bar {
  width: 100%;
  height: 0px;
  background: linear-gradient(
    to top,
    rgba(167, 106, 247, 0.15),
    var(--orbe1-couleur)
  );
  border-radius: 12px;
  position: relative;
  box-shadow: 0 0 20px rgba(167, 106, 247, 0.2);
  transition: height 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.case-studies-banner-wrapper.animate-bars .csb-glowing-bar {
  height: var(--bar-height, 180px);
}

/* ==========================================================================
   GRILLE BENTO : EXACTEMENT 2 LIGNES HORIZONTALES
   ========================================================================== */

/* ========================================
   GRILLE BENTO — NOUVELLE DISPOSITION
======================================== */

.bento-wrapper {
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.bento-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, 280px);
    gap: 20px;
    width: 100%;
}

/* ========================================
   STYLE DES BLOCS
======================================== */

.bento-item {
    border-radius: 20px;
    overflow: hidden;
    background: #171717;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    position: relative;
    min-width: 0;
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.bento-item:hover img {
    transform: scale(1.03);
}

/* ========================================
   POSITION DES IMAGES
======================================== */

/* BENTO 1 — GAUCHE, SUR 2 LIGNES */

.bento-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

/* BENTO 2 — HAUT, SUR 2 COLONNES */

.bento-2 {
    grid-column: 2 / 4;
    grid-row: 1 / 2;
}

/* BENTO 3 — EN DESSOUS, SUR 2 COLONNES */

.bento-3 {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
}

/* BENTO 4 — DROITE, EN HAUT */

.bento-4 {
    grid-column: 4 / 5;
    grid-row: 1 / 2;
}

/* BENTO 5 — DROITE, EN BAS */

.bento-5 {
    grid-column: 4 / 5;
    grid-row: 2 / 3;
}

/* ========================================
   ANIMATION AU SURVOL
======================================== */

.bento-item:hover img {
    transform: scale(1.03);
}

/* ========================================
   RESPONSIVE TABLETTE
======================================== */

/* ========================================
   RESPONSIVE MOBILE
======================================== */

/* SECTION 2 & 4A : OBJECTIFS / TEXTES */

.goals-header h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 6vw, 6.5rem);
  line-height: 0.95;
  color: #171717;
  margin: 0 0 40px 0;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.goals-header h2 span {
  color: #171717;
  opacity: 0.9;
}

.goals-separator {
  width: 100%;
  height: 1px;
  background-color: #171717;
  margin-bottom: 50px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s ease 0.2s;
}

.project-section.visible .goals-separator {
  transform: scaleX(1);
}

.goals-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}

.goals-label {
  position: sticky;
  top: 120px;
}

.goals-label span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #171717;
  opacity: 0.6;
  line-height: 1.5;
  display: block;
}

/* SECTION 3 : QUINCONCE */

.quinconce-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
  align-items: start;
}

.quinconce-col.col-right {
  margin-top: 120px;
}

.quinconce-item {
  margin-bottom: 80px;
}

.quinconce-item:last-child {
  margin-bottom: 0;
}

.q-img-wrap {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #171717;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
}

.img-quinconce-1 {
  height: var(--hauteur-img-1);
}

.img-quinconce-2 {
  height: var(--hauteur-img-2);
}

.img-quinconce-3 {
  height: var(--hauteur-img-3);
}

.q-img-wrap img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  object-fit: cover;
  will-change: transform;
  transition: filter 0.3s ease;
}

.q-img-wrap:hover img {
  filter: brightness(1.05);
}

.q-text {
  font-size: 1.15rem;
  line-height: 1.5;
  color: #171717;
  margin-top: 20px;
  margin-bottom: 0;
  font-weight: 400;
  max-width: 90%;
}

/* SECTION 4B : GRILLE DE 3 BLOCS PHOTOS EN PLEIN ÉCRAN */

.custom-extra-section {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
}

.extra-photos-wrapper {
  width: 100vw;
  margin: 0px 100px 0 100px;
  box-sizing: border-box;
  padding-right: 200px;
}

.extra-photos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  align-items: start;
}

.img-extra-1 {
  height: 600px;
}

.img-extra-2 {
  height: 600px;
}

.img-extra-3 {
  height: 600px;
}

/* ==========================================================================
   SECTION RÉSULTATS : PLEINE LARGEUR SANS LIBELLÉ
   ========================================================================== */

.full-width-content {
  width: 100%;
}

.results-stats-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  gap: 30px;
}

.stat-item {
  flex: 1;
  text-align: left;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  transform: none !important;
}

.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 5.5vw, 5.5rem);
  color: #171717;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.stat-label {
  font-size: 1rem;
  color: #171717;
  opacity: 0.7;
  font-weight: 400;
  line-height: 1.4;
}

/* RESPONSIVE MOBILE */

/* ==========================================================================
   LIVRABLES UX : TEXTES ET IMAGES EN ALTERNANCE
   ========================================================================== */

#ux-parallax-gallery {
  /* Réglages de la section */
  --ux-image-height: clamp(320px, 42vw, 560px);
  --ux-row-gap: 80px;
  --ux-column-gap: 60px;

  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  box-sizing: border-box;
  padding: 0 100px;
}

#ux-parallax-gallery .ux-studies-wrapper {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--ux-row-gap);
}

/* Texte à gauche, image à droite */

#ux-parallax-gallery .ux-study-row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  grid-template-areas: "content image";
  align-items: center;
  gap: var(--ux-column-gap);
}

/* Image à gauche, texte à droite */

#ux-parallax-gallery .ux-study-row-reverse {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  grid-template-areas: "image content";
}

/* Textes */

#ux-parallax-gallery .ux-study-content {
  grid-area: content;
  min-width: 0;
}

#ux-parallax-gallery .ux-study-number {
  display: block;
  margin-bottom: 20px;
  color: #171717;
  font-family: 'Arial', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.6;
}

#ux-parallax-gallery .ux-study-title {
  margin: 0 0 24px;
  color: #171717;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 4.5vw, 5rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -1px;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

#ux-parallax-gallery .ux-study-text {
  margin: 0;
  max-width: 480px;
  color: #171717;
  font-family: 'Arial', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.7;
}

/* Cadre de l’image */

#ux-parallax-gallery .ux-study-image {
  grid-area: image;
  min-width: 0;
  height: var(--ux-image-height);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 24px;
  background: #171717;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Seule l’image bouge pendant le parallaxe */

#ux-parallax-gallery .ux-study-image .parallax-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateY(0) scale(1.2);
  transform-origin: center;
  will-change: transform;
}

/* Puce blanche fixe au-dessus de l’image */

#ux-parallax-gallery .ux-image-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 48px);
  box-sizing: border-box;
  padding: 10px 18px;
  border-radius: 999px;
  background: #FFFFFF;
  color: #171717;
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.2;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  pointer-events: none;
}

/* Tablette */

/* Mobile : texte au-dessus de chaque image */

/* ==========================================================================
   SECTION COMMUNE : FLOW CHART ET WIREFRAMES
   ========================================================================== */

#flow-wireframes-gallery {
  --fw-image-height: clamp(300px, 80vh, 640px);
  --fw-gap: 20px;

  box-sizing: border-box;
  padding: 0 100px;
}

#flow-wireframes-gallery .flow-wireframes-stack {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--fw-gap);
}

/* Cadre de chaque image */

#flow-wireframes-gallery .flow-wireframes-image {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: var(--fw-image-height);
  overflow: hidden;
  border-radius: 24px;
  background: #171717;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Image animée indépendamment de sa puce */

#flow-wireframes-gallery .flow-wireframes-image .parallax-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateY(0) scale(1.2);
  transform-origin: center;
  will-change: transform;
}

/* Puces blanches */

#flow-wireframes-gallery .flow-wireframes-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 48px);
  box-sizing: border-box;
  padding: 10px 18px;
  border-radius: 999px;
  background: #FFFFFF;
  color: #171717;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  pointer-events: none;
}

/* Tablette */

/* Mobile */

/* ========================================
   SECTION VIDÉO — OBJECT-FIT CONTAIN
======================================== */

#project-video .video-container {
    width: calc(100% - 200px);
    margin: 0 100px 25px;
    border-radius: 24px;
    overflow: hidden;
    background: #000000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

#project-video .responsive-video {
    display: block;
    width: 100%;
    height: 90vh;
    object-fit: contain;
    object-position: center;
}

/* RESPONSIVE MOBILE */

/* DIMENSIONS COMMUNES */
.project-page { width: 100%; }
.custom-content, .goals-text, .quinconce-col,
.csb-left, .csb-right, .stat-item { min-width: 0; }
.custom-content p, .goals-text p, .q-text,
.csb-subtitle, .csb-stat-desc, .stat-label {
  overflow-wrap: anywhere;
}

/* Cadres pleine largeur avec marges réelles, sans débordement. */
.custom-image-section,
.custom-video-section,
.custom-bento-section,
.case-studies-banner-wrapper,
.custom-extra-section {
  right: auto;
  margin-right: 0;
}

.custom-image-section .image-container,
.custom-video-section .video-container,
.bento-wrapper,
.extra-photos-wrapper,
.csb-container {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: calc(100% - 200px);
  max-width: none;
  margin: 0 auto 25px;
}
.extra-photos-wrapper { padding: 0; }
.csb-container { margin-bottom: 0; }
.csb-bar-col { min-width: 0; }
.csb-glowing-bar { flex-shrink: 0; }

/* TABLETTE */
@media (max-width: 1100px) {
  .project-page { padding: 75px 30px; }
  .project-section { margin-bottom: 100px; }

  .custom-challenge .custom-container,
  .goals-grid {
    grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1.6fr);
    gap: 30px;
  }
  .quinconce-grid { gap: 30px; }
  .quinconce-col.col-right { margin-top: 70px; }
  .quinconce-item { margin-bottom: 50px; }
  .quinconce-item:last-child { margin-bottom: 0; }
  .q-text { max-width: 100%; }

  .custom-image-section .image-container,
  .custom-video-section .video-container,
  .bento-wrapper,
  .extra-photos-wrapper,
  .csb-container,
  #project-video .video-container {
    width: calc(100% - 60px);
    margin: 0 auto 25px;
    border-radius: 20px;
  }

  .custom-image-section img,
  .responsive-video,
  #project-video .responsive-video {
    height: 65vh;
    height: 65vh;
  }

  .csb-container {
    padding: 35px 25px;
    grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.2fr);
    gap: 30px;
  }
  .csb-bars-row { gap: 14px; }
  .csb-stat-num { font-size: 2.3rem; }
  .csb-stat-desc { font-size: 0.8rem; }

  .extra-photos-grid { gap: 20px; }
  .img-extra-1, .img-extra-2, .img-extra-3 { height: 400px; }
  .results-stats-row { flex-wrap: wrap; gap: 25px; }
  .stat-item { flex: 1 1 180px; }

  #ux-parallax-gallery {
    --ux-column-gap: 32px;
    padding: 0 30px;
  }
  #ux-parallax-gallery .ux-study-text { font-size: 1rem; }
  #flow-wireframes-gallery { padding: 0 30px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .bento-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, 250px);
    gap: 20px;
  }
  .bento-1 { grid-column: 1; grid-row: 1 / 3; }
  .bento-2 { grid-column: 2; grid-row: 1; }
  .bento-3 { grid-column: 2; grid-row: 2; }
  .bento-4 { grid-column: 1; grid-row: 3; }
  .bento-5 { grid-column: 2; grid-row: 3; }

  /* Les petits libellés répétés restent réservés à l’ordinateur. */
  .project-section .goals-label { display: none !important; }
  .project-section .goals-grid { grid-template-columns: minmax(0, 1fr); }
}

/* MOBILE */
@media (max-width: 768px) {
  body::before, body::after {
    max-width: 90vw;
    max-height: 90vw;
    filter: blur(65px);
  }
  .project-page { padding: 50px 20px; }
  .project-section { margin-bottom: 65px; }

  .custom-challenge .custom-container,
  .goals-grid,
  .quinconce-grid,
  .extra-photos-grid,
  .bento-container,
  .csb-container {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    gap: 24px;
  }

  .custom-title { position: static; }
  .custom-title h2 { font-size: 1.35rem; letter-spacing: 1.5px; }
  .project-section .goals-label { display: none !important; }

  .custom-content p, .goals-text p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .custom-content p:last-child, .goals-text p:last-child { margin-bottom: 0; }
  .goals-header h2 {
    font-size: clamp(2.25rem, 8vw, 3.5rem);
    line-height: 1;
    margin-bottom: 25px;
    overflow-wrap: anywhere;
  }
  .goals-separator { margin-bottom: 28px; }

  .custom-image-section .image-container,
  .custom-video-section .video-container,
  .bento-wrapper,
  .extra-photos-wrapper,
  .csb-container,
  #project-video .video-container {
    width: calc(100% - 40px);
    margin: 0 auto 20px;
    padding: 0;
    border-radius: 16px;
  }
  .custom-image-section img, .responsive-video {
    width: 100%;
    height: 52vh;
    height: 52vh;
  }
  #project-video .responsive-video {
    width: 100%;
    height: auto;
    max-height: 70vh;
    max-height: 70vh;
    object-fit: contain;
  }

  .bento-item {
    grid-column: auto !important;
    grid-row: auto !important;
    height: clamp(230px, 70vw, 420px);
    min-height: 0;
    border-radius: 16px;
  }
  .quinconce-col.col-right { margin-top: 0; }
  .quinconce-item { margin-bottom: 32px; }
  .quinconce-item:last-child { margin-bottom: 0; }
  .q-img-wrap {
    height: clamp(260px, 85vw, 440px);
    border-radius: 16px;
  }
  .q-img-wrap img { transform: none !important; }
  .q-text { font-size: 1rem; line-height: 1.6; margin-top: 16px; max-width: 100%; }

  /* Données : deux colonnes, deux lignes pour quatre valeurs. */
  .results-stats-row,
  .csb-bars-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 20px;
    align-items: stretch;
    height: auto;
  }
  .stat-item { width: 100%; min-width: 0; }
  .stat-number { font-size: clamp(2rem, 9vw, 3.5rem); }
  .stat-label { font-size: 0.95rem; }

  .csb-container { padding: 25px 0; }
  .csb-title { font-size: clamp(2.25rem, 9vw, 3.5rem); }
  .csb-subtitle { font-size: 1rem; }
  .csb-bar-col { height: auto; min-width: 0; }
  .csb-stat-content { margin-bottom: 15px; }
  .csb-stat-num { font-size: clamp(2rem, 9vw, 2.8rem); }
  .csb-stat-desc { font-size: 0.85rem; }


  /* Livrables UX : texte avant chaque image. */
  #ux-parallax-gallery {
    --ux-image-height: clamp(260px, 60vw, 420px);
    --ux-row-gap: 48px;
    --ux-column-gap: 24px;
    padding: 0 20px;
  }
  #ux-parallax-gallery .ux-study-row,
  #ux-parallax-gallery .ux-study-row-reverse {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "content" "image";
  }
  #ux-parallax-gallery .ux-study-number { margin-bottom: 12px; }
  #ux-parallax-gallery .ux-study-title {
    font-size: clamp(2.25rem, 9vw, 3.5rem);
    margin-bottom: 18px;
  }
  #ux-parallax-gallery .ux-study-text {
    max-width: none;
    font-size: 1rem;
    line-height: 1.6;
  }
  #ux-parallax-gallery .ux-study-image { border-radius: 16px; }
  #ux-parallax-gallery .ux-image-badge,
  #flow-wireframes-gallery .flow-wireframes-badge {
    top: 16px;
    left: 16px;
    max-width: calc(100% - 32px);
    padding: 9px 15px;
    font-size: 0.75rem;
  }
  #flow-wireframes-gallery {
    --fw-image-height: clamp(220px, 45vh, 380px);
    --fw-image-height: clamp(220px, 45vh, 380px);
    padding: 0 20px;
  }
  #flow-wireframes-gallery .flow-wireframes-image { border-radius: 16px; }
}

/* PETIT MOBILE */
@media (max-width: 480px) {
  .project-page { padding: 40px 15px; }
  .project-section { margin-bottom: 50px; }
  .custom-image-section .image-container,
  .custom-video-section .video-container,
  .bento-wrapper,
  .extra-photos-wrapper,
  .csb-container,
  #project-video .video-container {
    width: calc(100% - 30px);
    border-radius: 12px;
  }
  .bento-container, .extra-photos-grid { gap: 16px; }
  .bento-item, .q-img-wrap { border-radius: 12px; }
  #ux-parallax-gallery, #flow-wireframes-gallery { padding-inline: 15px; }
}

/* ACCESSIBILITÉ */
@media (prefers-reduced-motion: reduce) {
  .project-section { opacity: 1; transform: none; transition: none; }
  .goals-separator { transform: scaleX(1); transition: none; }
  .csb-glowing-bar { transition: none; }
  .bento-item img, .q-img-wrap img { transition: none; }
  #ux-parallax-gallery .parallax-img,
  #flow-wireframes-gallery .parallax-img {
    transform: none !important;
    will-change: auto;
  }
}
/* ALIGNEMENT SUR LES TEXTES PRINCIPAUX */
:root {
  --project-text-padding: 24px;
  --csb-bar-max: 180px;
}

/* Même largeur extérieure (1200px) et même padding que .project-page. */
#ux-parallax-gallery {
  padding-inline: 0;
}
#ux-parallax-gallery .ux-studies-wrapper {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  padding-inline: var(--project-text-padding);
  margin-inline: auto;
}
#ux-parallax-gallery .ux-study-text {
  max-width: none;
}
.case-studies-banner-wrapper .csb-container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding: 60px var(--project-text-padding);
}

/* Hauteurs proportionnelles : même échelle pour toutes les barres. */
.csb-bars-row {
  height: auto;
  align-items: stretch;
}
.csb-bar-col {
  height: auto;
  justify-content: flex-end;
}
.csb-stat-content {
  flex: 1 0 auto;
}
.csb-glowing-bar {
  height: 0;
  flex-shrink: 0;
}
.case-studies-banner-wrapper.animate-bars .csb-glowing-bar {
  height: var(--csb-target-height, var(--bar-height, 0px));
}

@media (max-width: 1100px) {
  :root { --project-text-padding: 30px; }
  .case-studies-banner-wrapper .csb-container {
    padding-block: 35px;
  }
}
@media (max-width: 768px) {
  :root {
    --project-text-padding: 20px;
    --csb-bar-max: 140px;
  }
  .case-studies-banner-wrapper .csb-container {
    padding-block: 25px;
  }
  .csb-bars-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 20px;
  }
}
@media (max-width: 480px) {
  :root { --project-text-padding: 15px; }
}




/* Retirer la sortie en pleine largeur */
#ux-parallax-gallery,
.case-studies-banner-wrapper {
  width: 100%;
  max-width: 100%;
  left: auto;
  right: auto;
  margin-left: 0;
  margin-right: 0;
  padding-inline: 0;
}

/* Supprimer les marges intérieures supplémentaires */
#ux-parallax-gallery .ux-studies-wrapper,
.case-studies-banner-wrapper .csb-container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
}



@media (max-width: 768px) {
  /* Replacer les sections dans le conteneur principal */
  .custom-image-section,
  .custom-bento-section,
  .custom-extra-section,
  #ux-parallax-gallery,
  #flow-wireframes-gallery {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    left: auto;
    right: auto;
    margin-inline: 0;
    padding-inline: 0;
  }

  /* Supprimer les marges supplémentaires des cadres */
  .custom-image-section .image-container,
  .custom-bento-section .bento-wrapper,
  .custom-extra-section .extra-photos-wrapper,
  #ux-parallax-gallery .ux-studies-wrapper,
  #flow-wireframes-gallery .flow-wireframes-stack {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding-inline: 0;
  }

  /* Images à la largeur de leur cadre */
  .custom-image-section img,
  .bento-item img,
  .q-img-wrap img,
  #ux-parallax-gallery .ux-study-image,
  #flow-wireframes-gallery .flow-wireframes-image {
    width: 100%;
    max-width: 100%;
  }
}



@media (max-width: 768px) {
  .custom-video-section,
  #project-video {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    left: auto;
    right: auto;
    margin-inline: 0;
    padding-inline: 0;
  }

  .custom-video-section .video-container,
  #project-video .video-container {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding-inline: 0;
  }

  .custom-video-section .responsive-video,
  #project-video .responsive-video {
    width: 100%;
    max-width: 100%;
  }
}



@media (max-width: 768px) {
  :root {
    /* Orbe 1 : position depuis le haut et la gauche */
    --orbe1-top: 0%;
    --orbe1-left: 150px;
    --orbe1-taille: 350px;

    /* Orbe 2 : position depuis le bas et la droite */
    --orbe2-bottom: -10%;
    --orbe2-right: 150px;
    --orbe2-taille: 350px;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-63e4b25 *//* =======================================================
RÉGLAGES PRINCIPAUX
======================================================= */

#dm-next-section {
  /* Hauteur maximale des lettres */
  --next-max-height: 80vh;

  /* Distance de scroll pour l’étirement */
  --next-scroll-distance: 120vh;

  /* Espace de scroll après l’étirement */
  --next-end-space: 80vh;

  /*
   * Bas des lettres à 92 % de la hauteur de l’écran.
   * Les 8 % restants laissent de la place au footer.
   */
  --next-sticky-height: 92vh;

  position: relative;
  width: 100vw;
  max-width: none;

  margin: 0 0 0 calc(50% - 50vw);
  padding: 0;

  height: calc(
    var(--next-sticky-height) +
    var(--next-scroll-distance) +
    var(--next-end-space)
  );

  box-sizing: border-box;
  overflow: visible;
}

/* =======================================================
STICKY — BAS DES LETTRES IMMOBILE PENDANT L’ANIMATION
======================================================= */

#dm-next-section .namma-footer-sticky {
  position: sticky;
  top: 0;

  width: 100%;
  height: var(--next-sticky-height);

  display: flex;
  justify-content: center;
  align-items: flex-end;

  overflow: hidden;
}

/* =======================================================
CONTAINER
======================================================= */

#dm-next-section .namma-footer-logo-container {
  position: relative;
  width: 100%;
  height: var(--next-max-height);

  padding: 0 1.5vw;
  box-sizing: border-box;
  isolation: isolate;

  display: flex;
  align-items: flex-end;
}

/* =======================================================
LIEN
======================================================= */

#dm-next-section .namma-footer-link,
#dm-next-section .namma-footer-link:visited,
#dm-next-section .namma-footer-link:hover,
#dm-next-section .namma-footer-link:focus {
  position: relative;
  z-index: 1;

  width: 100%;
  height: var(--next-max-height);

  display: flex;
  justify-content: center;
  align-items: flex-end;

  color: #8A38F5;
  text-decoration: none;
}

#dm-next-section .namma-footer-link:focus-visible {
  outline: 2px solid #8A38F5;
  outline-offset: -2px;
}

/* =======================================================
NEXT
======================================================= */

#dm-next-section .namma-footer-logo {
  margin: 0;
  padding: 0;

  width: max-content;
  max-width: none;
  height: var(--next-max-height);
  flex: none;

  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: .18vw;

  font-family: "Bebas Neue", sans-serif;
  font-size: var(--next-max-height);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;

  color: #8A38F5 !important;
  white-space: nowrap;
  user-select: none;

  transform: scaleX(var(--namma-fit, 1));
  transform-origin: center bottom;

  overflow: hidden;
}

/* =======================================================
LETTRES
======================================================= */

#dm-next-section .namma-footer-logo > span {
  position: relative;
  display: block;
  flex: none;

  height: var(--next-max-height);
  line-height: 1;

  color: #8A38F5 !important;

  transform: scaleY(0);
  transform-origin: center bottom;

  will-change: transform;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

/* =======================================================
POSITIONS DES PHOTOS
======================================================= */

#dm-next-section .namma-project-popup:nth-child(1) {
  --x: 14%;
  --y: 20vh;
  --size: clamp(90px, 15vw, 240px);
  --rotation: -12deg;
}

#dm-next-section .namma-project-popup:nth-child(2) {
  --x: 38%;
  --y: 40vh;
  --size: clamp(90px, 15vw, 240px);
  --rotation: 8deg;
}

#dm-next-section .namma-project-popup:nth-child(3) {
  --x: 64%;
  --y: 28vh;
  --size: clamp(90px, 15vw, 240px);
  --rotation: -7deg;
}

#dm-next-section .namma-project-popup:nth-child(4) {
  --x: 86%;
  --y: 43vh;
  --size: clamp(90px, 15vw, 240px);
  --rotation: 12deg;
}

/* =======================================================
PHOTOS ET OMBRES
======================================================= */

#dm-next-section .namma-project-popups {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

#dm-next-section .namma-project-popup {
  position: absolute;
  left: var(--x);
  bottom: var(--y);

  width: var(--size);
  aspect-ratio: 1;
  opacity: 0;

  transform:
    translate(-50%, 45px)
    rotate(var(--rotation))
    scale(.35);

  transform-origin: center;
  will-change: transform, opacity;
}

#dm-next-section .namma-project-popup img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;

  object-fit: cover;
  border-radius: 0;

  box-shadow:
    0 22px 38px -12px rgb(0 0 0 / 28%),
    0 6px 12px -4px rgb(0 0 0 / 14%);
}

/* =======================================================
MOBILE
======================================================= */

@media (max-width: 767px) {
  #dm-next-section .namma-project-popup:nth-child(1) {
    --x: 16%;
    --y: 18vh;
    --size: 24vw;
  }

  #dm-next-section .namma-project-popup:nth-child(2) {
    --x: 40%;
    --y: 34vh;
    --size: 24vw;
  }

  #dm-next-section .namma-project-popup:nth-child(3) {
    --x: 65%;
    --y: 23vh;
    --size: 24vw;
  }

  #dm-next-section .namma-project-popup:nth-child(4) {
    --x: 84%;
    --y: 40vh;
    --size: 24vw;
  }
}

/* =======================================================
MOUVEMENTS RÉDUITS
======================================================= */

@media (prefers-reduced-motion: reduce) {
  #dm-next-section .namma-footer-logo > span {
    transform: none !important;
    will-change: auto;
  }

  #dm-next-section .namma-project-popup {
    opacity: 1 !important;

    transform:
      translate(-50%, 0)
      rotate(var(--rotation)) !important;

    will-change: auto;
  }
}


#dm-next-section a.namma-project-popup {
  display: block;
  pointer-events: auto;
  text-decoration: none;
}

#dm-next-section a.namma-project-popup:focus-visible {
  outline: 2px solid #171717;
  outline-offset: 6px;
}/* End custom CSS */