/* Base */
* {
    box-sizing: border-box;
    transform-style: preserve-3d;
}

.start-animation {
    text-align: center;
    font-size: 220px;
    font-weight: 500;
    margin: 0 52px 20px 52px;
    color: #000;
}

.ligne{
    transform: translateX(0) translateY(0) scale(1);
    margin: 16px 52px 0 52px;
    transition: transform .6s cubic-bezier(.2,.9,.2,1), opacity .6s ease; /* starts 0.7s later */
    opacity: 0;
}

body.intro-play .ligne {
    opacity: 1;
}
/* reveal the underline (pseudo) */
.ligne::after {
    content: "";
    display: block;
    height: 2px;
    background: #000;
    transform-origin: center;
    transform: scaleX(0);
    transition: transform .7s cubic-bezier(.2,.9,.2,1) .7s; /* starts 0.7s later */
    opacity: 0;
}
/* État sombre après la section 8 */
body.dark-theme {
    background-color: #000;
    color: #fff;
}

.hero-title.dark-theme{
    color: #fff;
}

/* Forcer les textes courants */
body.dark-theme p,
body.dark-theme h1,
body.dark-theme h2,
body.dark-theme h3,
body.dark-theme h4,
body.dark-theme li,
body.dark-theme a {
    color: #fff;
}

/* Optionnel : transitions douces */
body {
    transition: background-color 0.4s ease, color 0.4s ease;
}


body.intro-play .ligne::after {
    transform: scaleX(1);
    opacity: 1;
}

.tracking-in-expand {
	-webkit-animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
	        animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

@-webkit-keyframes tracking-in-expand {
  0% {
    letter-spacing: -0.5em;
    opacity: 0;
  }
  40% { 
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}
@keyframes tracking-in-expand {
  0% {
    letter-spacing: -0.5em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}

body {
    margin: 0;
    font-family: 'Clash Display', sans-serif;
    font-weight: 500; /* Medium */
    background-color: #FFFFFF;
    color: #000;
}

p, h1, h2, h3, h4, h5, h6 {
    margin: 0;
}
button {
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 52px;
    position: relative;
}
.logo {
    text-align: center;
    margin-top: 32px;
    position: relative;
    z-index: 3;
    margin-inline: 400px;
}

.header_position{
    position: relative;
    top: -74px;
}

/* Logo visible au scroll */

/* Buttons */
.btn-contact,
.open-menu {
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    font-family: 'DM Sans';
    letter-spacing: -0.04em;
    line-height: 24px;
    color: #000;
    border: 1px solid #000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color .3s ease, color .3s ease, border-color .3s ease, filter .3s ease, transform .3s ease;
}
.btn-contact {
    padding: 12px 16px;
}
.btn-contact img,
.open-menu img {
    width: 24px;
    height: 24px;
}
.open-menu {
    padding: 12px;
    width: 48px;
    height: 48px;
    justify-content: center;
}
.btn-contact:hover,
.open-menu:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}
.btn-contact:hover img,
.open-menu:hover img {
    filter: invert(1);
}
.open-menu.is-active {
    background: #000;
    border-color: #000;
}
.open-menu.is-active img {
    filter: invert(1);
    transform: rotate(45deg);
}

/* Menu */
.menu {
    display: flex;
    align-items: center;
    gap: 8px;
}
.menu-links {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #000;
    border-radius: 12px;
    padding: 12px 16px;
    color: #fff;
    opacity: 0;
    transform: translateX(8px) scale(.97);
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
}
.menu-links.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.mobile-menu-links.is-open {
    max-height: none;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    padding: 12px 24px;
}
.menu-links a, .mobile-menu-links a {
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    font-family: 'DM Sans';
    letter-spacing: -0.04em;
    transition: opacity .3s ease;
}
.mobile-menu-links a{
    font-size: 16px;
}
.menu-links:hover a, .mobile-menu-links:hover a {
    opacity: .15;
}
.menu-links:hover a:hover, .mobile-menu-links:hover a:hover {
    opacity: 1;
}

/* Overlay */
.menu-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

/* Projets */
.project-type-container {
    display: flex;
    align-content: center;
    justify-content: space-between;
    padding: 0 52px;
}
.project-type-left,
.project-type-right {
    display: flex;
    align-content: center;
    gap: 12px;
}

.type{
    font-size: 20px;
    font-weight: 400;
    color: #000;
    border-radius: 24px;
    padding: 4px 12px;
    border: solid #000 1px;
}

.project-container{
    margin-top: 0px;
}

.logo-desc{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 52px;
}

.logo-desc.cashew-top{
    margin-top: 52px;
}

.logo-desc-img img{
    width: 220px;
}

.logo-desc-text{
    max-width: 60%;
    font-size: 20px;
    font-family: 'DM Sans';
    letter-spacing: -0.04em;
    font-weight: 400;
    text-align: right;
    color: #000;
}

.overview-container{
    margin-top: 104px;
    padding: 0 52px;
}

.overview-title{
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.o-title{
    font-size: 60px;
    font-weight: 500;
    color: #000;
}

.o-subtitle{
    font-size: 20px;
    font-weight: 300;
    font-family: 'DM Sans';
    letter-spacing: -0.04em;
    color: #000;
    margin-top: 20px;
    max-width: 70%;
}

.view-img-top, .edu-top-img{
    margin-top: 104px;
    width: 100%;
    height: auto;
}

.edu-logo-desc{
    margin-top: 52px;
}

.view-img-top img, .edu-top-img img{
    width: 100%;
    height: auto;
}

.overview-desc{
    margin-top: 104px;
    display: flex;
    justify-content: space-between;
    padding: 0 52px;
    gap: 52px;
}

.view-title{
    font-size: 60px;
    font-weight: 500;
    color: #000;
}

.view-desc{
    font-size: 20px;
    font-weight: 300;
    font-family: 'DM Sans';
    letter-spacing: -0.04em;
    color: #000;
    max-width: 80%;
    margin-top: 32px;
}

.view-middle-img{
    margin-top: 104px;
    width: 100%;
    padding: 0 52px;
}

.renov-top-img{
    margin-top: 52px;
    width: 100%;
    padding: 0 52px;
}

.renov-top-img img{
    width: 100%;
    height: auto;
}

.view-middle-img img{
    width: 100%;
    height: auto;
}

.overview-middle{
    margin-top: 104px;
}

.desktop-view,.mobile-view{
    padding: 0 52px;
    text-align: center;
}

.mobile-view{
    margin-top: 104px;
}

.desktop-view-title{
    font-size: 40px;
    font-weight: 500;
}

.desktop-view-desc{
    font-size: 20px;
    font-weight: 300;
    font-family: 'DM Sans';
    letter-spacing: -0.04em;
    color: #000;
    max-width: 80%;
    margin: 16px auto 0 auto;
}

.desktop-img,.mobile-img{
    margin-top: 104px;
    width: 100%;
}

.mobile-img img{
    width: 100%;
    height: auto;
}

.desktop-img img{
    width: 100%;
    height: auto;
}

.work-process{
    margin-top: 104px;
    padding: 0 52px;
}

.work-process-title{
    font-size: 60px;
    font-weight: 500;
    color: #000;
    text-align: center;
}

.work-process-desc{
    font-size: 20px;
    font-weight: 300;
    font-family: 'DM Sans';
    letter-spacing: -0.04em;
    color: #000;
    max-width: 80%;
    margin: 16px auto 0 auto;
    text-align: center;
}

.work-process-img{
    margin-top: 104px;
    width: 100%;
}

.work-process-img img{
    width: 100%;
    height: auto;
}

.agri-top-img img{
    width: 100%;
    height: auto;
}
.edu-top-img.ovia_inline{
    padding-inline:52px
}
.ovia_view_top{
    padding: 0 24px;
}

.ovia_typo_size img{
    max-width: 70%;
}
.ovia_typo_size{
    text-align: center;
}

.project-end-img, .agri-top-img{
    margin-top: 104px;
    width: 100%;
    padding: 0 52px;
}

.agri-top-img{
    margin-top: 0px;
}

.project-end-img img{
    width: 100%;
    height: auto;
}

.next-project{
    margin-top: 104px;
    margin-bottom: 104px;
    padding: 0 52px;
    text-align: center;
}

.next-project a{
    text-decoration: none;
    font-size: 40px;
    font-weight: 400;
    font-family: 'DM Sans';
    letter-spacing: -0.04em;
    color: #000;
    border-bottom: solid #000 1px;
    padding-bottom: 8px;
    transition: color .3s ease;
}

.next-project a:hover{
    color: #707070;
}

.top-104{
    margin-top: 104px;
}

.top-154{
    margin-top: 154px;
}

.no-padding{
    padding: 0;
}
/* Hero */
.hero {
    padding-inline: 52px;
    padding-top: 70px;
    padding-bottom: 80px;
}
.hero-title {
    font-size: 80px;
    font-weight: 500;
    color: #000;
    position: relative;
    display: inline-block;
    text-align: left;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.char {
  transform: translateY(115px);
  transition: transform 0.1s;
}

.slide-right {
	-webkit-animation: slide-right 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.6s both;
	        animation: slide-right 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.6s both;
}

.flip-in-hor-bottom {
	-webkit-animation: flip-in-hor-bottom 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.9s both;
	        animation: flip-in-hor-bottom 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.9s both;
}

.glitch-text.glitching {
            animation: shake 0.3s;
        }

        .glitch-text.glitching::before,
        .glitch-text.glitching::after {
            content: attr(data-text);
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0.8;
        }

        .glitch-text.glitching::before {
            animation: glitch-before 0.3s infinite;
            text-shadow: -4px 0 #fff;
            clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
        }

        .glitch-text.glitching::after {
            animation: glitch-after 0.3s infinite;
            text-shadow: 4px 0 #888;
            clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
        }

        @keyframes shake {
            0%, 100% { transform: translate(0, 0); }
            10% { transform: translate(-5px, -5px); }
            20% { transform: translate(5px, 5px); }
            30% { transform: translate(-5px, 5px); }
            40% { transform: translate(5px, -5px); }
            50% { transform: translate(-5px, -5px); }
            60% { transform: translate(5px, 5px); }
            70% { transform: translate(-5px, 5px); }
            80% { transform: translate(5px, -5px); }
            90% { transform: translate(-5px, 0); }
        }

        @keyframes glitch-before {
            0% { 
                clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%); 
                transform: translate(-4px, 0); 
            }
            25% { 
                clip-path: polygon(0 20%, 100% 20%, 100% 60%, 0 60%); 
                transform: translate(4px, 0); 
            }
            50% { 
                clip-path: polygon(0 40%, 100% 40%, 100% 80%, 0 80%); 
                transform: translate(-4px, 0); 
            }
            75% {
                clip-path: polygon(0 10%, 100% 10%, 100% 50%, 0 50%); 
                transform: translate(4px, 0);
            }
            100% { 
                clip-path: polygon(0 30%, 100% 30%, 100% 70%, 0 70%); 
                transform: translate(-4px, 0); 
            }
        }

        @keyframes glitch-after {
            0% { 
                clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%); 
                transform: translate(4px, 0); 
            }
            25% { 
                clip-path: polygon(0 30%, 100% 30%, 100% 70%, 0 70%); 
                transform: translate(-4px, 0); 
            }
            50% { 
                clip-path: polygon(0 10%, 100% 10%, 100% 50%, 0 50%); 
                transform: translate(4px, 0); 
            }
            75% {
                clip-path: polygon(0 45%, 100% 45%, 100% 85%, 0 85%); 
                transform: translate(-4px, 0);
            }
            100% { 
                clip-path: polygon(0 60%, 100% 60%, 100% 95%, 0 95%); 
                transform: translate(4px, 0); 
            }
        }

@-webkit-keyframes slide-right {
  0% {
    -webkit-transform: translateX(-300px);
            transform: translateX(-300px);
    opacity: 0;
  }
  90% {
    opacity: 0.5;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slide-right {
  0% {
    -webkit-transform: translateX(-300px);
            transform: translateX(-300px);
    opacity: 0;
  }
  90% {
    opacity: 0.5;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}

@-webkit-keyframes flip-in-hor-bottom {
  0% {
    -webkit-transform: rotateX(80deg);
            transform: rotateX(80deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateX(0);
            transform: rotateX(0);
    opacity: 1;
  }
}
@keyframes flip-in-hor-bottom {
  0% {
    -webkit-transform: rotateX(80deg);
            transform: rotateX(80deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateX(0);
            transform: rotateX(0);
    opacity: 1;
  }
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 52px;
}

.hero-texte {
    display: flex;
    font-size: 20px;
    font-weight: 400;
    font-family: 'DM Sans';
    letter-spacing: -0.04em;
    max-width: 70%;
    gap: 52px;
    color: #000;
}

.hero-texte p:first-child {
    width: 40%;
}

.hero-texte p:last-child {
    width: 60%;
}

.waving-hand {
  animation-name: wave-animation;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  transform-origin: 70% 70%;
  display: inline-block;
}

@keyframes wave-animation {
  0% { transform: rotate( 0.0deg) }
  15% { transform: rotate(14.0deg) }  /* The following five values can be played with to make the waving more or less extreme */
  30% { transform: rotate(-8.0deg) }
  40% { transform: rotate(14.0deg) }
  50% { transform: rotate(-4.0deg) }
  60% { transform: rotate(10.0deg) }
  70% { transform: rotate( 0.0deg) }  /* Reset for the last half to pause */
 100% { transform: rotate( 0.0deg) }
}

.hero-texte-1{
    font-weight: 400;
}

.hero-video-container{
    display: flex;
    justify-content: flex-end;
    margin-inline: 52px;
    justify-content: space-between;
    align-items: end;
}

.hero-video {
    border-radius: 24px;
    background: bisque;
    width: 45%;
    height: 400px;
    transition: margin-inline 1.2s ease;
}

.web-texte{
    font-size: 100px;
    color: #000;
}

.web-texte-desc{
    font-size: 16px;
    color: #000;
    font-family: 'DM Sans';
    letter-spacing: -0.04em;
}

.web-texte-container{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.web-texte-container-left{
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;
}

.voir-projets-hero{
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    font-family: 'DM Sans';
    letter-spacing: -0.04em;
    color: #000;
    border: 1px solid #000;
    border-radius: 52px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    transition: background-color .3s ease, color .3s ease, border-color .3s ease, filter .3s ease, transform .3s ease;
}

.voir-projets-hero:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.voir-projets-hero:hover img {
    filter: invert(1);
}

.hero-vid-second{
    margin-top:104px;
    display: flex;
    justify-content: flex-end;
    margin-inline: 52px;
    justify-content: space-between;
    align-items: end;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}
.hero-video.is-tight video {
    transform: scale(1.01);
    transition: transform 1.2s ease;
}

/* Services */
.services {
    padding: 104px 52px;
    background-color: #000;
    margin-top: 104px;
    color: #fff;
}
.services-title-content {
    display: flex;
    justify-content: space-between;
}
.services-subtitle {
    font-size: 20px;
    font-family: 'DM Sans';
    letter-spacing: -0.04em;
    font-weight: 400;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-bottom: 20px;
    max-width: 400px;
}
.services-title {
    font-size: 80px;
    font-weight: 500;
    color: #fff;
    max-width: 700px;
    line-height: 1.06;
}
.services-container {
    margin-top: 104px;
}
.service {
    border-top: 1px solid #fff;
    padding: 32px 0;
}

.service-number {
    font-size: 20px;
    font-weight: 300;
}
.service-full-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: min-height .45s ease;
}
.service-title h3 {
    font-size: 60px;
    font-weight: 500;
    color: #fff;
}

.service-title p {
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    max-width: 400px;
    font-family: 'DM Sans';
    letter-spacing: -0.04em;
}
.service-description {
    font-size: 16px;
    font-weight: 400;
    font-family: 'DM Sans';
    letter-spacing: -0.04em;
    color: #fff;
    max-width: 30%;
}
.service-description {
    text-align: right;
    margin-left: auto;
}
.service-title {
    min-width: 40%;
}   
.service-title p {
    margin-top: 16px;
}

.closing-service {
    border-bottom: 1px solid #fff;
}

/* REPLACE the specific inactive/active paragraph rules with these generic ones */

/* Collapse ANY paragraph inside service-full-container when it gets .inactive */
.service-full-container p.inactive {
    height: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transform: translateY(10px) scale(.95);
    pointer-events: none;
    transition: height .4s ease, margin .3s ease, opacity .35s ease, transform .4s ease, visibility .4s;
}

/* Expanded state */
.service-full-container p.active {
    height: auto;
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    transition: opacity .4s ease, transform .4s ease;
}

/* Keep description default transition (optional) */
.service-description {
    transition: height .4s ease, margin .3s ease, opacity .35s ease, transform .4s ease;
}

/* Align items center by default, shift to flex-start on hover */
.service-full-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service:hover .service-full-container {
    align-items: flex-start;
}

/* Title color only while hovering the whole service */
.service .service-title h3 {
    transition: color .3s ease;
}
.service:hover .service-title h3 {
    color: #fff;
}

/* Service video + active states */
.service-video-description {
    width: 0;
    height: 0;
    flex: 0 0 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    border-radius: 24px;
    transform: translateY(10px) scale(.95);
    transition: width .45s ease, height .45s ease, opacity .35s ease .1s, transform .45s ease, visibility .45s;
}
.service-video-description.active {
    width: 600px;
    height: 300px;
    flex: 0 0 500px;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
    transform: translateY(0) scale(1);
    transition: width .45s ease, height .45s ease, opacity .35s ease, transform .45s ease;
}

.service-video-description img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.inactive {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(.97);
    pointer-events: none;
    transition: opacity .4s ease, transform .4s ease, visibility .4s;
}
.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    transition: opacity .4s ease, transform .4s ease;
}

/* Dim non-hovered services */
.services-container .service {
    transition: opacity .3s ease;
}
.services-container:hover .service {
    opacity: .15;
}
.services-container:hover .service:hover {
    opacity: 1;
}

.voir-plus {
    text-decoration: none;
    width: fit-content;
    margin-top: 52px;
    font-size: 20px;
    font-weight: 500;
    font-family: 'DM Sans';
    letter-spacing: -0.04em;
    line-height: 24px;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    transition: background-color .3s ease, color .3s ease, border-color .3s ease, filter .3s ease, transform .3s ease;
}

.voir-plus img {
    width: 24px;
    height: 24px;
    filter: invert(1);
}

.voir-plus:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.voir-plus:hover img {
    filter: invert(0);
}

.projets {
    padding: 70px 52px;
}

.no-padding-top{
    padding-top: 0;
}

.projets-title-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.projets-title {
    font-size: 80px;
    font-weight: 500;
    color: #000;
}

.all-projets{
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: solid #000 1px;
    height: fit-content;
    transition: background-color .3s ease, color .3s ease, border-color .3s ease, filter .3s ease, transform .3s ease;
}

.all-projets span {
    font-size: 32px;
    font-weight: 400;
    font-family: 'DM Sans';
    letter-spacing: -0.04em;
    color: #000;
}

.all-projets img {
    width: 32px;
    height: 32px;
}

.all-projets:hover {
    border-bottom: solid #a0a0a0 1px;
}

.all-projets:hover span {
    color: #a0a0a0;
}

.projets-container{
    margin-top: 70px;
}

.two-projet-container{
    display: flex;
    justify-content: space-between;
    gap: 32px;
}

.projet{
    width: 48%;
}

/* === MIRROR STRIPES === */

.projet-video-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/3;
}

/* image fallback (mobile / no-hover) */
.projet-video-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* stripe */
.projet-video-container .fragment {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;

  clip-path: inset(
    0
    calc(100% - (var(--i) + 1) * var(--unit))
    0
    calc(var(--i) * var(--unit))
  );
}

/* image (équivalent fragment__inner) */
.projet-video-container .fragment img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transform: translateX(calc(var(--mouse-x) * var(--strength)));
  will-change: transform;
  transition: transform .15s linear;
}


.projet-title{
    margin-top: 24px;
    font-size: 40px;
    font-weight: 500;
    color: #000;
}

.projet-description{
    margin-top: 8px;
    font-size: 16px;
    font-weight: 400;
    font-family: 'DM Sans';
    letter-spacing: -0.04em;
    color: #000;
}

.pin-container{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.pin{
    border: solid #000 1px;
    border-radius: 12px;
    padding: 8px 16px;
    background-color: #e1e1e1;
    width: fit-content;
    font-size: 12px;
    font-family: 'DM Sans';
    letter-spacing: -0.04em;
    color: #000;
}

.right-align{
    text-align: right;
}

.right-align-display{
    justify-content: flex-end;
}

.two-projet-container + .two-projet-container{
    margin-top: 70px;
}

.voir-tout-les-projets{
    text-decoration: none;
    width: fit-content;
    margin-top: 70px;
    font-size: 20px;
    font-weight: 500;
    font-family: 'DM Sans';
    letter-spacing: -0.04em;
    line-height: 24px;
    color: #000;
    border: 1px solid #000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    transition: background-color .3s ease, color .3s ease, border-color .3s ease, filter .3s ease, transform .3s ease;
}

.voir-tout-les-projets:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.voir-tout-les-projets:hover img {
    filter: invert(1);
}
.voir-tout-les-projets img {
    width: 24px;
    height: 24px;
}

/*Contactez moi*/
.contact-me{
    margin: 32px 52px 104px 52px;
    padding-top: 32px;
    border-top: solid #000 1px;
}
.contact-intro{
    font-size: 16px;
    font-family: 'DM Sans';
    letter-spacing: -0.04em;
    color: #000;
}
.contact-text{
    margin-top: 16px;
    font-size: 16px;
    font-family: 'DM Sans';
    letter-spacing: -0.04em;
    color: #000;
}
.contact-privacy{
    margin-top: 16px;
    font-size: 12px;
    font-family: 'DM Sans';
    letter-spacing: -0.04em;
    color: #000;
}
.contact-form{
    width: 50%;
    margin-top: 32px;
}
#name, #email, #message{
    width: 100%;
    padding: 12px 0px;
    border: none;
    border-bottom: solid #000 1px;
    font-size: 16px;
    font-family: 'DM Sans';
    letter-spacing: -0.04em;
    color: #000;
    box-sizing: border-box;
}
#email, #message{
    margin-top: 30px;
}
#message{
    height: 150px;
    resize: none;
}
#name:focus, #email:focus, #message:focus{
    outline: none;
    border-bottom: solid #000 2px;
    background-color: #f5f5f5;
    padding-inline: 12px;
}
#submit-button{
    margin-top: 16px;
    font-size: 20px;
    width: 100%;
    font-weight: 500;
    font-family: 'DM Sans';
    letter-spacing: -0.04em;
    background-color: #000;
    color: #fff;
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 16px 16px;
    transition: background-color .3s ease, color .3s ease, border-color .3s ease, filter .3s ease, transform .3s ease;
}
#submit-button img {
    width: 32px;
    height: 32px;
    filter: invert(1);
}
#submit-button:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
    border: #000 1px solid;
}
#submit-button:hover img {
    filter: invert(0);
}
#submit-button:hover img.footer_navigation_link_arrow {
    transition:transform .4s ease-in-out;
    transform: rotate(1turn);
}

/*About me page*/

.about-me-section{
    padding: 52px 52px;
    display: flex;
    align-items: center;
    gap: 154px;
}
.about-me-intro{
    font-size: 20px;
    font-family: 'DM Sans';
    letter-spacing: -0.04em;
    color: #000;
    max-width: 60%;
}
.about-text{
    font-family: 'DM Sans';
    letter-spacing: -0.04em;
    color: #000;
    margin-top: 32px;
}
.about-me-img img{
    width: 170px;
    object-fit: cover;
}
.outils-frameworks{
    margin-top: 52px;
    margin-inline: 52px;
}
.outils-title{
    font-size: 80px;
    font-weight: 500;
    color: #000;
}
.outils-title span{
    color: #a0a0a0;
}
.outils-container{
    margin-top: 52px;
    margin-bottom: 104px;
    display: flex;
    row-gap: 32px;
    justify-content: space-between;
    flex-wrap: wrap;
}
.outil-item{
    border: solid #000 1px;
    border-radius: 12px;
    padding: 20px;
    width: 150px;
    height: 150px;
    align-content: center;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    
}
.outil-item img{
    width: 70px;
    height: auto;
}

/* about_me_container */
.about_me_section{
    padding: 52px 52px;
}

.about_me_title{
    font-size: 52px;
    font-weight: 400;
    font-family: 'DM Sans';
    letter-spacing: -0.04em;
    color: #000;
}
.about_me_container{
    display: flex;
    margin-top: 52px;
}
.slang_list_flex{
    display: flex;
}
.slang_item{
    font-size: 100px;
    font-weight: 700;
    padding: 0px;
    background: #000;
    color: #fff;
    width: fit-content;
    text-transform: capitalize;
}

.marge10{
    margin-top: 10px;
}

.filigram{
    max-width: 200px;
    max-height: 40px;
    position: relative;
    bottom: 20px;
    right: 70px;
    transform: rotate(10deg);
}
.filigram_end{
    bottom: 0;
    top: 110px;
    transform: rotate(-12deg)
}
.pyramid_all_cont{
    overflow: hidden;
    width: 100%;
    max-height: 500px;
}
.pyramid_animation{
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: pyramid_animate 10s linear 0s infinite;
  top: 0px;
  left: 122px;
}
@keyframes pyramid_animate {
    0% {
      transform: rotateX(75deg) rotateY(0deg) rotateZ(-30deg);
    }
    100% {
      transform: rotateX(75deg) rotateY(0deg) rotateZ(-390deg);
    }
}
  
.pyramid {
    width: 21vw;
    height: 21vw;
    background-color: transparent;
}
.pyramid_shadow {
    position: absolute;
    width: 10vw;
    height: 10vw;
    background-color: rgb(197, 196, 196);
    box-shadow: 0 0 3vw 2vw rgb(187, 187, 187);
}
.level:nth-child(2) {
    width: 12vw;
    aspect-ratio: 1;
    transform: translateX(1.5vw) translateY(1.5vw);
}
  
.level:nth-child(3) {
    width: 9vw;
    aspect-ratio: 1;
    transform: translateX(3vw) translateY(-9vw);
}
  
.level:nth-child(4) {
    width: 6vw;
    aspect-ratio: 1;
    transform: translateX(4.5vw) translateY(-16.5vw);
}
  
.level:nth-child(5) {
    width: 3vw;
    aspect-ratio: 1;
    transform: translateX(6vw) translateY(-21vw);
}
  
.pyramid_container {
    width: 100px;
    height: 100px;
    position: absolute;
    transform: translateX(calc(var(--i) * 3vw)) translateY(calc(var(--j) * 3vw))
      translateZ(calc(calc(var(--z) * 1.5vw) + 9vw));
}
  
.item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3vw;
    aspect-ratio: 1;
    position: absolute;
    background-color: rgb(0, 0, 0);
    transform: rotate3d(var(--x), var(--y), 0, 90deg) translateZ(1.5vw);
    border: 0.5px solid rgb(255, 255, 255);
    box-sizing: border-box;
}
  
.item:nth-child(2) {
    transform: rotate3d(var(--x), var(--y), 0, 180deg) translateZ(1.5vw);
}

/* Privacy policy */
.privacy-policy{
    padding: 32px 52px 52px 52px;
}

.privacy-part{
    margin-top: 32px;
    font-family: 'DM Sans'; 
    letter-spacing: -0.04em;
}

.privacy-part h2{
    font-size: 20px;
}

.privacy-texte{
    font-size: 16px;
    font-family: 'DM Sans';
    letter-spacing: -0.04em;
}
.no-padding-bottom{
    padding-bottom: 0;
}

/* LOGOFOLIO */
.logofolio-container{
    margin: 52px;
    padding-top: 40px;
    padding-bottom: 40px;
    border-top: solid #000 1px;
    border-bottom: solid #000 1px;
    position: relative;
    overflow: hidden;
}

/* couche background */
.logofolio-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--bg);
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity .6s ease;
    z-index: -1;
}

/* contenu au-dessus */
.logofolio-container > * {
    position: relative;
    z-index: 1;
}

/* section active */
.logofolio-container.is-active::before {
    opacity: 1;
}

/* image centrale */
.logofolio-box-img img {
    opacity: 1;
    transform: scale(.96);
    transition: opacity .4s ease, transform .4s ease;
}

.logofolio-container.is-active .logofolio-box-img img {
    opacity: 1;
    transform: scale(1);
}

/* layout existant */
.logofolio-box-top{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logofolio-bt-logo,
.logofolio-bt-year{
    display: flex;
    align-items: center;
    gap: 16px;
}

.logofolio-bt-logo,
.logofolio-bt-year span{
    font-size: 16px;
    font-weight: 400;
    font-family: 'DM Sans';
    letter-spacing: -0.04em;
    color: #000;
}

.logofolio-box-img{
    text-align: center;
    margin-top: 104px;
    margin-bottom: 104px;
}

.logofolio{
    margin: 0px 52px 104px 52px;
    border-top: solid #000 1px;
}

.logofolio_btn{
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 32px;
    gap: 32px; 
}

.logofolio_btn span{
    font-size: 80px;
    font-weight: 500;
    color: #000;
}

.logofolio_btn img{
    width: 120px;
    height: 120px;
    filter: invert(0);
    transition: filter .3s ease;
}

.logofolio_btn:hover .footer_navigation_link_arrow {
    transition:transform .4s ease-in-out;
    transform:rotate(1turn)
}

/* Partners*/

.partners {
    padding: 0px 52px 104px 52px;
    background-color: #FFFFFF;
}

.partners img{
    width: 100%;
    height: auto;
}

.partners--parallax {
    height: 100vh;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    padding: 104px 52px;
}
.partners-title {
    font-size: 80px;
    font-weight: 500;
    color: #000;
}

.partners-carousel-text-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 70px;
}

.partners-carousel{
    display: flex;
    gap: 52px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    width: 60%;
}

.partners-carousel-text{
    font-size: 20px;
    font-weight: 400;
    color: #000;
    min-width: 200px;
    max-width: 400px;
}

.footer {
    background-color: #000;
    padding: 104px 52px 32px 52px;
}


.footer-title{
    font-size: 70px;
    font-weight: 500;
    color: #fff;
    max-width: 70%;
}

.contact-links-container{
    display: flex;
    gap: 16px;
    margin-top: 52px;
    justify-content: space-between;
}

.contacts-title{
    font-size: 24px;
    font-family: 'DM Sans';
    letter-spacing: -0.04em;
    font-weight: 400;
    color: #fff;
    margin-bottom: 20px;
}

.follower-container{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-email a,.footer-telephone a{
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    font-weight: 300;
    font-family: 'DM Sans';
    letter-spacing: -0.04em;
    line-height: 24px;
    transition: opacity .3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-follow-container{
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-follow a{
    text-decoration: none;
}

.footer-email img,.footer-telephone img {
    width: 24px;
    height: 24px;
}

.footer-email:hover a,.footer-telephone:hover a {
    opacity: .75;
}

.footer-telephone {
    margin-top: 20px;
}
.footer_navigation_link:hover .footer_navigation_link_arrow {
    transition:transform .4s ease-in-out;
    transform:rotate(1turn)
}

.footer-logo{
    margin-top: 134px;
    text-align: center;
    transition: filter .3s ease;
}

.footer-logo img{
    width: 100%;
    height: auto;
    filter: invert(1);
}

.footer-logo:hover{
    opacity: .75;
    cursor: pointer;
    transition: filter .3s ease;
}

.footer-copyrights{
    margin-top: 24px;
    font-size: 16px;
    font-weight: 400;
    font-family: 'DM Sans';
    letter-spacing: -0.04em;
    color: #fff;
    display: flex;
    gap: 10px;
}

.footer-copyrights a{
    color: #fff;
    font-weight: 400;
}

/* Scroll lock */
html.menu-open,
body.menu-open {
    overflow: hidden;
}

/* Focus */
.menu-links a:focus-visible,
.open-menu:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   Ajouter ces styles à la fin de style.css
   ======================================== */

/* État initial : caché */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: 
        opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* État visible : apparaît */
.reveal.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Variantes d'animation pour différents éléments */

/* Hero Video - Scale up */
.hero-video.reveal {
    opacity: 0;
    transform: scale(0.95);
    transition: 
        opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        margin-inline 1.2s ease;
}

.hero-video.reveal.reveal-visible {
    opacity: 1;
    transform: scale(1);
}

/* Services - Slide from bottom */
.services.reveal {
    opacity: 0;
    transform: translateY(80px);
}

.services.reveal.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Service items - Staggered fade in */
.service.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 
        opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service.reveal.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Projets section */
.projets.reveal {
    opacity: 0;
    transform: translateY(60px);
}

.projets.reveal.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Projet items - Fade up */
.projet.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: 
        opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.projet.reveal.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Partners section */
.partners.reveal {
    opacity: 0;
    transform: translateY(60px);
}

.partners.reveal.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Partner logos - Scale in */
.partner.reveal {
    opacity: 0;
    transform: scale(0.8);
    transition: 
        opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.partner.reveal.reveal-visible {
    opacity: 1;
    transform: scale(1);
}

/* Footer */
.footer.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 
        opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer.reveal.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Contacts in footer - Staggered */
.contacts.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 
        opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contacts.reveal.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   DÉLAIS PROGRESSIFS (Stagger Effect)
   ======================================== */

/* Services - délai progressif */
.service:nth-child(1) { transition-delay: 0s; }
.service:nth-child(2) { transition-delay: 0.1s; }
.service:nth-child(3) { transition-delay: 0.2s; }
.service:nth-child(4) { transition-delay: 0.3s; }

/* Projets - délai progressif */
.projet:nth-child(1) { transition-delay: 0s; }
.projet:nth-child(2) { transition-delay: 0.15s; }

/* Partners - délai progressif */
.partner:nth-child(1) { transition-delay: 0s; }
.partner:nth-child(2) { transition-delay: 0.1s; }
.partner:nth-child(3) { transition-delay: 0.2s; }

/* Contacts footer - délai progressif */
.contacts:nth-child(1) { transition-delay: 0s; }
.contacts:nth-child(2) { transition-delay: 0.1s; }
.contacts:nth-child(3) { transition-delay: 0.2s; }

/* ========================================
   RÉDUCTION DE MOUVEMENT (Accessibilité)
   Pour les utilisateurs qui préfèrent moins d'animations
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .reveal.reveal-visible {
        opacity: 1;
        transform: none;
    }
}

@media screen and (max-width: 1458px) {
    .start-animation{
        font-size: 200px;
    }
    .hero {
        padding-inline: 52px;
        padding-top: 52px;
        padding-bottom: 52px;
    }
    .hero.no-padding-top{
        padding-top: 0;
        padding-bottom: 0;
    }
    
    .hero-title, .outils-title {
        font-size: 52px;
    }
    
    .hero-video-container,
    .hero-vid-second {
        align-items: end;
        margin-inline: 52px;
        margin-top: 52px;
    }
    
    .hero-video {
        height: 400px;
    }

    .web-texte{
        font-size: 80px;
    }

    .service-title, .projets-title {
        font-size: 52px;
    }
}

@media screen and (max-width: 1376px){
    .start-animation{
        font-size: 150px;
    }
    .pyramid_animation{
        top: 68px;
    }
    .services-title{
        font-size: 60px;
    }
}

@media screen and (max-width: 1200px){
    .logo-desc-img img{
        width: 180px;
        height: auto;
    }
    .view-img img{
        width: 500px;
        height: auto;
    }
    .o-title, .view-title, .desktop-view-title, .work-process-title{
        font-size: 40px;
    }
    .hero-texte p, .logo-desc-text, .o-subtitle, .type, .view-desc, .desktop-view-desc, .work-process-desc{
        font-size: 16px;
    }
    .btn-contact, .open-menu, .menu-links a{
        font-size: 16px;
    }
    .hero-video{
        height: 292px;
    }
    .web-texte-desc{
        max-width: 70%;
    }
    .web-texte-container{
        text-align: right;
    }
    .web-texte{
        font-size: 60px;
    }
    .voir-projets-hero a{
        font-size: 16px;
    }
    .services-title {
        font-size: 40px;
        max-width: 600px;
    }
    .services-subtitle {
        font-size: 16px;
    }
    .service-title h3 {
        font-size: 40px;
    }
    .service-title p {
        font-size: 16px;
    }
    .voir-plus {
        font-size: 16px;
    }
    .voir-projets-hero{
        font-size: 16px;
    }
    .all-projets span {
        font-size: 24px;
    }
    .two-projet-container{
        flex-direction: column;
        gap: 52px;
    }
    .projet{
        width: 100%;
    }
    .slang_item{
        font-size: 70px;
    }
    .pyramid_animation{
        top: 5px;
    }
    .pyramid_all_cont{
        max-height: 370px;
    }
    .footer-title{
        font-size: 40px;
        max-width: 100%;
    }
    .contacts-title{
        font-size: 20px;
    }
    .footer-email a,.footer-telephone a{
        font-size: 16px;
    }
    .footer-email img,.footer-telephone img {
        width: 20px;
        height: 20px;
    }
    .footer-follow img{
        width: 32px;
        height: 32px;
    }
}

@media screen and (max-width: 1030px){
    .start-animation{
        font-size: 120px;
    }
    .hero-video{
        height: 254px;
    }
    .service-video-description.active {
        width: 350px;
        height: 300px;
        flex: 0 0 300px;
    }
    .pyramid_animation {
        top: 35px;
    }
    .contact-form{
        width: 100%;
    }
    .logofolio-box-img img{
        max-width: 70%;
    }
}

@media screen and (max-width:850px){
    .start-animation{
        font-size: 100px;
        margin-inline: 24px;
    }
    .edu-top-img.ovia_inline{
        padding-inline: 24px 
    }
    .ovia_view_top{
        padding: 0 24px;
    }
    .contact-me{
        margin: 32px 24px 52px 24px;
    }
    .outils-frameworks{
        margin-inline: 24px;
    }
    .privacy-policy{
        padding: 0px 24px 52px 24px;
    }
    .about-me-section{
        padding: 32px 24px;
        gap: 78px;
    }
    .about-me-intro{
        font-size: 16px;
    }
    .about-me-img img{
        width: 130px;
    }
    .project-type-container, .logo-desc{
        padding:0 24px;
    }
    .logofolio-container{
        margin-inline: 24px;
    }
    .logofolio{
        margin-inline: 24px;
    }
    .logofolio_btn span{
        font-size: 52px;
    }
    .logofolio_btn img{
        width: 80px;
        height: 80px;
    }
    .header_position{
        padding-block: 0px;
        top: -42px;
    }
    .view-img img {
        width: 300px;
        height: auto;
    }
    .overview-desc{
        margin-top: 52px;
        flex-direction: column;
    }
    .overview-container{
        margin-top: 52px;
        padding: 0 24px;
    }
    .overview-desc, .desktop-view, .agri-top-img{
        padding: 0 24px;
    }
    .top-104{
        margin-top: 52px;
    }
    .top-154{
        margin-top: 78px;
    }
    .agri-top-img.no-padding{
        padding: 0;
    }
    .desktop-view-desc{
        max-width: 100%;
    }
    .view-img img{
        width: 100%;
        height: auto;
    }
    .view-middle-img, .mobile-view, .work-process, .project-end-img, .next-project{
        padding-inline: 24px;
        margin-top: 52px;
    }
    .next-project{
        margin-bottom: 52px;
    }
    .next-project a{
        font-size: 24px;
    }
    .view-img-img{
        width: 100%;
        height: auto;
    }
    .view-img-top, .overview-middle, .desktop-img, .mobile-img, .work-process-img{
        margin-top: 52px;
    }
    .view-title{
        text-align: center;
    }
    .view-desc{
        text-align: center;
        max-width: 100%;
    }
    .ligne{
        margin-inline: 24px;
    }
    .hero-texte{
        max-width: 100%;
    }
    header{
        padding-inline: 24px;
    }
    .hero{
        padding-inline: 24px;
    }
    .hero-video-container, .hero-vid-second{
        flex-direction: column;
        align-items: flex-start;
        margin-inline: 24px;
        margin-top: 32px;
    }
    .hero-vid-second{
        margin-top: 72px;
    }
    .hero-video{
        width: 100%;
        height: 500px;
    }
    .web-texte-container {
        text-align: left;
        width: 100%;
        align-items: flex-start;
        margin-top: 32px;
    }
    .web-texte-desc{
        max-width: 100%;
    }
    .web-texte-container-left{
        order: 1;
        margin-top: 32px;
        width: 100%;
    }
    .web-texte{
        order: -1;
    }
    .services-title-content{
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }
    .services-subtitle{
        margin-bottom: 0;
    }
    .service-video-description.active {
        width: 350px;
        height: 300px;
        flex: 0 0 300px;
    }
    .service-description{
        display: none;
    }
    .reveal.reveal-visible {
        opacity: 1;
        transform: none;
    }
    .service-full-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .service-title{
        width: 100%;
    }
    .service-title p{
        max-width: 100%;
    }
    .service-video-description.active {
        width: 100%;
        height: 500px;
        flex: 0 0 500px;
        margin-top: 32px;
    }
    .services {
        padding: 104px 24px;
        padding-top: 70px;
    }
    .projets{
        padding-inline: 24px;
    }
    .projet-title{
        font-size: 40px;
    }
    .all-projets span{
        font-size: 16px;
    }
    .projet-video-container{
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }
    .projet-title.right-align, .projet-description.right-align{
        text-align: left;
    }
    .pin-container.right-align-display{
        justify-content: flex-start;
    }
    .about_me_section {
        padding: 32px 24px;
    }
    .about_me_title{
        font-size: 32px;
    }
    .slang_item{
        font-size: 50px;
    }
    .pyramid_animation {
        top: -21px;
    }
    .pyramid_all_cont {
        max-height: 282px;
    }
    .partners {
        padding-inline: 24px;
        padding-bottom: 70px;
    }
    .footer {
        padding-inline: 24px;
        padding-top: 70px;
    }
}

@media screen and (max-width:670px){
    .start-animation{
        font-size: 80px;
    }
    .hero.no-padding-top{
        padding-top: 32px;
    }
    .hero-title, .outils-title {
        font-size: 40px;
    }
    .outil-item{
        width: 120px;
        height: 120px;
    }
    .outil-item img{
        width: 50px;
    }
    .logo-desc{
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .logo-desc-img img{
        width: 230px;
    }
    .o-title, .view-title, .desktop-view-title, .work-process-title{
        font-size: 32px;
    }
    .logo{
        display: none;
    }
    .agri-top-img{
        margin-top: 32px;
    }
    .type{
        font-size: 14px;
    }
    .header_position{
        top: 0px;
        margin-top: 24px;
    }
    .project-type-container{
        margin-top: 40px;
    }
    .logo-desc-text{
        max-width: 90%;
        margin-top: 32px;
        text-align: center;
    }
    .hero-video{
        height: 390px;
    }
    .services-container {
        margin-top: 70px;
    }
    .service-video-description.active {
        width: 100%;
        height: 390px;
        flex: 0 0 390px;
    }
    .projets-title{
        font-size: 40px;
    }
    .all-projets img {
        width: 24px;
        height: 24px;
    }
    .voir-tout-les-projets{
        font-size: 16px;
    }
    .projets{
        padding-bottom: 52px;
    }
    .pyramid_animation {
        top: 42px;
        left: 72px;
    }
    .pyramid_all_cont {
        max-height: 250px;
    }
    .footer-title{
        font-size: 32px;
    }
    .logofolio-box-img.ubb_small img{
        max-width: 30%;
    }
    .logofolio{
        margin-bottom: 52px;
    }
    .logofolio_btn span{
        font-size: 32px;
    }
    .logofolio_btn img{
        width: 52px;
        height: 52px;
    }
}

@media screen and (max-width:480px){
    .start-animation{
        font-size: 60px;
    }
    .overview-container{
        margin-top: 32px;
    }
    .project-type-container{
        flex-direction: column;
        gap: 16px;
    }
    .o-title, .view-title, .desktop-view-title, .work-process-title{
        font-size: 24px;
    }
    .about-me-img{
        display: none;
    }
    .about-me-intro{
        max-width: 100%;
    }
    .logo-desc-img{
        width: 100%;
        text-align: left;
    }
    .logo-desc-img img{
        width: 180px;
    }
    .view-desc{
        margin-top: 16px;
    }
    .logo-desc-text, .o-subtitle, .type, .view-desc, .desktop-view-desc, .work-process-desc{
        max-width: 100%;
    }
    .logo-desc-text.ovia_mobile_text{
        text-align: left;
    }
    .menu-links a, .open-menu, .btn-contact{
        font-size: 16px;
    }
    .menu-links{
        flex-direction: column;
        display: none;
    }
    .mobile-menu-links{
        display: flex;
        margin: 24px 24px 0 24px;
        max-height: 0;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        background: #000;
        border-radius: 32px;
        color: #fff;
        transform: translateX(8px) scale(.97);
        pointer-events: none;
        transition: max-height .5s ease, transform .4s ease;
    }
    .hero{
        padding-top: 32px;
        padding-bottom: 32px;
    }
    .hero-title, .outils-title {
        font-size: 28px;
    }
    .hero-texte{
        flex-direction: column;
        gap: 24px;
    }
    .hero-texte p:first-child, .hero-texte p:last-child{
        width: 100%;
    }
    .hero-content{
        margin-top: 32px;
    }
    .hero-video{
        height: 270px;
    }
    .services {
        margin-top: 52px;
        padding-bottom: 70px;
    }
    .services-title, .projets-title{
        font-size: 32px;
    }
    .all-projets{
        display: none;
    }
    .projets-container{
        margin-top: 52px;
    }
    .projets{
        padding-top: 52px;
    }
    .projet-title{
        font-size: 32px;
    }
    .voir-tout-les-projets{
        margin-top: 40px;
    }
    .about_me_section{
        padding-top: 0px;
    }
    .about_me_title{
        font-size: 24px;
    }
    .pyramid_all_cont{
        display: none;
    }
    .partners{
        padding-top: 20px;
        padding-bottom: 52px;
    }
    .footer{
        padding-top: 52px;
        padding-bottom: 20px;
    }
    .footer-title{
        font-size: 24px;
    }
    .contact-links-container{
        flex-direction: column;
        gap: 32px;
    }
    .follower-container{
        display: block;
    }
    .footer-logo{
        margin-top: 70px;
    }
    .footer-copyrights{
        flex-direction: column;
        gap: 8px;
    }
}

@media screen and (max-width:431px){
    .start-animation{
        margin: 0 auto 16px auto;
    }
    .hero-video {
        height: 230px;
    }
    .web-texte{
        font-size: 40px;
    }
    header{
        padding-block: 24px;
    }
}

@media screen and (max-width:418px){
    .start-animation{
        font-size: 50px;
    }
    .hero{
        padding-top: 16px;
    }
    .hero.no-padding-top{
        padding-top: 32px;
    }
}

@media screen and (max-width:375px){
    .hero-video {
        height: 200px;
    }
    .hero{
        padding-top: 16px;
    }
    .hero-title {
        font-size: 24px;
    }
    .service-video-description.active {
        width: 100%;
        height: 300px;
        flex: 0 0 300px;
    }
    .hero-video-container{
        margin-top: 16px;
    }
    .service-title h3 {
        font-size: 32px;
    }
    .pin{
        font-size: 10px;
        padding: 4px 8px;
    }
}