/* --------------------- */
/* Adelphe – Floreal     */
/* --------------------- */

/* Regular (400) */
@font-face {
  font-family: 'Adelphe';
  src: url('../fonts/Adelphe-FlorealRegular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* SemiBold (600) */
@font-face {
  font-family: 'Adelphe';
  src: url('../fonts/Adelphe-FlorealSemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Bold (700) */
@font-face {
  font-family: 'Adelphe';
  src: url('../fonts/Adelphe-FlorealBold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Italic (400 italic) */
@font-face {
  font-family: 'Adelphe';
  src: url('../fonts/Adelphe-FlorealItalic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}


/* --------------------- */
/* Geist, sans-serif (variable font) */
/* --------------------- */

@font-face {
  font-family: Geist, sans-serif;
  src: url('../fonts/Geist, sans-serif-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}


*{
    --couleur-carte:#192ec6;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,html{
    width: 100%;
    height: fit-content;
    background-color: snow;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* Pour la plupart des navigateurs récents */
::selection {
  background-color: color-mix(in srgb, var(--couleur-carte), transparent 60%);          /* La couleur du texte sélectionné */
}

/* Pour Firefox (optionnel, mais recommandé pour la compatibilité) */
::-moz-selection {
  background-color: color-mix(in srgb, var(--couleur-carte), transparent 60%);  
}

#navbar{
    position: fixed;
    top:0;
    padding:  30px;
    display:flex;
    height: fit-content;
    width: 100%;
    justify-content: space-between;
    transition: transform 0.8s ease-in-out;
    z-index: 100;
}

.hide-navbar {
  transform: translateY(-100%);
}

#julien{
padding: 16px 32px;
    background-color: #0000004a;
backdrop-filter: blur(20px);
border-radius: 100px;
transition: 0.3s ease;
display: flex;
}

#julien a{
    text-decoration: none;
}

h3#logo{
    color:snow;
font-size: 24px;
font-family: 'Geist', sans-serif;
font-weight: 600;
height: fit-content;
padding: 0;
margin: 0;
 position:relative;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  transition: 0.3s ease;
}

#julien:hover{
background-color: #00000060;
#logo{
    font-style: italic;
}
}

#julien:active{
background-color: #00000075;
#logo{
    font-weight: 800;
}
}

#menu{    
font-size: 20px;
font-family: 'Geist', sans-serif;
padding: 8px;
border-radius: 100px;
display: flex;
gap: 16px;
height: fit-content;
background-color: #0000004a;
backdrop-filter: blur(20px);
}

.btn-pages{
    transition: 0.3s ease;
    text-decoration: none;
    color: snow;
    padding: 10px 20px;
    border-radius: 100px;
    height: fit-content;
font-family: 'Geist', sans-serif;
    font-weight: 500;
}

.btn-pages:hover{
    background-color: #00000029;
}

.btn-pages:active{
    background-color: #00000060;
    font-family: 'Geist', sans-serif;
    font-weight: 500;
}

#btn-pages-act{
    transition: 0.3s ease;
    text-decoration: none;
    color: snow;
    padding: 10px 20px;
    border-radius: 100px;
    height: fit-content;
    background-color: #00000060;
    font-family: 'Geist', sans-serif;
    font-weight: 500;
}
          #btn-pages>a>h4{
              text-decoration: none;
              font-family: 'Geist', sans-serif;
              white-space: nowrap;
          }
  
          #btn-pages>a>h4:hover{
              text-decoration: none;
              font-family: 'Geist', sans-serif;
              text-decoration: underline;
          }
  
          #btn-pages>a{
              text-decoration: none;
              color: #202020;
              white-space: no-wrap;
          }
  
          #btn-pages>a:hover{
              text-decoration: none;
              color: var(--couleur-carte);
          }

    h1{
        font-size: 35px;
        font-family: 'Geist', sans-serif;
        font-weight: 600;
        margin: 0;
        height: fit-content;
        line-height: 100%;
        padding-bottom: 4px;
    }

    h2{
        color: #212121;
        font-size: 24px;
        font-family: 'Geist', sans-serif;
        font-weight: 500;
        word-wrap: break-word;
        line-height:130%;
        padding-bottom: 24px;
    }

    h3{
        color: snow;
font-size: 28px;
font-family: 'Geist', sans-serif;
font-weight: 600;
padding-bottom: 6px;
    }

    p{
color: #212121;
font-size: 19px;
font-family: 'Geist', sans-serif;
font-weight: 400;
line-height: 135%;
height: fit-content;
padding-bottom: 8px;
    }

    strong{
       color: #212121;
font-size: 21px;
font-family: 'Geist', sans-serif;
font-weight: 600;
line-height: 130%;
height: fit-content; 
    }

        #merci{
            width: 75%;
            padding-top: 20px;
color: #212121aa;
font-size: 17px;
font-family: 'Geist', sans-serif;
font-weight: 400;
line-height: 120%;
height: fit-content;
    }

    #hero{
        display: flex;
        columns: 2;
  column-gap: 60px;
  padding: 130px 30px 40px 30px;
  width: 100%;
  height: 100vh;
    }

    #miniature{
        width: 100%;
    }

    .un{
        display: flex;
  padding: 30px;
  width: 100%;
  height: fit-content;
    }

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

    .contain{
        object-fit: contain;
    }

    .transparent{
        mix-blend-mode: darken;
    }

    .deux {
        display: block;
         column-count: 2;
  height: fit-content;
  width: 100%;
  column-gap: 40px;
  padding: 30px;
    }

    .trois {
        display: block;
         column-count: 3;
  height: fit-content;
  width: 100%;
  column-gap: 40px;
  padding: 30px;
    }

    .deux img{
        width: 100%;
        height:100%;
    }

    .deux video{
        width: 100%;
        height:auto;
    }

    .trois img{
        width: 100%;
        height:auto;
    }

    .trois video{
        width: 100%;
        height:auto;
    }

    .grande{
        height: 100vh;
    }

    .grande img{
        width: 100%;
        height: 100%;
    }

    #txt{
        display: flex;
        flex-direction: column;
        margin-top: auto;
        width: 100%;
        a{
            text-decoration: underline;
            transition: 0.3s ease;
        }
        a:hover{
            text-decoration: underline;
            font-style: italic;
            font-weight: 500;
        }
    }

    img,video{
        border-radius: 20px;
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

    .border{
        border:1px solid #2121212c;
    }

        p#maison{
color: #212121;
font-size: 20px;
font-family: 'Geist', sans-serif;
font-weight: 400;
width: 100%;
padding-bottom: 0;
}

    #footer{
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100vh;
        padding:120px 30px 30px 30px;
    }

    #footer p{
            padding-top:30px;
            width: 100%;
            opacity: 0.5;
        }
    
        #footer h2{
            color: snow;
        }

        #txt h2{
            color: #212121;
            padding-top: 8px;
            padding-bottom: 16px;
        }

    #footer>.deux{
        padding: 0;
        height: 100%;
        width: 100%;
    }

    #contact{ 
        width: 100%;
        height: 100%;
        background-color: var(--couleur-carte);
        color: snow;
        padding: 30px;
        display: flex;
        flex-direction: column;
        border-radius: 24px;
    }

    #contact p,h2{
            padding: 0;
            color: snow;
            opacity: 100;
        }

    #infos{
        margin-top: auto;
        width: 100%;
        gap: 16px;
        height: fit-content;
        display: flex;
        flex-direction: column;
    }

    #btn-mail{
        width: 100%;
        text-align: center;
        height: fit-content;
        background-color: snow;
        width: 100%;
        color: var(--couleur-carte);
        padding: 16px 24px;
        border-radius: 100px;
        font-family: 'Geist', sans-serif;
        font-weight: 600;
        font-size: 22px;
        text-decoration: none;
        font-style: normal;
        transition: 0.3s ease;
    }

    #btn-mail:hover{
        font-style: italic;
    }

    .btn-invert{
        width: 100%;
        text-align: center;
        height: fit-content;
        border: snow solid 3px;
        width: 100%;
        color: snow;
        padding: 16px 24px;
        border-radius: 100px;
        font-family: 'Geist', sans-serif;
        font-weight: 500;
        font-size: 22px;
        text-decoration: none;
        font-style: normal;
        transition: 0.3s ease;
    }

    .btn-invert:hover{
        font-style: italic;
    }

    #mentions{
        width: 100%;
        height: fit-content;
        display: inline;
        padding: 16px 24px;
        font-family: 'Geist', sans-serif;
        font-weight: 400;
        font-size: 18px;
        text-decoration: none;
        color:snow;
        text-align: center;

    }

    #mentions:hover{
        text-decoration: underline;
    }

    #nav-tel, #nom-tel{
            display: none;
            transition: transform 0.5s ease;
        }

        #infos-tel{
            display: none;
        }

        #projet-suivant>h2{
              padding: 0;
              font-weight: 400;
          }

        #projet-suivant>h1{
            font-size: 40px;
              margin: auto;
              margin-left: 0;
          }
  
          #projet-suivant:hover>h1{
              font-style: italic;
          }
  
    #projet-suivant {
    position: relative; /* Ajouté */
    background-color: rgb(117, 117, 117);
    color: snow;
    height: 100%;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    width: 100%!important;
    text-align: left;
    cursor: pointer;
    border: 0px;
    overflow: hidden!important;
  }
  
  #projet-suivant img {
    transition: ease-in 0.7s;
    filter: brightness(0.5) blur(3px);
    opacity: 1;
    padding: 0;
    margin: 0;
    object-fit: cover; /* changé de fill à cover */
    position: absolute;
    top: 0; /* ajouté */
    left: 0; /* ajouté */
    width: 100%; /* ajouté */
    height: 100%;
    z-index: 0; /* ajouté pour être derrière le texte */
  }
  
  #projet-suivant:hover>img {
    transition: ease-out 0.5s;
    filter: brightness(0.7) blur(0px);
  }
  
  #projet-suivant > h1, #projet-suivant > h2, 
  #projet-suivant > a {
      color: snow;
   /* pour que le contenu reste visible au-dessus de l’image */
    z-index: 1;
  }

  @media (min-width: 2000px){
    h1{
        font-size: 65px;
        font-family: 'Geist', sans-serif;
        font-weight: 500;
        margin: 0;
        height: fit-content;
        line-height: 115%;
        padding-bottom: 10px;
    }

    h2{
        color: black;
        font-size: 45px;
        font-family: 'Geist', sans-serif;
        font-weight: 700;
        word-wrap: break-word;
        line-height:130%;
    }

    h3{
        color: snow;
font-size: 40px;
font-family: 'Geist', sans-serif;
font-weight: 600;
padding-bottom: 6px;
    }

    p{
color: #212121;
font-size: 24px;
line-height: 120%;
height: fit-content;
padding-bottom: 16px;
    }

    strong{
       color: #212121;
font-size: 25px;
font-family: 'Geist', sans-serif;
font-weight: 600;
line-height: 130%;
height: fit-content; 
    }

    #txt h2{
        font-size: 40px;
        font-weight: 400;
    }

        #merci{
            width: 75%;
            padding-top: 20px;
color: #212121aa;
font-size: 20px;
font-family: 'Geist', sans-serif;
font-weight: 400;
line-height: 120%;
height: fit-content;
    }

    p#maison{
color: #212121;
font-size: 24px;
font-family: 'Geist', sans-serif;
font-weight: 400;
line-height: 120%;
    }

    #btn-mail, .btn-invert{
        padding: 24px 0px;
        font-size: 35px;
    }

    #mentions{
    padding:24px 0;
    }

    #projet-suivant h1{
        font-size: 65px;
        padding: 0;
    }
}
    
@media (max-width: 1200px){

            #infos{
        flex-direction: column;
        text-align: center;
    }
        }

@media (max-width: 800px) {
              body,html{
              width: 100%;
              height: fit-content;
            margin: 0;
              display: block;
              box-sizing: border-box;
          } 

          h1{
            font-size: 24px;
          }

          h2{
            font-weight: 500;
            font-size: 20px;
            padding-bottom: 16px;

          }

              h3{
        color: black;
font-size: 22px;
font-family: 'Geist', sans-serif;
font-weight: 500;
padding-bottom: 4px;
text-decoration: none;
    }

    h4{
        color: black;
font-size: 22px;
font-family: 'Geist', sans-serif;
font-weight: 400;
padding: 30px 0px;
text-align: right;
text-decoration: none;
    }

    h5{
        color: #21212190;
font-size: 17px;
font-family: 'Geist', sans-serif;
font-weight: 500;
text-decoration: none;
padding-bottom: 0px;
    }

    p{
color: #212121;
font-size: 17px;
font-family: 'Geist', sans-serif;
font-weight: 400;
line-height: 130%;
height: fit-content;
strong{
    font-size: 17px;
}
    }

    #merci{
        font-size: 16px;
    }

          #navbar{
            display:none;
          }

          #nom-tel{
            display:block;
             position: fixed;
            top: 0;
            z-index: 100;
            width: 100%;
            padding:20px;
          }

          h3#logo-tel{
            display: flex;
            flex-direction: row;
            width: 100%;
            text-align: center;
            justify-content: center;
            padding: 12px 16px 12px 16px;
            backdrop-filter: blur(10px);
            border-radius: 100px;
            background-color: #0000004a;
            font-size: 24px;
            color: snow;
            font-weight: 600;
          }

          #nav-tel{
            box-sizing: border-box;
            display:block;
            position: fixed;
            bottom: 0;
            z-index: 100;
            width: 100%;
            padding:20px;
          }

          #menu-tel{
            width: 100%;

            justify-content: space-between;

            font-size: 20px;
font-family: 'Geist', sans-serif;
padding: 8px;
border-radius: 100px;
display: flex;
gap: 8px;
height: fit-content;
background-color: #00000068;
backdrop-filter: blur(20px);
height: fit-content;
            
          }

          #menu-tel h4{
            height: fit-content;
            font-size: clamp(0.8125rem, 0.7266rem + 0.4361vw, 1.25rem);
            font-family: 'Geist', sans-serif;
            padding: 0;
            color: snow;
            font-weight: 400;
            text-align: center;
          } 

          .btn{
    transition: 0.3s ease;
    text-decoration: none;
    color: snow;
    padding: 12px 16px;
    border-radius: 100px;
    height: fit-content;
    font-family: 'Geist', sans-serif;
    width: 100%;
}

 #menu-tel h4{
            height: fit-content;
            font-size: clamp(0.9375rem, 0.8762rem + 0.3115vw, 1.25rem);
            font-family: 'Geist', sans-serif;
            padding: 0;
            color: snow;
            font-weight: 500;
            text-align: center;
          }

          #btn-act{
    transition: 0.3s ease;
    text-decoration: none;
    color: snow;
    padding: 12px 16px;
    border-radius: 100px;
    height: fit-content;
    background-color: #000000a1;
    font-family: 'Geist', sans-serif;
    width: 100%;
    h4{
        font-weight: 600;
    }
}

.btn:hover{
    background-color: #00000029;
}

.btn:active{
    background-color: #00000060;
    font-family: 'Geist', sans-serif;
    font-weight: 500;
}

#btn-act{
    transition: 0.3s ease;
    text-decoration: none;
    color: snow;
    padding: 12px 16px;
    border-radius: 100px;
    height: fit-content;
    font-family: 'Geist', sans-serif;
    width: 100%;
    background-color: #000000b5;
    h4{
        font-weight: 600;
    }
}

    #hero{
        display: flex;
        column-count: 1;
        flex-direction: column-reverse;
        row-gap: 30px;
  column-gap: 60px;
  padding: 120px 20px 40px 20px;
  width: 100%;
  height: fit-content;
  row-gap: 40px;

    }

    img,video{
        width: 100%;
        height: fit-content;
        border-radius: 12px;
    }

    .un{
        padding: 20px;
        padding-bottom: 0;
        height: fit-content;
        width: 100%;
    }
    
    .deux{
        display: flex;
        flex-direction: column;
        row-gap: 30px;
        padding: 20px;
        padding-bottom: 0;
        height: fit-content;
    }

    .trois{
        display: flex;
        flex-direction: column;
        row-gap: 30px;
        padding: 20px;
        padding-bottom: 0;
        height: fit-content;
    }

    .trois img{
        width: 100%;
        height: fit-content;
    }

    .deux img{
        width: 100%;
        height: fit-content;
    }

    #footer{
        padding:  95px 20px 105px 20px;
        border-radius: 20px;
        height: 100vh;
        .deux{
            padding:0px;
        }
        
    }

    #contact{
        padding:20px;
        row-gap: 8px;
        h3{
            color:snow;
        }
        p{
            display: none;
        }
    }

    #infos{
        flex-direction: column;
        text-align: center;
        row-gap: 10px;
    }

    #btn-mail, .btn-invert{
        padding: 8px 0px;
        font-size: 18px;
        border:2px snow solid;
    }

    #mentions{
    padding:3px;
    }

    #projet-suivant{
        padding:20px;
    }

    #projet-suivant>h2{
              padding: 0;
              font-weight: 400;
              font-size: 20px;
          }

        #projet-suivant>h1{
            font-size: 28px;
              margin: auto;
              margin-left: 0;
          }


    #maison{
        display: none;
    }

     #nom-tel{
            display:block;
             position: fixed;
            top: 0;
            z-index: 100;
            width: 100%;
            padding:20px;
          }

          h3#logo-tel{
            display: flex;
            flex-direction: row;
            width: 100%;
            text-align: center;
            justify-content: center;
            padding: 12px 16px 12px 16px;
            backdrop-filter: blur(10px);
            border-radius: 100px;
            background-color: #0000004a;
            font-size: 24px;
            color: snow;
            font-weight: 600;
          }

          #nav-tel{
            box-sizing: border-box;
            display:block;
            position: fixed;
            bottom: 0;
            z-index: 100;
            width: 100%;
            padding:20px;
          }

          #menu-tel{
            width: 100%;

            justify-content: space-between;

            font-size: 20px;
font-family: 'Geist', sans-serif;
padding: 8px;
border-radius: 100px;
display: flex;
gap: 8px;
height: fit-content;
background-color: #00000068;
backdrop-filter: blur(20px);
height: fit-content;
            
          }

          #menu-tel h4{
            height: fit-content;
            font-size: clamp(0.8125rem, 0.7266rem + 0.4361vw, 1.25rem);
            font-family: 'Geist', sans-serif;
            padding: 0;
            color: snow;
            font-weight: 400;
            text-align: center;
          } 

          .btn{
    transition: 0.3s ease;
    text-decoration: none;
    color: snow;
    padding: 12px 16px;
    border-radius: 100px;
    height: fit-content;
    font-family: 'Geist', sans-serif;
    width: 100%;
}

 #menu-tel h4{
            height: fit-content;
            font-size: clamp(0.9375rem, 0.8762rem + 0.3115vw, 1.25rem);
            font-family: 'Geist', sans-serif;
            padding: 0;
            color: snow;
            font-weight: 500;
            text-align: center;
          }

          #btn-act{
    transition: 0.3s ease;
    text-decoration: none;
    color: snow;
    padding: 12px 16px;
    border-radius: 100px;
    height: fit-content;
    background-color: #000000a1;
    font-family: 'Geist', sans-serif;
    width: 100%;
    h4{
        font-weight: 600;
    }
}

.btn:hover{
    background-color: #00000029;
}

.btn:active{
    background-color: #00000060;
    font-family: 'Geist', sans-serif;
    font-weight: 500;
}

#btn-act{
    transition: 0.3s ease;
    text-decoration: none;
    color: snow;
    padding: 12px 16px;
    border-radius: 100px;
    height: fit-content;
    font-family: 'Geist', sans-serif;
    width: 100%;
    background-color: #000000b5;
    h4{
        font-weight: 600;
    }
}

#emplacement-filtres{
    margin-top: 40px;
    display: block;
    padding: 20px;
    padding-bottom: 0;
}
}