/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/



@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi-Regular.woff2') format('woff2'),
       url('fonts/Satoshi-Regular.woff') format('woff'),
       url('fonts/Satoshi-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi-Italic.woff2') format('woff2'),
       url('fonts/Satoshi-Italic.woff') format('woff'),
       url('fonts/Satoshi-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi-Bold.woff2') format('woff2'),
       url('fonts/Satoshi-Bold.woff') format('woff'),
       url('fonts/Satoshi-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: 700;
}


@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi-Medium.woff2') format('woff2'),
       url('fonts/Satoshi-Medium.woff') format('woff'),
       url('fonts/Satoshi-Medium.ttf') format('truetype');
  font-weight: bold;
  font-style: 500;
}
@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi-Light.woff2') format('woff2'),
       url('fonts/Satoshi-Light.woff') format('woff'),
       url('fonts/Satoshi-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi-Black.woff2') format('woff2'),
       url('fonts/Satoshi-Black.woff') format('woff'),
       url('fonts/Satoshi-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}


@font-face {
  font-family: 'Clash Display';
  src: url('fonts/ClashDisplay-Regular.woff2') format('woff2'),
       url('fonts/ClashDisplay-Regular.woff') format('woff'),
       url('fonts/ClashDisplay-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Clash Display';
  src: url('fonts/ClashDisplay-Medium.woff2') format('woff2'),
       url('fonts/ClashDisplay-Medium.woff') format('woff'),
       url('fonts/ClashDisplay-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Clash Display';
  src: url('fonts/ClashDisplay-Bold.woff2') format('woff2'),
       url('fonts/ClashDisplay-Bold.woff') format('woff'),
       url('fonts/ClashDisplay-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Clash Display';
  src: url('fonts/ClashDisplay-Semibold.woff2') format('woff2'),
       url('fonts/ClashDisplay-Semibold.woff') format('woff'),
       url('fonts/ClashDisplay-Semibold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Clash Display';
  src: url('fonts/ClashDisplay-Light.woff2') format('woff2'),
       url('fonts/ClashDisplay-Light.woff') format('woff'),
       url('fonts/ClashDisplay-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
    box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


:root{
    --dark-color: #0D291C;
    --light-color: #fefffb;
    --white-color: #fff;
    --background-light-color: #fefffb;
    /* --lime-yellow-green: #E3F971;
    --lime-yellow-green-transparent: #E3F97157; */
    --lime-yellow-green: #d2f65a;
    --lime-yellow-green-transparent: #d2f65a30; 
    /*--lime-green: #d2f65a;*/
    
    --lime-green: #a7f175;
    --lime-green-transparent: #a7f17557;
    --green: #267852;
    --dark-green: #0A2016;
    --transparent-green:#385b4a;
    --padding: 1.5rem;
    --title-size: clamp(2.5rem, 8vw, 4.2rem);
     --title-big-size: clamp(3.2rem, 10vw, 6.5rem);
    --text-size: clamp(1.6rem, 2vw, 1.8rem);
     --text-mini-size: clamp(1rem, 1vw, 1.4rem);
    --text-big-size: clamp(1.8rem, 10vw, 2.4rem);
    --sub-title-size: clamp(2.4rem, 10vw, 3.2rem);
    --text-font: 'Satoshi','Montserrat','Arial', serif;
    --title-font: 'Clash Display','Fahkwang','Montserrat','Arial', serif;
    --big-radius:5rem;
}

@media(min-width: 990px){
    :root{
        --padding: 3rem;
    }
}

html { font-size: 10px; }

/* Style de base, à personnaliser ou remplacer par Tailwind plus tard */
body {
    font-family: var(--text-font);
    margin: 0;
    padding: 0;
    font-size: 1.6rem;
    background: var(--white-color);
    overflow-x: hidden;
}
body.blocked{
    overflow: hidden;
}


.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-green);
    z-index: 9999;
    /* On démarre caché en haut */
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.7, 0, 0.3, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* État quand l'overlay couvre l'écran */
.overlay.is-active {
    transform: translateY(0);
}

/* État quand l'overlay sort par le bas */
.overlay.is-leaving {
    transform: translateY(100%);
}

.transition-opacity{
    transition: opacity ease .3s
}
.overlay .icon svg{
    animation: citronAnim 6s linear infinite;
}

.overlay .anim-overflow{
  overflow:hidden;
}
.overlay .logo-header{
  transform: translateY(200%);
  transition: all ease .3s;

}

.overlay .logo-header.visible{
  transform: translateY(0%);
}

#site-content{
  opacity: 0;
  transition: all ease .3s;


}
#site-content.visible{
  opacity: 1;
}

.site-ctn{
    padding: var(--padding);
}

.opacity-0{
    opacity: 0
}
.opacity-100{
    opacity: 1
}  

.translate-x-0{
    transform: translateX(0)
}
.translate-x-10{
    transform: translateX(-10px)
}
.translate-x-100{
    transform: translateX(-100%)
}

.translate-y-0{
   transform: translateY(0)
}
.translate-y-10{
    transform: translateY(-10px)
}
.translate-y-100{
    transform: translateY(-100%)
}
.translate-y-reverse-100{
  transform: translateY(100%)
}

.transition-delay-transition{
    transition-delay: .3s;
}
.hidden{
    display: none;
}
.real-item-ctn.x-enter {
  opacity: 0;
  transform: translateY(-15px);
}
.real-item-ctn.x-enter-active {
  transition: opacity 250ms ease, transform 250ms ease;
}
.real-item-ctn.x-enter-to {
  opacity: 1;
  transform: translateY(0);
}

/* Durées & easing */
.tiles-enter,
.tiles-leave {
  transition: transform 250ms ease, opacity 250ms ease;
}

/* Apparition */
.tiles-enter-start { opacity: 0; transform: translateY(-15px); }
.tiles-enter-end   { opacity: 1; transform: translateY(0); }

/* Disparition */
.tiles-leave-start { opacity: 1; transform: translateY(0); }
.tiles-leave-end   { opacity: 0; transform: translateY(-15px); }


/* TRANSITIONS END */
.bg-green{
    background-color: var(--dark-green);
}
.fixed {
  position: fixed;
}

.top-0 { top: 0; }
.left-0 { left: 0; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.z-50 { z-index: 50; }
/* HAMBURGER */
    .ham {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        transition: transform 400ms;
        -moz-user-select: none;
        -webkit-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    .hamRotate.active {
        transform: rotate(45deg);
    }
    .hamRotate180.active {
        transform: rotate(180deg);
    }
    .line {
        fill:none;
        transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
        stroke-width:3.5;
    }
    .ham4 .top {
        stroke-dasharray: 40 121;
        transform:translateY(6px);
    }
    .ham4 .bottom {
        stroke-dasharray: 40 121;
        transform:translateY(-6px);
    }
    .ham4.active .top {
        stroke-dashoffset: -68px;
        transform:translateY(0px);
    }
    .ham4.active .bottom {
        stroke-dashoffset: -68px;
        transform:translateY(0px);
    }

    .menu-toggle{
        position:relative;
        z-index: 100;
      
    }
    .menu-toggle svg{
        /* stroke: var(--lime-green);
        background-color: var(--dark-color); */
        stroke: var(--dark-color);
        background-color: var(--lime-yellow-green);
        border-radius: 50%; 
        margin: calc(var(--padding) / 2) 0;
        width: 45px;
        height: 45px;
        display:flex;
        justify-content: center;
        align-items: center;
    }
  /* END HAMBURGER */


/* NAV */

header {
    position: relative;
   z-index: 1;
    background-color: var(--dark-color);
    border-radius: var(--big-radius); 
    margin:85px 0 var(--padding);

}

.blob {
    position: absolute;
    width: 250px;
    height: 250px;
    background: var(--lime-green);
    opacity: .5;
    border-radius: 50%;
 
    pointer-events:none;
    z-index: 0;
    filter: blur(100px);
}
.blob-left {
    left: 0;
    bottom:  0;
}
.blob-right {
    right: 0;
    top: 0;
}
.head{
    position: fixed;
    z-index: 1;
    min-height: clamp(460px, 80dvh, 720px);
    display:flex;
    flex-direction: column;
    z-index: 10;
    overflow: hidden;
   
}

/* .hidden .logo-header{
    visibility: hidden;
    opacity: 0;
    transform: translateY(-100%);
} */

.logo-header{
    gap: 1px;
}
a .logo-header:hover{
  transform: scale(1.05);
}

.logo-header.animate .icon svg{
    animation: citronAnim 1s linear infinite;
    animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -1s);
    animation-iteration-count: 1;
    animation-fill-mode: both;
    transform: rotate(0deg);

}

@keyframes citronAnim{
    from{
        transform: rotate(0deg);
    }
    to{
        transform: rotate(1080deg);
    }
}

.logo-header{
    display:flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
    visibility: visible;
    transition: all ease .3s;
    opacity: 1;
    position: relative;
    z-index: 1;
    transform: translate(0);

}



.nav-ctn{
    display: flex;
    justify-content:space-between;
    align-items: center;
    padding: 0 var(--padding);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: var(--dark-color);
    transition: background-color ease .3s;
    min-height: 75px; 
    
}

/* .nav-ctn.hidden{
    background-color: transparent;
} */

button{
    background: none;
    outline:none;
    border: none;
    cursor: pointer;
    padding: 0;
}

button svg{
    display:block;
}

h1{
    font-family: var(--title-font);
    font-size: var(--title-size);
    color: var(--white-color);
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 2.4px;
}

h1 span{
    font-family: var(--title-font);
    color: var(--lime-yellow-green);
    font-weight: 600;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}
header h1{
    text-align: center;
    overflow-wrap: anywhere;
}

.header-content{
    display:flex;
    justify-content: center;
    gap:100px;
    align-items: center;
    flex-direction: column;
    height: 100%;
    padding: 10rem  var(--padding) 5rem;
    flex-grow:1;
}
.header-content .logo-header img{
    max-width: 500px;
    width: 100%;
}
.header-content-ctn{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    gap: var(--padding);
}
.arrow-btn{
    width: 45px;
    height: 45px;
    aspect-ratio: 1;
    display:flex;
    justify-content: center;
    align-items: center;
    background-color: var(--lime-yellow-green); 
    border-radius: 50%;
      transition: ease all .3s
}
.arrow-btn svg{
    stroke: var(--dark-color);
    width: 100%;
    height:auto;
    padding: 5px;
}

.arrow-btn:hover{
  transform: scale(1.25);

}

.nav-container{
    display:block;
   
    width:100%;
    height: 100dvh;
    background-color: var(--dark-color);
    position: fixed;
    top: 0;
    left:0;
    transition: all ease .3s;
    opacity: 0;
    pointer-events: none;

    transform: translateX(100%);

}

.nav-container.active{
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;

}



.nav-container ul{
  /* font-family: var(--text-font);
  font-weight: normal; */
  font-size: var(--title-size);
  width: 100%;
  margin-top: 88px;
  padding: var(--padding);
  font-family: var(--title-font);
  font-weight: 400;
  letter-spacing: 2.4px;
  text-transform: uppercase;

}
.nav-container ul li:not(:last-child){
  border-bottom: 1px solid var(--transparent-green);
}


.nav-container ul li a {
  color: var(--white-color);
  text-decoration:none;
  display: block;
  height: 100%;
  width: 100%;
  padding: 30px 0;
  position: relative;
  transform: translateX(0);
  transition: all ease .3s;

}

.nav-container ul li a:hover{
    color: var(--lime-green);
    transform: translateX(10px);
}
.nav-container ul li a:hover::after{
  width: calc(100% - 10px);
}

.nav-container ul li a::after{
  content:"";
  width: 0;
  height: 1px;
  background-color: var(--lime-green);
  position: absolute;
  left: 0;
  bottom: 0;
  transition: all ease .3s;
  transform: translateX(-10px);
}
.nav-container ul li a span{
  vertical-align:middle;
}

.nav-container ul li a svg{
  fill: var(--white-color);
  vertical-align:middle;
  display:inline-block;
  margin-right: 15px;
  width: 18px;
  height: auto;
  transform:translateX(0); 
  transition: all ease .3s;
}

.nav-container ul li a:hover svg{
  fill: var(--lime-green);
  /* transform:translateX(5px); */
}

.nav-container ul li a.btn-nav{
  background-color: var(--lime-green);
  color: var(--dark-color);
  margin: var(--padding) 0;
  padding: 30px var(--padding);
  border-radius: var(--big-radius);
  text-align: center;
}
.nav-container ul li a.btn-nav:hover{
  transform: translateX(0);
  background-color: var(--white-color);
}
.nav-container ul li a.btn-nav svg{
  fill: var(--dark-color);
}

.nav-container ul li a.btn-nav::after{
  display: none;
}





/* MARQUEE */

.marquee{
    width:100%;
 
    background-color: var(--lime-green);
    color: var(--dark-color);
    overflow: hidden;
    position: relative;
    padding: var(--padding);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    transform: rotate(1.5deg);
}
.marquee.alt{
      transform: rotate(-1.5deg);

}
.marquee-content {
    display: inline-block;
    vertical-align: center;
    white-space: nowrap;
    font-size: var(--text-big-size);
    font-weight: bold;
    text-transform: uppercase;
    font-family: var(--title-font);
    letter-spacing: 2.4px;
    text-transform: uppercase;
    font-weight: 500;
    /* font-style: italic; */

    /*animation: scrolling linear;
    animation-timeline: scroll(root);*/
  }
  .marquee-anim{
    animation-timing-function: linear;
    animation: scrolling 10s linear infinite; 
  }

  .marquee-content p, .marquee-content span {
    display: inline-block;
    margin: 0;
    padding: 0;
    margin-right: calc(var(--padding) / 2);
  }

  .marquee-content svg{
    fill: var(--dark-color);
  }

  @keyframes scrolling {
    0% {
      transform: translateX(-100%);
    }
  

      100% {
        transform: translateX(-200%);
     
      }
  }

  /* MAIN */


  main{
  margin:0;
    
    /* sticky el */
   /* overflow-x: hidden; */
    background: var(--background-light-color);
  }

  img{
    max-width: 100%;
    height: auto;
  } 
 
  .rounded-img img{
    border-radius: var(--big-radius);
  }

  .container{
    display:flex;
    justify-content: space-between;
    flex-direction: column;
    gap: var(--padding);
    max-width: 1650px;
    margin: var(--padding) auto;
    
  }

  .container h2, #project-page h1{
    font-family: var(--title-font);
    font-size: var(--title-size);
    color: var(--dark-color);
    font-weight: 600;
    letter-spacing: 2.4px;
    text-transform: uppercase;
  }
  h2 em, #project-page h1 em{
    /*background-image: url("data:image/svg+xml;charset=utf8,%3Csvg id='wavy-svg' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 184 48'%3E%3Cdefs%3E%3Cstyle%3E.st0%7Bfill:none%3B%7D.st1%7Bfill:%23e3f971%3B%7D.st2%7Bclip-path:url(%23clippath)%3B%7D%3C/style%3E%3C/defs%3E%3Cpath class='st1 path1' d='M32.8,11.8c.6,0,.7.2.8.5.1.3-.4.1-.5.2-.2,0-.5.2-.4.4.3.4,0,1.1,1.2,1,0,0,.2,0,.2,0,.4.6,1.2.4,1.9.4.6,0,1,.4.7.7-.3.3-.3.6,0,.8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0h0c0,.2-.2.4,0,.5l126,.8c-.2,0-.3-.2-.5-.3-.2,0-.4-.1-.3-.3.2-.8-1-1.3-1.2-2,0-.1-.3-.1-.5-.1-.8,0-1-.3-1-.7,0-.3-.2-.5-.6-.7-.3-.1-.8-.2-.8-.5,1,0,1.1-.1.8-.7-.2-.3-.3-.7-1.1-.6,0,0-.2,0-.2,0-.2-.4-.8-.4-1.3-.4-.3,0-.8,0-.7-.3.2-.4-.2-.5-.6-.7,0,0,0,0,0,0-.6-.4-1.5-.3-2.2-.3,0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,.1,1.9.2,2.9,0,.8-.1,1.2-.7,2.1-.6h0c.3-.2.9,0,1.1-.3.2-.4.7-.3,1.2-.3,1,.1,2.1.2,3.1,0,.5,0,.7-.2.6-.5,0-.2-.1-.3.3-.3.5,0,.7-.2,1-.5.4-.3.6-.7,1.2-1,0,0,0,0,0,0,.6,0,.9,0,.7-.5-.1-.2,0-.4.1-.6.4-.7-.2-1.3-1.2-1.5,0,0,0,0,0,0,0,0,0,0,0,0-.7,0-1.3-.3-2.1-.2,0,0,0,0,0,0,0,0,0,0,0,0-.6-.3-1.2-.6-1.9-.8,0,0,0,0,0,0,0,0,0,0,0,0h0c-.4-.2-.4-.5-.5-.8,0-.5-.4-.9-1.1-1.2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0h0c.1-.3-.2-.4-.5-.6-.5-.2-.8-.4-1.1-.7.1-.5-.6-.6-1-.8-.3-.2-.5-.3,0-.5.4,0,.3-.2.3-.5,0-.4-.4-.6-.9-.9-.7-.3-1.5-.5-2.4-.7,0,0,0,0,0,0-.3-.4-.4-1-1.4-.9-.2,0-.3-.1-.5-.2,0,0,0,0,0,0-.7-.2-1.3-.5-2.1-.6-2.9-.3-5.7-.6-8.6-.8-1.8-.1-3.6-.5-5.4-.5-.4,0-.6-.5-.5-.7L11.9,23Z'%3E%3C/path%3E%3C/svg%3E");
    */
    background-image: url("img/background-title-large.svg");
    background-repeat: no-repeat;
    background-size: 100%;
    padding: 5px;
    background-position: center center;
    display: inline-block;
  }

  .text-center{
    text-align: center;
  }

  .flex-bloc{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap: var(--padding);
  }

  .flex-bloc>*{
    flex-basis:100%;
    width: 100%;
  }



  .flex-bloc.small-grid{
    align-items: flex-end;
  }


  .contact-flex-bloc{
    align-items: flex-start;
  }

  .container p, .container li{
    font-family: var(--text-font);
    font-size: var(--text-big-size);
    color: var(--dark-color);
    line-height: 1.25;
    margin: .5rem 0;
    font-weight: 500;
    letter-spacing: 0.25px;
  }

  p.mini-size{
    font-size: var(--text-mini-size);
  }

  p a{
    color: var(--green);
  }

  .container p i{
    font-style: italic;
  }
  .container p b{
    font-weight:bold;
  }
  .link{
  color: var(--dark-color);
    position: relative;
    display: inline-flex;
    gap: 0;
    font-family: var(--title-font);
    font-size: var(--text-size);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    overflow: hidden;
    z-index: 1;
    transition: all ease .3s;
    align-items: center;
    padding: calc(var(--padding) / 2) var(--padding);
    margin: var(--padding) 0 0 0;
    letter-spacing: 1px;
    background-color: var(--lime-yellow-green);
    border: 1px solid var(--lime-green);
    border-radius: var(--big-radius);
    transition: all ease .3s;
    cursor: pointer;

  }
  
  .link span{
    padding: 0 5px;
  }
  

 

  .link:hover span{
    cursor: pointer;

 
    /*background-image: url("data:image/svg+xml;charset=utf8,%3Csvg id='wavy-svg' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 20 4'%3E%3Cstyle type='text/css'%3E.st0%7Bfill:none%3B%7D.st1%7Bfill:%23e3f971%3B%7D.st2%7Bclip-path:url(%23clippath)%3B%7D%3C/style%3E%3C/defs%3E%3Cpath class='st1 path1' d='M0,3.5 c 5,0,5,-3,10,-3 s 5,3,10,3 c 5,0,5,-3,10,-3 s 5,3,10,3'/%3E%3C/svg%3E");
    background-size: auto 6px;
    background-position: 0 100%;
    background-repeat: repeat-x;
    text-decoration: none;*/
  }

  .link:hover::before{
    left: 0;
    width: 100%;
    right: unset;
  }

  .link:hover::after{
    transform: translateX(5px);
  }

  .link::before{
    content:'';
    width: 0%;
    height: 100%;
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--white-color);
  transition: width ease .3s; 
    z-index: -1;
   
   
   
  }

  /* .link::after{
    content:"";
    width: 42px;
    height:42px;
    background: url('./img/arrow-right.svg') no-repeat center center;
    background-size: contain;
    display: block;
    transition: transform ease .3s, opacity ease .3s;
    transform: translateX(0);
  } */

  .link:hover, .link.alt:hover{ 
    color: var(--green);
    border-color: var(--green);
    transform: scale(1.05);
  }
 
  .link.alt{
    background-color: var(--dark-color);
    color: var(--lime-yellow-green);
  }

  .btn-ctn .link{
    margin: 0 calc(var(--padding) / 2);
  }

  .triple-blocs{
    max-width:80%;
    margin:5rem auto;
  }
  .triple-blocs>div{
    display:none;
  }
  .triple-blocs>div:nth-child(2){
    display:block;
  }

  section{
    position:relative;
    padding: 25px 0;
    z-index: 0;
  }

  section.blanco .container{
    background-color:var(--white-color);
    padding: var(--padding);
   /* background: radial-gradient(circle,rgba(251, 255, 228, 1) 0%, rgba(255, 255, 255, 1) 100%);*/
  }
  section::before{
    content:"";
    width: 350px;
    height: 350px;
    aspect-ratio:1;
    max-width:100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    border: 3px solid var(--lime-green);
    transition: all ease .3s;
   
    border-radius:50%;
    display:none;
    opacity: 0.5;
  }

  section#about::before{
    right: 0;
    left: unset;
    top: -5rem;
    transform: translateY(-50%);
  }
  section#services::before{
    transform: translateX(-50%);
    width: 150px;
    height: 150px;
    /* right: 0; */
    /* margin: auto; */
    top: -5rem;
    /* display: none;*/
    
  }
  section#real::before, section#project-page::before{
    bottom: 0;
    top: unset;
    right: 0;
    left: unset;
    transform: translateX(50%);
    border: 3px solid var(--green);
    opacity: 0.1;
  }

  section#contact::before{
    display: none;
  }



  .services{
    margin: 5rem 0;
    display: flex;
    flex-direction: column;
    gap: 5rem;
  }

  .card{
    display: flex;
    flex-direction: column;
    gap: var(--padding);
    overflow: hidden;
    position: relative;
    z-index: 1;
    border: 2px solid transparent;
    width:100%;
    transition: all ease .3s;
    cursor: default;
    border:1px solid var(--lime-green);
  }





  .card>div{
    padding: 1.5rem;
  }

  .card-title{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-weight: 900;
    font-size: var(--sub-title-size);
    color: var(--green);
    transition: color ease .3s;
    text-transform: uppercase;
  }
  .card h3{
    text-align:center;
    font-size: var(--text-size);
  }
  .card h4{
    font-weight: 500;
    font-size: var(--text-size);
    color: var(--green);
    transition: color ease .3s;
    text-transform: uppercase;

    font-family: var(--title-font);
    line-height: normal;

  }
  .card p{
    transition: color ease .3s;
  }

  .card-list{
 
    color: var(--green);
    transition: all ease .3s;

  }
  .card:hover{
    background-color: var(--lime-yellow-green-transparent);

  }
  .card-list ul{
    display: flex;
    flex-direction: column;
    gap: var(--padding);
  }
  .card-list ul li{
    padding-left: 20px;
    position: relative;
    font-weight: 500;
    font-size: var(--text-size);
    font-family: var(--title-font);
  }
  .card-list ul li::before{
    content:"";
    width: 16px;
    height: 16px;
    background: url("./img/puce.svg") no-repeat center center;
    background-size: contain;
    position: absolute;
    left: 0;
    top: 0;
  }
  .card-icon{
    position: relative;
    z-index: 1;
  }
  .card-icon::before{
    content:"";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    background: url("./img/background-icon.svg") no-repeat center center;
    background-size: contain;
    z-index: -1;
    transition: all ease .3s;
  }
 
  .card-icon svg{
    padding: var(--padding);
    width: 45px;
    height:auto;
    display: block;
    fill: var(--dark-color);
  }

  /* REALISATIONS */
  .real-ctn{
    align-items: stretch;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 3rem;

  }
  .real-item{
    /* border-radius: 15px; */
    overflow: hidden;
    position: relative;
    z-index: 1;
    text-decoration: none;
    color: var(--dark-color);
    display:block; 
    margin: 0;
    /* border: 3px solid var(--lime-green); */
    transition: all ease .5s;
    max-width:1024px;
  }



  .real-item h3{
    font-weight: bold;
    font-size: var(--sub-title-size);
    color: var(--green);
    font-family: var(--title-font);
    font-weight: 600;
    letter-spacing: 2.4px;
    text-transform: uppercase;
  }

 
  
  .real-img{
    position:relative;
    border-radius:5px;
  }
  .btn-animated{
    position: absolute;
    bottom: 0;
    right: 15px;
    z-index: 1;
    display: block;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    transform: translate(0, 50%);
    transition: all ease .3s;
    
  }

  .real-text{
    padding: var(--padding) 0;
  }

  .btn-animated svg{
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    filter: drop-shadow(0px 0px 15px #00000025);
  }
  .real-item:hover .btn-animated{
    transform: translate(0, 50%) scale(1.25);
  }

  .real-item .real-tags{
    margin: 15px 0;
    color:var(--green);
  }
  .real-item span{
    background: linear-gradient(to right, var(--lime-green) 0%, var(--lime-green) 100%);
    background-position: 0 100%;
    background-size: 0% 50%;
    background-repeat: no-repeat;

    display: inline;
    transition: all ease 1s;
    line-height: 1.75;
    font-size: var(--text-size);
    font-weight: 500;
    text-transform: uppercase;
  }

  .real-item:hover h3, .real-item:hover span{
    background-size: 100% 50%;
  }

  .real-img .img-ctn{
    overflow: hidden;
    position: relative;
    z-index: 1;
    border-radius: 0;
  }
  .real-img .img-ctn::after{
    content:"";
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    z-index:1;
    background-color: var(--lime-yellow-green-transparent);
    border-radius:50%;
    opacity: 0;
    transform: scale(0);
    transition: all ease .3s;
  }
  .real-item .img-ctn img{
    transition: transform ease .3s;
    display: block;
    border-radius:0;
  }

  .real-item:hover .real-img .img-ctn::after{
   opacity: 0.66;
    transform: scale(1.25);
    mix-blend-mode: screen;
  }

  .real-item:hover .img-ctn img{
    transform: scale(1.1);
  }

  @keyframes rotateText{
    from{
      transform: rotate(0deg);
    }
    to{
      transform: rotate(360deg);
    }
  }
    
  /* FOOTER */

  footer {
    position: relative;
    overflow: hidden;
    background-color: var(--dark-color);
    z-index: 10;
    border-radius: var(--big-radius);

}

footer .blob-left{
  transform: translate(-50%, 50%);
}
footer .blob-right{
  transform: translate(50%, -50%);
}
footer .container{
  z-index: 1;
  position: relative;
  padding: var(--padding);
}
footer .container h2{
  color: var(--white-color);
  font-size: var(--title-size);
  font-family: var(--title-font);
  font-weight: 400;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  text-align:center;
}


footer .container h2 span{
  font-family: var(--title-font);
  color: var(--lime-green);
  font-weight: 600;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

footer .btn-animated, #project-page .btn-animated{
  position: initial;
  transform: scale(1);
}
footer .band-contact{
  display:flex;
  flex-direction: column;
  gap: 5rem;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: -1;
}

.btn-animated .svg-text{
  animation: rotateText 25s linear infinite;
}

footer .band-contact .btn-animated:hover, #project-page .btn-animated:hover{
  transform: scale(1.25);
}

.footer-bloc{
  background-color: var(--dark-green);
  border-radius: 15px;
  padding: var(--padding);
  color: #FFF;
  font-size: var(--text-size);
  width:100%;

}
.footer-bloc p{
  color: #FFF;
  font-size: var(--text-size);
}

.footer-bloc ul li{
  margin: 10px 0;
}

.footer-bloc ul li a{
  color: #FFF;
  display: block;
  text-decoration:none; 
}
.footer-bloc ul li a span{
  color: #FFF;
  text-decoration: none;
  background: linear-gradient(to right, var(--lime-green) 0%, var(--lime-green) 100%);
    background-position: 0 100%;
    background-size: 0% 1px;
    background-repeat: no-repeat;
    display: inline;
    transition: all ease .5s;
    line-height: 1.75;
    font-size: var(--text-size);
}
.footer-bloc ul li a:hover span{
  background-size: 100% 1px;
}
  
.footer-bloc ul li a.footer-link{
  text-decoration: underline;
}
.footer-bloc .flex-bloc{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.socials a{
  display: inline-block;
  margin: 0 5px;
}
.socials a svg{
  fill: var(--lime-green);
  transition: all ease .3s;
}
.socials a:hover svg{
  fill: var(--light-color);
  transform:scale(1.25);
}
.footer-bloc-center{
  text-align: center;
}

.footer-bloc-flex{
  display:flex;
  flex-direction:column; 
  gap: var(--padding);
}

footer .logo-header{
  max-width: 500px;
  margin:auto;
}

footer .container{
  margin:5rem auto 0
}
.socials{
  text-align: right;
}

footer .blob{
  z-index: -1;
}



/*REALISTATIONS PAGE */
#tag-filters{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items:center;
  margin: var(--padding) 0;
  overflow-x:auto;
  overflow-y:hidden;
  padding:15px;
  gap: calc(var(--padding)*2);

}
#tag-filters button{
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    text-align:left;
    align-items: center;
    font-family: var(--title-font);
    font-size: var(--text-big-size);
    font-weight: 500;
    transition: all ease .3s;
    color: var(--dark-green);
} 
#tag-filters button:hover{
    
    color: var(--green);
    transform: translateX(5px);
}
#tag-filters button:hover .tag-arrow{
    transform: rotate(0);
    background-color: var(--lime-green);
}
.tag-arrow{
    width: 42px;
    height: 42px;
    aspect-ratio: 1;
    display:flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--green);
    border-radius: 50%;
    transition: all ease .3s;
    transform: rotate(-45deg);
}

#tag-filters .btn span{
  min-width:100px;
}

.form-field{
  position: relative;
  margin: calc(var(--padding) * 4) 0;
}

 .textarea-field{
    margin-top: calc(var(--padding) * 4 + 30px);
  }

label{
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 5px 0;
  font-size: var(--text-size);
  font-family: var(--title-font);
  font-weight: 500;
  color: var(--green);
  text-transform: uppercase;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  height: 150%;
  pointer-events: none;
  transition: ease .3s;

}
label span{
  font-size: var(--text-mini-size);
  margin: 0 5px;
  opacity: 0.5;
}


.textarea-field label{
  position: absolute;
  top: -30px;
  bottom: 0;
  left: 0;
  transform: translateY(0);
  height: auto;
  display: block;

}
textarea{
  min-height: 100px;
}

.input-field:focus+label,.input-field.is-active+label{
  transform: translateY(-100%);
  opacity: 1;
}



input, textarea{
  width: 100%;
  outline: none;
  background-color: transparent;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid var(--green);
  font-size: var(--text-size);
  font-family: var(--text-font);
}

button[type="submit"]{
  margin-bottom: var(--padding);
}

.field.error {
  border-color: #ff0033;
}

.field.error ~ label {
  color: #ff0033;
}
.textarea-field.has-error label {
  color: #ff0033;
}


@media(min-width:624px){
  .card-title{ 
    flex-direction:row;
    text-align:left;

    font-size: var(--text-big-size);
  }
  .card h3{
    text-align:left;
  }
}
@media(min-width:990px){
main{
    margin: var(--padding);
}
  section{
    padding: 50px 0;
  }

  .blob{
    width:500px;
    height:500px;
  }



  .card>div{
    height:100%;
  }





 

  .real-ctn{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  
  }

  .real-item-ctn:nth-child(odd) .real-item{
    margin-top:0;
   }
   .real-item-ctn:nth-child(even) .real-item{
     margin-top:2.5rem;
   }

   .real-item{
    margin:5rem 0;
   }

  .footer-bloc-flex{
    flex-direction:row;
    align-items:stretch;
    justify-content:center;
    gap: 3rem;
  }

  .footer-bloc-flex .footer-bloc{
    width:auto;
  }

  footer .flex-bloc>*{
    flex-basis:auto;
    width: auto;
  }

  .footer-bloc{
    background:transparent;
  }

  .footer-bloc .flex-bloc, .footer-bloc ul{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
  }

  .menu-toggle{
    display:none;
  }

  .nav-container{
    position:relative;
    pointer-events:all;
    height: auto;
    transform:translateX(0);
    opacity: 1;
    background:transparent; 
    z-index:1 ;
  }

  .nav-container ul{
    font-size: var(--text-big-size);
    width: auto;
    margin-top: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: var(--padding);

  }
  .nav-container ul li a.btn-nav{
  background-color: var(--lime-yellow-green);
  padding: 5px 10px;
  color: var(--dark-color);
  font-weight: 600;
  border-radius: var(--big-radius);
  margin: 0; 
  text-align: center;
}

.nav-container ul li a.btn-nav::after{
  display: none;
}
.nav-container ul li a.btn-nav svg{
  fill: var(--dark-color);
  display: none;
}
.nav-container ul li a.btn-nav:hover{
  background: var(--white-color); 
  color: var(--dark-color);
}
.nav-container ul li a.btn-nav:hover svg{ 
  fill: var(--dark-color);
}

  /* .hidden .nav-container{
    opacity: 0;
    transform: translateY(-100%);
  } */


  .nav-container ul li a svg{
    margin-right: 5px;
    width:8px;
  }

  .nav-container ul li:not(:last-child){
    border:none;
  }
  .nav-container ul li a{
    padding:10px 0;
    margin:0 10px;
    font-size: var(--text-size);
  }
  .nav-container ul li a:hover{
    transform:translateX(0);
  }
 

  .nav-ctn{
    padding: 0 var(--padding); 
    gap: var(--padding);
    
  }

 
  
}

@media(min-width:1240px){
  .services{
    flex-wrap: nowrap;
    justify-content: space-between;
    flex-direction: row;
  }
  .card{
    width: 100%;
  }
  
  .flex-bloc{
    flex-direction:row;
    gap: 50px;
  }

    .flex-bloc>*:first-child{
    flex-basis:50%;
    width: 50%;
  }

  footer .flex-bloc>*:first-child{
    flex-basis:100%;
    width: 100%;
  }

  .triple-blocs>div{
    display:block;
  }

  section::before{
    display:block;
  }
  #real .real-ctn{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  
  }
/* 
  .real-ctn .real-item-ctn:nth-child(3n + 1) .real-item {
    margin-top: 0;
  }
  
  .real-ctn .real-item-ctn:nth-child(3n + 2) .real-item {
    margin-top: 2.5rem;
  }
  
  .real-ctn .real-item-ctn:nth-child(3n + 3) .real-item {
    margin-top: 5rem;
  } */

    
}

@media (min-width: 1440px){

   .card-icon svg{
    width: 55px;
  }
}

@media (min-width: 1740px){
  .card h3{
    font-size: var(--text-big-size);
  }
}

/* REALISATION SINGLE */
.head.no-header{
  min-height: unset;
  margin-bottom:75px;
}

.head.no-header .nav-ctn.hidden{
  background-color: var(--dark-color);
}

.head.no-header .header-content, .head.no-header .blob{
  display:none;
}
.head.no-header .hidden .logo-header {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

section#project-page{
  padding: var(--padding) 0;
}
#project-page h1{
  font-size: var(--title-big-size);
}

.project-details{
  display:flex;
  justify-content: space-between;
  padding: var(--padding) 0;
  border-top: 1px solid var(--dark-green);
  gap: var(--padding);
  flex-wrap: wrap;
  border-bottom: 1px solid var(--dark-green);
  margin-bottom: calc(var(--padding) * 2);
}
.project-details li {
    flex-basis: calc((50% - var(--padding)));
    font-size: var(--text-size);
}
.project-details li span{
  display:block;
    text-transform: uppercase;
    margin: 5px 0;
}

.project-details li a{
  color: var(--dark-color);
}

.project-details.contact-details li a{
  text-decoration: none;
}

span.sub-list-title{
  color: var(--dark-color);
  opacity: 0.5;
  margin-bottom: calc(var(--padding) / 2);
  font-family: var(--title-font);
    text-transform: uppercase;

}
.project-details.contact-details{
  flex-direction: column;
  border-top:none;
  border-bottom: none;
   flex-wrap: nowrap;
}
.container p.sub-title{
    font-family: var(--title-font);
    font-size: var(--text-big-size);
    font-weight: 500;
    letter-spacing: 1px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--padding);
}

/* Toutes les images prennent 1 colonne par défaut */
.project-grid-item {
    width: 100%;
    box-shadow: 0 0 25px #00000025;

    overflow: hidden;
}

/* La description prend 2 colonnes (100%) */
.project-grid .desc {
    grid-column: 1 / -1;
}

/* La dernière image prend aussi 2 colonnes (100%) */
.project-grid-item:last-child {
    grid-column: 1 / -1;
}

/* Style images */
.project-grid img {
    width: 100%;
    height: auto;
    border-radius: 0;
    object-fit: cover;
    display: block;
}
.project-cover img{
  border-radius: 0;
}


.desc{
  margin:calc(var(--padding) *2) 0;
  display:flex;
  flex-direction:column;
  gap: var(--padding);
  position: relative;
  background: #FFF;
  padding: var(--padding);
}
.desc > *{
  flex-basis: 100%;
}

.desc p{
  font-size: var(--text-big-size);
}

.desc img{
  max-width: 100%;
  height: auto;
}



/* Les cartes empilées */
.sticky-card {
  min-height: 300px;
  margin-bottom: 100px; /* espace pour créer le stacking */
  border-radius: 5px;
  background: var(--white-color);
  display: flex;
  justify-content: center;
backdrop-filter: blur(30px);

  position: sticky;
  top: 100px; /* ==> point d'accroche */
  flex-direction: column;
  padding: var(--padding);
  border: 1px solid var(--lime-green);
}

.sticky-card svg{
  fill: var(--green);
  height: var(--sub-title-size);
}

.sticky-card h3{
  display: flex;
  flex-direction:row;
  gap:5px;
  color: var(--green);
    font-size: var(--sub-title-size);
  font-weight: 500;
  font-family: var(--title-font);
}
.desc .sticky-el{
  margin-bottom: 50px;
}

.sticky-card h3 span{
  text-align: left;
}


#project-page .btn-animated{
  position:initial;
  width: 150px;
  height: 150px;
  display: none;
}

#project-page .btn-animated svg{
  width:75px;
  height: 75px;
}

#project-page .btn-animated svg.svg-text{
  width: 125px;
  height: 125px;;
}



@media(min-width:479px){
  .project-details li {
    flex-basis: calc((25% - var(--padding)));
  }
 
  .project-details.contact-details li {
    flex-basis: calc((100% - var(--padding)));
  }

  .project-details.contact-details{
  flex-direction: row;
  }
}

@media(min-width:990px){

  #main-project{
    margin: calc(75px + var(--padding)) var(--padding);
  }
   .project-details{
      border-bottom:none;
      margin-bottom: var(--padding);
    }

    .desc{
      flex-direction:row;
      justify-content: space-between;
    }
    .desc > *{
      flex-basis: 50%;
    }

    .sticky-el{ 
      position:sticky;
      top: 100px;
    }

    #project-page .btn-animated{
      display:block;
    }

    .project-grid{
        grid-template-columns: repeat(2, 1fr);
    }

    .desc .sticky-el{
      min-height: 300px;
      margin-bottom:100px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin-top: -50px;
    }

    
  .contact-flex-bloc>div:first-child{
    flex-basis: 33%;
    width: 33%;
    border-right: 1px solid var(--dark-green);
    height: 100%;
    position: sticky;
    top: 100px;
  }
  .contact-flex-bloc>div:last-child{
    flex-basis: 66%;
    width: 66%;
  }

  .contact-flex-bloc form{
    padding: var(--padding);
  }
  .flex-bloc.contact-flex-bloc{
    flex-direction:row;
    gap: 50px;
    border-top: 1px solid var(--dark-green);
    border-bottom: 1px solid var(--dark-green);
  }
  .project-details.contact-details{
    flex-direction: column;
    margin: 0;
  }

  .form-field{
    position: relative;
    margin: calc(var(--padding) * 2) 0;
  }

  .textarea-field{
    margin-top: calc(var(--padding) * 2 + 30px);
  }

    
}