:root {
    --primary-color: #22274F;
    --secondary-color: #7A6F68;
    --surtitres: #c1590f;
    --white: #fff;
    --text-color-light: #FFFFFFB3;
    --font-primary: "Archivo", sans-serif;
    --font-secondary: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --content-max: 1300px;
    --gutter: max(7vw, (100% - var(--content-max)) / 2);
}

@font-face {
    font-family: "Helvetica Neue";
    src: url("fonts/HelveticaNeue-Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Helvetica Neue";
    src: url("fonts/HelveticaNeue-Roman.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Helvetica Neue";
    src: url("fonts/HelveticaNeue-Light.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Helvetica Neue";
    src: url("fonts/HelveticaNeue-Thin.otf") format("opentype");
    font-weight: 100;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-secondary);
}

/*global*/
.surtitre {
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 22px;
    font-weight: medium;
    letter-spacing: 0.3em;
    color: var(--surtitres);
}

h2 {
    font-family: "Archivo",sans-serif;
    font-weight: 500;
    font-size: 50px;
}

p {
    font-weight: 300;
}

/* header */

header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    padding-top: 14px;
    padding-bottom: 14px;box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    padding-left: var(--gutter);
    padding-right: var(--gutter);
    width: 100%;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}

#header-logo {
    padding-top: 8px;
    width: min(13vw, 190px);
}

.btn-mail {
    padding: 10px;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    font-family: Arial, Helvetica, sans-serif;
    padding-left: 24px;
    padding-right: 24px;
  }
  .btn-mail:hover {
    background-color: #28211A; 
  }

  @media (max-width: 400px) {
    header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        z-index: 1000;
    }
    #header-logo {
        width: 30vw;
        margin-left: 0px;
    } 
}

@media (min-width: 401px) and (max-width: 768px) {
    header {
        top: 0;
        width: 100%;
        justify-content: space-between;
        z-index: 1000;
    }
    #header-logo {
        width: 20vw;
    } 
}

/*section intro*/
.intro {
    position: relative;
    font-family: var(--font-secondary);
}

.intro .surtitre {
    color: #fff;
}

.intro > div {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.background_img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.intro::before {
    position: absolute;
    inset: 0;
    background: 
          linear-gradient(180deg, rgba(34,39,79,0.72) 0%, rgba(34,39,79,0.80) 45%, rgba(34,39,79,0.92) 100%),
        rgba(34, 39, 79, 0);
    z-index: 0;
    content:'';
}

.intro-content {
    position: relative;
    z-index: 1;
    padding: 30vh var(--gutter) 12vh;
    text-align: left;
    color: #fff;
}

h1 {
    font-family: var(--font-primary);
    font-size: 60px;
    margin-bottom: 22px;
    font-weight: semibold;
    max-width: 23ch;
}

.text {
    max-width: 60ch;
    line-height: 1.62;
    font-size: clamp(17px, 1.35vw, 20px);
}

@media (max-width: 400px) {
    h1 {
        font-size: 40px;
        max-width: 100%;
    }
   
    .intro .text {
        max-width: 90vw;
    }
    
}

@media (min-width: 401px) and (max-width: 768px) {
    
    h1 {
        font-size: 40px;
        max-width: 80%;
    }
   
    .intro .text {
        max-width: 80%;
    }
    
}

/*section expertise*/

.expertise {
    position: relative;
    display: flex;
    justify-content: center;
    height: auto; 
    font-family: var(--font-secondary);
    padding-bottom: 12vh;   
}

.expertise img{
    width: 55%;
    position: absolute;
    bottom: 0vh;
    left: -15vw;
}

.expertise-left {
    margin-left: var(--gutter);
    margin-top: 12vh;
    min-width: 300px;
    /* opacity: 1;
    transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1); */
}

.expertise h2 {
    color: #22274F;
}

.expertise-right {
    color: #22274F;
    font-size: 18px;
    margin-left: 7vw;
    margin-right: var(--gutter);
    margin-top: 12vh;
    max-width: min(45%, 640px);
    line-height: 165%;
}

.expertise-right p {
    margin-bottom: 22px;
    line-height: larger;
}

.expertise-services {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 0;
}

.service {
    border: 1px solid #D8D5D2; 
    border-radius: 999px;
    padding: 5px 20px;
    font-weight: 300;
    font-size: 15px;
}

@media (max-width: 400px) {
    .expertise {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        height: auto;
        max-width: 90%;
    }

    .expertise h2 {
        font-size: 25px;
        max-width: 90%;
    }

    .expertise-right {
        max-width: 100%;
        font-size: 15px;
        margin-right: 0;
        margin-top: 18px;
    }
   .expertise img {
        position: absolute;
        width: 300%;
        max-width: 400px;
        bottom: 0vh;
    }

}

@media (min-width: 401px) and (max-width: 768px) {
    .expertise {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        height: auto;
        max-width: 80%;
    }

    .expertise h2 {
        font-size: 30px;
    }

    .expertise-right {
        max-width: 100%;
        font-size: 15px;
        margin-right: 0;
        margin-top: 18px;
    }

    .expertise-left {
        min-width: 0;
    }
   .expertise img {
        position: absolute;
        width: 100%;
        bottom: 0vh;
        left: -15vw;
    }
    
}


/* section raison d'être */
.reason {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12vh var(--gutter);
    font-family: Arial, Helvetica, sans-serif;
}

.reason .surtitre {
    color: #fff;
}

.background_img2 {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.reason::before {
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 100%;
    background-color: rgba(34, 39, 79, 0.85);
    z-index: 0;
}

.reason-content {
    position: relative;
    width: 100%;
    text-align: center;
    justify-content: center;
    color: #fff;
    z-index: 1;
}

.quote {
    text-transform: uppercase;
    font-size: 40px;
    margin-bottom: 22px;
    font-weight: semibold;
    max-width: 43ch;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 400px) {
    .quote {
        font-size: 22px;
        max-width: 90vw;
    }
}

@media (min-width: 401px) and (max-width: 768px) {
    .quote {
        font-size: 22px;
        max-width: 80vw;
    }
}

/* section interventions */

.interventions {
    position: relative;
    margin-top: 12vh;
    margin-left: var(--gutter);
    margin-right: var(--gutter);
}

.interventions h2 {
    color: #22274F;
}

.interventions-upper-part {
    display: flex;
    gap: 100px;
    align-items: last baseline;
}

.interventions-right-part {
    color: #22274F;
    font-size: 18px;
    min-width: 300px;
    max-width: 45%;
    line-height: 165%;
    
}

.interventions-right-part p {
    line-height: 165%;
    font-size: 16px;
    padding-bottom: 22px;
}

.interventions ul {
    margin-top: 7vh;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    list-style-type: none;
    justify-content: space-between;
    align-items: stretch;
}

.interventions li {
    display: flex;
    font-size: 16px;
    background-color: #F6F5F3;
    line-height: 1.68;
    align-self: auto;
    color: #22274F;
    padding: 2.6vw;
    border-top: solid 3px var(--surtitres);
    max-width: 400px;
}

.interventions a:hover {
    background-color: #28211A;
}

.intervention-number {
    font-size: 13px;
    color: var(--secondary-color)
}

.intervention h3 {
    font-size: clamp(20px, 1.7vw, 26px);
    margin-bottom: 22px;
    color: var(--surtitres);
    text-transform: uppercase;
    font-weight: 500;
    font-family: var(--font-primary);
}
li p {
    margin-top: 22px;
    margin-bottom: 22px;
}


@media (max-width: 400px) {
    

    .interventions-upper-part {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 20px;
        align-items: stretch;
    }

    .interventions h2 {
        font-size: 25px;
        padding-bottom: 22px;
    }

    .interventions p {
        max-width: 90%;
        font-size: 15px;
        line-height: 162%;
    }

    .interventions ul {
        display: flex;
        flex-wrap: wrap;

    }
}

@media (min-width: 401px) and (max-width: 768px) {
    .interventions-upper-part {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        width: 100%;
        gap: 20px;
        align-items: stretch;
    }

    .interventions-right-part {
        max-width: 80%;
        min-width: 0;
    }

    .interventions h2 {
        font-size: 30px;
        max-width: 90%;
    }

    .interventions ul {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        max-width: 100%;
        margin-right: 0;
    }

    .interventions li {
        max-width: 320px;
        flex-wrap: wrap;
        font-size: 16px;
    }

    .interventions .logo {
        width: 20vw;
    }
}

/* section réalisations */
.realisations {
    position: relative;
    margin-top: 12vh;
    margin-left: var(--gutter);
    margin-right: var(--gutter);
    margin-bottom: 12vh;
}

.realisations h2 {
    color: #22274F;
    max-width: 27ch;
}

.gallery {
    margin-top: 7vh;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch    ;
    gap: 16px;
}

.gallery-row {
    display: flex;
    gap: 16px;
}

.gallery img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 320px;
    min-width: 0;
    object-fit: cover;
}

.realisations_img{
    position: relative;
    overflow: hidden;
    flex-grow: 1;      
    flex-shrink: 1;    
    /*flex-basis: 45%;    flex: 1 1 45% */
    max-height: 320px;
    min-width: 0;
    object-fit: cover;
}

.realisations_img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(34, 39, 79, 0) 32%, rgba(34, 39, 79, 0.62) 66%, rgba(34, 39, 79, 0.94) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.realisations_img:hover::after {
    opacity: 1;
}

.realisation-name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    color: #fff;
    font-size: clamp(17px, 1.25vw, 21px);
    font-weight: 600;
    text-align: left;
    opacity: 0;
    z-index: 1;
}

.realisations_img:hover .realisation-name{
    opacity: 1;
}

.gallery-row-2 {
    padding-bottom: 22px;
}

.realisations-bottom-part {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: #22274F;
    color: #fff;
    font-size: 18px;
    min-width: 300px;
    line-height: 165%;
    padding-top: 5vh;
    padding-left: 5vw;
    padding-right: 5vw;
    padding-bottom: 5vh;
    gap: 30px;
}

.realisations-bottom-part p {
    padding-bottom: 22px;
    max-width: 60%;
}

.realisations-bottom-part-left {
    max-width: none;
}

.realisations-bottom-part h2 {
    color: #fff;   
    max-width: none;
    font-size: clamp(30px, 3vw, 50px);
    line-height: normal;
    padding-bottom: 22px;
}

#meet-btn {
    flex-shrink: 0;
}

.realisations-bottom-part-right p {
    margin-top: 22px;
    margin-bottom: 22px;
    line-height: larger;
}

.realisations a {
    display: inline-flex;
    background-color: #fff;
    color: #22274F;
    text-decoration: none;
    border-radius: 999px;
    margin-right: 20px;
    font-family: Arial, Helvetica, sans-serif;
    padding: 10px;
    padding-left: 24px;
    padding-right: 24px;
}

.realisations-bottom-part a:hover {
    background-color: #FFFFFFB3;
}

@media (max-width: 400px) {
    .realisations h2 {
        font-size: 25px;
    }

    .gallery-row {
        flex-direction: column;
    }

    .realisations_img {
        max-width: 100%;
        min-height: auto;
    }

    .realisations_img::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(34, 39, 79, 0) 32%, rgba(34, 39, 79, 0.62) 66%, rgba(34, 39, 79, 0.94) 100%);
        opacity: 1;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }
    
    .realisation-name {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 20px;
        color: #fff;
        font-size: clamp(17px, 1.25vw, 21px);
        font-weight: 600;
        text-align: left;
        opacity: 1;
        z-index: 1;
    }

    .realisations-bottom-part {
        display: flex;
        flex-direction: column;
        padding: 20px;
        margin: 0;
        justify-content: flex-start;
        max-width: 80%;
    }

    .realisations-bottom-part-left {
        display: flex;
        flex-direction: column;
        max-width: 100%;

    }

   #meet-btn {
        margin: 0;
        align-self: flex-start;
    }
}

@media (min-width: 401px) and (max-width: 768px) {
    .realisations {
       max-width: 680px;
    }

    .realisations h2 {
        font-size: 30px;
    }

    .gallery-row-1 {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .gallery-row-2 {
        display: flex;
        flex-direction: column;
       
    }

    .gallery-row-2 .realisations_img {
        width: 100%;
        height: 300px;
    }

    .realisations_img::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(34, 39, 79, 0) 32%, rgba(34, 39, 79, 0.62) 66%, rgba(34, 39, 79, 0.94) 100%);
        opacity: 1;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }

    .realisation-name {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 20px;
        color: #fff;
        font-size: clamp(17px, 1.25vw, 21px);
        font-weight: 600;
        text-align: left;
        opacity: 1;
        z-index: 1;
    }

    .realisations-bottom-part {
        display: flex;
        flex-direction: column;
        max-width: 100%;

    }
    .realisations-bottom-part-left {
        display: flex;
        flex-direction: column;
        max-width: 100%;
    }

    #meet-btn {
        margin: 0;
        align-self: flex-start;
    }

    .realisations-bottom-part a {
        margin-bottom: 22px;
    }   
     
}

/* section groupe */
.group {
    position: relative;
    margin-top: 12vh;
    margin-left: var(--gutter);
    margin-right: var(--gutter);  
    margin-bottom: 12vh;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
    font-family: var(--font-secondary);
    color: var(--primary-color);   
}

.group h2 {
    max-width: 25ch;
}

.group p {
    line-height: 165%;
    font-size: 16px;
    padding-bottom: 22px;
}

#btn {
    display: inline-block;
    background-color: var(--primary-color);
    border-radius: 999px;
    font-family: var(--font-secondary);
    padding: 20px;
    padding-left: 24px;
    padding-right: 24px;
    margin-top: 22px;
}

.group-right {
    max-width: 45%;
}

.group-right p:last-child {
    padding-bottom: 0;
}

#btn a {
    color: #fff;
    text-decoration: none;
  }

#btn:hover {
    background-color: #28211A; 
  }

@media (max-width: 400px) {
    .group {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        height: auto;
        max-width: 90%;
    }

    .group h2 {
        font-size: 25px;
    }

    .group-right {
        max-width: 100%;
        font-size: 15px;
        margin-right: 0;
        margin-top: 18px;
    }
}

@media (min-width: 401px) and (max-width: 768px) {
    .group {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        height: auto;
        max-width: 80%;
    }

    .group h2 {
        font-size: 30px;
    }

    .group-right {
        max-width: 100%;
        font-size: 15px;
        margin-right: 0;
        margin-top: 18px;
    }
}

/* footer */
footer {
    background-color: #22274F;
    color: #fff;
    padding-top: 12vh;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
    padding-bottom: 3vh;
} 

footer .logo {
    width: min(13vw, 190px);
    margin-bottom: 22px;
}

.footer-upper-part {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 22px;
}

.logos-lk{
    position: relative;
    width: 60px;
    height: 60px;
    background-image: url('assets/logo-lk-dark-bg.png');
    background-size: cover;
    font-size: 0;
}

.logos-lk:hover {
    background-image: url('assets/logo-lk-white-bg.png');
}

.logos-lk a {
    display: block;
    width: 100%;
    height: 100%;
}

.footer-middle-part {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    line-height: 165%;
}

.footer-middle-part p {
    max-width: 46ch;
    font-size: 15px;
    margin-bottom: 22px;
    min-width: 300px;
}

.footer-middle-part div {
    min-width: 300px;
    padding-bottom: 22px;
}    

.footer-middle-part ul {
    display: flex;
    flex-direction: column;
    list-style-type: none;
}

.footer-middle-part li {
    padding-bottom: 20px;
}

.footer-middle-part a {
    color: #fff;
    text-decoration: none;
}

.footer-middle-part a:hover {
    text-decoration: underline;
}

.footer-bottom-part {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    padding-top: 22px;
    border-top: solid 1px #FFFFFFB3;
    opacity: 0.7;
}

.legal-mentions a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
}

.legal-mentions a:hover {
    text-decoration: underline;
}

.footer-middle-part h3 {
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 22px;
    letter-spacing: 0.3em;
    color: #FFFFFFB3;
    font-weight: lighter;
}

@media (max-width: 400px) {
    .footer-upper-part {
        justify-content: space-between;
        padding-top: 0;
    }

    .footer-upper-part img {
        width: 40vw;
        margin-right: 22px;
        margin-left: 0px;
        justify-content: center;
        
    }

    .footer-middle-part {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        font-size: 12px;
        line-height: 1.5;
    }

    .footer-middle-part ul {
        padding-bottom: 22px;
    }

    .footer-bottom-part {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        font-size: 12px;
        opacity: 0.7;
        margin-left: -17vw;
    }
}

@media (min-width: 401px) and (max-width: 768px) {
    footer {
        max-width: 768px;
    }

    .footer-upper-part img {
        width: 20vw;
    }

    .footer-middle-part {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        font-size: 12px;
        line-height: 1.5;
        gap: 20px;
    }

    .footer-middle-part p {
       max-width: 100%;
       margin-right: 0px;
    }

    .footer-bottom-part {
        font-size: 12px;
        opacity: 0.7;
    }
}