@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500&display=swap');

@font-face {
    font-family: 'helveticabold';
    src: url('assets/fonts/helvetica-bold.eot');
    src: url('assets/fonts/helvetica-bold.eot?#iefix') format('embedded-opentype'),
         url('assets/fonts/helvetica-bold.woff2') format('woff2'),
         url('assets/fonts/helvetica-bold.woff') format('woff'),
         url('assets/fonts/helvetica-bold.ttf') format('truetype'),
         url('assets/fonts/helvetica-bold.svg#helveticabold') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
  font-family: "Font Awesome 7 Pro";
  font-display: swap;
}

/* NORMALIZE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    appearance: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-rendering: optimizelegibility;
    text-decoration: none;
}

body, html {
    background: #FFF;
    color: #131313;
    font: 500 normal 22px/1.3 "Inter", sans-serif;
    overflow-x: hidden !important;
    scrollbar-gutter: stable; 
}


header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 25px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
    font: 400 normal clamp(16px, 0.9vw, 50px) / normal 'Inter';
  }
  
header a {
    text-transform: uppercase;
    color: #131313;
}

header .indication {
    position: absolute;
    top: 100px;
    left: 60px;
    color: #CCC;
    font-size:0.75vw;
}

.ext {
    line-height: 1em;
    --alt: #696969;
    color: #696969;
    text-shadow: 0 1em 0 var(--alt);
    white-space: nowrap;
  }
  
  .ext .char { display:inline-block; height:1em; overflow:hidden; }
  .ext .char > span { display:inline-block; text-shadow: inherit; }
  
  .ext__icon-mask { display:inline-block; height:1em; overflow:hidden; }
  .ext__icon{
    display: inline-block;
    font-size: 0.75em;
    line-height: 1.3em;
    margin-left: .35em;
    vertical-align: top;
    will-change: transform;
  }
  
.btn-404 {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: #131313;
    color: #FFF;
    padding: 5vh;
    width: 200px;
    margin: auto;
    text-transform: uppercase;
}
.indication { transition: opacity .5s; }
.indication.is-hidden { opacity: 0; pointer-events: none; display: none; transition: opacity .5s; }

mini {
    font: 500 normal 0.75vw / normal 'Inter';
    color: #cafc6e;
    display: block;
    letter-spacing: 0 !important;
}

exp {
    font: 500 normal 1.5vw / normal 'Inter';
    letter-spacing: -0.075em;
    position: relative;
    top: -2vw;
}


  /* ----- MENU PANEL ----- */
  .menu-panel{
    position: absolute;
    left: 25px;
    top: calc(25px + 250px * 0 + 60px);
    top: calc(25px + 75px);
    width: 350px;
    background: #131313;
    color: #FFF;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
    z-index: 998;
    padding-top: 25px;
  }
  
  .menu-panel.is-open{
    visibility: visible;
    pointer-events: auto;
  }
  
  .menu-panel__inner{ padding: 50px 20px 20px; }
  
  .menu-panel__header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
  }

  .menu-panel__list{
    list-style: none;
    padding: 0; margin: 0;
    display: grid;
    gap: 1px;
  }

  .menu-panel__list a{
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    padding: 10px 8px;
    text-transform: uppercase;
    font-size: 13px;
  }

  .menu-panel .master a {
    font-size: 20px;
  }

  .menu-panel .social a {
    display: inline-block;
  }
  
  .menu-panel__list a:hover{
    background: #242424;
  }
  
  .menu-panel hr{
    height: 1px; border: 0;
    background: #2a2a2a;
    margin: 16px 0;
  }
  
  .menu-panel .badge {
    margin-left: auto;
    font-size: 9px;
    background: #ceff4d;
    color: #111;
    padding: 2px 6px;
    border-radius: 8px;
    font-weight: 700;
  }
  
  #logoTrigger { 
    width: 350px;
    cursor: pointer;
    background: transparent;
    padding: 15px;
    transition: background-color 0.3s ease;
    user-select: none;
    -webkit-user-drag: none;
    outline: none;
  }

  #logoTrigger:focus,
  #logoTrigger:active {
    outline: none;
  }
  
  #logoTrigger.is-active {
    background: #131313;
  }

.hour-call{
    --hc: greenyellow;       
    display:inline-block;
    width:0.6em;
    height:0.6em;
    border-radius:50%;
    background:var(--hc);
    margin: 0 0.75em;
    vertical-align:middle;
    box-shadow: 0 0 0 0 var(--hc);
    margin-top: -3px;
    animation: hourcall-pulse 1.8s ease-out infinite;
  }
  
  @keyframes hourcall-pulse{
    0%   { box-shadow: 0 0 0 0     var(--hc); }
    70%  { box-shadow: 0 0 0 0.9em rgba(0,0,0,0); }
    100% { box-shadow: 0 0 0 0     rgba(0,0,0,0); }
  }
  
  .hour-call.off{
    --hc: red;
    background:var(--hc) !important;
    animation: none !important;
    box-shadow: none !important;
  }
  
  @media (prefers-reduced-motion: reduce){
    .hour-call{ animation: none !important; }
  }

  .error {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    margin: 0;
    text-align: center;
    color: #FFF;
    position: absolute;
  }

  .error h1 {
    font: 200 normal clamp(60px, 15vw, 100vw) / normal "Inter", sans-serif;
    margin: 0;
  }

  .error h2 {
    font: 400 normal clamp(20px, 1.3vw, 100px) / normal "Inter", sans-serif;
    margin-top: 10px;
  }


/* INDEX - Bonjour */
.bonjour {
    height: 100vh;
    overflow: hidden;
    position: relative;
}
.bonjour .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    position: absolute;
    gap: 3vw;
    z-index:99;
}
.bonjour .header p {
    text-transform: uppercase;
    font-size: 16px;
}

.bonjour .title {
    text-align: center;
    font: 800 normal 9vw / 0.76 "helveticabold", sans-serif;
    letter-spacing: -0.075em;
}

.bonjour .title {
    display: inline-flex;
    padding: 25px;
    height: 240px;
    overflow: hidden;
    align-items: center;
  }
  
  .bonjour .title span {
    display: inline-block;
    transform: translateY(100%);
  }

  .bonjour .title-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem; 
    overflow: hidden;
  }

  .bonjour img {
    width: 10vw;
    height: 10vw;
    position: absolute;
    object-fit: cover;
    border-radius: 4%;
    z-index: 5;
}
.logo-box {
    width: 200px;              
    height: 200px;
    background-color: #c2bbaf;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0);
}
  
.logo-box img {
    width: 60%;
    height: auto;
}
  
.title {
    display: inline-block;
    overflow: hidden;
    font-size: 80px; 
    line-height: 1;
}
  
.title span {
    display: inline-block;
    transform: translateY(100%);
}
  
.bonjour .text {
    font: 700 normal clamp(20px, 1.3vw, 100px) / normal "Inter", sans-serif;
    text-transform: uppercase;
    text-align: center;
    
}

.bonjour .medias img {
    width: 1px;
    height: 1px;
    top: 0;
    left: 0;
    position: absolute;
    visibility: hidden;
    pointer-events: none;
}

@media (max-width: 768px) {
    .bonjour .header p {
        font-size: 12px;
    }
    .bonjour .container {
        gap: 15px;
    }
    .bonjour .title {
        font-size: 60px;
        width: 100%;
        padding: 0 30px;
    }
    .bonjour .text {
        max-width: 80%;
    }
    .logo-box {
        width: 100px;
        height: 100px;
      }
    
      .title {
        font-size: 2rem;
      }
    
      .title-wrapper {
        flex-direction: column; /* empile logo et titre */
      }
}


/* INDEX - Skills */
.skills .pin-height {
    height: 200vh;
    color: #FFF;
}
.skills .container {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.skills .sentences {
    position: relative;
    font: 500 normal 10vw/1.2 'Inter', sans-serif;
    letter-spacing: -0.06em;
}
.skills .sentence {
    overflow: hidden;
}
.skills .sentence p {
    display: flex;
    white-space: nowrap;
    width: max-content;
    will-change: transform;
}
.skills .sentence2 {
    position: absolute;
    top: 0;
    left: 0;
}
.skills .sentence2 p {
    transform: translate(0, 100%);
}
.skills .glyph {
    width: 5.5vw;
    height: auto;
}
.skills .texts span {
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding-bottom: 15px;
    font: 700 normal 2vw / normal 'Inter';
    text-transform: uppercase;
}
.skills .texts {
    display: flex;
    justify-content: space-between;
    margin: 1vw 0 0;
    padding: 2vw 2vw 0;
    border-top: 1px solid rgb(72, 72, 72);
    font: 500 normal 1vw / normal 'Inter';
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .skills .sentences {
        font-size: 70px;
    }
    .skills .texts {
        font-size: 8px;
        padding: 15px;
        margin: 15px 0 0;
    }
}



/* INDEX - RSE-Effect */
.rse-effect {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8vw;
    padding: 0 25px 25vh;
}
.rse-effect .scroll {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.rse-effect .top {
    height: 25vh;
    display: flex;
    align-items: flex-end;
    padding: 0 0 90px;
}
.rse-effect .text {
    width: 100%;
    max-width: 480px;
    font: 500 normal clamp(12px, 0.9vw, 100px) / normal 'Inter';
    text-transform: uppercase;
    text-align: center;
}
.rse-effect .container p {
    text-align: center;
    font: 500 normal 8vw/0.9 'Inter', sans-serif;
    letter-spacing: -0.05em;
    margin: 0 0 90px;
}
.rse-effect i {
    font-size: 8vw;
    margin: 0 0 90px;
}
.rse-effect p span {
    display: inline-block;
}
.rse-effect .minute-papillon {
    text-align: center;
    font: 500 normal 5vw/0.9 'Inter', sans-serif;
    text-transform:uppercase;
    letter-spacing: -0.05em;
}
.rse-effect .minute-papillon img {
    width: 100px;
    min-width: 100px;
    display: inline;
}
.rse-effect .final {
    font: 500 normal 2.3vw / 0.9 'Inter', sans-serif;
    letter-spacing: -0.03em;
}
.rse-effect .final p {
   max-width: 60%;
}
.rse-effect .word {
    line-height: 0.8;
    position: relative;
    text-transform: uppercase;
    clip-path: polygon(0 2%, 0 98%, 100% 98%, 100% 2%); /* Depends on the font */
}
.rse-effect .word img {
    display: inline-block;
    width: 6vw;
}
.rse-effect .word-hidden {
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(0, -100%); /* Translate it -100% of its height on the y-axis */
}
.rse-effect .media {
    width: 18vw;
    min-width: 144px;
    display: block;
    border-radius: 0.6em;
}

@media (max-width: 768px) {
    .rse-effect {
        padding: 0 25px 100vh;
    }
}
@media (max-width: 500px) {
    .rse-effect .container p {
        font-size: 38px;
    }
}


/* INDEX - RSE-card */
.rse-card .slide { 
    --slide-bg: #F1F1F1;
    --slide-fg: #121212;
  }
  
  .rse-card .slide--1 { --slide-bg:#0f3fac; --slide-fg:#FFFFFF; } 
  .rse-card .slide--2 { --slide-bg:#028048; --slide-fg:#fe82b4; }
  .rse-card .slide--3 { --slide-bg:#e34529; --slide-fg:#f5e6d9; }
  .rse-card .slide--4 { --slide-bg:#F1F1F1; --slide-fg:#121212; }
  .rse-card .slide--5 { --slide-bg:#131313; --slide-fg:#FFF; }
  
  .rse-card { padding: 0; position: relative; overflow: hidden; }
  
  .rse-card .slide {
    position: relative;
    height: 100vh;
    box-shadow: 3px 3px 30px rgba(0, 0, 0, 0.14);
  }
  
  .rse-card .content-wrapper {
    width: 100%;
    height: 100%;
    perspective: 250vw;
    position: relative;
    isolation: isolate; 
  }
  
  .rse-card .bg-base {
    position: absolute;
    inset: 0;
    background: var(--slide-bg);
    z-index: 0;
  }
  
  .rse-card .bg-video {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
  }
  .rse-card .bg-video-el {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
  }
  
  .rse-card .bg-tint {
    position: absolute;
    inset: 0;
    background: var(--slide-bg);
    opacity: 0.85;
    z-index: 2;
  }
  
  .rse-card .content {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transform-origin: 50% 10%;
    padding: 25px 50px 50px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 3; /* au-dessus du tint */
    color: var(--slide-fg);
    transform: translateZ(0);
    will-change: transform;
  }
  
  .rse-card .top { display: flex; justify-content: space-between; align-items: center; }
  .rse-card .bottom { display: flex; justify-content: space-between; align-items: flex-start; }
  
  .rse-card .text {
    width: 32vw;
    display: flex;
    align-items: flex-end;
    font: 500 normal 1.6vw/1.1 'Inter', sans-serif;
    letter-spacing: -0.03em;
    transform: scale(1) !important;
  }
  .rse-card .num {
    font: 500 normal 1.6vw/1.1 'Inter', sans-serif;
  }
  .rse-card .bottom > div:last-child {
    display: flex;
    font: 500 normal 10.5vw/0.9 'Inter', sans-serif;
    gap: 25px;
  }
  .rse-card .bottom img { width: 25vw; border-radius: 0.02em; height: 600px; object-fit: cover;}
  .rse-card .top p { font: 500 normal 10.5vw/0.9 'Inter', sans-serif; letter-spacing: -0.06em; text-transform: uppercase; }
  .rse-card .top img { width: 5.7vw; height: auto; display: block; }
  
  /* ===== Mobile & ratios carrés ===== */
  @media (max-aspect-ratio: 1/1) {
    .rse-card .content {
      padding: 15px;
      justify-content: initial;
      transform: none;
    }
    .num { display: none; }
    .rse-card .bottom { margin: 15px 0 0; flex-direction: column; gap: 15px; }
    .rse-card .text { order: 2; font-size: 22px; width: 100%; }
    .rse-card .bottom img { width: 100%; aspect-ratio: 1; object-fit: cover; }
  }
  



/* INDEX - Derniers projets */
.last-project {
    position: relative;
    height: 100vh;
    width: 100vw;
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
    background: #FFF;
    margin-bottom: -1px;
  }
  
  .last-project .header {
    position: relative; /* absolute */
    top: 0;
    left: 0;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    z-index: 10;
  }
  
  .last-project .header h2 {
    font: 500 normal 7.6vw / normal 'Inter', sans-serif;
    letter-spacing: -0.06em;
    text-transform: uppercase;
    color: #131313;
  }
  .last-project .header p {
    font: 400 normal 1vw / normal 'Inter', sans-serif;
    letter-spacing: -0.06em;
    text-transform: uppercase;
    color: #131313;
    display: block;
    position: absolute;
    top: 20vh;
    padding-left: 15px;
}
  .last-project .header i {
    font-size: 7.6vw;
    color: #131313;
  }
  .last-project .header img {
    width: 5.4vw;
    height: auto;
  }
  
  .last-project .viewport {
    position: relative;
    width: 100vw;
    height: auto;          
    overflow: hidden;       
  }
  
  .last-project .track {
    display: inline-flex;
    align-items: flex-end;  
    height: 100%;
    will-change: transform; 
  }
  
  .last-project .container {
    display: inline-flex;
    width: max-content;
    align-items: flex-end;
  }
  .last-project .container ul {
    display: inline-flex;
    width: max-content;
    align-items: flex-end;
  }
  .last-project .container li {
    list-style-type: none;
  }
  
  .last-project .media {
    width: 20vw;
    position: relative;
  }
  .last-project .media img {
    display: block;
    width: 100%;
    transform-origin: 0% 50%;
    object-fit: cover;
    will-change: transform;
  }
  
  .last-project #clone {
    width: 100vw;
  }
  

  @media (hover: none) {
    .last-project {
      overflow: hidden;
    }
 
    .last-project .container ul {
      display: none;
    }
  }

  @media (max-width: 768px) {
    .last-project .header p {
        font: 400 normal 12px / normal 'Inter', sans-serif;
        top: 85px;
        padding-left: 2px;
        }
  }



/* AGENCES - Introduction */
.agences .pin-height{
    height: 400vh;
    padding-top: 10vh;
}
.agences .container{
    height: 100vh;
}
.agences .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5vw 2.5vw;
    border-bottom: 1px dashed rgb(73, 73, 73);
}
.agences .top p {
    font: 500 normal 10vw/0.9 'Inter', sans-serif;
    letter-spacing: -0.05em;
}
.agences .top span {
    font: 500 normal 4.6vw/0.9 'Inter', sans-serif;
    letter-spacing: -0.05em;
    display: grid;
    place-items: center;
    width: 10vw;
    height: 10vw;
    background: #CDFA6A;
    border-radius: 0.3em;
    color: #184739;
}
.agences .paragraphs {
    display: flex;
    align-items: center;
    padding: 5vw 2.5vw;
    column-gap: 2.5vw;
    font: 500 normal 2.3vw/0.9 'Inter', sans-serif;
    letter-spacing: -0.03em;
}
.agences .word {
    position: relative;
    overflow: hidden;
    display: inline-block;
    margin: -0.14em 0; 
}
.agences .word span {
    display: block;
    padding: 0.14em 0; 
}
.agences .paragraph:not(:first-child) .word span {
    transform: translate(0, 100%);
}

@media (max-width: 768px) {
    .agences .top {
        padding: 30px 15px;
    }
    .agences .top p {
        font-size: 27px;
    }
    .agences .paragraphs {
        flex-direction: column;
        row-gap: 30px;
        font-size: 27px;
        padding: 30px 15px;
    }
}

/* AGENCES - Listing équipe */
.equipe {
    background: #131313;
    color: #FFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font: 500 normal 18px / normal 'Inter', sans-serif;
    padding-bottom: 25vh;
}
.equipe .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5vw 2.5vw;
}

.equipe h2 {
    font: 500 normal 7vw/0.9 'Inter', sans-serif;
    letter-spacing: -0.05em;
    padding: 15vh 0 5vh 1rem;
    text-transform: uppercase;
    }

.equipe p {
    padding: 0 0 40px 25px;
    opacity: 0.5;
}
.equipe ul {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
}
.equipe ul li {
    flex: 1 1 45px;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    width: 100%;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.equipe ul li:first-child {
    flex: 1 1 122px;
}
.equipe .medias {
    display: flex;
    gap: 15px;
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translate(0, -50%);
    overflow: hidden;
} 
.equipe .media {
    width: 92px;
    height: 92px;
    object-fit: cover;
    transform: translate(0, 100%);
    border-radius: 4%;
}

@media (max-width: 768px) {
    .equipe ul li {
        padding: 0 15px;
    }
    .equipe ul li:first-child {
        flex: 1 1 90px;
    }
    .equipe .medias {
        gap: 5px;
        right: 15px;
    }
    .equipe .media {
        width: 60px;
        height: 60px;
    }
    .equipe .media:nth-child(n+5) {
        display: none;
    }
}

/* PROJETS - Listing projets */
.projets {
    display: flex;
    align-items: flex-end;
    background: #FFF;
    color: #131313;
    overflow:hidden;
    height: 100vh;
}
.projets * {
    user-select: none;
}
.projets .container {
    width: 40vw;
    height: 100vh; 
    margin: 0 25px 0 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; 
    scrollbar-width: none; 
}

.projets .container::-webkit-scrollbar {
    display: none; 
}

@media (max-width: 600px) {
    .projets .container {
        width: 100%;
        flex: 1 1 auto;
        overflow-y: auto; 
        margin: 0;
        padding: 0 15px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .projets .container::-webkit-scrollbar {
        display: none;
    }
}
.projets .header {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 0;
    width: calc(60% - 25px);
    padding: 25px;
}
.projets .header > div {
    display: flex;
    gap: 25px;
}
.projets .header p {
    text-transform: uppercase;
    letter-spacing: -0.01em;
    font-size: 16px;
}
.projets .content {
    display: flex;
    flex-direction: column;
    row-gap: 25px;
    height: max-content;
    margin: 0 auto;
    padding-bottom: 25px;
}
.projets .media {
    aspect-ratio: 1.7;
    border-radius: 0.4em;
    overflow: hidden;
}
.projets img,
.projets video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.projets .texts {
    font: 500 normal 10vw / 0.8 'Inter', sans-serif;
    letter-spacing: -0.075em;
    flex: 1;
    padding: 25px;
}
.projets .texts .span1 {
    display: block;
}
.projets .texts .span2 {
    padding: 0 0 0 10vw;
    font: 500 normal 4vw / 0.8 'Inter', sans-serif;
}
.projets .texts .span3 {
    display: flex;
    justify-content: space-between;
    padding: 0 0 0 5vw;
    font: 500 normal 7vw / 0.8 'Inter', sans-serif;
}
.projets .texts .span4 {
    display: block;
    text-align: right;
    font: 500 normal 3vw / 1 'Inter', sans-serif;
    letter-spacing: -0.09em;
    color: rgba(0, 0, 0, 0.15);
}

@media (max-width: 600px) {
    .projets .header {
        padding: 15px;
    }
    .projets {
        flex-direction: column;
        height: 100vh;
        
    }
    .projets .header {
        position: relative;
        width: 100%;
    }
    .projets .container {
        width: 100%;
        flex: 1 1 auto;
        overflow: hidden;
        margin: 0;
        padding: 0 15px;
    }
    .projets .texts {
        width: 100%;
        padding: 15px 15px 71px;
        order: 3;
        font-size: 60px;
    }
}



/* PROJET - Slider photos */
.projet-photos {
    height: 125vh;
    perspective: 150vw;
    overflow: hidden;
    overscroll-behavior: contain;
    position: relative;
}
.projet-photos .text {
    position: absolute;
    top: 0%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 25px;
    text-transform: uppercase;
    font: 500 normal clamp(18px, 2vw, 40px) / normal 'Inter', sans-serif;
    letter-spacing: -0.03em;
}
.projet-photos .root {
    height: 100%;
    transform-style: preserve-3d;
    cursor: col-resize;
}
.projet-photos .slide {
    width: 75vw;
    aspect-ratio: 1.75;
    position: absolute;
    top: calc(50% - 14vw);
    left: calc(50% - 38vw);
    cursor: col-resize;
}
.projet-photos .root:hover {
    cursor: col-resize;
}
.projet-photos .content {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.projet-detail {
    padding: 5vh 2vw;
    height: calc(100vh + 250px);
}

.projet-detail .container {
    text-transform: uppercase;
}
.projet-detail .movie {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 10vh;

}
.projet-detail .bottom {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 25px 0;
}
.projet-detail .bottom > div {
    display: flex;
    gap: 25px;
}
.projet-detail .title {
    font: 500 normal 10vw / normal 'Inter', sans-serif;
    letter-spacing: -0.06em;
}
.projet-detail .title span {
    display: inline-block;
    will-change: transform;
}
.projet-detail .infos {
    font: 500 normal clamp(12px, 0.9vw, 100px) / normal 'Inter';
    text-transform: uppercase;
}
.projet-detail .lorem {
    width: 28vw;
    font: 500 normal clamp(21px, 1.6vw, 40px) / 1 'Inter', sans-serif;
    letter-spacing: -0.06em;
    text-indent: 6vw;
}
.projet-detail .movie img {
    width: 28vw;
    aspect-ratio: 1.6;
    object-fit: cover;
}

@media (max-width: 768px) {
    .projet-detail {
        padding: 100vh 15px;
    }
    .projet-detail .bottom {
        padding: 15px 0;
        flex-direction: column;
        gap: 30px;
    }
    .projet-detail .bottom > div {
        display: contents;
        gap: 15px;
    }
    .projet-detail .title {
        font-size: 10.3vw;
        padding: 15px 0 0;
    }
    .projet-detail .lorem,
    .projet-detail .movie img {
        max-width: 600px;
        width: 100%;
    }
}

/* AGENCES - Slider photos */
.agences-photos {
    display: block;
    align-items: center;
    overflow: clip;
    background: #131313;
    color: #FFF;
}
.agences-photos .header {
    position: relative;
    top: 0;
    left: 0;
}
.agences-photos .header .top {
    width: 100%;
    padding: 25px;
}
.agences-photos .header .top p {
    width: 60%;
    font: 500 normal 2.1vw / 0.9 'Inter', sans-serif;
    letter-spacing: -0.03em;
}
.agences-photos .header .drag {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 25px;
}
.agences-photos .header .drag img {
    width: 23px;
    height: auto;
    outline: none;
  -webkit-tap-highlight-color: transparent;
}
.agences-photos .header .drag p {
    text-transform: uppercase;
    font: 500 normal 13px / normal 'Inter';
}
.agences-photos .container {
    width: max-content;
    white-space: nowrap;
    display: flex;
    gap: 15px;
    padding: 0 1vw 0 0;
    user-select: none;
    cursor: grab;
}
.agences-photos .card {
    width: 20vw;
    aspect-ratio: 0.9;
    transform-origin: 50% 100%;
}
.agences-photos img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 0.03em;
    pointer-events: none;
}

@media (max-width: 768px) {
    .agences-photos .header .top p {
        font-size: 20px;
        width: 100%;
    }
    .agences-photos .card {
        width: 42vw;
    }
}

.scop {
    letter-spacing: -0.03em;
    overflow: hidden;
}
.scop .pin-height {
    height: 400vh;
}
.scop .container {
    height: 100vh;
    align-items: center;
    padding: 0 3vw;
    column-gap: 15px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
}
.scop .container .name {
    position: absolute;
    top: 15vh;
    left: calc(2 * 15px);
    font: 500 normal 7vw/0.9 'Inter', sans-serif;
    letter-spacing: -0.05em;
}
.scop .container .name span {
    font: 500 normal 3vw/0.9 'Inter', sans-serif;
}
.scop .container .left {
    position: relative;
    padding: 0 0 0 15px;
    width: 40%;
    margin-top: 5vh;
}
.scop .container .right {
    height: 100%;
    width: auto;
    object-fit: cover;
}
.scop .paragraph:not(:first-child) {
    position: absolute;
    top: 0;
}
.scop .word {
    font: 500 normal 1.5vw/0.9 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
    display: inline-block;
    margin: -0.14em 0; /* depends on the font */
}
.scop .word span {
    display: block;
    padding: 0.14em 0; /* depends on the font */
}
.scop .paragraph:not(:first-child) .word span {
    transform: translate(0, -100%);
}

@media (max-width: 500px) {
    .scop {font-size: 30px;}
    .scop .container {
        flex-direction: column;
        justify-content: flex-start;
    }
    .scop .container .left {
        order: 2;
        width: 100%;
        padding: 0;
        margin: 15px 0 0 0;
    }
    .scop .container .right {
        order: 1;
        width: 100%;
        max-width: initial;
        height: auto;
        max-height: 55%;
    }
    .scop .container .name {
        top: auto;
        bottom: 20px;
        left: 15px;
    }
}
 


.custom-cursor-zone {
    cursor: none;
}

.custom-cursor-zone * {
    cursor: none !important;
}

#custom-cursor {
    position: fixed;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
    mix-blend-mode: difference;
    cursor: none; /* Ajout important */
}

#custom-cursor i {
    color: white;
    font-size: 24px;
    font-weight: 300;
}

#custom-cursor::after {
    content: attr(data-text);
    color: white;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    white-space: nowrap;
}

body.custom-cursor-active,
body.custom-cursor-active * {
    cursor: none !important;
}

/* TOOLTIP */
.hour-call {
    position: relative;
    cursor: help;
    display: inline-block; 
  }
  
  .hour-call::before {
    content: attr(data-tooltip);
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 12px;
    background-color: #333;
    color: #fff;
    font-size: 13px !important;
    width: 200px; 
    white-space: normal; 
    text-align: center; 
    border-radius: 4px;
    opacity: 0;
    letter-spacing: 0 !important;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    pointer-events: none;
    z-index: 1000;
  }
  
  .hour-call::after {
    content: "";
    position: absolute;
    top: calc(100% + 2px); 
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-bottom-color: #333; 
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    pointer-events: none;
    z-index: 1001; 
  }
  
  .hour-call:hover::before,
  .hour-call:hover::after {
    opacity: 1;
    visibility: visible;
  }


.last-projects {
    background: #FFF;
    color: #131313;
    overflow: hidden; /* Important pour cacher le débordement */
}

.last-projects .pin-height {
    height: 100vh; /* Plus besoin de 300vh */
    overflow: hidden;
}

.last-projects .container {
    white-space: nowrap;
    width: max-content;
    height: 100vh;
    display: flex;
    will-change: transform; /* Optimisation pour l'animation */
}

.last-projects .project {
    position: relative;
    height: 100%;
    min-width: 4vw;
    cursor: pointer; /* Indique que c'est cliquable */
    transition: min-width 0.3s ease; /* Transition douce de la largeur */
}

.last-projects .project:not(:last-child) {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.last-projects .project:not(.on) {
    color: rgba(0, 0, 0, 0.25);
}

.last-projects .project:not(.on) .type,
.last-projects .project:not(.on) .media { 
    display: none;
}

.last-projects .type {
    font: 500 normal 1.25vw / 2 'Inter', sans-serif;
    color: rgba(0, 0, 0, 0.75);
}

.last-projects .datas {
    position: absolute;
    bottom: 0;
    left: 2vw;
    font: 500 normal 2vw / 2.6vw 'Inter', sans-serif;
    letter-spacing: -0.03em;
    transform: rotate(-90deg);
    transform-origin: 0 50%;
    width: calc(100vh - 2.6vw);
    display: flex;
    justify-content: space-between;
}

.last-projects .media {
    height: calc(100% - 2.6vw);
    width: auto;
    margin: 1.3vw 1.3vw 0 4vw;
    object-fit: cover;
    border-radius: 0.6vw;
    max-width: 750px;
    opacity: 0;
    transition: opacity 0.3s ease; /* Transition pour l'apparition */
}

.last-projects .project.on .media {
    opacity: 1;
}

@media (max-width: 768px) {
    .last-projects .pin-height {
        height: auto;
    }

    .last-projects .container {
        height: auto;
        white-space: initial;
        width: 100%;
        flex-direction: column;
    }

    .last-projects .project:not(:first-child) {
        border-top: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    .last-projects .project {
        border-right: 0 !important;
        cursor: default;
    }

    .last-projects .project:not(.on) {
        color: #F1F1F1;
    }
    
    .last-projects .project:not(.on) .type,
    .last-projects .project:not(.on) .media { 
        display: block;
    }

    .last-projects .datas {
        position: relative;
        transform: none;
        left: auto;
        margin: 30px 15px 15px;
        font-size: 28px;
        line-height: 30px;
        width: auto;
        display: block;
    }
    
    .last-projects .media {
        margin: 15px;
        width: calc(100% - 30px);
        height: auto;
        aspect-ratio: 1.8;
        opacity: 1;
    }
}


/* CONTACT */
.contact {
    position: relative;
    background-color: #131313;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.contact .top {
    display: block;
    justify-content: space-between;
    align-items: center;
    padding: 25vw 2.5vw 0 2.5vw;
}

.contact .title {
    color: #fff;
    position: relative;
    z-index: 2;
    margin: 2rem 0 0 0;
    mix-blend-mode: difference;
    font: 500 normal 10vw/0.9 'Inter', sans-serif;
    letter-spacing: -0.075em;
}

  .contact .top p {
    color: #fff;
    position: relative;
    z-index: 2;
    mix-blend-mode: difference;
    font: 500 normal 4vw/0.9 'Inter', sans-serif;
    letter-spacing: -0.075em;
  }
  
  .contact .video-bg {
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translateX(-50%) scaleX(-1); 
    width: 100%;
    max-height: 40vh; 
    object-fit: cover;
    z-index: 1;
  }
  
  .contact .video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: rotate(180deg);
  }
  
  .contact-info {
    background: #FFF;
    color: #131313;
    height: 100vh;
    display: flex;
  }
  .contact-info .container {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 2rem;
    flex-grow: 1;
  }
  
  .contact-info .left {
    flex: 0 0 30%;
  }
  
  .contact-info .right {
    flex: 0 0 40%;
    align-content: center;
    padding: 2.5vw;
    border-left: 1px solid #F5F5F5;
  }

  .contact-info .info {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
  }
  
  .contact-info .info span:not(.hour-call) {
    width: 100px; 
    font-weight: bold;
    text-transform: capitalize;
    font: 900 normal 0.75vw/0.9 'Inter', sans-serif;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.25);
  }

  .contact-info .info .hour-call {
    position: relative;
    right: -50px;
    top: 1.5vw;
  }
  
  .contact-info .info p {
    margin: 0;
    font: 400 normal 1.75vw/1.2 'Inter', sans-serif;
    letter-spacing: -0.075em;
  }

  .contact-info .info:nth-child(2) {
    margin-top: 100px;
    margin-bottom: 25px;
  }

  .contact-info .info mini {
    font: 400 normal 0.75vw/1 'Inter', sans-serif;
    color: #D5D5D5;
  }
  
  .contact-info .info .contact-mail a {
    font: 400 normal 3vw/1 'Inter', sans-serif;
    color: #131313;
  }

  .contact-info .info .contact-tel {
    font: 400 normal 4vw/1 'Inter', sans-serif;
    color: #131313;
  }
  
  @media (max-width: 768px) {
    .contact {
      flex-direction: column;
    }
    .contact-info .left,  .contact-info .right {
      flex: 0 0 100%;
    }
    .video-bg {
      max-height: 30vh; /* Ajustement pour mobile */
    }
  }


/* ENGAGEMENTS */
.engagements {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.engagements .container {
    display: flex;
    padding-top: 15vh;
}
.engagements .title {
    position: absolute;
    top: 150px;
    left: 25px;
    padding-bottom: 5vh;
    font: 500 normal 10vw/0.9 'Inter', sans-serif;
    letter-spacing: -0.03em;
}
.engagements .card {
    width: 20vw;
    aspect-ratio: 0.8;
}
.engagements .card:not(:first-child) {
    margin: 0 0 0 -10vw;
}
.engagements .card .content {
    width: 100%;
    height: 100%;
    border-radius: 0.6em;
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px;
}
.engagements .card .content .top {
    font: 500 normal 1.5vw / 1.1 'Inter', sans-serif;
    letter-spacing: -0.03em;
}

.engagements .card .content a {
    font: 500 normal 0.75vw / 1 'Inter', sans-serif;
    color: #FFF;
}

.engagements .card .content .bottom {
    display: flex;
    align-items: center;
    column-gap: 15px;
    font: 500 normal 1.1vw / 0.9 'Inter', sans-serif;
    letter-spacing: -0.03em;
    border-top: 1px dashed #FFF;
    padding: 25px 0 0;
}
.engagements .card .content .bubble {
    width: 3.3vw;
    aspect-ratio: 1;
    border-radius: 100%;
    background-color: #FFF;
    display: grid;
    place-items: center;
}
.engagements .card .content .bubble img {
    width: 75%;
    height: 75%;
    object-fit: contain;
}
.engagements .card .content .job {
    font: 500 normal 0.9vw / normal 'IBM Plex Mono';
    text-transform: uppercase;
}
.engagements .card:nth-child(1) {
    z-index: 3;
}
.engagements .card:nth-child(1) .content {
    background-color: #00d556;
    color: #131313;
}
.engagements .card:nth-child(2) {
    z-index: 2;
}
.engagements .card:nth-child(2) .content {
    background-color: #141b42;
    color: #e0d6af;
}
.engagements .card:nth-child(3) {
    z-index: 1;
}
.engagements .card:nth-child(3) .content {
    background-color: #131313;
    color:#FFF;
}
.engagements .card:nth-child(4) {
    z-index: 1;
}
.engagements .card:nth-child(4) .content {
    background-color: #ffc926;
    color: #131313;
}
.engagements .card:nth-child(5) {
    z-index: 4;
}
.engagements .card:nth-child(5) .content {
    background: #FBE94A;
    background: linear-gradient(0deg,rgba(251, 233, 74, 1) 0%, rgba(238, 41, 41, 1) 100%);  
    color: #FFF;
}
.engagements .card:nth-child(6) {
    z-index: 5;
}
.engagements .card:nth-child(6) .content {
    background-color: #c63b28;
    color: #FFF;
}
.engagements .card:nth-child(7) {
    z-index: 8;
}
.engagements .card:nth-child(7) .content {
    background-color: #000000;
    color: #eb4595;
}
.engagements .card:nth-child(8) {
    z-index: 6;
}
.engagements .card:nth-child(8) .content {
    background-color: #72c925;
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .engagements .title {
        font-size: 45px;
    }
    .engagements .card .content p, 
    .engagements .card .content .bottom {
        opacity: 0;
    }
}


/* FOOTER */
footer {
    position: relative;
    background: #131313;
    color: #FFF;
}
.footer .root {
    position: relative;
}
.footer .header,
.footer .footer {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 25px 0;
}
.footer .header p,
.footer .footer p {
    text-transform: uppercase;
    letter-spacing: -0.01em;
    font-size: 16px;
}
.footer .footer {
    position: relative;
    border-top: 1px solid rgb(95, 95, 95);
    margin: calc(2 * 25px) 0 0;
}
.footer .footer p {
    color: #FFF;
    line-height: 2;
}
.footer .footer a {
    color: inherit;
    text-decoration: none;
}
.footer .duplicate .footer p {
    color: #FFF;
    line-height: 2;
}
.footer tel {
    font: 500 normal 1.5vw / normal 'Inter';
    color: #cafc6e;
}
.footer .line {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer .line p {
    font: 500 normal 10.5vw / 0.9 'Inter', sans-serif;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}
.footer .line p:first-child {
    margin: 0 0 0 -0.07em;
}
.footer .photo {
    width: 11.2vw;
    height: max-content;
    aspect-ratio: 1.5;
    object-fit: cover;
    transform: translate(0, -5%);
    border-radius: 0.5vw;
}
.footer .icon {
    width: 7.8vw;
    height: auto;
}
.footer .containers {
    position: relative;
}
.footer .container {
    position: relative;
    padding: 0 25px;
    height: 100vh;
}
.footer .container a {
    font: 400 normal clamp(16px, 0.9vw, 50px) / normal 'Inter'
}
.footer .duplicate {
    --xpercent: 50%;
    --ypercent: 50%;
    mask-image: radial-gradient(circle at var(--xpercent) var(--ypercent), #000 20%, transparent 25%); 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    color: #C9FE6E;
}
.footer .duplicate .header {
    color: #C9FE6E;
}

@media (max-width: 768px) {
    .footer .header p:last-child, 
    .footer .footer p:last-child {
        display: none;
    }
    .footer .photo {
        width: 8vw;
        transform: translate(0, -15%);
    }
}