/* -------------------------- GÉNÉRAL -------------------------- */
*,
a::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #B5DDD5;
  --secondary: #C61617;
  --tertiary: #F2F8FD;
  --black: #0B0B0B;
  --text-color: #2B3B52;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  src: url('/wp-content/themes/oneira/fonts/Roboto-VariableFont_wdth,wght.ttf');
}

@font-face {
  font-family: "Roboto";
  font-style: italic;
  src: url('/wp-content/themes/oneira/fonts/Roboto-Italic-VariableFont_wdth,wght.ttf');
}

@font-face {
  font-family: "Catamaran";
  src: url('/wp-content/themes/oneira/fonts/Catamaran-VariableFont_wght.ttf');
}

@font-face {
  font-family: "Optima";
  src: url('/wp-content/themes/oneira/fonts/Optima Medium.ttf');
}

html{
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background-color: #F5F7F6;
  font-family: "Roboto", sans-serif;
  line-height: 1.4em;
  color: var(--text-color);
  /* overflow-x: hidden; */
}

html.menuOpen,
body.menuOpen{
  overflow-y: hidden;  
}

main {
  overflow: hidden;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: 'Optima', sans-serif;
  line-height: 1.2em;
}

@media (min-width: 993px){
  .desktopDisplayNone{
    display: none !important;
  }
}

@media (max-width: 992px){
  .mobileDisplayNone{
    display: none !important;
  }
}

/* ---------------- BOUTON ---------------- */

.btn-primary,
.btn-secondary,
.btn-tertiary {
  font-family: 'Catamaran', sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  padding: 17px 40px;
  border-radius: 50px;
  text-align: center;
  transition: 300ms cubic-bezier(0.165, 0.84, 0.44, 1);
  outline: 0;
  background-color: #fff;
  width: fit-content;
  display: block;
  border: 1px solid var(--text-color);
}

.btn-secondary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-tertiary {
  background-color: var(--text-color);
  border-color: var(--text-color);
  color: #fff;
}

.btn-arrow {
  font-size: 1.125rem;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 8px 28px 8px 8px;
  background-color: #fff;
  border-radius: 100px;
  overflow: hidden;
  transition: all .4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-arrow:hover {
  padding: 8px 24px 8px 17px;
  gap: 15px;
}

.btn-arrow .arrow {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
}

.btn-arrow .arrow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="18.869" height="16.33" viewBox="0 0 18.869 16.33"><path id="Union_1" d="M265.352,1987.978l5.854-5.853H256V1980.2h15.206l-5.854-5.853L266.7,1973l8.165,8.165-8.165,8.165Z" transform="translate(-256 -1973)" fill="%232b3b52" /></svg>');
  background-repeat: no-repeat;
  background-position: center;
}

.btn-arrow .arrow::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  background-color: var(--primary);
  border-radius: 50%;
  translate: -50% -50%;
  transform-origin: center;
  transition: all .4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-arrow:hover .arrow::after {
  width: 400px;
  height: 400px;
}

.btn-arrow .text {
  font-family: 'Catamaran', sans-serif;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

@media (min-width: 993px){
  .btn-primary:hover{
    background-color: var(--primary);
    border-color: var(--primary);
  }

  .btn-secondary:hover{
    background-color: var(--text-color);
    border-color: var(--text-color);
    color: #fff;
  }

  .btn-tertiary:hover{
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--text-color);
  }
}

@media (max-width: 992px){
  .btn-primary,
  .btn-secondary,
  .btn-tertiary {
    font-size: 1rem;
    padding: 12px 30px;
  }

  .btn-arrow {
    padding: 5px 15px 5px 5px;
    gap: 5px;
  }

  .btn-arrow:hover {
    padding: 5px 15px 5px 5px;
    gap: 5px;
  }

  .btn-arrow .arrow {
    width: 30px;
    height: 30px;
  }

  .btn-arrow .arrow::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="13.103" height="11.339" viewBox="0 0 13.103 11.339"><path id="Union_1" data-name="Union 1" d="M6.495,10.4l4.065-4.064H0V5H10.559L6.495.939,7.433,0l5.67,5.67-5.67,5.67Z" transform="translate(0 0)" fill="%232b3b52"/></svg>');
  }

  .btn-arrow .text {
    font-size: 1rem;
  }
}

/* ---------------- CONTAINER ---------------- */

.container{
  width: 100%;
  max-width: 1480px;
  margin-inline: auto;
  padding-inline: 80px;
}

@media (max-width: 1600px) {
  .container{
    max-width: 1300px;
  }
}

@media (max-width: 992px) {
  .container{
    padding-inline: 20px;
  }
}

/* ---------------- 404 ---------------- */

.page404{
  min-height: 80vh;
  position: relative;
  padding-inline: 36px;
  margin: 0px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.page404 > div{
  transform: translate(-50%, -35%);
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.page404 h1 span,
.page404 h1{
  font-size: 80px;
  line-height: 80px;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: var(--primary);
  text-align: center;
  font-weight: 700;
}

.page404 h1 span{
  color: var(--jaune);
}

.page404 h2{
  font-size: 30px;
  line-height: 40px;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-align: center;
}

@media (max-width: 992px){
  .page404{
    min-height: 60vh;
  }
  .page404 h1,
  .page404 h1 span{
    font-size: 40px;
    line-height: 40px;
  }
  .page404 h2{
    font-size: 20px;
    line-height: 20px;
  }
}

/* ---------------- BREADCRUMBS ---------------- */

.breadcrumbs li *,
.breadcrumbs{
  color: var(--primary);
  font-size: 13px;
  line-height: 20px;
}


.breadcrumbs li.active *{
  font-weight: bold;
}

.breadcrumb li::after{
  content: "" !important;
  width: 5px;
  height: 9px;
  display: inline-block;
  margin-inline: 8px !important;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg id='next' xmlns='http://www.w3.org/2000/svg' width='4.566' height='8.455' viewBox='0 0 4.566 8.455'%3E%3Cg id='Groupe_7' data-name='Groupe 7' transform='translate(0 0)'%3E%3Cpath id='Tracé_19' data-name='Tracé 19' d='M4.47,4,.559.1A.328.328,0,0,0,.1.56L3.774,4.228.1,7.9a.328.328,0,0,0,.463.464L4.47,4.46A.328.328,0,0,0,4.47,4Z' transform='translate(0 0)' fill='%230f2858'/%3E%3C/g%3E%3C/svg%3E%0A");
}
