@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');

@font-face {
  font-family: 'Cochin';
  src: url('Cochin.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {

    margin:0;
    padding:0;
    font-family: "EB Garamond", serif;
    font-optical-sizing: auto;
    font-style: normal;
    width: 100vw;
    overflow-x: hidden;

}

h1, h2, h3, h4, h5, h6 {

    font-family: "Cochin", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
      "wdth" 100;

}

@keyframes fadeIn {
    
    from {
        opacity: 1;

    }
    to {
        opacity: 0;
        display: none;
        
    }

}

a {

    color:inherit;
    text-decoration: none;

}

.loading-div {

    width: 100vw;
    height: 100svh;
    background-color: black;
    position: fixed;
    z-index: 9999;
    top:0;
    left:0;
    opacity: 1;
    animation: fadeIn forwards 0.5s ease-out;
    animation-delay: 1.5s;
    display: flex;
    align-items: center;
    justify-content: center;

}

nav {

    background-color: black;
    position: sticky;
    top:0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid #6a6a6a;
    z-index: 9998;

}

.inner-nav {

    width: min(1400px, 100%);
    margin:auto;
    padding:10px;
    padding-left:30px;
    padding-right:30px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;

}

.nav-ul {

    padding: 0;
    margin:0;
    display: flex;
    align-items: center;
    gap:30px;

}

.nav-ul a {

    color:white;
    text-decoration: none;
    font-size:18px;
    font-weight: 300;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;

}

.nav-ul a:not(.no-hover)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -12px; /* Ajustez la position selon votre design */
    height: 2px; /* Ã‰paisseur de la ligne */
    width: 100%; /* Laisse la ligne pleine largeur */
    background-color:#f0b450; /* Couleur de la ligne */
    transform: scaleX(0); /* Cache la ligne au dÃ©part */
    transition: transform 0.3s ease; /* DurÃ©e et type de transition */
    z-index: -1; /* Assurez-vous que la ligne soit derriÃ¨re le texte */
}

.nav-ul a:hover::after {
    transform: scaleX(1); /* Montre la ligne en Ã©chelle lors du survol */
}

#buttonNav {

    display: none;

}

@media (max-width: 900px) {

    .nav-ul a:not(.no-hover) {

        display: none;

    }

    #buttonNav {

        display: block;

    }   

} 

@media (max-width: 500px) {

    .insta {

        display: none;

    }

}

@media (max-width: 400px) {

    .tel {

        display: none !important;

    }   


}

.inner-content {

    width: min(1400px, 100%);
    margin:auto;
    padding-top: 5vh;
    padding-bottom: 5vh;
    padding-left:30px;
    padding-right:30px;
    box-sizing: border-box;

}

.col-wrapper {

    display: flex;
    align-items: start;
    justify-content: space-between;
    gap:50px;

}   

.col-2 {

    width: 50%;

}

header .col-2:last-child {

    height: 80vh;

}

.header-text {

    display: flex;
    flex-direction: column;
    gap:30px;
    justify-content: center;
    height: 100%;
    padding-top:15vh;
    padding-left:40px;
    margin-right:50px;
    padding-bottom:10vh;
    box-sizing: border-box;
    max-width: 650px;
    margin-left:auto;

}

.header-text h1 {

    font-size:60px;
    margin:0;
    text-transform: uppercase;
    font-weight: 300;

}

.header-text p {

    font-size:18px;
    margin:0;
    width: 100%;

}

 button {

    background-color: #f0b450;
    color:white;
    border:none;
    border-radius: 5px;
    padding:10px;
    padding-left:20px;
    padding-right:20px;
    font-size:18px;
    font-family: inherit;

}

@media (max-width: 1000px) {

    .col-wrapper {

        flex-direction:column-reverse;

    }

    .col-reverse {

        flex-direction: column;

     } 

    .header-wrapper {

        gap:50px !important;

    }

    .header-wrapper .col-2:last-child {

        height: 70vh;

    }

    .col-2 {

        width: 100%;

    }
    
    .header-text {

        width: 100%;
        padding:0px;
        padding-left:30px;
        padding-right:30px;
        padding-bottom:5vh;
        box-sizing: border-box;
        margin-left:0;

    }

}

@media (max-width: 650px) {

    .header-wrapper {

        gap: 30px !important;

    }

    .header-wrapper .col-2:last-child {

        height: 50vh;

    }

    .header-text h1 {

        font-size:35px;
        
    }

}

.expertise-title {

    font-size:40px;
    margin:0;

}

.expertise-wrapper {

    display: flex;
    align-items: start;
    justify-content: left;
    flex-wrap: wrap;
    gap:20px;
    margin-top: 75px;

}

.expertise-item {

    width: calc(25% - 15px);
    background-color: black;
    color:white;

}

.expertise-item img {

    aspect-ratio: 3/2;
    width: 100%;
    background-color: white;
    object-fit: cover;

}

.expertise-desc {

    padding:20px;
    box-sizing: border-box;

}   

.expertise-desc h2 {

    margin:0;

}

@media (max-width: 1400px) {

    .expertise-item {

        width: calc(33.33% - 13.33px);

    }

}

@media (max-width: 950px) {

    .expertise-item {

        width: calc(50% - 10px);

    }

} 

@media (max-width: 650px) {

    .expertise-item {

        width: calc(100%);

    }

}

.bg-black {

    background-color: black;
    color:white;

}

.bg-secondary {

    background-color: #f0b450;

}

.about-section h1 {

    font-size:40px;
    margin:0;
    text-transform: uppercase;
    font-weight: 300;

}

.about-section p {

    font-size:18px;
    margin:0;
    margin-top:30px;

}

@media (max-width: 650px) {
    .about-section h1 {
        font-size: 35px;
    }
}

.inner-footer {

    display: flex;
    width: min(1400px, 100%);
    margin:auto;
    padding-top:5vh;
    padding-bottom:10vh;
    padding-left:30px;
    padding-right:30px;
    box-sizing: border-box;
    gap:20px;
    justify-content: space-between;


}

.footer-ul {

    padding:0;
    margin:0;
    list-style: none;
    width: 21%;
    display: flex;
    flex-direction: column;
    gap:30px;

    font-size:20px;

}

.mentions-legales-h1 {

    font-size:3rem;
    margin:0;

}

.mentions-legales-p {

    font-size:20px;

}

@media (max-width: 1100px) {

    .inner-footer {

        flex-wrap: wrap;

    }

    .footer-ul {

        width: calc(50% - 10px) !important;

    }

    .footer-ul:nth-child(3), .footer-ul:nth-child(4) {

        margin-top:50px;

    }

}

@media (max-width: 700px) {

    .footer-ul {

        width: 100% !important;

    }

    .footer-ul:first-child {

        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom:50px;

    }

    .mentions-legales-h1 {

        font-size:2rem;
        margin:0;
    
    }
    
    .mentions-legales-p {
    
        font-size:18px;
    
    }

}


.showcase-categories {

    display: flex;
    gap:20px;
    align-items: center;

}

.showcase-item {

    display: flex;
    flex-direction: column;
    gap:20px;

    width: calc(25% - 15px);

}

.showcase-item img {

    width: 100%;
    aspect-ratio: 1;
    background-color: black;

}

.showcase-item h2, .showcase-item p {

    margin:0;

}

@media (max-width: 1100px) {

    .showcase-categories {

        flex-wrap: wrap;
        max-width: 900px;
        margin:auto;

    }

    .showcase-item {

        width: calc(50% - 10px);

    }

}

@media (max-width: 650px) {

    .showcase-item {

        width: 100%;

    }

    .showcase-categories {

        gap:50px;

    }

}