html {
    font-size: 100%;
}


:root {
    --container-default-padding-left: 16px;
    --container-default-padding-right: 16px;
}

body {
    font-family: "Fira Sans", sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #231831!important;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    background-color: #fff9fc;
    line-height: 1.6;
}

@media (max-width: 600px) {
    body {
        font-size: 17px;
    }
}

::selection {}

html { 
    overflow-y: scroll !important;
    /* scroll-behavior: smooth; */
}

a {
    color: #b85a90;
}

a:hover {
    color: #b85a90;
}


.wrapper-pix-site {
    overflow: hidden;
    position: relative;
    z-index: 200;
}


.pix-wrapper-contenu {
    z-index: 0;
    position: relative;
}


div.pix-wrapper-contenu {
    padding-top: 60px;
}

@media (max-width: 500px) {
    div.pix-wrapper-contenu {
        padding-top: 40px;
    }
}

body.pix-bandeau-fullwidth-loaded div.pix-wrapper-contenu {
    padding-top: 0px;
}

.page-content a {
    text-decoration: none;
    font-weight: 700;
}

h1,
h2,
h3,
h4,
h5,
h6 {}

h1.elementor-heading-title,
h1.wp-block-heading,
h1.pix-title {
    font-family: "Fira Sans", sans-serif!important;
    text-transform: uppercase;
    color: #443b51!important;
    font-weight: 600!important;
    font-size: clamp(28px, 4vw, 60px); 
    line-height: 1.1;
    margin-bottom: 0.3em;
}

h2.entry-title,
h2.wp-block-heading, 
h2.elementor-heading-title,
h2.pix-title {
    font-family: "Fira Sans", sans-serif!important;
    font-size: calc(clamp(28px, 4vw, 60px) * 44 / 60);
    text-transform: uppercase;
    font-weight: 600!important;
    color: #443b51!important;
    line-height: 1.1;
}


h3.elementor-heading-title {
    font-family: "Nunito Sans", sans-serif;
    font-size: calc(clamp(32px, 4vw, 44px) * 28 / 44);
    text-transform: none;
    font-weight: 550;
    color: #443b51!important;
    line-height: 1.1;
}

h3 {
    margin-top: 20px;
    margin-bottom: 5px;
}



.pix-titre-news h1 {
    font-size: clamp(22px, 4vw, 34px);
    line-height: 1.1;
}




.elementor a {
    font-weight: 700;
}

.elementor-widget-text-editor {
    color: #231831;
}


h1 span.dl,
h2 span.dl {
    display: block;
    color: currentColor;
    font-weight: 300;
    font-style: italic;
    font-size: max(18px, 0.6em);
    text-transform: none;
    color: #443b51;
    margin-top: -0.1em;
}

h1 span.fin,
h2 span.fin {
    font-weight: 300;
}

h1 span.underline,
h2 span.underline {
    text-decoration: underline;
    text-decoration-color: currentColor;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 6px;
}


a.pix-backtotop {
    display: none;
    width: 48px;
    height: 48px;
    text-indent: -9999px;
    position: fixed;
    z-index: 9999;
    right: -10px;
    bottom: 10px;
    transform: translateX(-50%);
    background: #443B51 url("i/arrow-up.svg") no-repeat center center;
    background-size: 22px 22px;
    border-radius: 99px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.27);
    transition: background 0.2s ease 0s;
}

a.pix-backtotop:hover {
    background: #584c69 url("i/arrow-up.svg") no-repeat center center;
    background-size: 26px 26px;
}


.site-branding {
    max-width: initial;
    position: relative;
    z-index: 2;
    display: inline-block;
}



.pix-site-header {
    position: relative;
    z-index: 2000;
}

a.pix-bouton,
.elementor-button,
form.elementor-form button[type=submit],
.pix-search .e-search-submit {
    font-family: "Fira Sans", sans-serif;
    font-style: normal;
    text-shadow: none;
    display: inline-block;
    padding: 0.8em 1em 0.8em 1em!important;
    color: #443b51!important;
    fill: #443b51!important;
    border: none;
    text-align: center;
    font-size: 18px;
    font-weight: 600!important;
    text-decoration: none !important;
    text-transform: uppercase;
    margin-top: 9px;
    transition: all 0.2s ease 0s;
    background-color: transparent!important;
    border-radius: 0!important;
    border: 2px solid #443b51!important;
    position: relative;
}


a.pix-bouton:hover,
.elementor-button:hover,
form.elementor-form button[type=submit]:hover {
    background: #443b51!important;
    color: #fff!important;
    fill: #fff!important;
}

form.elementor-form button[type=submit] span {
    font-weight: inherit!important;
}


.pix-search .e-search-submit {
    margin-top: 0;
}


@media (max-width: 767px) {
    a.pix-bouton,
    .elementor-button,
    form.elementor-form button[type=submit]{
        padding: 7px 15px 7px 15px;
        font-size: 16px;
        
    }
}





ul {
    margin-bottom: 10px;
}

ul>li {
    margin-bottom: 0px;
}


div.elementor-message-success {
    font-size: 16px;
    font-weight: bold;
    color: #39b54a;
}



.pswp {
    z-index: 150000;
}



#map iframe {
    vertical-align: top;
}



.grecaptcha-badge {
    visibility: hidden;
}

.elementor-widget-image img,
.elementor-widget-gallery div div a,
.elementor-element .elementor-widget-image
 {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.no-shadow img {
    box-shadow: none;
}



form.elementor-form {
    box-shadow: 0px 0px 20px rgb(0, 0, 0, 0.1);
    padding: 20px;
}


p {
    margin-top: 0;
    margin-bottom: 20px;
}


form.elementor-form label.elementor-field-label {
    padding-bottom: 6px !important;
    font-family: "Fira Sans", sans-serif;
    font-weight: 400;
    color: currentColor;
}

.pix-nomarginbottom {
    margin-bottom: 0px !important;
}

.dialog-type-lightbox {
    z-index: 999999 !important;
}

.pix-wrapper-contenu ul.puce {
    margin: 0;
    padding: 0;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-left: 14px;
}

.pix-wrapper-contenu ul.puce>li {
    list-style-type: none;
    background-image: url(i/puce.svg);
    background-repeat: no-repeat;
    padding-left: 18px;
    padding-right: 2px;
    background-position: 0px 10px;
    background-size: 12px;
    margin: 0px 0px 7px 0px;
    overflow: hidden;
}



.list-3-columns {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
}

.list-2-columns {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
}



@media (max-width:800px) {
    .list-3-columns {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
}

@media (max-width:490px) {

    .list-3-columns,
    .list-2-columns {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
}



ul.list-3-columns li,
ul.list-2-columns li {
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
}


.pix-contenu-top {
    padding-top: 30px;
}

.elementor-widget.elementor-widget.pix-contenu-bottom,
div.elementor-element.pix-contenu-bottom {
    margin-bottom: 50px;
}


body.single-post .elementor-post-navigation .post-navigation__next--label,
body.single-post .elementor-post-navigation .post-navigation__prev--label {
    text-transform: none;
    font-weight: 400;
    font-size: 15px;
}


.pix-noshadow {
    box-shadow: none !important;
}


.pix-wrapper-custom-gallery {
    clear: both;
}

.pix-custom-gallery {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.pix-gallery-item {
    padding: 20px;
    width: 33.33%;
    text-align: center;
}

.pix-gallery-item img {
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5) !important;
}

@media (max-width:980px) {
    .pix-gallery-item {
        padding: 15px;
        width: 50%;
    }
}

@media (max-width:540px) {
    .pix-gallery-item {
        padding: 10px;
        width: 100%;
    }
}


.elementor-gallery__container[style] .elementor-gallery-item .elementor-gallery-item__content {
    position: static!important;
    height: auto!important;
    width: auto!important;

    --pix-gallery-opacity: 1;
}

.elementor-gallery-item__description {
    opacity: var(--pix-gallery-opacity, 0)!important;
    color: #584c69!important;

    transition: opacity 0s 0.5s;
}


.isotope-grid {
  margin: 0 auto;
}

.isotope-grid:after {
  content: '';
  display: block;
  clear: both;
}


.isotope-grid .grid-item {
  width: 25%;   /* 4 colonnes par défaut */
  margin-bottom: 20px;
  float: left;
  box-sizing: border-box;
  text-align: center;
}

.isotope-grid .image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;   /* carré */
  overflow: hidden;
}

.isotope-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.isotope-grid .image-desc {
  font-size: 14px;
  color: #555;
  padding: 8px 0 0;
  line-height: 1.5;
  text-align: center;
}

/* Centrer le conteneur Isotope */
.isotope-grid{
  max-width: 1380px;     /* ajuste la largeur cible */
  margin: 0 auto !important;
  position: relative;    /* recommandé pour Isotope */
}

.pix-masonry-wrapper {padding:15px;}


/* ✅ Media queries */
@media (max-width: 1080px) {
  .isotope-grid .grid-item {
    width: 33.33% !important;   /* Forcer 3 colonnes */
  }
    .isotope-grid{
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
@media (max-width: 910px) {
  .isotope-grid .grid-item {
    width: 50% !important;   /* Forcer 2 colonnes */
  }
}

@media (max-width: 772px) {
  .isotope-grid .grid-item {
    width: 100% !important;  /* Forcer 1 colonne */
  }
}


a.lien-sacperso {font-weight:inherit;color: inherit;}
a.lien-sacperso span.underline:hover {text-decoration: none;}



