@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

html {

    width: 100vw;
    overflow-x: hidden;

}

body {
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "slnt" 0;
    width: 100vw;
    overflow-x: hidden;
}

a {

    text-decoration: none;
    color:inherit;

}

.sticky-nav {
    position: fixed;
    z-index: 9999;
    top: 0;
    width: 100%;
    padding-left:20px;
    padding-right: 20px;
    box-sizing: border-box;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.sticky-nav.hidden {
    background-color: transparent;
    box-shadow: none;
}

.sticky-nav.visible {
    background-color: white;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.sticky-nav .logo {
    display: none;
}

.sticky-nav.visible .logo {
    display: flex;
}

.logo img {

    max-width: 250px !important;

}
 
.inner-nav {
    width: min(1300px, 100%);
    margin: auto;
    padding-top: 20px;
    padding-bottom: 20px;
}

.nav-ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 22px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-left:20px;
    padding-right:20px;
    font-size: 22px;
    background-color: white;
    border-radius: 20px;
}

.nav-menu a {

    padding: 20px;
    transition: background-color 0.3s;

}

.nav-menu-active {

    background-color: #1A1110;
    color:white;
    transition: background-color 0.3s;

}

.nav-menu a:hover {

    background-color: #1A1110;
    color:white;
    transition: background-color 0.3s;

}

.nav-mobile-menu {

    display: none !important;

}

.nav-mobile-menu-btn {

    background-color: white;
    border:none;
    border-radius:5px;

}

.nav-mobile-menu-btn-close {

    background-color: white;
    border:none;
    border-radius:5px;
    position: absolute;
    top:20px;
    right:20px;

}

.mobile-menu {

    display: none;
    top:0;
    width: 100vw;
    height: 100vh;
    position: fixed;
    background-color: white;
    z-index: 99999;

}

.mobile-menu img {

    max-width: 250px !important;

}

@media (max-width: 1250px) {

    .nav-ul {

        align-items: center;

    }

    .nav-menu {

        display: none;

    }

    .nav-mobile-menu {

        display: block !important;

    }

    .nav-mobile-menu-btn {

        display: block !important;

    }
    

}

@media (max-width:800px) {

    #estimation-gratuite { display: none !important; }

}

.sticky-nav.visible .nav-menu a {

    border-radius:30px;

}


.background-div {
    position: relative;
    height: 100vh;
    width: 100vw;
    overflow: hidden; /* Ensure no overflow within the div */
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
}

.animated-bg {
    position: absolute;
    top: 0;
    left: -10%; /* Start 10% off the left to center the 120% width */
    width: 120%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: moveBackground 15s linear infinite;
    transition: background-image 0.5s ease-in-out;
    z-index: -1;
    filter: blur(3px); /* Add blur filter */
    background-color: black;

}

@keyframes moveBackground {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-8%);
    }
    100% {
        transform: translateX(0);
    }
}

.image-container {

    display: none;

}

.main-container {

    height: 85%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 999;


}

.main-title {

    font-size:120px;
    line-height: 130px;
    margin-top:0;
    margin-bottom:20px;
    color:white;

}

.main-desc {

    font-size: 40px;
    margin-top:0;
    color:white;

}

.main-action {

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

}

.main-button {

    padding:15px;
    padding-left:20px;
    padding-right:20px;
    font-size:22px;
    border-radius:10px;
    border:none;
    display: flex;
    align-items: center;
    gap:10px;
    transition: background-color 0.3s;
    
}

.main-button:hover {

    background-color: #1A1110;
    color:white;
    transition: background-color 0.3s;

}

.main-btn-desc {

    font-size:22px;
    margin:0;

}


@media (max-width: 1100px) {

    .background-div {

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

    }

    .background-div {
        position: relative;
        width: 100%;
        height:95vh;
        overflow: hidden;
    }
    
    .img-classic {

        display: none;

    }

    .main-action {

        display: none;

    }
    
    .main-container {
        position: absolute;
        bottom: 0;
        width: 100%;
        text-align: center;
        z-index: 2;
        color: white;
        justify-content: end;
        margin-bottom:30px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .main-title, .main-desc {
        margin: 0;
    }

    .main-title {

        font-size:clamp(70px, 10vw, 120px);
        line-height: 100%;

    }
    

    .main-desc {

        font-size:clamp(30px, 5vw, 40px);
        line-height: 100%;
        margin-top: 20px;

    }
    
    .image-container {
        width: 100%;
        height: 100%;
        max-height: 85%;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        position: relative;
        bottom:0;
    }
    
    .main-image {        
        height: 100%;
        object-fit: contain;
        position: relative;
        z-index: 1;
    }
    
    .gradient-overlay {
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
        z-index: 0;
    }    

}

.section-1 {

    padding-top:100px;
    padding-bottom:100px;
    width: 100%;

}

.inner-content {

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

}

.section-title {

    font-size:40px;
    margin-top:0;

}

.section-2 {

    background-color: #1A1110;
    color:white;
    overflow-y: hidden;

}

.section-2-wrapper {

    display: flex;
    justify-content: space-between;
    align-items: center;

}   


.citation {

    max-width: 700px;

}

.citation-text {

    font-size:30px;
    font-style: italic;

}

.citation-author {

    font-size:24px;
    text-align: right;

}

@media (max-width:1060px) {
    
    .section-2-decoration {

        display: none;

    }

}

@media (max-width:900px) {

    .section-2 {

        padding-top:50px;
        padding-bottom:50px;

    }

    .section-2-img {

        display: none;

    }

    .citation {

        width: 100%;
        max-width: none;

    }

}

.section-3 {

    padding-top:100px;
    padding-bottom:100px;

}

.expertises-title {

    font-size:50px;
    margin-top:0;
    margin-bottom:30px;
}

.small-title {

    margin-top:0; 
    margin-bottom:1vh; 
    font-size: clamp(20px, 2vw, 25px);

}

.big-title {

    margin-top:0; 
    margin-bottom:1vh; 
    font-size: clamp(24px, 3vw, 40px);

}

.bar {

    width: min(400px, 100%);
    height:5px;
    background-color: #FFBF00;
    margin-bottom:30px;

}

.expertises-grid {

    display: flex;
    gap:20px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;

}

.expertises-grid-col {

    width: calc(50% - 10px);
    display: flex;
    gap:20px;
    flex-wrap: wrap;
    min-width: min(400px, 100%);

}

.short-text {

    display: none;

}

@media (max-width:900px) {

    .expertises-grid-col {

        width: 100%;
        
    }

    .small-title {

        display: none;

    }

    .short-text {

        display: block;
        font-size:clamp(20px, 4vw, 30px);
        margin-top:0;
        margin-bottom:1vh;

    }

    .expertises-grid-col .bar {

        margin-bottom:3vw;

    }

}

.hover-click:hover {

    cursor: pointer;

}

.section-4 {

    padding-top:50px;
    padding-bottom:50px;
    background-color: #f2f2f8;

}

.estimation-title {

    text-align: center;
    font-size:40px;

}

.estimation-desc {

    font-size:22px;
    text-align: center;
    max-width: 800px;
    margin:auto;

}

.estimation-btn-container {

    display: flex;
    justify-content: center;
    margin-top:50px;

}

.estimation-btn {

    margin:auto;
    padding:15px;
    padding-left:20px;
    padding-right:20px;
    font-size:22px;
    border-radius:20px;
    border:none;
    background-color: #1A1110;
    color: white;

}

.section-5 {

    padding-top:100px;
    padding-bottom:100px;

}

.histoire-wrapper {

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

}

.histoire-text-title {

    font-size:40px;
    margin-top:0;

}

.histoire-text-desc {

    font-size:24px;
    max-width: 600px;

}

.histoire-text-link {

    font-size:24px;

}

.section-6 {

    background-color: #FFBF00;
    overflow-y: hidden;
    padding-top:50px;

}

.succession-wrapper {

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap:10px;

}

.succession-text-title {

    font-size:40px;
    margin-top:0;

}

.succession-text-desc {

    font-size:clamp(18px, 3vw, 24px);
    max-width: 600px;

}

.succession-text-link {

    font-size:24px;

}

@media (max-width:1000px) {

    .succession-wrapper {

        flex-direction: row-reverse;
        flex-wrap: nowrap;
        overflow: hidden;

    }

    .succession-text-container {

        width: 80%;

    }

    .succession-text-desc {

        max-width: none;

    }

    .succession-img {

        margin-right: -40vw;
        height: 100% !important;
        max-height: none !important;
        max-width: 600px !important;

    }

}

@media (max-width:850px) {

    .succession-text-container {

        width: 100%;

    }

    .succession-img {

        display: none;

    }

}

.section-5-6 {
    position: relative; /* Make sure the pseudo-element is positioned relative to this element */
    width: 100%;
    background-image: url(components/cannes.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 75px;
    padding-bottom: 75px;
    overflow: hidden; /* Ensure the pseudo-element doesn't overflow the parent */
}

.section-5-6::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.35); /* Adjust the opacity to control the darkness */
    z-index: 1; /* Ensure the pseudo-element is behind the content */
}

.content {
    position: relative;
    z-index: 2; /* Ensure the content is above the pseudo-element */
    color: white; /* Ensure the text is readable against the dark background */
    text-align: center; /* Center the text horizontally, optional */
}


.img-section-h1 {

    font-size:50px;
    text-align: center;
    color:white;
    z-index: 3;
    margin-top:0;

}

.bureaux-wrapper {

    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 75px;
    gap:40px;

}

.bureaux {

    width: 350px;
    border-radius: 20px;
    background-color: white;
    color:black;
    padding-bottom:20px;

}

.bureaux-h1 {

    font-size:30px;
    margin-top:20px;
    margin-bottom:20px;

}

.section-7 {

    padding-top:100px;
    padding-bottom:100px;


}

.form-h1 {

    text-align: center;
    font-size:60px;
    margin-top:0;
}

.form {

    display: flex;
    align-items: stretch;
    justify-content: space-between;
    margin-top: 50px;
    flex-wrap: wrap;

}

.form-image {

    width: calc(50% - 30px);

}

.form-content {

    width: 49%;
    display: flex;
    flex-wrap: wrap;
    gap:12px;

}

@media (max-width:1100px) {

    .form-wrapper {

        padding-left:30px;
        padding-right:30px;
        box-sizing: border-box;

    }

    .form-content {

        width: 100%;

    }

    .form-content:nth-child(2) {

        margin-top:10px;

    } 

}

.input-1-label {

    width: calc(50% - 6px);
    font-size:20px;

}

.input-1 {

    width: calc(50% - 6px);
    box-sizing: border-box;
    padding:15px;
    font:inherit;
    border:1px solid #ccc;

}

.input-2-label {

    width: calc(50% - 6px);
    font-size:20px;

}

.input-2 {

    width: calc(50% - 6px);
    box-sizing: border-box;
    padding:15px;
    font:inherit;
    border:1px solid #ccc;

}

.input-3-label {

    width: calc(50% - 6px);
    font-size:20px;

}

.input-3 {

    width: 100%;
    box-sizing: border-box;
    padding:15px;
    font:inherit;
    border:1px solid #ccc;

}

.input-4-label {

    width: calc(50% - 6px);
    font-size:20px;

}

.input-4 {

    width: calc(50% - 6px);
    box-sizing: border-box;
    padding:15px;
    font:inherit;
    border:1px solid #ccc;

}

.input-5-label {

    width: calc(50% - 6px);
    font-size:20px;

}

.input-5 {

    width: calc(50% - 6px);
    box-sizing: border-box;
    padding:15px;
    font:inherit;
    border:1px solid #ccc;

}

.input-6-label {

    width: 100%;
    font-size:20px;

}

.input-6 {

    width: 100%;
    height:280px;
    box-sizing: border-box;
    padding:15px;
    font:inherit;
    border:1px solid #ccc;

}

.form-img-galery {

    width: 100%;
    display: flex;
    gap:10px;
    height:228px;

}

.image-galery {

    width:calc(20% - 5px);
    aspect-ratio: 1;
    border:1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size:22px;

}

.form-btn {

    width: 100%;
    padding:10px; 
    padding-top:15px;
    padding-bottom:15px;
    font-size:22Px;
    border: none;
    background-color: #1A1110;   
    color:white;
    margin-top:10px;
    border:3px solid #1A1110;
    box-sizing: border-box;

}

.form-btn:hover {

    background-color: white;
    color:#1A1110;

}

footer {

    background-color: #1A1110;
    padding-top:50px;
    padding-bottom:30px;

}

.inner-footer {

    width: min(100%, 1400px);
    margin: auto;
    display: flex;

}

.ul-footer {

    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    color:white;
    padding-left:30px;
    padding-right:30px;
    padding-bottom:20px;
    box-sizing: border-box;
    width: calc(25% - 15px)

}

.footer-menu {

    display: flex;
    flex-direction: column;
    gap:30px;
    font-size:20px;

}

.ul-footer img {

    max-width: 250px !important;

}

@media (max-width: 1100px) {

    .inner-footer {

        flex-wrap: wrap;

    }

    .ul-footer {

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

    }

    .ul-footer li {

        width: 100%;

    }

    .footer-menu {

        width: 100%;

    }

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

        margin-top:50px !important;

    }

}

@media (max-width: 700px) {

    .ul-footer {

        width: 100%;
        margin-top: 0 !important;

    }

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

        margin-top:0px !important;

    }

    .inner-footer {

        flex-direction: column;
        gap:30px;

    }

}

.footer-menu a:hover {

    color:#FFBF00;

}

.footer-copy {

    text-align: center;
    color: white;
    margin-top:50px;
    padding-left:30px;
    padding-right:30px;

}

.acceuil-wrapper {

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap:40px;
    box-sizing: border-box;

}

.acceuil-img {

    width: calc(45% - 20px);

}

.acceuil-text {

    width: calc(55% - 20px);
    font-size:22px;

}

.acceuil-btn {

    font-size:18px;
    
}

.acceuil-btn:hover {

    text-decoration: underline;

}

@media (max-width: 1060px) {

    .acceuil-img {

        width: 100%;

    }

    .acceuil-img-img {

        height: 300px;
        object-fit: cover;

    }

    .acceuil-text {

        width: 100%;

    }
    
}

.adaptive-text {
    color: black;
    mix-blend-mode: difference;
}

.photos-grid {

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    grid-auto-rows: minmax(100px, auto);
    margin-top: 30px;

}   

.photo-1 {

    grid-column: 1;
    grid-row: 1/3;

}

.photo-2 {

    grid-column: 2;
    grid-row: 1;

}

.photo-3 {

    grid-column: 2;
    grid-row: 2;

}

.photo-4 {

    grid-column: 3;
    grid-row: 1/3;

}

@media (max-width:900px) {

    .photos-grid {

        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        grid-auto-rows: minmax(100px, auto);
        margin-top: 30px;
        height:100vh;
    
    }

    .photo-1 {

        grid-column: 1/3;
        grid-row: 1;
    
    }
    
    .photo-2 {
    
        grid-column: 1;
        grid-row: 2;
    
    }
    
    .photo-3 {
    
        grid-column: 2;
        grid-row: 2;
    
    }
    
    .photo-4 {
    
        grid-column: 1/3;
        grid-row: 3;
    
    }


}

  
.consent-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
}

.consent-modal-content {
    background-color: #fff;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
}

.consent-button {
    margin: 10px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

.incitation-btn {

    padding:10px;
    padding-left:20px;
    padding-right:20px;
    border-radius:5px;
    border:1px solid black;
    color:white;
    background-color: #1F2123;
    font-family: inherit;
    transition: background-color 0.3s;

}

.incitation-btn:hover {

    background-color: white;
    color:black;
    transition: background-color 0.3s;

}

.white-btn {

    padding:10px;
    padding-left:20px;
    padding-right:20px;
    border-radius:5px;
    border:1px solid white;
    color:black;
    font-family: inherit;
    transition: background-color 0.3s;

}

.white-btn:hover {

    background-color: #1F2123;
    color:white;
    transition: background-color 0.3s;

}