html{
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
    font-family: "Outfit", sans-serif;
}
body{
    background:white;
    color:#5D5D5D;
    margin:0;
    overflow-x: hidden;
}
p{
    font-size: 1rem;
}

h1{
    font-size: 2.1rem;
    font-weight: 500;
}

h2 {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 500;
    margin-top: 0;
}
h3 {
    font-size: 1rem;
    line-height: 1.4rem;
    margin: 0;
    font-weight: 500;
    margin-top:1rem;
}

.col-hero h2 {
    margin-bottom: 1rem;
    color: white;
    margin-top: 2rem;
}

.col-hero p{
    color: white;
    margin: 0;
}

h4 {
    font-family: 'Dieter';
    font-size: 1.5rem;
}

a{
    text-decoration: none;
}

header a:last-child {
    padding-right: 0;
    padding-top: 0.5rem;
}

header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 1;
    position: relative;
    z-index: 5;
    transition: all .2s ease;
}

header a {
    font-size: 1rem;
    padding: 0.2rem .5rem;
    cursor: pointer;
    font-weight: 500;
    color: white;
}

header a:last-child{
    padding-right: 0;
}

header nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero{
    background-image:url('/assets/img/background.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#hero .row{
    height: 100vh;
}

.col-lg-12.col-hero {
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

header#masthead {
    position: fixed;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem;
    box-sizing: border-box;
}

.gm-style .gm-style-iw-c {
    box-shadow: 2px 2px 20px 4px rgb(0 0 0 / 10%);
    border: 1px solid #7C216D;
    border-radius: 12px;
}

.gm-style .gm-style-iw-c h3 {
    font-family: 'Outfit';
    font-weight: 500;
}

.gm-infowindow a {
    color: #7C216D;
}

.gm-style-iw.gm-style-iw-c {
    padding: 1rem!important;
}

.gm-style-iw-chr {
    position: absolute;
    right: 0;
    top:0;
}

.gm-infowindow p {
    margin-bottom: 0.4rem!important;
    font-size: 0.8rem!important;
}

.gm-infowindow h3 {
    margin: 0!important;
    font-size: 0.8rem!important;
}

.marker-cluster-small {
  background-color: rgba(0, 150, 255, 0.6); /* fond */
  color: white; /* couleur du texte */
  border: 2px solid #fff; /* contour */
}

.marker-cluster-medium {
  background-color: rgba(255, 150, 0, 0.6);
  color: black;
}

.marker-cluster-large {
  background-color: rgba(255, 0, 100, 0.6);
  color: white;
}

.col-lg-12.col-logos img {
    margin: 1rem 2rem;
}
.col-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 62rem;
    margin: auto;
}
section#partenaires {
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.partenaires-mention {
    margin: 2rem 0 0 0;
    text-align: center;
}
.partenaires-mention-intro {
    margin: 0 0 2rem;
}
footer{
    width: 100%;
    border-top: 1px solid #7C216D;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

footer a, footer p{
    color: #7C216D;
    font-size: 0.8rem;
    margin: 0;
    padding: 0;
    font-weight: 500;
}

.col-footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.infos-galleries{
    font-size: 0.8rem;
    margin: 0;
}

.bloc-gallerie {
    padding: 0 .5rem;
    margin-bottom: 1rem;
    display: inline-block;
    margin-bottom: 0.8rem;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.bloc-gallerie h3 {
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    padding-left: 1.8rem;
}

.bloc-gallerie a {
    color: #7C216D;
}

.col-galerie{
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.gm-style-iw-tc {
    display: none;
}

section#hero img {
    max-width: 15rem;
}

.scrolled a {
    color: #7C216D;
}

header#masthead.scrolled {
    background: white;
    padding: 1rem 1.5rem;
}

.scrolled a {
    color: #7C216D;
}

.scrolled svg path{
    fill:#7C216D;
}
    
.grand-part {
    display: flex;
    justify-content: center;
    align-items: center;
}

.grand-part p {
    max-width: 14rem;
    text-align: left;
    margin-left: 1rem;
}

.grand-part {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

section#page-content {
    padding-top: 9rem;
    margin-bottom: 8rem;
}

.link-logo{
    padding: 0;
}

a.btn-plan {
    position: absolute;
    z-index: 99999999;
    color: #7C216D;
    padding: 1rem 2rem;
    left: 3rem;
    bottom: 3rem;
    border: 2px solid;
    border-radius: 0.3rem;
    background: white;
}

section#gmap {
    position: relative;
}

section#performance {
    padding-top: 5rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid #7C216D;
}

p.number {
    background: #7C216D;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    position: absolute;
    left: 8px;
    top: 3px;
}



@media screen and (min-width:1400px){
    .col-galerie {
        column-count: 5;
        background-image: linear-gradient(to right, #E5E2EE 0 20%, #F3F1F7 20% 40%, #E5E2EE 40% 60%, #F3F1F7 60% 80%, #E5E2EE 80% 100%);
    }
}

@media screen and (min-width:1080px) and (max-width:1400px){
    .col-galerie {
        column-count: 4;
        background-image: linear-gradient(to right, #E5E2EE 0 25%, #F3F1F7 25% 50%, #E5E2EE 50% 75%, #F3F1F7 75% 100%);
    }
}

@media screen and (min-width:800px) and (max-width:1080px){
     .col-galerie {
        column-count: 3;
        background-image: linear-gradient(to right, #E5E2EE 0 33.333333%, #F3F1F7 33.333333% 66.666666%, #E5E2EE 66.666666% 100%);
    }
}

@media screen and (max-width:800px){
     .col-galerie {
        column-count: 2;
        background-image: linear-gradient(to right, #E5E2EE 0 50%, #F3F1F7 50% 100%);
    }
}

@media screen and (min-width:1300px){
    .col-logos {
        max-width: 92rem;
    }
}

@media screen and (min-width:48rem){
    p.number {
    left: 21px;
}
        header#masthead {
        padding: 2.5rem 2.5rem;
    }
    .bloc-gallerie {
        padding: 0 1.5rem;
        margin-bottom: 1rem;
        display: inline-block;
        margin-bottom: 0.8rem;
    }
    header a {
        padding: 0.2rem 1.5rem;
    }
    section#hero img {
    max-width: inherit;
    }
    h2 {
        font-size: 2.25rem;
        line-height: 2rem;
        font-weight: 500;
        margin-top: 0;
    }
}

/* Sélection d’œuvres */
#selection {
    padding: 4rem 1rem;
    scroll-margin-top: 6rem;
    border-bottom: 1px solid #E5E2EE;
}
#selection h2 {
    color: #7C216D;
    margin-bottom: 2.5rem;
}
.selection-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3rem 2rem;
}
.selection-artwork {
    margin: 0;
    min-width: 0;
}
.selection-image {
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}
.selection-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left bottom;
}
.selection-placeholder {
    color: #5D5D5D;
    font-size: .8rem;
}
.selection-artwork h3 {
    color: #7C216D;
    margin: 1rem 0 .5rem;
}
.selection-artwork p {
    margin: 0;
    font-size: .9rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.selection-artwork p span,
.selection-artwork p em {
    display: block;
}
@media screen and (max-width: 1023px) {
    .selection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 540px) {
    .selection-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Introduction */
#intro {
    padding: 4rem 1.5rem;
}
.intro-content {
    max-width: 56rem;
    margin: 0 auto;
}
#intro h2 {
    color: #7C216D;
    line-height: 1.25;
    margin: 0 0 1.5rem;
}
.intro-text {
    line-height: 1.65;
}
.intro-text p {
    margin: 0 0 1rem;
}
.intro-text p:last-child {
    margin-bottom: 0;
}
.intro-text a {
    color: #7C216D;
    text-decoration: underline;
}
