/* body {
    background: #fff;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background-image:
        radial-gradient(circle, rgba(0,0,0,0.05) 1px, transparent 1px),
        radial-gradient(circle, rgba(0,0,0,0.04) 1px, transparent 1px),
        radial-gradient(circle, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size:
        3px 3px,
        5px 5px,
        7px 7px;
    opacity: 0.6;
} */

html, body {
    margin: 0;
    padding: 0;
}

.rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.drop {
  position: absolute;
  width: 2px;
  height: 20px;
  background: rgba(0, 0, 0, 0.7);
  bottom: 100%;
  animation: fall linear infinite;
}

@keyframes fall {
  to {
    transform: translateY(120vh);
  }
}

.accueil{
    font-family: "Vend sans";
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.6);
    display: grid;
    text-align: center;
    grid-template-columns: 33% 33% 33%;
    grid-template-rows: 40px;
    justify-content: center;
    justify-items: center;
    align-items: center;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    backdrop-filter: grayscale(100%) blur(4px);
    width: 100vw;
    z-index: 1000;
    margin-bottom: 80px;
}

.ac{
    text-decoration: none;
    color: inherit;
    font-size: 15px;
    transition: font-size 0.2s;
}

@media (max-width:768px){
    .ac{
        text-decoration: none;
        color: inherit;
        font-size: 15px;
        transition: font-size 0.2s;
    }
}

.ac:hover{
    color: rgb(134, 134, 134);
}

@media (max-width:768px){
    .ac:hover{
        color: rgb(134, 134, 134);
    }
}

.nom{
    font-size: 15px;
    font-family: "Vend sans";
    transition: all 0.1s;
    text-decoration: none;
    color: rgb(255, 255, 255);
}

@media (max-width:768px){
    .nom{
        font-size: 15px;
        font-family: "Vend sans";
        transition: all 0.1s;
        text-decoration: none;
        color: rgb(255, 255, 255);
    }
}

.nom:hover{
    color: rgb(134, 134, 134);
}

@media (max-width:768px){
    .nom:hover{
        color: rgb(134, 134, 134);
    }
}

.proj{
    display: grid;
    grid-template-columns: 30% 30% 30%;
    grid-template-rows: repeat(2, 250px);
    justify-content: center;
    justify-items: center;
    align-items: center;
    gap: 10px;
    z-index: 1;
}

@media (min-width:768px){
    .proj{
        display: grid;
        grid-template-columns: 30% 30% 30%;
        grid-template-rows: repeat(2, 350px);
        justify-content: center;
        justify-items: center;
        align-items: center;
        margin-left: 50px;
        margin-right: 50px;
        gap: 10px;
        z-index: 1;
    }
}

@media (min-width:1068px){
    .proj{
        display: grid;
        grid-template-columns: 30% 30% 30%;
        grid-template-rows: repeat(2, 450px);
        justify-content: center;
        justify-items: center;
        align-items: center;
        margin-left: 100px;
        margin-right: 100px;
        gap: 10px;
        z-index: 1;
    }
}

.ap-co{
    object-fit: cover;
    width: 100%;
    height: 100%;
    border: 1px solid black;
}

.ap-col{
    object-fit: cover;
    width: 100%;
    height: 100%;
    grid-column: span 2;
    border: 1px solid black;
    box-sizing: border-box;
}

.accesproj1{
    display: grid;
    background: white;
    width: 28.5vw;
    height: 250px;
    font-family: "Stack Sans Notch";
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-size: 15px;
    text-align: center;
    justify-content: center;
    justify-items: center;
    align-items: center;
    box-sizing: border-box;
    padding: 20px;
    transition: font-size 0.4s ease, border-radius 0.4s ease, color 0.3s ease;
    border: 1px solid black;
}

@media (min-width:768px){
    .accesproj1{
        display: grid;
        background: white;
        width: 25vw;
        height: 350px;
        font-family: "Stack Sans Notch";
        text-decoration: none;
        color: rgb(0, 0, 0);
        font-size: 15px;
        text-align: center;
        justify-content: center;
        justify-items: center;
        align-items: center;
        box-sizing: border-box;
        padding: 20px;
        transition: font-size 0.4s ease, border-radius 0.4s ease, color 0.3s ease;
        border: 1px solid black;
        }
}

@media (min-width:1068px){
    .accesproj1{
        display: grid;
        background: white;
        width: 25vw;
        height: 450px;
        font-family: "Stack Sans Notch";
        text-decoration: none;
        color: rgb(0, 0, 0);
        font-size: 15px;
        text-align: center;
        justify-content: center;
        justify-items: center;
        align-items: center;
        box-sizing: border-box;
        padding: 20px;
        transition: font-size 0.05s ease, border-radius 0.4s ease, color 0.3s ease;
        border: 1px solid black;
        }
}

.accesproj1:hover{
    color: rgb(180, 180, 180);
}

@media (min-width:768px){
    .accesproj1:hover{
        color: rgb(180, 180, 180);
}
}

@media (min-width:1068px){
    .accesproj1:hover{
        color: rgb(180, 180, 180);
}
}

.image-vide {
    position: relative; 
    width: 100%;
    height: 100%;
    background: white;
    border: 1px solid rgb(0, 0, 0);
    font-family: "Vend Sans";
    display: grid;
    justify-content: center;
    justify-items: center;
    align-items: center;
    text-align: center;
    font-size: 25px;
    box-sizing: border-box;
    padding: 20px;
}

.image-vide::before {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    backdrop-filter: contrast(150%);
    z-index: 0;
}

@media (min-width:768px){
.image-vide {
    position: relative; 
    width: 100%;
    height: 100%;
    background: white;
    border: 1px solid rgb(0, 0, 0);
    overflow: hidden; /* nécessaire pour le pseudo-élément */
    font-family: "Vend Sans";
    display: grid;
    justify-content: center;
    justify-items: center;
    align-items: center;
    text-align: center;
    font-size: 25px;
    box-sizing: border-box;
    padding: 20px;
}
}

@media (min-width:1068px){
    .image-vide {
        position: relative; 
        width: 100%;
        height: 100%;
        background: white;
        border: 1px solid rgb(0, 0, 0);
        overflow: hidden; /* nécessaire pour le pseudo-élément */
        font-family: "Vend Sans";
        display: grid;
        justify-content: center;
        justify-items: center;
        align-items: center;
        text-align: center;
        font-size: 25px;
        box-sizing: border-box;
        padding: 20px;
    }
}

.perso {
    font-family: "Vend Sans", sans serif;
    font-size: 15px;
    display: grid;
    grid-template-columns: 100%;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.perso1{
    background: white;
    backdrop-filter: blur(54px);
    margin: 30px 30px;
    border: 1px solid black;
    box-sizing: border-box;
    padding: 15px;
}

.perso2{
    background: white;
    margin: 30px 30px;
    border: 1px solid black;
    box-sizing: border-box;
    padding: 15px;
}

.esad{
    text-decoration: none;
    color: red;
    font-size: 15px;
}

.esad:hover{
    color: rgb(255, 163, 163);
}

.st{
    font-weight: bold;
}

/* .contact{
    font-family: "Vend Sans", sans serif;
    font-size: 20px;
    display: grid;
    grid-template-columns: 50% 50%;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(54px);
    margin: 30px 30px;
    border: 1px solid black;
    box-sizing: border-box;
    padding: 15px;
} */

.contact1{
    font-family: "Vend Sans", sans serif;
    font-size: 15px;
    display: grid;
    grid-template-columns: 100%;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background: white;
    margin: 30px 30px;
    border: 1px solid black;
    box-sizing: border-box;
    padding: 15px;
}

.contact2{
    font-family: "Vend Sans", sans serif;
    font-size: 15px;
    display: grid;
    grid-template-columns: 100%;
    justify-content: center;
    align-items: center;
    background: white;
    margin: 30px 30px;
    border: 1px solid black;
    box-sizing: border-box;
    padding: 15px;
}

.cv{
    display: grid;
    text-decoration: none;
    color: red;
}

.cv:hover{
    color: rgb(255, 163, 163);
    font-size: 15px;
}

.bloc-projet {
    position: relative;
    margin-bottom: 150px;
}

.titre-sticky {
    position: sticky;
    top: 40px;
    /* background: rgba(255, 255, 255, 0.7); */
    background: white;
    border-bottom: 1px solid black;
    padding: 6px 0;
    z-index: 10;
    font-size: 15px;
    font-weight: 600;
    color: red;
    font-family: "Vend sans";
    display: grid;
    justify-content: center;
    align-items: center;
    z-index: 10;
    backdrop-filter: blur(2px) grayscale(100%);
}

.contenu-projet {
    margin-top: 20px;
}

.kjg{
    display: grid;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    font-family: "Stack Sans Notch";    
    text-align: center;
    margin-bottom: 100px;
}


@media (min-width:650px){
    .kjg1img{
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height:450px;
}
}

@media (min-width:1068px){
    .kjg1img{
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 720px;
}
}

.retour-haut {
    width: 100%;
    display: grid;
    justify-content: center;
    margin: 40px 0;
}

.retour-haut a {
    font-family: "Vend Sans";
    font-size: 15px;
    text-decoration: none;
    border: 1px solid black;
    color: black;
    padding: 10px 20px;
    transition: 0.2s;
}

.retour-haut a:hover {
    background: black;
    color: white;
}

.kjg1 {
    max-width: 1200px; /* ou une valeur adaptée à ton design */
    margin: 0 auto; /* centrer la grille */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 0 20px; /* padding horizontal */
}

/* ----- SPANS ----- */

/* Images 1 colonne */
.kjg1img,
.img3kjg,
.img4kjg {
    grid-column: span 1;
}

/* Image pleine largeur (1 → 3) */
.kjg1imgl {
    grid-column: 1 / -1;
}

/* Image large (colonne 2 → 3) */
.kjg1img {
    grid-column: 1 / 2;
    width: 100%;
    object-fit: cover;
}

.kjg1imgm {
    grid-column: 2 / 4;
    width: 100%;
    object-fit: cover;
}

.kjg1imgs {
    grid-column: 1 / 3;
    width: 100%;
    object-fit: cover;
}

/* Texte : colonne 2 + colonne 3 */
.kjg1txt {
    grid-column: 2 / 4;
    font-family: "Vend Sans";
    font-size: 15px;
    align-self: center; /* pour centrer verticalement à côté de l’image */
}

@media (max-width:625px){
    .kjg1txt {
    grid-column: 2 / 4;
    font-family: "Vend Sans";
    font-size: 12px;
    align-self: center; /* pour centrer verticalement à côté de l’image */
}
}

@media (min-width:868px){
    .kjg1txt {
    grid-column: 2 / 4;
    font-family: "Vend Sans";
    font-size: 20px;
    align-self: center; /* pour centrer verticalement à côté de l’image */
}
}

.kjg1imgm,
.kjg1imgs {
    width: 100%;
    height: 100%; /* remplir la cellule */
    object-fit: cover; /* garder le ratio */
    display: block;
}

.kjg1 img {
    width: 100%;
    height: 100%;   /* ← obligatoire */
    object-fit: cover;
}


.titre-askip {
    font-family: "Vend sans";
    display: grid;
    align-items: center;
    justify-content: center;
    grid-column: 2;
    margin-top: 50px;
    border-top: 1px solid black;
    position: sticky;
    top: 40px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(3px) grayscale(100%);
    z-index: 50;
    padding: 7px 0; 
}

/* Images ASKIP */
.askip {
    grid-column: 1 / -1; /* pleine largeur */
    width: 100%;
    object-fit: cover;
    display: block;
    margin-top: 10px;
}

/* Texte introductif */
.askiptxt {
    grid-column: 1 / -1;
    font-family: "Vend Sans";
    font-size: 15px;
    align-self: center;
    margin-bottom: 20px;
}


.ap-askip{
    object-fit: cover;
    width: 100%;
    height: 100%;
    grid-column: span 2;
    grid-row: span 2;
    border: 1px solid black;
    box-sizing: border-box;
}

.khali{
    display: grid;
    align-items: center;
    justify-content: center;
    margin: 20px 20px;
}

.txtkhali{
    font-family: "Vend sans";
    font-size: 15px;
    display: grid;
    justify-content: center;
    align-items: center;
    margin: 20px 20px;
}

/* .proposbody{
    margin: 0;
    padding: 0;
    background: 
        linear-gradient(to top, rgba(255,255,255,0) 30%, white 100%),
        url("visuels-p/graph-garage.png");
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
} */

.vnlgrid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    margin: 0 auto;
    gap: 15px;
    padding: 0 20px;
}

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

.vnll{
    width: 100%;
    object-fit: cover;
    grid-column: span 2;
}

.vnltxt{
    font-family: "Vend sans";
    font-size: 15px;
    display: grid;
    justify-content: center;
    align-items: center;
    margin: 20px 20px;
}

/* .actubody{
    margin: 0;
    padding: 0;
    background: 
        linear-gradient(to top, rgba(255,255,255,0) 30%, white 100%),
        url("visuels-p/fond.png");
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
} */

.moment {
    display: grid;
    grid-template-columns: 200px 200px 200px;
    justify-content: center;
    align-items: center;
    grid-auto-rows: 200px;
    gap: 10px;
    margin: 10px 10px;;
}

@media (max-width:668px){
    .moment {
    display: grid;
    grid-template-columns: 150px 150px 150px;
    justify-content: center;
    align-items: center;
    grid-auto-rows: 150px;
    gap: 10px;
    margin: 10px 10px;;
}
}

@media (min-width:1068px){
    .moment {
    display: grid;
    grid-template-columns: 300px 300px 300px;
    justify-content: center;
    align-items: center;
    grid-auto-rows: 300px;
    gap: 10px;
    margin: 10px 10px;;
}
}

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

.imgactul{
    width: 100%;
    height: auto;
    grid-column: span 2;
}

.imgactum{
    width: 100%;
    height: auto;
    object-fit: cover;
    grid-row: span 2;
}

.imgactug{
    width: 100%;
    height: auto;
    object-fit: cover;
    grid-row: span 2;
    grid-column: span 2;
}

.bloc {
    position: relative;
    width: 100%;
    height: 100%;
}

.bloc .txt {
    position: absolute;
    background: white;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 5px;
    padding-right: 5px;
    bottom:0px;
    left: 15px;
    font-family: "Vend Sans";
    font-size: 15px;
    color: rgb(0, 0, 0);
}

.bloc .txt2 {
    position: absolute;
    background: rgb(0, 0, 0);
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 5px;
    padding-right: 5px;
    bottom:0px;
    left: 15px;
    font-family: "Vend Sans";
    font-size: 15px;
    color: rgb(255, 255, 255);
}

.imgvide{
    position: relative; 
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgb(0, 0, 0);
    font-family: "Vend Sans";
    display: grid;
    justify-content: center;
    justify-items: center;
    align-items: center;
    text-align: center;
    font-size: 15px;
    box-sizing: border-box;
    padding: 20px;
}