/*
Theme Name: Lithium Marketing
Author: Lithium Marketing
Requires at least: 5.3
Tested up to: 6.2.2
Requires PHP: 7.0
Version: 2.0
*/
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
@import url('./fonts/stylesheet.css');

:root {
    --main-color: #74AF0D;
    --sombre: #092101;
    --footer-color: white;
    --footer-link-color:white;
    --footer-link-color-hover: var(--main-color);
    --footer-social-color-svg: var(--sombre);
    --footer-social-color-svg-hover: white;
    font-family: "DM Sans", sans-serif;
    color: var(--sombre);
}

p {
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
}


.dm-sans {
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
  }

  .btn.btn-1, .btn.btn-2, .btn-outline-white, .btn-outline {
    padding: 10px 30px !important;
    text-transform: unset !important ;
    font-size: 14px;
    line-height: 27px;
    font-weight: 400;
    font-family: 'optiromanaroman-normalregular';
}

.btn-outline-white {
    --btn-bg-color: transparent;
    --btn-txt-color: white;
    --btn-bg-color-hover: white;
    --btn-txt-color-hover: var(--main-color);
    --btn-border-color:white;
}
.btn-outline {
    --btn-bg-color: transparent;
    --btn-txt-color: var(--main-color);
    --btn-bg-color-hover: white;
    --btn-txt-color-hover: var(--main-color);
    --btn-border-color:var(--main-color);
}

.btn.btn-1:first-letter, .btn.btn-2:first-letter {
    text-transform: uppercase !important;
}

.flex-1 {
    flex: 1;
}

.w-fit {
    width: fit-content !important;
}

.bg-sombre {
    background-color: var(--sombre) !important;
}
.object-cover {
    object-fit: cover;
    height: 100%;
    width: 100%;
}
.text-main {
    color: var(--main-color);
}
.bg-cover {
    background-size: cover;
    background-position: center;
}

.container {
    @media (min-width: 1500px) {
        max-width: 1300px !important;
    }
}
.container-lg {
    @media (min-width: 768px) {
        padding-left: 1.8rem !important;
        padding-right: 1.8rem !important;
    }
}

#header.header-fixed.perso {
    position: absolute; /* cause un PB pour le scroll  */
    background-color: transparent;
    padding-top: 2rem;
    .container-lg {
        border-bottom: 1px solid #707070;
    }

    .ze-logo {
        height: auto;
    }
    #menu-menu-principal {
        gap: 1.8rem;
    }
    #main-navbar > ul > li > a {
        margin: 0;
    }

    #main-navbar .sub-menu a {
        color: var(--sombre);

        &:hover {
            color: var(--main-color);
        }
    }


    #main-navbar #menu-menu-principal > li > a:hover, #main-navbar .current_page_item > a {
        color: var(--main-color);
        &::after {
            content: "";
            position: absolute;
            height: 2px;
            width: 100%;
            background-color: var(--main-color);
            bottom: calc(-1.5rem - 1px);
        }
    }  
    #main-navbar a {
        text-transform: capitalize;
        color: white;
    }      
}

.start-project {
    p {
        font-size: 16px;
        letter-spacing: 1.6px;
        line-height: 40px;
        font-weight: 300;
    }
    h2 {
        font-size: 50px;
        line-height: 50px;
        font-family: 'optiromanaroman-normalregular';
    }
}

footer {
    font-weight: 300;
    .the-content {
        border-top: 1px solid rgba(255, 255, 255, 0.385);
        border-bottom: 1px solid rgba(255, 255, 255, 0.385);
    }
    .lm-menu-separator {
        opacity: 0;
    }
    .lm-border-left {
        border-color: rgba(255, 255, 255, 0.385);
    }
    #back-to-top {
        
        right: 20px;
        border: 1px solid rgba(255, 255, 255, 0.385);
        aspect-ratio: 1/1 ;
    }

    .info {
        font-size: 15px !important;
        line-height: 23px !important;
        /* font-family: "poppins"; */
        .title {
            text-transform: uppercase;
            font-weight: 700;
            font-size: 15px !important;
            line-height: 23px !important;
        }
    }
}

.copyright  *{
    font-size: 14px !important;
    font-weight: 300 !important;
    a:hover {
        color: var(--main-color) !important;
    }
    #menu-menu-copyright a {
        text-decoration: underline;
        text-underline-offset: 5px;
    }
}

#footer #menu-menu-footer {
    a {
        font-size: 46px;
        line-height: 70px;
        font-family: 'optiromanaroman-normalregular';
        text-transform: capitalize;
    }
}


.lm-banner.perso {
    height: 100dvh;
    &::before {
        position: absolute;
        content: "";
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
        background: rgb(0,0,0);
        background: linear-gradient(180deg, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0) 100%);
    }

    h1 {
        font-family: 'optiromanaroman-normalregular';
        font-weight: 400;
        font-size: 100px;
        line-height: 100px;
    }
    p {
        font-size: 18px;
        letter-spacing: 1.8px;
        line-height: 40px;
        font-weight: bold;
    }
    @media (max-width: 768px) {
        h1 {
            font-size: 60px;
            line-height: 60px;
        }
    }
}

.section-services, .section-realisations {
    .title {
        font-size: 70px;
        font-family: 'optiromanaroman-normalregular';
        line-height: 50px;

        @media (max-width: 768px) {
            font-size: 50px;
            margin-bottom: 20px;
        }
    }
    .title ~ p {
        font-weight: 300;
        font-size: 16px;
        letter-spacing: 1.6px;
    }
}

.section-garantie {
    p > strong {
        font-size: 18px;
        font-weight: 700;
    }
    p {
        letter-spacing: 1.6px;
    }
}

.section-services .serv-img{
    aspect-ratio: 474/455;

    img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
}

.home-realisations {
    --decallage: 70px;
    padding-bottom: 70px;
    position: relative;
    .grid-container {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
    }
    .grid-item {
        border: 1px solid black;
        text-align: center;
        aspect-ratio: 384/410;

        a {
            height: 100%;
            width: 100%;
            display: block;
        }
    }
    .grid-item:nth-child(odd):nth-child(-n+5),
    .grid-item:nth-child(even):nth-child(n+6):nth-child(-n+10) {
        transform: translateY(var(--decallage));
    }

    /* Responsive adjustments */
    @media (max-width: 1200px) {
        .grid-container {
            grid-template-columns: repeat(4, 1fr);
        }
        .grid-item {
            transform: translate(0) !important;
        } 
        .grid-item:nth-child(odd){
            transform: translateY(var(--decallage)) !important;
        }
    }
    
    @media (max-width: 800px) {
        .grid-container {
            grid-template-columns: repeat(3, 1fr);
        }
        .grid-item:nth-child(odd):nth-child(-n+3),
        .grid-item:nth-child(even):nth-child(n+4):nth-child(-n+6),
        .grid-item:nth-child(odd):nth-child(n+7):nth-child(-n+9) {
            transform: translateY(var(--decallage));
        }
    }

    @media (max-width: 600px) {
        .grid-container {
            grid-template-columns: repeat(2, 1fr);
        }
        .grid-item {
            transform: translate(0) !important;
        } 
        .grid-item:nth-child(odd){
            transform: translateY(var(--decallage)) !important;
        }
    }

    /* @media (max-width: 400px) {
        .grid-container {
            grid-template-columns: 1fr;
        }
        .grid-item {
            transform: translate(0) !important;
        } 
        .grid-item:nth-child(odd){
            transform: translateY(var(--decallage)) !important;
        }
    } */

    div.content {
        position: absolute;
        height: calc(50% + var(--decallage));
        width: 100%;
        bottom: -70px;
        background: rgb(0,0,0);
        background: linear-gradient(180deg, rgba(0,0,0,0.90) 0%, rgba(0,0,0,0.3) 100%);
        display: grid;
        place-content: center;

        .container {
            max-width: 800px;
            font-size: 16px;
            line-height: 20px;
            letter-spacing: 1.6px;
            font-weight: 300;
        }
    }

}

.leaf-shape {
    /* position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    bottom: 0; */
    position: absolute;
    left: 0;
    right: 0;
    bottom: -40px;
    height: auto;
    z-index: 1;
    margin: 0 !important;
}

@media (max-width: 992px) {
    .leaf-shape {
        display: none;
    }
}

.home-entreprise {
        h2 {
            font-size: 70px;
            line-height: 50px;
            font-family: 'optiromanaroman-normalregular';
            font-weight: 400;
            letter-spacing: 0.7px;

        @media (max-width: 768px) {
            font-size: 50px;
            margin-bottom: 20px;
        }
        }
        h5 {
            font-weight: 300;
            font-size: 16px;
        }

    
}

.service-slide {
    @media (min-width: 768px) {
        width: 95vw;
    }

    .bg-sombre {
        background-color: rgba(4, 16, 0, 0.615) !important;
    }

    .slick-slide {
        margin: 0 20px;
    }
    .slick-list {
        margin: 0 -20px;
    }
    .my-card {
        transition-property: opacity;
        transition-duration: 500ms;
    }
    .my-slide:not(.slick-current) {
        .my-card {
            opacity: 0;
        }
    }
    .my-slide {
        min-height: 200px !important;
        @media (min-width: 768px) {
            min-height: 62dvh !important;
        }
    }
    .desc-with-nav {
        
    }
}
.bloc-slide {
    h2 {
        font-size: 60px;
        line-height: 50px;
    }
    @media (max-width: 768px) {
        h2 {
            font-size: 30px;
            line-height: 30px;
        }
    }
    p, .content {
       font-weight: 300;
       font-size: 16px;
       line-height: 20px; 
    }
    h4 {
        font-size: 18px;
        font-weight: 700;
        line-height: 20px;
        letter-spacing: 1.8px;
    }
}
.navigations-container .btn-carousel {
    background-color: transparent !important;
    border: 0.5px solid rgba(255, 255, 255, 0.578);
    box-shadow: none;
    max-height: 49px !important;
    aspect-ratio: 1/1 !important;
    &.left {
        transform: rotate(-90deg);
    }
    &.right {
        transform: rotate(90deg);
    }
    svg {
        height: 30px;
        fill: white;
    }
}

.decouverte-realisation {
    h2 {
        font-family: 'optiromanaroman-normalregular';
        font-size: 70px;
        line-height: 50px;
        font-weight: 400;
    }
    h4 {
        font-size: 18px;
        font-weight: 700;
        text-transform: uppercase;
        margin: 0;
    }
    p {
        font-size: 16px;
        letter-spacing: 1.6px;
        line-height: 40px;
    }
    @media (min-width: 768px) {
        .images {
            padding-top: 50px;

            & > div:nth-child(2) {
                margin-top: -50px;
            }
        }
        
    }
    @media (max-width: 768px) {
        h2 { 
            font-size: 50px;
            line-height: 40px;
        }
        p {
            line-height: 20px;
        }
    }
}

.realisation_content {
    * {
        font-size: 16px;
        letter-spacing: 1.6px;
        line-height: 40px;
        font-weight: 300;
    }
    h1, h2, h3, h4, h5 {
        font-size: 18px;
        line-height: 22px;
        letter-spacing: 1.8px;
        text-transform: uppercase;
        font-weight: 700;
    }
}


.iso-marquee { 
    padding: 1.4rem 0;
    font-size: 8vw;
    overflow: hidden;
}

.iso-marquee--long {
    /* font-size: 1.25vw; */
    @media (max-width: 768px) {
        font-size: 60px;
    }
}

.intro {
    h2 {
        font-family: 'optiromanaroman-normalregular';
        font-size: 45px;
        line-height: 55px;
    }
    p {
        font-size: 16px;
        letter-spacing: 1.6px;
        line-height: 40px;
    }
}
.section_projets {
    .list    {
        h4 {
            font-size: 20px;
            line-height: 50px;
            letter-spacing: 2px;
            font-weight: 500;
        }
        .text {
            font-size: 16px;
            letter-spacing: 1.6px;
            line-height: 20px;
            font-weight: 300;
        }
    }
}

.projet-en-tete {
    .content {
        background-color: rgba(4, 16, 0, 0.613);

        h3 {
            font-size: 50px;
            line-height: 50px;
            font-family: 'optiromanaroman-normalregular';
        }
        .text {
            font-size: 16px;
            line-height: 20px;
            letter-spacing: 1.6px;
        }
    }
}

.realisations-nav {
    .nav-back {
        font-size: 35px;
        line-height: 50px;
        font-family: 'optiromanaroman-normalregular';
        text-decoration: underline;
        text-underline-offset: 7px;
        color: white;
        &:hover {
            color: var(--main-color);
        }
    }
    .nav-rea {
        font-size: 50px;
        line-height: 50px;
        font-family: 'optiromanaroman-normalregular';
        color: var(--main-color); 
        text-underline-offset: 7px;
        text-decoration: none;
        &:hover {
            color: var(--main-color);
            text-decoration: underline;
        }
    }
}

.service-video {
    font-size: 18px;
    line-height: 30px;
}

.iso-marquee span {
    --tw:23ch;
     --ad:46s;
     display: inline-block;
    white-space: nowrap;
    color: #ffffff;
    opacity: 0.56;
    font-size: 100px;
    font-family: 'optiromanaroman-normalregular';
        font-weight: 400;
        line-height: 150px;
    width: var(--tw);
    text-shadow: var(--tw) 0 currentColor, calc(var(--tw) * 2) 0 currentColor, calc(var(--tw) * 3) 0 currentColor, calc(var(--tw) * 4) 0 currentColor;
    will-change: transform;
    animation: iso-marquee var(--ad) linear infinite;
    animation-play-state: play; 

    @media (max-width: 500px) {
        font-size: 70px;
        font-size: 100px;
    }
}

.realisation-archive {
    label {
        font-size: 20px;
        line-height: 25px;
        letter-spacing: 2px;
        text-align: start !important;
        
        @media (max-width: 500px) {
            font-size: 16px;
            img {
                width: 28px !important;
            }
        }

        * {
            vertical-align: middle;
        }
        img {
            width: 45px;
            aspect-ratio: 1/1;
        }
        input {
            background-color: transparent;
            border: 1px solid rgba(255, 255, 255, 0.385);
            border-radius: none;
            width: 32px;
            height: 32px;
            aspect-ratio: 1/1;
        }
        input[type="checkbox"]:checked {
            /* Définir la couleur ici */
            background-color: var(--main-color); /* Par exemple, changer en bleu */
        }
    }
}

article.realisation {
    h2 , h3 {
        font-size: 20px;
        font-weight: 300;
        line-height: 20px;
    }
    .logo {
        img {
            max-width: 60px;
            aspect-ratio: 1/1;
        }
    }
}

@keyframes iso-marquee  {
    0% { 
        transform: translateX(0); 
    }
    100% {
        transform: translateX(-100%);
    }
}
 /* * on MacOs: System Preferences > * Accessibility > * Display > Reduce motion */ 
@media (prefers-reduced-motion: reduce) {
    .iso-marquee span {
        animation: none;
        text-shadow: none;
        width: auto;
        display: block;
        line-height: 1.5;
        text-align: center;
        white-space: normal;
    }
}

section.sexion-img-or-text {
    p, .content {
        font-size: 16px;
        line-height: 20px;
        letter-spacing: 1.6px;
        font-weight: 300;
    }   
    h2 {
        font-size: 70px;
        font-family: 'optiromanaroman-normalregular';
        line-height: 50px;
        font-weight: 400;
        @media (max-width: 768px) {
            font-size: 50px;
            margin-bottom: 20px;
        }
    }
    h5 {
        font-size: 20px;
        letter-spacing: 2px;
        line-height: 20px;
    }
    h1 {
        font-family: 'optiromanaroman-normalregular';
        letter-spacing: -5px;
        font-size: 100px;
        color: white;
    }
    .img {
        width: 113px;
        aspect-ratio: 1/1;
        margin: auto;
    }
}


.mobile {
     #main-navbar a:hover, #main-navbar .current_page_item > a {
        &::after {
            display: none;
        }
    }

    .the_logo {
        margin: auto;
    }

    .lm-border-left  {
        border-color: transparent !important;
    }
    .social-circles {
        justify-content: center !important;
    }
}


.leaf-section{
    min-height: 800px;
    padding-top:5rem;
    position:relative;
    display:flex;
    flex-wrap:wrap;
}
.leaf-section > .container-lg{
     position:relative;
    z-index:2;
    display: flex;
    align-items: center;
 }
.leaf-section > .leaf-shape2{
    position:absolute;
    bottom:-40px;
    left:0px;
    z-index: 1;
}
.leaf-section > .leaf-shape2 > div{
    position: absolute;
    width: 40%;
    margin-left: 20%;
    padding-top: 6rem;
}
@media(max-width: 1440px){
    .leaf-section > .leaf-shape2 > div{
        width: 60%;
        margin-left: 10%;
    }
}
@media(max-width: 1240px){
    .leaf-section > .leaf-shape2 > div{
        width: 60%;
        margin-left: 5%;
        padding-top: 5rem;
    }
    .leaf-section > .leaf-shape2 > div .content{
        font-size:0.95em;
    }
}
@media(max-width: 1024px){
    .leaf-section > .leaf-shape2{
        position:relative;
        bottom:inherit;
        left:inherit;
        z-index: 1;
        display:flex;
        align-items:center;
    }
    .leaf-section > .leaf-shape2 > img{
        display:none;
    }
    .leaf-section > .leaf-shape2 > div{
        position:relative;
        width:100%;
        margin:0px;
        padding:0px 5%;
        display:flex;
        justify-content:center;
    }
    .leaf-section > .parallax:after{
        content:'';
        position:absolute;
        top:0px;
        left:0px;
        z-index: 0;
        width:100%;
        height:100%;
        max-width: 100% !important;
        background-color:#000000;
        opacity:0.5;
    }
}
.leaf-section > .parallax{
    position:absolute;
    top:0px;
    left:0px;
    z-index: 0;
    width:100%;
    height:100%;
    max-width: 100% !important;

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}