.elementor-27 .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-27 .elementor-element.elementor-element-a567f31.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-27 .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-27 .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-27 .elementor-element.elementor-element-8fcd0b0{--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-27 .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-27:not(.elementor-motion-effects-element-type-background), body.elementor-page-27 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#F5F6F0;}:root{--page-title-display:none;}@media(max-width:767px){.elementor-27 .elementor-element.elementor-element-8fcd0b0{--margin-top:-100px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-27 .elementor-element.elementor-element-5c4ca92{margin:-100px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;}}@media(min-width:768px){.elementor-27 .elementor-element.elementor-element-a567f31{--width:100vw;}.elementor-27 .elementor-element.elementor-element-05c80a2{--width:100vw;}.elementor-27 .elementor-element.elementor-element-d8844ca{--width:100vw;}.elementor-27 .elementor-element.elementor-element-8fcd0b0{--width:100vw;}.elementor-27 .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-5c4ca92 *//* ==========================================================================
   PERSONNALISATION DES ORBES ROSES & HAUTEURS DES IMAGES
   ========================================================================== */
:root {
  --orbe1-couleur: #7D0F00;     
  --orbe1-taille: 650px;        
  --orbe1-top: 50%;             
  --orbe1-left: -150px;         
  --orbe1-opacite: 0.6;         

  --orbe2-couleur: #7D0F00;     
  --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: #F5F6F0;
  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 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 (Mêmes marges / paddings que la photo) */
.custom-image-section,
.custom-video-section,
.custom-bento-section {
  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: 100vw;
  height: 90vh;
  display: block;
  object-fit: cover;
  will-change: transform;
}

/* ==========================================================================
   GRILLE BENTO : EXACTEMENT 2 LIGNES HORIZONTALES
   ========================================================================== */
.bento-wrapper {
  background: transparent; /* Pas de fond gris global pour laisser respirer la grille */
  box-shadow: none;
  overflow: visible;
}

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

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

.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);
}

/* Agencement asymétrique strict sur 2 lignes (Colonnes et Lignes) */
.bento-1 {
  grid-column: 1 / 2;
  grid-row: 1 / 3; /* S'étale sur les 2 lignes de haut en bas */
}

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

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

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

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

/* 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 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: 1fr 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, 1fr);
  gap: 30px;
  align-items: start;
}

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

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
  .custom-challenge .custom-container,
  .goals-grid,
  .quinconce-grid,
  .extra-photos-grid,
  .bento-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 20px;
  }

  .bento-item {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    height: 250px !important;
  }

  .custom-title,
  .goals-label {
    position: static;
  }
  
  .project-page {
    padding: 50px 16px;
  }

  .custom-image-section,
  .custom-video-section,
  .custom-bento-section,
  .custom-extra-section {
    width: 100%;
    left: auto;
    right: auto;
    margin-left: 0;
    margin-right: 0;
  }

  .custom-image-section .image-container,
  .custom-video-section .video-container,
  .bento-wrapper,
  .extra-photos-wrapper {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding-right: 0;
  }

  .quinconce-col.col-right {
    margin-top: 0;
  }

  .q-img-wrap {
    height: 380px !important;
  }

  .q-img-wrap img {
    height: 100%;
    top: 0;
    transform: none !important;
  }

  .custom-content p, 
  .goals-text p,
  .q-text {
    font-size: 1rem;
  }
}


/* ==========================================================================
   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;
}

/* Adaptation responsive pour mobile */
@media (max-width: 768px) {
  .results-stats-row {
    flex-direction: column;
    gap: 40px;
  }
}





/* ADAPTATION TABLETTE ET MOBILE — prioritaire sur les règles ci-dessus */
@media (max-width: 1024px) {
  :root {
    --orbe1-taille: 480px;
    --orbe2-taille: 480px;
    --orbe1-left: -180px;
    --orbe2-right: -180px;
    --hauteur-img-1: 320px;
    --hauteur-img-2: 440px;
    --hauteur-img-3: 480px;
    --project-media-margin: 30px;
  }

  .project-page {
    width: 100%;
    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 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }

  .custom-content,
  .goals-text,
  .quinconce-col,
  .stat-item { min-width: 0; }

  .custom-content p,
  .goals-text p,
  .q-text,
  .stat-label { overflow-wrap: anywhere; }

  .custom-image-section,
  .custom-video-section,
  .custom-bento-section,
  .custom-extra-section {
    width: 100vw;
    left: 50%;
    right: auto;
    margin-left: -50vw;
    margin-right: 0;
  }

  .custom-image-section .image-container,
  .custom-video-section .video-container,
  .bento-wrapper,
  .extra-photos-wrapper {
    box-sizing: border-box;
    flex: 0 0 auto;
    width: calc(100% - var(--project-media-margin) - var(--project-media-margin));
    max-width: none;
    margin: 0 auto 25px;
    padding: 0;
    border-radius: 20px;
  }

  .custom-image-section img,
  .responsive-video {
    width: 100%;
    max-width: 100%;
    height: 65vh;
    height: 65vh;
  }

  .bento-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, 210px);
    gap: 14px;
  }

  .bento-item { min-width: 0; border-radius: 16px; }
  .extra-photos-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  .img-extra-1,
  .img-extra-2,
  .img-extra-3 { height: 380px; }

  .quinconce-col.col-right { margin-top: 70px; }
  .quinconce-item { margin-bottom: 50px; }
  .quinconce-item:last-child { margin-bottom: 0; }
  .q-text { max-width: 100%; }
  .results-stats-row { flex-wrap: wrap; gap: 25px; }
  .stat-item { flex: 1 1 180px; }
}

@media (max-width: 768px) {
  :root {
    --project-media-margin: 20px;
    --orbe1-taille: 340px;
    --orbe2-taille: 340px;
    --orbe1-left: -140px;
    --orbe2-right: -140px;
  }

  body::before,
  body::after { 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 {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    gap: 24px;
  }

  .custom-title,
  .goals-label { position: static; }
  .custom-title h2 { font-size: 1.35rem; letter-spacing: 1.5px; }

  .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; }
  .goals-label span { font-size: 0.75rem; }

  .custom-image-section .image-container,
  .custom-video-section .video-container,
  .bento-wrapper,
  .extra-photos-wrapper { border-radius: 16px; margin-bottom: 20px; }

  .custom-image-section img,
  .responsive-video {
    height: 52vh;
    height: 52vh;
  }

  .bento-item {
    grid-column: auto !important;
    grid-row: auto !important;
    height: clamp(230px, 70vw, 420px) !important;
  }

  .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) !important;
    border-radius: 16px;
  }

  .q-text { font-size: 1rem; line-height: 1.6; margin-top: 16px; }
  .results-stats-row { flex-direction: column; gap: 28px; }
  .stat-item { flex: 0 0 auto; width: 100%; }
  .stat-number { font-size: clamp(3rem, 12vw, 4.5rem); }
  .stat-label { font-size: 0.95rem; }
}

@media (max-width: 480px) {
  :root { --project-media-margin: 15px; }
  .project-page { padding: 40px 15px; }
  .project-section { margin-bottom: 50px; }
  .bento-container,
  .extra-photos-grid { gap: 16px; }
  .custom-image-section .image-container,
  .custom-video-section .video-container,
  .q-img-wrap,
  .bento-item { border-radius: 12px; }
}

@media (max-width: 1024px) and (max-height: 500px) and (orientation: landscape) {
  .custom-image-section img,
  .responsive-video { height: 75vh; height: 75vh; }
}

@media (prefers-reduced-motion: reduce) {
  .project-section {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .goals-separator { transform: scaleX(1); transition: none; }
  .bento-item img,
  .q-img-wrap img { transition: none; will-change: auto; }
}



@media (max-width: 1024px) {
  .project-section .goals-label {
    display: none !important;
  }

  .project-section .goals-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


@media (max-width: 768px) {
  .results-stats-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 20px;
  }

  .results-stats-row .stat-item {
    width: 100%;
    min-width: 0;
  }

  .results-stats-row .stat-number {
    font-size: clamp(2rem, 9vw, 3.5rem);
  }
}





/* 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: #7D0F00;
  text-decoration: none;
}

#dm-next-section .namma-footer-link:focus-visible {
  outline: 2px solid #7D0F00;
  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: #7D0F00 !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: #7D0F00 !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 */