body{
    margin:0;
    font-family: Inter, sans-serif;
   /* background:#f8f8f8;*/
    color:#222;
}

.header-site {
       /* position: sticky;*/
    top: 0;
    z-index: 1000;
    padding: 25px 30px 0;
    background: rgba(255, 255, 255, 0.90);
        backdrop-filter: blur(6px);

    border-bottom: 1px solid #ddd;
}

.header-site h1 {
    margin: 0 0 3px;
    font-family: "Playfair Display", serif;
     text-align: center;
    font-size: 28px;
    font-weight: 550;
    letter-spacing: 1px;
    justify-content: center;
    align-items: center;
}

.header-site h2 {
    margin: 0 0 15px;
    font-family: "Playfair Display", serif;
     text-align: center;
    font-size: 15px;
    font-weight: 350;
    letter-spacing: 1px;
    font-style: italic;
    justify-content: center;
    align-items: center;
}


.recherche {
    width: 100%;
    padding: 0 0 15px;
    border-bottom: 1px solid #ddd;
}

.recherche input {
    width: 100%;
    height: 42px;
    box-sizing: border-box;

    border: 1px solid #bbb;
    border-radius: 30px;

    padding: 0 14px;
    font-size: 14px;
    outline: none;
   /* background: #fafafa;*/
}

.recherche input:focus {
    border-color: #111;
}

/*===========================================*/
/*PRESENTATION*/
/*============================================*/

.presentation {
     max-width: 700px;
     margin: 25px auto 15px;
     padding: 5px 20px;
     text-align: center;
}

#oeuvres {
    padding: 10px 20px 0;
}


.presentation h1 {

    font-size: 30px;
    font-weight: 500px;
    margin-bottom: 5px;
}

.photo-artiste {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 30px;
}


.presentation p {
    font-size: 14px;
    line-height: 1.3;
    margin: 0;
}

/*---------------------------------*/
/*=============================================*/

nav a{
    margin:15px;
    text-decoration:none;
    color:black;
}
.hero{
    background: grey; /*Couleur de header en blanche*/
    border-bottom: 3px solid #ddd; /*trait en bas*/
    text-align:center;
    padding:40px;
    color: white;
}
h2{
    text-align:center;
}
#galerie{
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;

    columns: 3;
    column-gap: 50px;

}

/*#galerie {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 22px;
    row-gap: 15px;
}*/
.carte {
    width: 100%;
    margin: 0 0 22px;
    padding: 0;

    display: inline-block;
    vertical-align: top;
    overflow: hidden;

    background: white;
    color: #222;
    text-decoration: none;
    text-align: left;

    break-inside: avoid;
}

/*.carte:hover {
    border: 2px solid grey;
{*/



.carte img{

    display: block;

    width: 100%;
    height: auto;

    margin: 0;
    padding: 0;

    object-fit: contain;
    transform-origin: center;
   transition: transform 0.6s ease;

}

.carte:hover img {
    transform: scale(1.02);
}

/* =========================
   INFORMATIONS
========================= */

.carte h3 {
    margin: 8px 0 2px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    margin: 8px 0 3px;
}

.carte h4 {
    margin: 0 0 5px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;
    color: #777;
    margin: 0 0 5px;
}

.carte p {
     margin: 2px 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    color: #555;
    margin: 2px 0;
}

.carte strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 6px;
}

.sold {
    color: red !important;
}

.vendue {
    cursor: default;
}

.carte.vendue img {
    filter: brightness(60%);
}



section{

    padding:40px;
}
/*Mise en place des pied*/
    /*Pied de page*/

footer {
    margin-top: 60px;
    padding: 40px 20px 20px;
    border-top: 1px solid #333;
   background-color: #0a0a0a;
   color: #aaa;
    color: #fff;
    text-align: center;
}

.footer-contact,
.footer-legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.footer-contact h4,
.footer-legal h4 {
    margin: 0 0 5px;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-contact a,
.footer-legal a {
    color: #aaa;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact a:hover,
.footer-legal a:hover {
    color: #fff;
}

.footer-contact i {
    margin-right: 6px;
    font-size: 16px;
}

.footer-copyright {
    margin: 30px 0 0;
    padding-top: 18px;
    border-top: 1px solid #222;
    color: #777;
    font-size: 11px;
}


/* ========================= */
/* Version téléphone */
/* ========================= */
@media screen and (max-width: 768px) {

    .header-site {
        padding: 15px 20px 10px;
    }

    .header-site h1 {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .recherche {
        width: 100%;
    }

    .recherche input {
        width: 100%;
        height: 42px;
        font-size: 14px;
        box-sizing: border-box;
    }

    #oeuvres {
        padding: 10px 15px 0;
    }

    #galerie {
      
        column-gap: 15px;
         columns: 2;
        row-gap: 30px;
    }

    .carte h3 {
        font-size: 14px;
    }

    .carte h4 {
        font-size: 10px;
    }

    .carte p {
        font-size: 11px;
    }

    .carte strong {
        font-size: 14px;
    }

    footer {
        padding: 35px 15px 18px;
    }

}
