@charset "UTF-8";
/*
Theme Name: Piarre Architecture
Theme URI:
Author: GEHIN Nicolas
Author URI:
Description: Thème ng1@base
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ng1-base
*/
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");
.contact-form-grid form {
  display: grid;
  row-gap: 2.5rem;
  -moz-column-gap: 4.5rem;
       column-gap: 4.5rem;
}
@media (max-width: 480px) {
  .contact-form-grid form {
    display: flex;
    flex-wrap: wrap;
    row-gap: 0.1 0.2rem;
  }
}

.contact-form-grid form > :nth-child(-n+4) {
  grid-column: span 1;
}

.contact-form-grid form {
  grid-template-columns: repeat(2, 1fr); /* 2 colonnes égales */
}

.contact-form-grid form > :nth-child(n+6) {
  grid-column: span 2; /* Occupe toute la largeur (2 colonnes) */
}

.contact-form-grid form label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-form-grid form span {
  width: 100%;
  display: block;
}
.contact-form-grid form span.equipements-checkbox {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.contact-form-grid form span.equipements-checkbox span {
  width: -moz-fit-content;
  width: fit-content;
}

.contact-form-grid form input:not([type=submit]):not([type=checkbox]):not([type=radio]),
.contact-form-grid form textarea,
.contact-form-grid form select {
  border-bottom: 1px solid currentColor;
  background-color: transparent;
  width: 100% !important;
  box-sizing: border-box;
  padding: 1rem 0.5rem 1rem 0;
  border-radius: 0;
  font-size: 1.125rem;
  color: var(--wp--preset--color--contrast);
}

.contact-form-grid form .wpcf7-list-item {
  margin: 0.5rem 0 0 0 !important;
}
.contact-form-grid form .wpcf7-list-item label {
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

input[type=submit].wpcf7-submit {
  margin-top: 0.5rem !important;
  padding: 1rem !important;
  background: transparent !important;
  width: -moz-fit-content;
  width: fit-content;
  color: var(--wp--preset--color--contrast) !important;
  border: 1px solid currentColor;
  font-size: 0.8rem;
  text-transform: uppercase;
  transition: all 0.5s;
  cursor: pointer;
}
input[type=submit].wpcf7-submit:hover {
  background-color: var(--wp--preset--color--contrast) !important;
  color: var(--wp--preset--color--base) !important;
  border-color: var(--wp--preset--color--contrast) !important;
}

.form-group {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-radius: 0.25rem;
}

input[type=checkbox] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border-radius: 0.25rem;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 1rem;
  height: 1rem;
  border: 1px solid var(--wp--preset--color--contrast);
  background-color: var(--wp--preset--color--base);
  cursor: pointer;
}

input[type=checkbox]:checked {
  background-color: var(--wp--preset--color--contrast);
  border-color: var(--wp--preset--color--base);
}
input[type=checkbox]:checked:before {
  content: "";
  height: 1rem;
  width: 1rem;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 30 30" width="30px" height="30px"><path d="M 26.980469 5.9902344 A 1.0001 1.0001 0 0 0 26.292969 6.2929688 L 11 21.585938 L 4.7070312 15.292969 A 1.0001 1.0001 0 1 0 3.2929688 16.707031 L 10.292969 23.707031 A 1.0001 1.0001 0 0 0 11.707031 23.707031 L 27.707031 7.7070312 A 1.0001 1.0001 0 0 0 26.980469 5.9902344 z"/></svg>');
  background-image: url('data:image/svg+xml,%3C%3Fxml version="1.0" encoding="UTF-8"%3F%3E%3Csvg id="Calque_1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 30 30"%3E%3C!-- Generator: Adobe Illustrator 29.2.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 116) --%3E%3Cdefs%3E%3Cstyle%3E .st0 %7B fill: %23fff; %7D %3C/style%3E%3C/defs%3E%3Cpath class="st0" d="M27.8,5.2c-.5-.5-1.1-.8-1.8-.8h0c-.6,0-1.2.3-1.6.7l-13.7,14.2-5-5.2c-.9-1-2.4-1-3.4,0-1,1-1,2.5,0,3.6l6.7,7c.5.5,1.1.7,1.7.7s1.2-.2,1.7-.7l15.4-16c.5-.5.7-1.1.7-1.8,0-.7-.2-1.3-.7-1.8Z"/%3E%3C/svg%3E');
  background-size: contain;
  display: block;
  text-align: center;
  font-size: 1em;
  line-height: 1.2em;
}

input:not([type=submit]):not([type=checkbox]):not([type=radio]),
textarea,
select {
  border-color: transparent;
  background-color: transparent;
  width: 100% !important;
  box-sizing: border-box;
  padding: 1rem 0.5rem 1rem 0;
}

/* conteneur de chaque champ */
.with-label-behind.field {
  position: relative; /* référence pour le label absolute */
  margin-bottom: 1.2rem;
}

/* le champ lui-même */
.with-label-behind .input {
  width: 100%;
  padding: 1rem 0.75rem 0.5rem 0; /* un peu d’espace en haut pour le label */
  position: relative;
  z-index: 2; /* au-dessus du label */
}

/* le label « placeholder » */
.with-label-behind label {
  position: absolute;
  left: 0;
  top: 1rem; /* centré verticalement */
  color: #7f8c8d;
  pointer-events: none; /* clics à travers */
  z-index: 1; /* derrière le champ */
  transition: opacity 0.25s ease, transform 0.5s ease;
  text-transform: uppercase;
  color: var(--wp--preset--color--contrast-2);
}

/* disparition quand focus OU quand le champ a une valeur */
.with-label-behind .input:focus + label,
.with-label-behind .input.has-value + label {
  opacity: 0;
}

/* disparition si focus OU si valeur saisie */
.field:has(input:focus) label,
.field:has(input.has-value) label {
  opacity: 0.9;
  transform: translateY(3.5em);
  font-size: 0.8em;
}

.field:has(textarea:focus) label,
.field:has(textarea.has-value) label {
  opacity: 0.9;
  transform: translateY(-2.5em);
  font-size: 0.8em;
}

textarea {
  height: 158px;
}

textarea:focus, input:focus {
  outline: none;
}

.wpcf7-not-valid-tip {
  transform: translateY(1.325rem);
  font-size: 0.7rem;
}

/* 1. On positionne la carte en référence */
.card-desloop {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: 0.35s ease;
  /* 2. Le lien devient la zone cliquable */
}
.card-desloop .wp-block-post-title a {
  position: static;
  color: inherit;
  text-decoration: none;
  transition: all 0.35s ease;
  /* pseudo-lien invisible qui recouvre toute la <li> */
}
.card-desloop .wp-block-post-title a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* 4. Image : effet au survol (optionnel) */
.wp-block-post-featured-image {
  overflow: hidden;
}
.wp-block-post-featured-image > img {
  transition: transform 0.35s ease;
}
.card-desloop:hover .wp-block-post-featured-image > img {
  transform: scale(1.05);
}

.card-desloop:hover {
  margin-bottom: -1.5em;
}
.card-desloop:hover .wp-block-post-title > a {
  display: inline-block;
  font-size: 120%;
  color: var(--wp--preset--color--accent-2) !important;
}

header.wp-block-template-part {
  transition: all 0.4s;
}
header.wp-block-template-part.fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}
header.wp-block-template-part.reverse-color {
  color: var(--wp--preset--color--base);
}
header.wp-block-template-part.is-plain {
  color: var(--wp--preset--color--contrast-2);
  background: var(--wp--preset--color--base);
}
header.wp-block-template-part.to-top {
  color: var(--wp--preset--color--contrast-2);
  background: var(--wp--preset--color--base);
}
header.wp-block-template-part.to-top .logo-svg__link svg {
  height: 3rem;
}
header.wp-block-template-part.is-on-top .logo-stack__container {
  opacity: 0;
}
header.wp-block-template-part.is-on-top .is-content-justification-right {
  flex-direction: row-reverse;
}
header.wp-block-template-part .wp-block-navigation {
  transition: all 0.4s;
  opacity: 1;
  transform: translateX(0);
}
header.wp-block-template-part.hide-menu-items.is-on-top .wp-block-navigation {
  transition: all 0s;
  opacity: 1;
  transform: translateX(0);
}
header.wp-block-template-part.hide-menu-items .wp-block-navigation {
  opacity: 0;
  transform: translateX(200%);
}

.header-logo-gap {
  gap: 6rem !important;
}
@media (max-width: 1024px) {
  .header-logo-gap {
    gap: 0 !important;
  }
}

:root {
  --row-height:4vmax;
}
@media (max-width: 600px) {
  :root {
    --row-height:.5rem;
  }
}
@media (min-width: 1440px) {
  :root {
    --row-height:3rem;
  }
}

.wp-block-post-template.is-style-special-grid > .wp-block-post {
  position: relative;
}
.wp-block-post-template.is-style-special-grid > .wp-block-post figure {
  overflow: hidden;
  position: relative;
}
.wp-block-post-template.is-style-special-grid > .wp-block-post a {
  font-size: 14px !important;
  transition: color 0.5s ease, font-size 0.5s ease;
}
.wp-block-post-template.is-style-special-grid > .wp-block-post a:has(img) img {
  transition: transform 0.6s;
}
.wp-block-post-template.is-style-special-grid > .wp-block-post a:has(img):hover img {
  transform: scale(1.1);
}
.wp-block-post-template.is-style-special-grid > .wp-block-post a:has(img):hover:before {
  opacity: 0;
}

@media (max-width: 600px) {
  .wp-block-post-template.is-style-special-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem;
  }
}
@media (min-width: 600px) {
  .wp-block-post-template.is-style-special-grid {
    grid-template-columns: repeat(20, minmax(0, 1fr)) !important;
    grid-auto-rows: var(--row-height);
    gap: 12px;
  }
  .wp-block-post-template.is-style-special-grid:after {
    content: "";
    grid-column: 1/-1;
    grid-row-start: 24;
    grid-row-end: span 1;
    height: 120px;
  }
  .wp-block-post-template.is-style-special-grid > .wp-block-post {
    aspect-ratio: 4/3;
    position: inherit;
  }
  .wp-block-post-template.is-style-special-grid > .wp-block-post:hover {
    z-index: 2;
    opacity: 1;
  }
  .wp-block-post-template.is-style-special-grid > .wp-block-post:nth-of-type(1) {
    grid-column-start: 12;
    grid-column-end: span 9;
    grid-row-start: 1;
  }
  .wp-block-post-template.is-style-special-grid > .wp-block-post:nth-of-type(2) {
    grid-column-start: 1;
    grid-column-end: span 6;
    grid-row-start: 7;
  }
  .wp-block-post-template.is-style-special-grid > .wp-block-post:nth-of-type(3) {
    opacity: 1;
    z-index: 1;
    grid-column-start: 4;
    grid-column-end: span 6;
    grid-row-start: 11;
  }
  .wp-block-post-template.is-style-special-grid > .wp-block-post:nth-of-type(4) {
    grid-column-start: 9;
    grid-column-end: span 4;
    grid-row-start: 15;
  }
  .wp-block-post-template.is-style-special-grid > .wp-block-post:nth-of-type(5) {
    grid-column-start: 10;
    grid-column-end: span 4;
    grid-row-start: 22;
  }
  .wp-block-post-template.is-style-special-grid > .wp-block-post:nth-of-type(6) {
    opacity: 1;
    z-index: 1;
    grid-column-start: 13;
    grid-column-end: span 6;
    grid-row-start: 21;
  }
  .wp-block-post-template.is-style-special-grid > .wp-block-post:hover h3 a {
    color: var(--wp--preset--color--accent-2) !important;
    font-size: 20px !important;
  }
  .wp-block-post-template.is-style-special-grid > li:nth-of-type(3) img, .wp-block-post-template.is-style-special-grid > li:nth-of-type(4) img, .wp-block-post-template.is-style-special-grid > li:nth-of-type(5) img {
    aspect-ratio: 3/2 !important;
  }
}
.wp-block-group.is-style-etapes-details {
  --nb-element: 3;
  --border-details-color: #DAD6D5;
  max-width: 1920px;
  height: var(--height-details);
}
@media (max-width: 600px) {
  .wp-block-group.is-style-etapes-details {
    --height-details: auto !important;
  }
}
@media (min-width: 600px) {
  .wp-block-group.is-style-etapes-details {
    display: grid !important;
    grid-template-columns: 1fr;
    position: relative;
  }
}
@media (max-width: 600px) {
  .wp-block-group.is-style-etapes-details {
    display: flex !important;
    flex-direction: column;
    position: relative;
  }
}
.wp-block-group.is-style-etapes-details > .wp-block-group {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: var(--height-details);
}
.wp-block-group.is-style-etapes-details > .wp-block-details {
  grid-template-columns: 40% 1fr !important;
  width: 100%;
  margin-top: 0;
  pointer-events: none;
}
.wp-block-group.is-style-etapes-details > .wp-block-details > .wp-block-group {
  padding: 0 2rem !important;
  min-height: var(--height-details);
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: auto;
}
@media (min-width: 600px) {
  .wp-block-group.is-style-etapes-details > .wp-block-details {
    display: grid !important;
    margin: 0 !important;
    position: absolute;
    top: 0;
  }
}
@media (max-width: 1200px) {
  .wp-block-group.is-style-etapes-details > .wp-block-details {
    grid-template-columns: 50vw 1fr !important;
  }
}
.wp-block-group.is-style-etapes-details > .wp-block-details:first-of-type summary {
  border-top: none;
}
.wp-block-group.is-style-etapes-details > .wp-block-details[open] {
  z-index: 20;
}
.wp-block-group.is-style-etapes-details > .wp-block-details[open] summary {
  opacity: 1;
}
.wp-block-group.is-style-etapes-details > .wp-block-details summary {
  border-top: 1px solid var(--border-details-color);
  border-right: 1px solid var(--border-details-color);
  position: relative;
  z-index: 10;
  pointer-events: auto;
  padding-left: 3.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  display: flex;
  align-items: center;
  line-height: 1;
}
@media (min-width: 600px) {
  .wp-block-group.is-style-etapes-details > .wp-block-details summary {
    margin-top: var(--margin-top);
    opacity: 0.3;
    height: -moz-fit-content;
    height: fit-content;
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
    padding-left: 100px;
  }
}
.wp-block-group.is-style-etapes-details > .wp-block-details summary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
.wp-block-group.is-style-etapes-details > .wp-block-details summary::before {
  position: absolute;
  left: 1.5em;
  top: 1em;
  content: var(--i);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--wp--preset--color--accent-2);
  text-align: center;
  line-height: 1rem;
  margin-right: 0.5rem;
  font-size: 0.5em;
}
@media (min-width: 600px) {
  .wp-block-group.is-style-etapes-details > .wp-block-details summary::before {
    top: 4.5rem;
    left: 2.5rem;
    width: 3rem;
    height: 3rem;
  }
}
.wp-block-group.is-style-etapes-details > .wp-block-details summary + .wp-block-group {
  padding-bottom: 2.5rem !important;
}

.wp-block-group.is-style-etapes-details:has(> :nth-child(1):last-child) {
  --nb-element: 1;
}

.wp-block-group.is-style-etapes-details > .wp-block-details:nth-of-type(1) {
  --i: "01.";
}

.wp-block-group.is-style-etapes-details:has(> :nth-child(2):last-child) {
  --nb-element: 2;
}

.wp-block-group.is-style-etapes-details > .wp-block-details:nth-of-type(2) {
  --i: "02.";
}

.wp-block-group.is-style-etapes-details:has(> :nth-child(3):last-child) {
  --nb-element: 3;
}

.wp-block-group.is-style-etapes-details > .wp-block-details:nth-of-type(3) {
  --i: "03.";
}

.wp-block-group.is-style-etapes-details:has(> :nth-child(4):last-child) {
  --nb-element: 4;
}

.wp-block-group.is-style-etapes-details > .wp-block-details:nth-of-type(4) {
  --i: "04.";
}

.wp-block-group.is-style-etapes-details:has(> :nth-child(5):last-child) {
  --nb-element: 5;
}

.wp-block-group.is-style-etapes-details > .wp-block-details:nth-of-type(5) {
  --i: "05.";
}

.wp-block-group.is-style-etapes-details:has(> :nth-child(6):last-child) {
  --nb-element: 6;
}

.wp-block-group.is-style-etapes-details > .wp-block-details:nth-of-type(6) {
  --i: "06.";
}

.wp-block-group.is-style-etapes-details:has(> :nth-child(7):last-child) {
  --nb-element: 7;
}

.wp-block-group.is-style-etapes-details > .wp-block-details:nth-of-type(7) {
  --i: "07.";
}

.wp-block-group.is-style-etapes-details:has(> :nth-child(8):last-child) {
  --nb-element: 8;
}

.wp-block-group.is-style-etapes-details > .wp-block-details:nth-of-type(8) {
  --i: "08.";
}

.wp-block-group.is-style-etapes-details:has(> :nth-child(9):last-child) {
  --nb-element: 9;
}

.wp-block-group.is-style-etapes-details > .wp-block-details:nth-of-type(9) {
  --i: "09.";
}

.wp-block-group.is-style-etapes-details:has(> :nth-child(10):last-child) {
  --nb-element: 10;
}

.wp-block-group.is-style-etapes-details > .wp-block-details:nth-of-type(10) {
  --i: "010.";
}

.wp-block-separator.is-style-piarre-type-1, .wp-block-separator.is-style-piarre-type-2 {
  overflow: hidden;
  position: relative;
}
.wp-block-separator.is-style-piarre-type-1 svg, .wp-block-separator.is-style-piarre-type-2 svg {
  width: 100%;
  height: auto;
}

@media (max-width: 1440px) {
  .wp-block-separator.is-style-piarre-type-1 {
    min-height: 165px;
  }
  .wp-block-separator.is-style-piarre-type-1 svg {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1440px;
    height: 165px;
  }
  .wp-block-separator.is-style-piarre-type-2 {
    min-height: 83px;
  }
  .wp-block-separator.is-style-piarre-type-2 svg {
    width: 1440px;
    height: 83px;
  }
}
@media (max-width: 1440px) and (max-width: 600px) {
  .wp-block-separator.is-style-piarre-type-2 svg {
    transform: translateX(-17vw);
  }
}
.is-style-piarre-type-1, .is-style-piarre-type-2 {
  background: transparent !important;
}

body:not(.wp-admin) .is-style-extended-column-hover .wp-block-post {
  position: relative;
}
body:not(.wp-admin) .is-style-extended-column-hover .wp-block-post:before {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  height: 0;
  background: linear-gradient(180deg, rgba(56, 53, 69, 0) 0%, rgb(56, 53, 69) 100%);
  transition: height 0.4s ease-out;
}
body:not(.wp-admin) .is-style-extended-column-hover .wp-block-post:hover .wp-block-post-title::after {
  opacity: 1;
}
body:not(.wp-admin) .is-style-extended-column-hover .wp-block-post:hover:before {
  height: 100%;
}
body:not(.wp-admin) .is-style-extended-column-hover .wp-block-post:hover .wp-block-group.has-background {
  background: transparent !important;
}
@media (max-width: 768px) {
  body:not(.wp-admin) .is-style-extended-column-hover {
    flex-direction: column;
  }
  body:not(.wp-admin) .is-style-extended-column-hover .wp-block-post {
    width: 100% !important;
    margin-top: 2.5rem;
  }
  body:not(.wp-admin) .is-style-extended-column-hover .wp-block-post .wp-block-cover {
    min-height: 50vh !important;
  }
}
body:not(.wp-admin) .is-style-extended-column-hover .pop-content {
  transform: translateY(20px);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
}
body:not(.wp-admin) .is-style-extended-column-hover .active .pop-content {
  transform: translateY(0);
  opacity: 1;
  max-height: 500px; /* Adjust if needed to exceed content height */
}
body:not(.wp-admin) .is-style-extended-column-hover .wp-block-cover__inner-container {
  width: 100% !important;
}
body:not(.wp-admin) .is-style-extended-column-hover .wp-block-cover__inner-container > .wp-block-group > * {
  max-width: 500px;
  justify-content: flex-start;
}
body:not(.wp-admin) .is-style-extended-column-hover .wp-block-post-excerpt__more-link:before {
  display: block;
  position: absolute;
  top: -900px;
  bottom: -900px;
  left: -900px;
  right: -900px;
}

@media (min-width: 600px) and (max-width: 1600px) {
  .columns-3.is-style-3-2-1-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: min(2.5rem, 4vw);
  }
}

.is-style-like-buttons a {
  position: relative;
  font-size: 14px;
  line-height: 2;
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  border-bottom: none !important;
  transition: transform 0.5s;
}
.is-style-like-buttons a:before {
  font-family: var(--wp--preset--font-family--piarre) !important;
  content: "A";
  position: absolute;
  bottom: 0 0.3em;
  right: 0;
  font-size: 0.8em;
}
.is-style-like-buttons a::after {
  content: "";
  color: currentcolor;
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background-color: currentColor;
  width: 100%;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.5s;
}
.is-style-like-buttons a:hover {
  transform: translateX(0.6em) scale(1.1);
  color: var(--wp--preset--color--accent-2);
}
.is-style-like-buttons a:hover:after {
  animation: slideIn 0.5s ease forwards;
  background-color: currentColor;
}

.wp-block-categories-list.is-style-like-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  -moz-column-gap: 7.5rem;
       column-gap: 7.5rem;
  row-gap: 1.5rem;
}
@media (max-width: 600px) {
  .wp-block-categories-list.is-style-like-buttons {
    grid-template-columns: 1fr;
  }
}

.wp-block-cover.is-style-cover-with-mask:after {
  inset: 2.5rem 0;
  display: block;
  content: "";
  position: absolute;
  background-image: url(assets/images/banner-deco.svg);
  background-size: cover;
  background-repeat: repeat-x no-repeat;
  background-position: center;
  /* Animation pulse avec déplacement */
}
@media (max-width: 1200px) {
  .wp-block-cover.is-style-cover-with-mask {
    min-height: initial !important;
    aspect-ratio: 16/9 !important;
  }
}

@keyframes pulseMove {
  0%, 100% {
    background-position: center center;
    opacity: 1;
  }
  50% {
    background-position: left top;
    opacity: 0.7;
  }
}
.is-style-piarre-type-3, .is-style-piarre-type-4 {
  background: transparent !important;
}

@media (max-width: 600px) {
  .single-projects .wp-block-separator.is-style-piarre-type-3 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 782px) {
  .wp-block-columns.is-style-reverse-on-mobile {
    flex-direction: column-reverse;
  }
}
.shortcode-navigation__nav-label {
  position: relative;
  font-size: 14px;
  line-height: 2;
  display: inline-block;
  text-decoration: none;
}
.shortcode-navigation__nav-label::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background-color: currentColor;
  width: 100%;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0s;
}
.shortcode-navigation__nav-label:hover {
  transform: translateX(0.6em) scale(1.1);
  color: var(--wp--preset--color--accent-2);
}
.shortcode-navigation__nav-label:hover:after {
  animation: slideIn 0.5s ease forwards;
  background-color: currentColor;
}
.shortcode-navigation__nav-label .up-inline-icon {
  margin-left: 4em;
}

.is-style-without-border .wp-block-button__link {
  position: relative;
  font-size: 14px;
  line-height: 2;
  display: inline-block;
  text-decoration: none;
}
.is-style-without-border .wp-block-button__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background-color: currentColor;
  width: 100%;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0s;
}
.is-style-without-border .wp-block-button__link:hover {
  transform: translateX(0.6em) scale(1.1);
  color: var(--wp--preset--color--accent-2);
}
.is-style-without-border .wp-block-button__link:hover:after {
  animation: slideIn 0.5s ease forwards;
  background-color: currentColor;
}
.is-style-without-border .wp-block-button__link .up-inline-icon {
  margin-left: 4em;
}
.is-style-style4 .is-style-without-border .wp-block-button__link:hover {
  color: var(--wp--preset--color--base-3);
}

.wp-block-post-excerpt__more-link {
  position: relative;
  font-size: 14px;
  line-height: 2;
  display: inline-block;
  text-decoration: none;
}
.wp-block-post-excerpt__more-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background-color: currentColor;
  width: 100%;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0s;
}
.wp-block-post-excerpt__more-link:hover {
  transform: translateX(0.6em) scale(1.1);
  color: var(--wp--preset--color--accent-2);
}
.wp-block-post-excerpt__more-link:hover:after {
  animation: slideIn 0.5s ease forwards;
  background-color: currentColor;
}
.wp-block-post-excerpt__more-link .up-inline-icon {
  margin-left: 4em;
}
.is-style-style2 .wp-block-post-excerpt__more-link:hover {
  color: var(--wp--preset--color--accent) !important;
}

@keyframes slideIn {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
/* Style Full-Quinqonce pour galerie WordPress */
.is-style-full-quinqonze {
  /* Variables CSS pour les espacements */
  --gap-horizontal: 7.5rem;
  --gap-vertical-first: 7.5rem;
  --gap-vertical-offset: 7.5rem;
  --aspect-ratio-first: 3/2;
  --aspect-ratio-second: 2/3;
  display: flex !important;
  flex-wrap: wrap;
  gap: 0;
  justify-content: space-between !important;
  margin-bottom: var(--gap-vertical-offset) !important;
}
@media (max-width: 1024px) {
  .is-style-full-quinqonze {
    --gap-horizontal: 2.5rem;
    --gap-vertical-first: 0rem;
    --gap-vertical-offset: 2.5rem;
  }
}

/* Première image - 100% largeur en 16/9 */
.is-style-full-quinqonze > figure:first-child {
  width: 100% !important;
  margin: 0 !important;
}

.is-style-full-quinqonze > figure:first-child img {
  width: 100%;
  height: auto;
  aspect-ratio: var(--aspect-ratio-first);
  -o-object-fit: cover;
     object-fit: cover;
}

/* Images suivantes - 2 colonnes en portrait 9/16 */
.is-style-full-quinqonze > figure:not(:first-child) {
  max-width: calc(50% - var(--gap-horizontal) / 2) !important;
  margin: 0 !important;
}
@media (max-width: 1024px) {
  .is-style-full-quinqonze > figure:not(:first-child) {
    max-width: calc(50% - var(--gap-horizontal) - 2rem) !important;
  }
}

.is-style-full-quinqonze > figure:not(:first-child) img {
  width: 100%;
  height: auto;
  aspect-ratio: var(--aspect-ratio-second);
  -o-object-fit: cover;
     object-fit: cover;
}

/* décalage vertical  des impaire a partir de la 3e*/
.is-style-full-quinqonze > figure:nth-child(2n+3) {
  transform: translateY(var(--gap-vertical-offset)) !important;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .is-style-full-quinqonze {
    --gap-horizontal: 0px;
    gap: 40px;
  }
  .is-style-full-quinqonze > figure:first-child {
    margin-bottom: var(--gap-vertical-first) !important;
  }
  .is-style-full-quinqonze > figure:not(:first-child) {
    width: 100% !important;
    margin: 0 !important;
  }
  .is-style-full-quinqonze > figure:nth-child(n) {
    margin-top: 0 !important;
  }
}
.wp-block-post-navigation-link > a {
  position: relative;
}
.wp-block-post-navigation-link > a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background-color: currentColor;
  width: 100%;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0s;
}
.wp-block-post-navigation-link > a:hover {
  transform: translateX(0.6em) scale(1.1);
  color: var(--wp--preset--color--accent-2);
}
.wp-block-post-navigation-link > a:hover:after {
  animation: slideIn 0.5s ease forwards;
  background-color: currentColor;
}

@media (max-width: 600px) {
  .is-style-footer-grid {
    grid-template-areas: "logo logo" "left right";
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .is-style-footer-grid > :nth-child(1) {
    grid-area: left;
  }
  .is-style-footer-grid > :nth-child(2) {
    grid-area: logo;
    justify-self: center;
  }
  .is-style-footer-grid > :nth-child(3) {
    grid-area: right;
  }
}

@media (max-width: 600px) {
  .wp-block-spacer.is-style-big {
    height: 0 !important;
  }
}

@media (max-width: 782px) {
  .section-equipe-fondateur .has-text-align-right {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .section-projet-intro {
    padding-bottom: 2.5rem !important;
  }
}

.section-bannniere-projet {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0) 76.45%, rgba(0, 0, 0, 0.6) 94.27%), lightgray 50%/cover no-repeat;
}

.is-title-number > ul .wp-block-post-title a::before {
  content: "";
  display: inline;
}

.is-title-number > ul > li:nth-of-type(1) .wp-block-post-title a::before {
  content: "01.";
}

.is-title-number > ul > li:nth-of-type(2) .wp-block-post-title a::before {
  content: "02.";
}

.is-title-number > ul > li:nth-of-type(3) .wp-block-post-title a::before {
  content: "03.";
}

.is-title-number > ul > li:nth-of-type(4) .wp-block-post-title a::before {
  content: "04.";
}

.is-title-number > ul > li:nth-of-type(5) .wp-block-post-title a::before {
  content: "05.";
}

.is-title-number > ul > li:nth-of-type(6) .wp-block-post-title a::before {
  content: "06.";
}

.is-title-number > ul > li:nth-of-type(7) .wp-block-post-title a::before {
  content: "07.";
}

.is-title-number > ul > li:nth-of-type(8) .wp-block-post-title a::before {
  content: "08.";
}

.is-title-number > ul > li:nth-of-type(9) .wp-block-post-title a::before {
  content: "09.";
}

.is-title-number > ul > li:nth-of-type(10) .wp-block-post-title a::before {
  content: "010.";
}

.has-min-h-1 {
  min-height: 1vh;
}

.has-min-h-2 {
  min-height: 2vh;
}

.has-min-h-3 {
  min-height: 3vh;
}

.has-min-h-4 {
  min-height: 4vh;
}

.has-min-h-5 {
  min-height: 5vh;
}

.has-min-h-6 {
  min-height: 6vh;
}

.has-min-h-7 {
  min-height: 7vh;
}

.has-min-h-8 {
  min-height: 8vh;
}

.has-min-h-9 {
  min-height: 9vh;
}

.has-min-h-10 {
  min-height: 10vh;
}

.has-min-h-11 {
  min-height: 11vh;
}

.has-min-h-12 {
  min-height: 12vh;
}

.has-min-h-13 {
  min-height: 13vh;
}

.has-min-h-14 {
  min-height: 14vh;
}

.has-min-h-15 {
  min-height: 15vh;
}

.has-min-h-16 {
  min-height: 16vh;
}

.has-min-h-17 {
  min-height: 17vh;
}

.has-min-h-18 {
  min-height: 18vh;
}

.has-min-h-19 {
  min-height: 19vh;
}

.has-min-h-20 {
  min-height: 20vh;
}

.has-min-h-21 {
  min-height: 21vh;
}

.has-min-h-22 {
  min-height: 22vh;
}

.has-min-h-23 {
  min-height: 23vh;
}

.has-min-h-24 {
  min-height: 24vh;
}

.has-min-h-25 {
  min-height: 25vh;
}

.has-min-h-26 {
  min-height: 26vh;
}

.has-min-h-27 {
  min-height: 27vh;
}

.has-min-h-28 {
  min-height: 28vh;
}

.has-min-h-29 {
  min-height: 29vh;
}

.has-min-h-30 {
  min-height: 30vh;
}

.has-min-h-31 {
  min-height: 31vh;
}

.has-min-h-32 {
  min-height: 32vh;
}

.has-min-h-33 {
  min-height: 33vh;
}

.has-min-h-34 {
  min-height: 34vh;
}

.has-min-h-35 {
  min-height: 35vh;
}

.has-min-h-36 {
  min-height: 36vh;
}

.has-min-h-37 {
  min-height: 37vh;
}

.has-min-h-38 {
  min-height: 38vh;
}

.has-min-h-39 {
  min-height: 39vh;
}

.has-min-h-40 {
  min-height: 40vh;
}

.has-min-h-41 {
  min-height: 41vh;
}

.has-min-h-42 {
  min-height: 42vh;
}

.has-min-h-43 {
  min-height: 43vh;
}

.has-min-h-44 {
  min-height: 44vh;
}

.has-min-h-45 {
  min-height: 45vh;
}

.has-min-h-46 {
  min-height: 46vh;
}

.has-min-h-47 {
  min-height: 47vh;
}

.has-min-h-48 {
  min-height: 48vh;
}

.has-min-h-49 {
  min-height: 49vh;
}

.has-min-h-50 {
  min-height: 50vh;
}

.has-min-h-51 {
  min-height: 51vh;
}

.has-min-h-52 {
  min-height: 52vh;
}

.has-min-h-53 {
  min-height: 53vh;
}

.has-min-h-54 {
  min-height: 54vh;
}

.has-min-h-55 {
  min-height: 55vh;
}

.has-min-h-56 {
  min-height: 56vh;
}

.has-min-h-57 {
  min-height: 57vh;
}

.has-min-h-58 {
  min-height: 58vh;
}

.has-min-h-59 {
  min-height: 59vh;
}

.has-min-h-60 {
  min-height: 60vh;
}

.has-min-h-61 {
  min-height: 61vh;
}

.has-min-h-62 {
  min-height: 62vh;
}

.has-min-h-63 {
  min-height: 63vh;
}

.has-min-h-64 {
  min-height: 64vh;
}

.has-min-h-65 {
  min-height: 65vh;
}

.has-min-h-66 {
  min-height: 66vh;
}

.has-min-h-67 {
  min-height: 67vh;
}

.has-min-h-68 {
  min-height: 68vh;
}

.has-min-h-69 {
  min-height: 69vh;
}

.has-min-h-70 {
  min-height: 70vh;
}

.has-min-h-71 {
  min-height: 71vh;
}

.has-min-h-72 {
  min-height: 72vh;
}

.has-min-h-73 {
  min-height: 73vh;
}

.has-min-h-74 {
  min-height: 74vh;
}

.has-min-h-75 {
  min-height: 75vh;
}

.has-min-h-76 {
  min-height: 76vh;
}

.has-min-h-77 {
  min-height: 77vh;
}

.has-min-h-78 {
  min-height: 78vh;
}

.has-min-h-79 {
  min-height: 79vh;
}

.has-min-h-80 {
  min-height: 80vh;
}

.has-min-h-81 {
  min-height: 81vh;
}

.has-min-h-82 {
  min-height: 82vh;
}

.has-min-h-83 {
  min-height: 83vh;
}

.has-min-h-84 {
  min-height: 84vh;
}

.has-min-h-85 {
  min-height: 85vh;
}

.has-min-h-86 {
  min-height: 86vh;
}

.has-min-h-87 {
  min-height: 87vh;
}

.has-min-h-88 {
  min-height: 88vh;
}

.has-min-h-89 {
  min-height: 89vh;
}

.has-min-h-90 {
  min-height: 90vh;
}

.has-min-h-91 {
  min-height: 91vh;
}

.has-min-h-92 {
  min-height: 92vh;
}

.has-min-h-93 {
  min-height: 93vh;
}

.has-min-h-94 {
  min-height: 94vh;
}

.has-min-h-95 {
  min-height: 95vh;
}

.has-min-h-96 {
  min-height: 96vh;
}

.has-min-h-97 {
  min-height: 97vh;
}

.has-min-h-98 {
  min-height: 98vh;
}

.has-min-h-99 {
  min-height: 99vh;
}

.has-min-h-100 {
  min-height: 100vh;
}

.wp-block-media-text--no-padding.has-media-on-the-right .wp-block-media-text__content {
  padding-left: 0;
}
.wp-block-media-text--no-padding:not(.has-media-on-the-right) .wp-block-media-text__content {
  padding-right: 0;
}

.has-gap-1 {
  gap: calc(1rem / 16);
}

.has-gap-2 {
  gap: calc(2rem / 16);
}

.has-gap-3 {
  gap: calc(3rem / 16);
}

.has-gap-4 {
  gap: calc(4rem / 16);
}

.has-gap-5 {
  gap: calc(5rem / 16);
}

.has-gap-6 {
  gap: calc(6rem / 16);
}

.has-gap-7 {
  gap: calc(7rem / 16);
}

.has-gap-8 {
  gap: calc(8rem / 16);
}

.has-gap-9 {
  gap: calc(9rem / 16);
}

.has-gap-10 {
  gap: calc(10rem / 16);
}

.has-gap-11 {
  gap: calc(11rem / 16);
}

.has-gap-12 {
  gap: calc(12rem / 16);
}

.has-gap-13 {
  gap: calc(13rem / 16);
}

.has-gap-14 {
  gap: calc(14rem / 16);
}

.has-gap-15 {
  gap: calc(15rem / 16);
}

.has-gap-16 {
  gap: calc(16rem / 16);
}

.has-gap-17 {
  gap: calc(17rem / 16);
}

.has-gap-18 {
  gap: calc(18rem / 16);
}

.has-gap-19 {
  gap: calc(19rem / 16);
}

.has-gap-20 {
  gap: calc(20rem / 16);
}

.has-gap-21 {
  gap: calc(21rem / 16);
}

.has-gap-22 {
  gap: calc(22rem / 16);
}

.has-gap-23 {
  gap: calc(23rem / 16);
}

.has-gap-24 {
  gap: calc(24rem / 16);
}

.has-gap-25 {
  gap: calc(25rem / 16);
}

.has-gap-26 {
  gap: calc(26rem / 16);
}

.has-gap-27 {
  gap: calc(27rem / 16);
}

.has-gap-28 {
  gap: calc(28rem / 16);
}

.has-gap-29 {
  gap: calc(29rem / 16);
}

.has-gap-30 {
  gap: calc(30rem / 16);
}

.has-gap-31 {
  gap: calc(31rem / 16);
}

.has-gap-32 {
  gap: calc(32rem / 16);
}

.has-gap-33 {
  gap: calc(33rem / 16);
}

.has-gap-34 {
  gap: calc(34rem / 16);
}

.has-gap-35 {
  gap: calc(35rem / 16);
}

.has-gap-36 {
  gap: calc(36rem / 16);
}

.has-gap-37 {
  gap: calc(37rem / 16);
}

.has-gap-38 {
  gap: calc(38rem / 16);
}

.has-gap-39 {
  gap: calc(39rem / 16);
}

.has-gap-40 {
  gap: calc(40rem / 16);
}

.has-gap-41 {
  gap: calc(41rem / 16);
}

.has-gap-42 {
  gap: calc(42rem / 16);
}

.has-gap-43 {
  gap: calc(43rem / 16);
}

.has-gap-44 {
  gap: calc(44rem / 16);
}

.has-gap-45 {
  gap: calc(45rem / 16);
}

.has-gap-46 {
  gap: calc(46rem / 16);
}

.has-gap-47 {
  gap: calc(47rem / 16);
}

.has-gap-48 {
  gap: calc(48rem / 16);
}

.has-gap-49 {
  gap: calc(49rem / 16);
}

.has-gap-50 {
  gap: calc(50rem / 16);
}

.has-gap-51 {
  gap: calc(51rem / 16);
}

.has-gap-52 {
  gap: calc(52rem / 16);
}

.has-gap-53 {
  gap: calc(53rem / 16);
}

.has-gap-54 {
  gap: calc(54rem / 16);
}

.has-gap-55 {
  gap: calc(55rem / 16);
}

.has-gap-56 {
  gap: calc(56rem / 16);
}

.has-gap-57 {
  gap: calc(57rem / 16);
}

.has-gap-58 {
  gap: calc(58rem / 16);
}

.has-gap-59 {
  gap: calc(59rem / 16);
}

.has-gap-60 {
  gap: calc(60rem / 16);
}

.has-gap-61 {
  gap: calc(61rem / 16);
}

.has-gap-62 {
  gap: calc(62rem / 16);
}

.has-gap-63 {
  gap: calc(63rem / 16);
}

.has-gap-64 {
  gap: calc(64rem / 16);
}

.has-gap-65 {
  gap: calc(65rem / 16);
}

.has-gap-66 {
  gap: calc(66rem / 16);
}

.has-gap-67 {
  gap: calc(67rem / 16);
}

.has-gap-68 {
  gap: calc(68rem / 16);
}

.has-gap-69 {
  gap: calc(69rem / 16);
}

.has-gap-70 {
  gap: calc(70rem / 16);
}

.has-gap-71 {
  gap: calc(71rem / 16);
}

.has-gap-72 {
  gap: calc(72rem / 16);
}

.has-gap-73 {
  gap: calc(73rem / 16);
}

.has-gap-74 {
  gap: calc(74rem / 16);
}

.has-gap-75 {
  gap: calc(75rem / 16);
}

.has-gap-76 {
  gap: calc(76rem / 16);
}

.has-gap-77 {
  gap: calc(77rem / 16);
}

.has-gap-78 {
  gap: calc(78rem / 16);
}

.has-gap-79 {
  gap: calc(79rem / 16);
}

.has-gap-80 {
  gap: calc(80rem / 16);
}

.has-gap-81 {
  gap: calc(81rem / 16);
}

.has-gap-82 {
  gap: calc(82rem / 16);
}

.has-gap-83 {
  gap: calc(83rem / 16);
}

.has-gap-84 {
  gap: calc(84rem / 16);
}

.has-gap-85 {
  gap: calc(85rem / 16);
}

.has-gap-86 {
  gap: calc(86rem / 16);
}

.has-gap-87 {
  gap: calc(87rem / 16);
}

.has-gap-88 {
  gap: calc(88rem / 16);
}

.has-gap-89 {
  gap: calc(89rem / 16);
}

.has-gap-90 {
  gap: calc(90rem / 16);
}

.has-gap-91 {
  gap: calc(91rem / 16);
}

.has-gap-92 {
  gap: calc(92rem / 16);
}

.has-gap-93 {
  gap: calc(93rem / 16);
}

.has-gap-94 {
  gap: calc(94rem / 16);
}

.has-gap-95 {
  gap: calc(95rem / 16);
}

.has-gap-96 {
  gap: calc(96rem / 16);
}

.has-gap-97 {
  gap: calc(97rem / 16);
}

.has-gap-98 {
  gap: calc(98rem / 16);
}

.has-gap-99 {
  gap: calc(99rem / 16);
}

.has-gap-100 {
  gap: calc(100rem / 16);
}

.has-gap-101 {
  gap: calc(101rem / 16);
}

.has-gap-102 {
  gap: calc(102rem / 16);
}

.has-gap-103 {
  gap: calc(103rem / 16);
}

.has-gap-104 {
  gap: calc(104rem / 16);
}

.has-gap-105 {
  gap: calc(105rem / 16);
}

.has-gap-106 {
  gap: calc(106rem / 16);
}

.has-gap-107 {
  gap: calc(107rem / 16);
}

.has-gap-108 {
  gap: calc(108rem / 16);
}

.has-gap-109 {
  gap: calc(109rem / 16);
}

.has-gap-110 {
  gap: calc(110rem / 16);
}

.has-gap-111 {
  gap: calc(111rem / 16);
}

.has-gap-112 {
  gap: calc(112rem / 16);
}

.has-gap-113 {
  gap: calc(113rem / 16);
}

.has-gap-114 {
  gap: calc(114rem / 16);
}

.has-gap-115 {
  gap: calc(115rem / 16);
}

.has-gap-116 {
  gap: calc(116rem / 16);
}

.has-gap-117 {
  gap: calc(117rem / 16);
}

.has-gap-118 {
  gap: calc(118rem / 16);
}

.has-gap-119 {
  gap: calc(119rem / 16);
}

.has-gap-120 {
  gap: calc(120rem / 16);
}

.has-aspect-ratio-1-1 {
  aspect-ratio: "1";
}

.has-aspect-ratio-4-3 {
  aspect-ratio: "4 / 3";
}

.has-aspect-ratio-3-2 {
  aspect-ratio: "3 / 2";
}

.has-aspect-ratio-16-9 {
  aspect-ratio: "16 / 9";
}

.has-aspect-ratio-21-9 {
  aspect-ratio: "21 / 9";
}

.has-aspect-ratio-9-16 {
  aspect-ratio: "9 / 16";
}

.has-aspect-ratio-2-3 {
  aspect-ratio: "2 / 3";
}

.has-aspect-ratio-3-4 {
  aspect-ratio: "3 / 4";
}

/* Style de base pour le contenu tronqué */
.js-read-more-content {
  max-height: 5em;
  overflow: hidden;
  position: relative;
  transition: max-height 0.3s ease;
}

.js-read-more-content.expanded {
  max-height: none;
}

/* Fallback for browsers that support line-clamp */
@supports (-webkit-line-clamp: 5) {
  .js-read-more-content {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    max-height: none;
  }
  .js-read-more-content.expanded {
    -webkit-line-clamp: unset;
  }
}
/* Variations de nombre de lignes */
[data-max-lines="3"] .js-read-more-content {
  max-height: 3em;
}

@supports (-webkit-line-clamp: 3) {
  [data-max-lines="3"] .js-read-more-content {
    -webkit-line-clamp: 3;
    max-height: none;
  }
}
[data-max-lines="4"] .js-read-more-content {
  max-height: 4em;
}

@supports (-webkit-line-clamp: 4) {
  [data-max-lines="4"] .js-read-more-content {
    -webkit-line-clamp: 4;
    max-height: none;
  }
}
/* Style du wrapper du bouton */
.js-read-more > p {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Style du bouton */
.read-more-btn {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0 2ch;
  font-size: 14px;
  line-height: 2;
  display: block;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

/* Icône avant le bouton */
.read-more-btn:before {
  display: inline-block;
  font-family: var(--wp--preset--font-family--piarre) !important;
  content: "A";
  margin-right: 2ch;
  transform: rotate(136deg);
  font-size: 0.8em;
}

/* Rotation de l'icône quand c'est étendu */
.js-read-more:has(.expanded) .read-more-btn:before {
  transform: rotate(318deg);
}

/* Hover */
.read-more-btn:hover {
  color: var(--wp--preset--color--accent-2);
}

/* Dégradé sur le contenu non étendu */
.js-read-more:not(:has(.read-more-btn.hidden)) .js-read-more-content:not(.expanded):after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8ch;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgb(238, 235, 230) 100%);
}

@media (max-width: 400px) {
  .mobile-hidden {
    display: none !important;
  }
}

@media (max-width: 960px) {
  .mobitab-hidden {
    display: none !important;
  }
}

@media (min-width: 960px) {
  .desktop-hidden {
    display: none !important;
  }
}

@media (min-width: 400px) {
  .desktab-hidden {
    display: none !important;
  }
}

@media (max-width: 400px) {
  .image-mobile-hidden .wp-block-media-text__media {
    display: none !important;
  }
}

@media (max-width: 960px) {
  .image-mobitab-hidden .wp-block-media-text__media {
    display: none !important;
  }
}

@media (min-width: 960px) {
  .image-desktop-hidden .wp-block-media-text__media {
    display: none !important;
  }
}

@media (min-width: 400px) {
  .image-desktab-hidden .wp-block-media-text__media {
    display: none !important;
  }
}

/** changement du breakpoint du menu */
@media (max-width: 1024px) {
  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: flex;
  }
}
@media (max-width: 1024px) {
  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    bottom: 0;
    display: none;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
  }
}
/** FIN -------------- */
.has-modal-open .admin-bar .is-menu-open .wp-block-navigation__responsive-dialog {
  margin-top: 0;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  padding-top: 0 !important;
}

.logo-svg {
  position: relative;
  z-index: 3;
}
.logo-svg__link svg {
  height: 4.375rem;
  transition: all 0.4s;
  width: auto;
}
@media (max-width: 600px) {
  .logo-svg__link svg {
    height: 3rem;
  }
}
.is-plain .logo-svg__link svg {
  height: 3rem;
}

.logo-stack {
  position: relative;
  z-index: 2;
}

a .wp-block-navigation-item__label {
  font-weight: 600 !important;
  letter-spacing: 0.2px;
  line-height: 1.25rem;
}
.wp-block-navigation__submenu-container a .wp-block-navigation-item__label {
  font-weight: 400 !important;
}

/* même imbrication, 0 répétition */
header.is-plain .wp-block-navigation__container > .wp-block-navigation-item.current-menu-item:not(:hover) {
  color: var(--wp--preset--color--accent-2) !important;
}
header.is-plain .wp-block-navigation__container > .wp-block-navigation-item.current-menu-item:not(:hover) > a > .wp-block-navigation-item__label {
  position: relative;
}
header.is-plain .wp-block-navigation__container > .wp-block-navigation-item.current-menu-item:not(:hover) > a > .wp-block-navigation-item__label::after {
  content: "";
  display: block;
  height: 1px;
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  background: var(--wp--preset--color--accent-2) !important;
}

.wp-block-navigation__container > .wp-block-navigation-item:not(.has-child):hover {
  color: var(--wp--preset--color--accent-2) !important;
}
.wp-block-navigation__container > .wp-block-navigation-item:not(.has-child):hover > a > .wp-block-navigation-item__label {
  position: relative;
}
.wp-block-navigation__container > .wp-block-navigation-item:not(.has-child):hover > a > .wp-block-navigation-item__label::after {
  content: "";
  display: block;
  height: 1px;
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  background: var(--wp--preset--color--accent-2) !important;
}

.wp-block-navigation__submenu-container > .wp-block-navigation-item:hover,
.wp-block-navigation__submenu-container > .wp-block-navigation-item.current-menu-item {
  color: var(--wp--preset--color--accent-2) !important;
}

/* on cache le chevron par défaut */
.wp-block-navigation-submenu__toggle svg,
.wp-block-navigation__submenu-icon svg {
  display: none !important;
}

.wp-block-navigation__submenu-icon {
  margin-left: 0 !important;
  width: 0;
  overflow: hidden;
}

.wp-block-navigation-item.has-child {
  position: relative;
}
.wp-block-navigation-item.has-child:hover {
  color: var(--wp--preset--color--accent-2);
}
.wp-block-navigation-item.has-child:after {
  background: transparent;
  content: "";
  display: block;
  height: 1px;
  bottom: 5px;
  left: 0;
  right: 0;
  position: absolute;
}
.wp-block-navigation-item.has-child:hover:after {
  background: currentColor;
}

.wp-block-navigation-item.has-child .wp-block-navigation__submenu-icon {
  width: 0;
  transition: margin-left 1s;
  margin-left: 0 !important;
}

.wp-block-navigation-item.has-child:hover .wp-block-navigation__submenu-icon {
  margin-left: 2rem !important;
  display: block !important;
  width: auto;
}

.wp-block-navigation-item.has-child:hover .wp-block-navigation-submenu:before {
  content: "";
  display: block;
  background: var(--wp--preset--color--base) !important;
  width: 600vw !important;
  position: absolute !important;
  top: 0 !important;
  left: 50%;
  transform: translateX(-50%) !important;
  bottom: 0 !important;
}

.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container {
  background: var(--wp--preset--color--base) !important;
  border: none;
  left: -1em !important;
  right: auto !important;
}

/* on génère notre propre icône (font, SVG inline, ou background) */
.wp-block-navigation-submenu__toggle::after,
.wp-block-navigation__submenu-icon::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 0.3em;
  background: url('data:image/svg+xml;utf8, <svg width="14" height="14" fill="none" xmlns="http://www.w3.org/2000/svg">   <path d="M1.95 0a.75.75 0 00-.75.75.75.75 0 00.75.75h8.99L.218 12.219a.75.75 0 000 1.062.75.75 0 001.062 0L12 2.561v8.99a.75.75 0 00.75.75.75.75 0 00.75-.75V.75a.75.75 0 00-.057-.287.75.75 0 00-.162-.244.75.75 0 00-.244-.162A.75.75 0 0012.75 0z" fill="%237CA377"/> </svg>') no-repeat center/contain;
}

html.has-modal-open .wp-block-navigation__responsive-container.is-menu-open {
  box-sizing: border-box;
  padding: 2rem;
  background: var(--wp--preset--color--contrast) !important;
  color: var(--wp--preset--color--base) !important;
}
html.has-modal-open header.wp-block-template-part nav.wp-block-navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100svh;
  z-index: 10;
}
html.has-modal-open header.wp-block-template-part nav.wp-block-navigation .wp-block-navigation__container {
  width: 100%;
  align-items: flex-start;
}
html.has-modal-open header.wp-block-template-part nav.wp-block-navigation .wp-block-navigation-item__content {
  font-size: 1.5rem;
}

.wp-block-navigation .has-child .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content {
  text-wrap: nowrap;
}

header .wp-block-categories-list {
  padding-left: 0;
  list-style-type: none;
}
header .wp-block-categories-list .cat-item > a {
  line-height: 2;
  text-decoration: none;
  position: relative;
}
header .wp-block-categories-list .cat-item > a:after {
  content: "";
  display: block;
  height: 2px;
  background-color: transparent;
  width: 100%;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0s;
}
header .wp-block-categories-list .cat-item > a:hover:after {
  animation: slideIn 0.5s ease forwards;
  background-color: currentcolor;
}

.wp-block-navigation ul.wp-block-navigation__submenu-container {
  padding-top: 0.5rem;
  padding-bottom: 1.25rem;
}

.mobile-menu-list a {
  display: block;
  text-align: center;
}
.mobile-menu-list > .mobile-menu-item > a {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.mobile-menu-list > .mobile-menu-item.has-submenu > a {
  margin-bottom: 0.5rem;
}

li.mobile-menu-item.has-submenu {
  padding-bottom: 1rem;
  padding-top: 1rem;
}

.wp-block-navigation-item__content:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.wp-block-categories-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (max-width: 600px) {
  footer .items-justified-center {
    gap: 1.5rem !important;
  }
  footer .wp-block-site-logo {
    margin-bottom: 2.25rem !important;
  }
}
footer .wp-block-categories-list a:hover {
  color: var(--wp--preset--color--accent-2, currentColor);
}

html, body {
  scroll-behavior: smooth;
  overflow-x: clip;
}

.nowrap {
  white-space: nowrap;
}

:where(.wp-site-blocks) > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

.alignwide {
  max-width: 120rem !important;
}

.wp-block-table td, .wp-block-table th {
  border-right: 1px solid transparent;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

@media (max-width: 600px) {
  .wp-site-blocks > .wp-block-group:not(.is-style-etapes-details), .entry-content > .wp-block-group:not(.is-style-etapes-details) {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}
@media (max-width: 600px) {
  header > .wp-block-group {
    padding-left: 1rem !important;
    padding-right: 1.5rem !important;
  }
}

@media (max-width: 600px) {
  body:not(.home) .entry-content > .wp-block-cover {
    aspect-ratio: 4/3 !important;
    min-height: auto !important;
  }
}