:root {
  /* --beige: #ede6dd; */
  /* --beige: hsl(34, 29%, 89%); */
  /* --beige: hsl(34, 29%, 91%); */
  --beige: hsl(36, 49%, 90%);
  /* --bleu-fonce: #00008b; */
  --bleu-fonce: #38179c;
  /* --bleu-clair: hsl(220, 100%, 64%); */
  --bleu-clair: hsl(220, 100%, 67%);
  --vert: #31c4ac;
  --size-small: 0.7rem;
  --size-mid: 1.2rem;
  --size-big: 1.4rem;
}
.post,
.page {
  margin: 0;
}
/* html #wpadminbar {
  display: none;
} */
a:hover,
a:focus,
a:active {
  color: var(--bleu-fonce);
}
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* html {
  font-size: 16px;
}

@media screen and (min-width: 320px) {
  html {
    font-size: calc(16px + 6 * ((100vw - 320px) / 680));
  }
}

@media screen and (min-width: 1024px) {
  html {
    font-size: 14px;
  }
} */

html {
  scroll-behavior: smooth;
  font-size: 20px;
  line-height: 1.3;
}

body {
  color: var(--bleu-fonce);
  font-family: "Be Vietnam Pro", sans-serif;
  font-style: normal;
  overflow-y: scroll;
  transition: 0.2s ease;
  background-color: var(--beige);
}

a {
  color: var(--bleu-fonce);
  text-decoration: underline;
  transition: 0.2s ease;
}

a:visited {
  color: var(--bleu-fonce);
}

a:hover {
  color: var(--bleu-fonce);
  opacity: 0.5;
}
a:focus,
input:focus,
textarea:focus,
button:focus {
  /* outline: 2px solid #eee; */
  outline: none;
}

[data-whatintent="mouse"] *:focus {
  outline: none;
}

.site-header {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 8;
  background-color: var(--beige);
  transition: 0.2s ease;
  font-weight: bold;
  display: flex;
  align-items: center;
}
.site-header.header--scrolled {
  position: fixed;
  transform: translateY(-100%);
  transition: 0s ease;
}
.site-header.header--scrolled.header--scrolled-up {
  transform: translateY(0%);
  transition: 0.2s ease;
}

.site-header.containerLargeur {
  padding: 10px;
}
@media screen and (min-width: 1024px) {
  .site-header {
    position: relative !important;
    background: transparent;
  }
  .site-header.containerLargeur {
    padding: 40px 80px;
  }
}

@media screen and (max-width: 1023px) {
  .body-menu-active .site-header {
    height: auto;
    background-color: var(--beige) !important;
  }
  .body-menu-active .site-header a {
    color: var(--bleu-fonce) !important;
  }
  .site-header svg path {
    transition: 0.7s ease;
  }
  .body-menu-active .site-header svg path {
    fill: var(--bleu-fonce) !important;
  }
}

.site-header.hide-header {
  transform: translateY(-100%);
}

.site-title {
  margin: 0;
  font-size: 2em;
  line-height: 1;
}

.site-title .bigLogo {
  display: none;
}
.site-title .smallLogo {
  width: 130px;
}

@media screen and (min-width: 1024px) {
  .site-title .smallLogo {
    display: none;
  }
  .site-title .bigLogo {
    display: inline;
    width: 350px;
  }
}

.main-navigation {
  transition: 0.2s ease;
  height: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
  left: 0;
  top: 0;
  width: 100%;
}

.main-navigation ul {
  display: flex;
  transition: 0s ease;
  pointer-events: none;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  flex-direction: column;
  align-items: center;
  font-size: var(--size-mid);
}
/* stagger animation for li */
.main-navigation ul li {
  opacity: 0;
  transform: translate(0, -20px);
  transition: 0.5s ease;
}
.body-menu-active .main-navigation ul li:nth-child(1) {
  transition-delay: 0.5s;
}
.body-menu-active .main-navigation ul li:nth-child(2) {
  transition-delay: 0.65s;
}
.body-menu-active .main-navigation ul li:nth-child(3) {
  transition-delay: 0.8s;
}
.body-menu-active .main-navigation ul li:nth-child(4) {
  transition-delay: 0.95s;
}

@media screen and (min-width: 1024px) {
  .main-navigation {
    position: relative;
    height: auto;
    overflow: visible;
    z-index: 1;
    background-color: transparent;
  }
  .main-navigation ul {
    pointer-events: auto;
    opacity: 1;
    justify-content: flex-end;
    flex-direction: row;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
  }
  .main-navigation ul li {
    transform: translate(0, 0);
    opacity: 1;
  }
  .main-navigation ul li::before {
    content: "";
    display: block;
    width: 3px;
    height: 54%;
    background-color: var(--bleu-fonce);
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
  }
  /* pas de ::before sur le premier */
  .main-navigation ul li:first-child::before {
    display: none;
  }
}

.body-menu-active .main-navigation {
  /* height: auto; */
  height: 100vh;
  height: 100dvh;
  background-color: var(--beige);
  transition: 0.5s ease;
}

.body-menu-active .main-navigation ul {
  pointer-events: auto;
  opacity: 1;
  transition: 1.25s ease;
}
.body-menu-active .main-navigation ul li {
  opacity: 1;
  transform: translate(0, 0);
  transition: 0.5s ease;
}

/*
.menu-menu-1-container {
  position: absolute;
  top: -75px;
  right: 0;
}
.home .menu-menu-1-container {
  top: 0;
}
@media screen and (min-width: 1024px) {
  .menu-menu-1-container {
    top: -45px;
  }
  .home .menu-menu-1-container {
    top: -85px;
  }
}*/

.menu-menu-1-container li {
  padding: 5px;
}
@media screen and (min-width: 1024px) {
  .menu-menu-1-container li {
    margin-left: 30px;
  }
}
.menu-menu-1-container li a {
  opacity: 1;
}
.menu-menu-1-container li a svg {
  width: 32px;
}
.menu-menu-1-container li.current-menu-item a,
.menu-menu-1-container li a:hover {
  opacity: 0.5;
}

.burger {
  width: 50px;
  height: 50px;
  z-index: 10;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: 0;
  position: absolute;
  top: 15px;
  right: 30px;
  left: auto;
  white-space: nowrap;
  opacity: 1;
  transition: 0.2s ease;
}
.body-menu-active .burger {
  opacity: 0.5;
}
.burger__line {
  position: relative;
  margin-top: 9px;
  margin-bottom: 9px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -15px;
  margin-top: -1.5px;
}

.burger__line,
.burger__line::before,
.burger__line::after {
  display: block;
  width: 30px;
  height: 3px;
  /* border-radius: 4px; */
  background-color: var(--bleu-fonce);
  outline: 1px solid transparent;
  -webkit-transition-property:
    width,
    background-color,
    -webkit-transform;
  transition-property:
    width,
    background-color,
    -webkit-transform;
  transition-property: width, background-color, transform;
  transition-property:
    width,
    background-color,
    transform,
    -webkit-transform;
  -webkit-transition-duration: 0.2s;
  transition-duration: 0.2s;
}

.burger__line::before,
.burger__line::after {
  position: absolute;
  content: "";
}

.burger__line::before {
  top: -8px;
}

.burger__line::after {
  top: 8px;
}

.burger__line--active {
  background-color: transparent;
  width: 0;
}

.burger__line--active::before {
  -webkit-transform: translateY(9px) rotate(45deg);
  transform: translateY(8px) rotate(45deg);
}

.burger__line--active::after {
  -webkit-transform: translateY(-9px) rotate(-45deg);
  transform: translateY(-8px) rotate(-45deg);
}

.burger__line--active:before,
.burger__line--active:after {
  background-color: var(--bleu-fonce);
  width: 30px;
}

/* .body-menu-active .site-header  */

.list-inline {
  display: flex;
}
.list-inline li {
  margin: 0 10px;
}

.category-filtre {
  position: relative;
}
a.category-filtre::after {
  content: "";
  height: 0;
  left: 0;
  right: 0;
  width: 100%;
  bottom: -3px;
  background: var(--beige);
  position: absolute;
}
a.category-filtre.is-checked::after {
  height: 3px;
  background: var(--bleu-fonce);
}

.home main {
  position: relative;
}
.bounce {
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  40% {
    transform: translateY(-10px);
    opacity: 0.5;
  }
  60% {
    transform: translateY(-5px);
    opacity: 1;
  }
}
#imgContainer {
  position: fixed;
  display: none;
  z-index: 2;
}
#imgOver,
.imgOver {
  max-width: 350px;
  max-height: 350px;
}

.capsProjet {
  display: flex;
  align-items: flex;
  width: 100%;
  width: calc(100% - 10px);
  margin-bottom: 30px;
  position: relative;
  color: var(--bleu-fonce);
  cursor: pointer;
  background-color: var(--bleu-clair);
}
@media screen and (min-width: 400px) {
  .capsProjet {
    width: calc(100% - 10px);
  }
}
.capsProjet .entry-content {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  /* overflow: auto; */
  margin-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
@media screen and (min-width: 1024px) {
  .capsProjet .entry-content {
    position: absolute;
    top: 20px;
    left: 25px;
    right: 25px;
    bottom: 10px;
  }
}

.capsProjet .imgSurvol {
  width: 100%;
  overflow: hidden;
}
.capsProjet .imgSurvol img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: cover; /* or object-fit: contain; */
  opacity: 1;
  transition: 0.5s ease;
}
.capsProjet:hover .imgSurvol img {
  opacity: 0;
  scale: 1.1;
}
.capsProjet h2 {
  margin-top: 0;
  font-size: var(--size-mid);
  line-height: 1.1;
  font-weight: normal;
  transition: 0.5s ease;
  word-break: break-word;
  opacity: 0;
  transform: translate(0, 20px);
  margin-bottom: 0.5rem;
  font-family: "Be Vietnam Pro", sans-serif;
  letter-spacing: 0px;
}
.capsProjet .entry-meta {
  font-weight: bold;
  font-size: var(--size-mid);
  transition: 0.5s ease;
  opacity: 0;
  transform: translate(0, 20px);
  font-family: "Sofia Sans Condensed", sans-serif;
  letter-spacing: 0.85px;
}
.capsProjet h2 a {
  color: var(--bleu-fonce);
  text-decoration: none;
}
.capsProjet:hover h2,
.capsProjet:hover .entry-meta {
  opacity: 1;
  transform: translate(0, 0);
}
@media screen and (min-width: 800px) {
  .capsProjet {
    width: 50%;
    width: calc(50% - 20px);
    /* height: 180px; */
  }
}
@media screen and (min-width: 1024px) {
  .capsProjet {
    width: 33%;
    width: calc(33% - 20px);
  }
}
/* @media screen and (min-width: 1024px) {
  .capsProjet {
    width: 33%;
    width: calc(33% - 20px);
  }
}
@media screen and (min-width: 1500px) {
  .capsProjet {
    width: 25%;
    width: calc(25% - 25px);
  }
} */
.projet-content .wp-block-image a,
.projet-content a[rel*="attachment"] {
  cursor: default;
}

.projet-content .wp-block-image a:hover,
.projet-content a[rel*="attachment"]:hover {
  opacity: 1;
}

.bodyBlanc .projet-content {
  padding: 70px 0px 0px;
}
@media screen and (min-width: 1024px) {
  .bodyBlanc .projet-content {
    padding: 0 40px 180px;
  }
}
.row {
  display: flex;
  flex-wrap: wrap;
  /* margin-right: 40px;
  margin-left: 40px; */
}
@media screen and (min-width: 1024px) {
  .row {
    margin-right: -20px;
    margin-left: -20px;
  }
  .col-sm-8 {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 66.6666666667%;
    -ms-flex: 0 0 66.6666666667%;
    flex: 0 0 66.6666666667%;
    max-width: 66.6666666667%;
    padding: 0 20px;
  }
  .col-sm-4 {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 33.3333333333%;
    -ms-flex: 0 0 33.3333333333%;
    flex: 0 0 33.3333333333%;
    max-width: 33.3333333333%;
    padding: 0 20px;
  }
}
.capsDescriptionProj {
  position: sticky;
  padding-top: 0px;
  padding-bottom: 40px;
  top: 40px;
}
.capsProjets {
  margin-right: -10px;
  margin-top: 0;
}
@media screen and (min-width: 720px) {
  .capsProjets {
    margin-right: -10px;
    /* margin-top: 70px; */
  }
}
@media screen and (min-width: 1024px) {
  .capsProjets {
    /* margin-right: -2%; */
    margin-top: 0;
  }
}
.site-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: var(--bleu-fonce) !important;
}
.site-info * {
  color: var(--bleu-fonce) !important;
}
@media screen and (min-width: 1024px) {
  .site-info {
    display: flex;
    flex-direction: row-reverse;
  }
}
.social {
  margin: 0;
  padding: 80px 40px;
  list-style: none;
  display: flex;
  justify-content: center;
  font-size: var(--size-mid);
  font-weight: bold;
}
.social li {
  margin: 0 10px;
}
.social li a {
  text-decoration: none;
}
@media screen and (min-width: 1024px) {
  .social {
    padding: 180px 40px;
  }
}

.site-info p {
  margin: 3px 0;
}

.site-footer {
  max-width: none;
  padding: 10px 20px;
  font-size: var(--size-small);
}
@media screen and (min-width: 1680px) {
  .capsTexteIntro {
    width: 1600px;
    margin: 0 auto;
  }
}
/* @media screen and (min-width: 1024px) {
  .page .site-main > .containerLargeur {
    padding-top: 0px;
  }
} */
/* @media (min-width: 600px) and (max-width: 1280px) {
  .wp-block-columns {
    flex-wrap: wrap;
  }
  .wp-block-column:not(:only-child) {
    flex-basis: calc(50% - 1em) !important;
    flex-grow: 0;
  }
} */
.wp-block-video {
  max-width: 1024px;
}
.projet-content > .row > .col-sm-8 a {
  opacity: 1;
  cursor: default;
}
.containerLargeur {
  padding: 0 40px;
  max-width: 1680px;
  margin: auto;
}
@media screen and (min-width: 1024px) {
  .containerLargeur {
    padding: 0 80px;
  }
}
.site-title a {
  display: inline-block;
}
.site-title img {
  height: 56px;
}
@media screen and (min-width: 720px) {
  .site-title img {
    height: 66px;
  }
}
@media screen and (min-width: 1024px) {
  .site-title img {
    height: 86px;
  }
}
.wp-block-columns {
  gap: 40px;
}
h2 {
  font-family: "Sofia Sans Condensed", sans-serif;
  font-size: var(--size-mid);
  letter-spacing: 0.85px;
}
.capsDescriptionProj h2 {
  margin-bottom: 0.5rem;
  margin-top: 2rem;
}
.capsDescriptionProj h1 {
  margin-top: 0;
  font-size: var(--size-big);
}

.liste-cate {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  list-style: none;
  font-size: var(--size-mid);
  font-family: "Sofia Sans Condensed", sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.85px;
  text-align: center;
  padding-top: 0;
  padding-bottom: 30px;
  flex-wrap: wrap;
}
@media screen and (min-width: 1024px) {
  .liste-cate {
    padding-top: 0;
    padding-bottom: 75px;
  }
}
.liste-cate li a {
  margin-left: 20px;
  margin-right: 20px;
  text-decoration: none;
}
.projet-is-open .liste-cate {
  display: none;
}
.retour {
  text-align: center;
}
.cols-a-propos h2 {
  font-size: var(--size-big);
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: bold;
  letter-spacing: 0px;
  position: relative;
  margin-top: 4rem;
}
.cols-a-propos h2:before {
  content: "";
  position: absolute;
  width: 23px;
  height: 4px;
  border-radius: 4px;
  background-color: var(--bleu-fonce);
  left: 0px;
  top: -15px;
}
.cols-a-propos ul {
  margin-left: 0;
  padding-left: 22px;
}
/* .cols-a-propos p,
.cols-a-propos ul {
  font-size: var(--size-small);
} */
.cols-a-propos {
  gap: 80px;
}
.page-id-108,
.page-id-108 .site-header {
  background-color: var(--bleu-clair);
}
/* .page-id-108 .site-main {
  padding-top: 86px;
}
@media screen and (min-width: 1024px) {
  .page-id-108 .site-main {
    padding-top: 56px;
  }
} */
.liste-competences h2 {
  margin-top: 0.25rem;
  margin-bottom: 0;
}
.liste-competences h2 a {
  text-decoration: none;
}
.liste-competences h2 a:hover {
  opacity: 0.5;
}

.liste-competences h2:first-child {
  margin-top: 1rem;
}
.page-id-2318 {
  background-color: var(--vert);
}
.page-id-2318,
.page-id-2318 .site-header {
  background-color: var(--vert);
}
/* .page-id-2318 .site-main {
  padding-top: 86px;
}
@media screen and (min-width: 1024px) {
  .page-id-2318 .site-main {
    padding-top: 56px;
  }
} */
.page-id-2318 .site-main p {
  /* font-size: var(--size-small); */

  letter-spacing: 0.5px;
}
@media screen and (min-width: 1024px) {
  .page-id-2318 .site-main p {
    font-size: var(--size-mid);
  }
}
@media screen and (max-width: 1023px) {
  .page-id-2318 .wp-block-spacer {
    height: 0px !important;
  }
  .page-id-2318 :where(.wp-block-columns) {
    margin-bottom: 0;
  }
  .page-id-2318 .social {
    padding-top: 0;
  }
}
.page-id-2318 .menu-menu-1-container li.current-menu-item a,
.page-id-108 .menu-menu-1-container li.current-menu-item a {
  color: white;
  opacity: 1;
}
.page-content,
.entry-content,
.entry-summary {
  margin-top: 0;
}
.intro-a-propos {
  font-size: var(--size-mid);
  font-weight: bold;
}
.wp-block-embed iframe {
  max-width: none;
  width: 100%;
}
.capsProjets {
  overflow: hidden;
}
.capsProjet h2,
.capsProjet .entry-meta {
  text-align: center;
  line-height: 1;
  margin-bottom: 20px;
}
.projet-is-open .capsProjets {
  display: none;
}
.wp-element-caption {
  transform: rotate(-90deg) translate(20px, -5px);
  transform-origin: 0% 100%;
  line-height: 1;
  font-size: 14px;
}
@media screen and (min-width: 1024px) {
  .social {
    padding: 120px 40px;
  }
}
.page-id-108 .entry-content strong a {
  color: hsl(36, 49%, 90%);
  text-decoration: none;
}
.liste-competences h2 {
  line-height: 1;
  margin-bottom: 20px;
}
