/***************************************
**** MAIN STYLE - FRAMEWORK | START ****
***************************************/

/* SANITIZING */
a {
  color: inherit;
  text-decoration: unset;
}
header a,
.breadcrumbs a {
  text-decoration: none;
}
body section.disection {
  min-height: calc(70vh - var(--header-height) - calc(var(--space-small) * 2));
}

/* TEXT ALIGNS */
.taligncenter {
  text-align: center;
}
.talignleft {
  text-align: left;
}
.talignright {
  text-align: right;
}

/* BLOCS SIZES */
.hauto {
  height: auto;
}
.wauto {
  width: auto;
}
.h100 {
  height: 100%;
}
.minh100 {
  min-height: 100vh;
}
.minh65 {
  min-height: 65vh;
}
.w100 {
  width: 100%;
}
.h50 {
  height: 50%;
}
.w50 {
  width: 50%;
}
.w55 {
  width: 55%;
}
.w40 {
  width: 40%;
}
.w45 {
  width: 45%;
}
.w485 {
  width: 48.5%;
}
.h25 {
  height: 25%;
}
.w20 {
  width: 20%;
}
.w155 {
  width: 15.5%;
}
.w178 {
  width: 17.8%;
}
.w25 {
  width: 25%;
}
.w225 {
  width: 22.5%;
}
.h75 {
  height: 75%;
}
.w75 {
  width: 75%;
}
.w70 {
  width: 70%;
}
.w85 {
  width: 85%;
}
.w725 {
  width: 72.5%;
}
.w845 {
  width: 84.5%;
}
.h33 {
  height: 33.3%;
}
.w33 {
  width: 33.3%;
}
.w35 {
  width: 35%;
}
.w305 {
  width: 30.5%;
}
.w30 {
  width: 30%;
}
.h66 {
  height: 66.6%;
}
.w66 {
  width: 66.6%;
}
.w645 {
  width: 64.5%;
}
.w65 {
  width: 65%;
}
.w60 {
  width: 60%;
}
.w635 {
  width: 63.5%;
}
.wfc {
  width: fit-content;
}
.hfc {
  height: fit-content;
}
/*List ul*/
.list-none {
  list-style-type: none;
}
/*GAP*/
.gap80 {
  gap: calc(20px + (60 * ((100vw - 320px) / 704)));
}
.gapmedium {
  gap: var(--space-medium);
}
.gapnormal {
  gap: var(--space-normal);
}
.gapsmall {
  gap: var(--space-small);
}
.gapsmall-y {
  gap: var(--space-small) 0;
}
.gapxxsmal-y {
  gap: 10px 0;
}
/* POSITIONS */
.prelative {
  position: relative;
}
.pabsolute {
  position: absolute;
}

/* OBJECT FITS */
.ofitcover {
  object-fit: cover;
}
.ofitcontain {
  object-fit: contain;
}
.ofitsdown {
  object-fit: scale-down;
}

/* BLOC DISPLAYS */
.dblock {
  display: block;
}
.dflex {
  display: flex;
}
.dgrid {
  display: grid;
}
/* GRID PROPERTIES */
.dgrid-lg-1 {
  grid-template-columns: repeat(1, 1fr);
}
.dgrid-lg-2 {
  grid-template-columns: repeat(2, 1fr);
}
.dgrid-lg-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: calc(2vw);
}
.dgrid-lg-3-g3 {
  grid-template-columns: repeat(3, 1fr);
  gap: calc(3vw);
}
.dgrid-lg-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: calc(
    2vw
  ); /* Utilisation de `2vw` pour que le gap soit proportionnel à la largeur totale de la grille */
}
/* BACKGROUND PROPERTIES*/
.bg-colorprimary {
  background-color: var(--color-primary);
}
.bg-colorwhite {
  background-color: var(--color-white);
}
.bg-colortertiary {
  background-color: var(--color-tertiary);
}
.bgcover {
  background-size: cover;
}
.bgcontain {
  background-size: contain;
}
.bgcenter {
  background-position: center;
}
.bgtop {
  background-position: top;
}
.bgbottom {
  background-position: bottom;
}
.bgleft {
  background-position: left;
}
.bgright {
  background-position: right;
}
.bgrepeat {
  background-repeat: repeat;
}
.bgfixed {
  background-attachment: fixed;
}
.bgscroll {
  background-attachment: scroll;
}
.bgnorepeat {
  background-repeat: no-repeat;
}
/* FLEX */
.fdirrow {
  flex-direction: row;
}
.fdirrowr {
  flex-direction: row-reverse;
}
.fdircol {
  flex-direction: column;
}
.fdircolr {
  flex-direction: column-reverse;
}
.jcontentcenter {
  justify-content: center;
}
.jcontentend {
  justify-content: end;
}
.aitemsstretch {
  align-items: stretch;
}
.aitemscenter {
  align-items: center;
}
.jcontentstart {
  justify-content: flex-start;
}
.aitemsstart {
  align-items: flex-start;
}
.jcontentend {
  justify-content: flex-end;
}
.aitemsend {
  align-items: flex-end;
}
.jcontentsbetween {
  justify-content: space-between;
}
.aitemssbetween {
  align-items: space-between;
}
.jcontentsaround {
  justify-content: space-around;
}
.aitemssaround {
  align-items: space-around;
}
.fwrap {
  flex-wrap: wrap;
}
.flex-responsive {
  display: flex;
  flex-direction: row;
}
/* TEXTS SIZES */
.underline {
  text-decoration: underline;
}
.text.bold,
.text .bold,
p.bold,
section p.bold,
.bold {
  font-weight: var(--font-bold);
}
.fontmdium {
  font-weight: 500;
}
.littletext {
  font-size: var(--font-size-xs);
  line-height: var(--line-height-xs);
  font-weight: var(--font-regular);
  font-family: var(--font-primary);
  opacity: 0.7;
}
.smalltext {
  font-size: var(--font-size-xs);
  line-height: var(--line-height-xs);
  font-weight: var(--font-regular);
  font-family: var(--font-primary);
  letter-spacing: 0.5px;
}
.text {
  font-size: var(--font-size-s);
  line-height: var(--line-height-s);
  font-weight: var(--font-light);
  font-family: var(--font-primary);
  letter-spacing: 0.5px;
}
.text-md {
  font-size: var(--font-size-m);
  line-height: var(--line-height-m);
  font-weight: var(--font-light);
  font-family: var(--font-primary);
  letter-spacing: 0.5px;
}
.paragraphtext {
  font-size: var(--font-size-s);
  line-height: var(--line-height-s);
  font-weight: var(--font-regular);
  font-family: var(--font-primary);
  letter-spacing: 0px;
}
.strongtext {
  font-size: var(--font-size-s);
  line-height: var(--line-height-s);
  font-weight: var(--font-bold);
  font-family: var(--font-primary);
}
.bigtext {
  font-size: var(--font-size-xm);
  line-height: var(--line-height-xm);
  font-weight: var(--font-regular);
  font-family: var(--font-primary);
}
.minititle {
  font-size: var(--font-size-s);
  line-height: var(--line-height-s);
  font-weight: var(--font-semibold);
  font-family: var(--font-primary);
  letter-spacing: 0.5px;
}
.subtitle {
  font-size: var(--font-size-l);
  line-height: var(--line-height-l);
  font-weight: var(--font-light);
  font-family: var(--font-primary);
}
.title {
  font-size: var(--font-size-xm);
  line-height: var(--line-height-xm);
  font-weight: var(--font-regular);
  font-family: var(--font-primary);
  letter-spacing: 1px;
}

.decotitle {
  position: relative;
  height: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.decotitle h2,
.decotitle h3 {
  position: relative;
  width: auto;
  background-color: white;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 var(--space-small);
}
.decotitle h2 span:first-of-type,
.decotitle h3:first-of-type {
  position: relative;
  font-size: var(--font-size-l);
  line-height: var(--line-height-l);
  font-weight: var(--font-light);
  font-family: var(--font-primary);
  letter-spacing: 1px;
  width: auto;
  height: auto;
}
.decotitle h2 span:last-of-type,
.decotitle h3:last-of-type {
  position: relative;
  font-size: var(--font-size-l);
  line-height: var(--line-height-l);
  font-weight: var(--font-bold);
  font-family: var(--font-primary);
  letter-spacing: 1px;
  width: auto;
  height: auto;
}
.decotitle.simple h2 span,
.decotitle.simple h3 {
  font-size: var(--font-size-n);
  letter-spacing: 0px;
}
.decotitle.simple::before {
  background-color: var(--color-primary);
  height: 0.5px;
}
.decotitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 2px;
  background-color: var(--color-secondary);
}
.mediumtitle {
  font-size: var(--font-size-m);
  line-height: var(--line-height-m);
  font-weight: var(--font-bold);
  font-family: var(--font-primary);
  letter-spacing: 1px;
}
.articletitle {
  font-size: var(--font-size-l);
  line-height: var(--line-height-l);
  font-weight: var(--font-bold);
  font-family: var(--font-primary);
  margin-top: 0;
}
.bigtitle {
  font-size: var(--font-size-xl);
  line-height: var(--line-height-xl);
  font-weight: var(--font-bold);
  font-family: var(--font-primary);
  letter-spacing: 1px;
}
.bigthintitle {
  font-size: var(--font-size-xl);
  line-height: var(--line-height-xl);
  font-weight: var(--font-light);
  font-family: var(--font-primary);
  letter-spacing: 1px;
}
.ultratitle {
  font-size: var(--font-size-xxl);
  line-height: var(--line-height-xxl);
  letter-spacing: calc(-0.13vw);
  font-weight: var(--font-extrabold);
  font-family: var(--font-primary);
}

/* TEXTS NORMALIZING */
ul {
  padding-inline-start: 16px;
}
.textnormal p,
.textnormal ul,
.textnormal span {
  font-size: var(--font-size-n);
  line-height: var(--line-height-n);
  font-weight: var(--font-regular);
  font-family: var(--font-primary);
  margin: 0;
}
.textbloc p,
section.textbloc p,
section.textbloc p span,
section.textbloc ul li,
.textbloc ul li,
section.textbloc ol li {
  font-size: var(--font-size-n);
  line-height: var(--line-height-n);
  font-weight: var(--font-regular);
  letter-spacing: 0;
  font-family: var(--font-primary) !important;
  margin-top: var(--space-xsmall);
  margin-bottom: var(--space-xsmall);
}
.textbloc p strong {
  font-size: var(--font-size-n);
  line-height: var(--line-height-n);
  font-weight: var(--font-semibold);
  font-family: var(--font-primary);
}
.textbloc pre,
.textbloc span pre,
.textbloc p pre {
  font-size: var(--font-size-m);
  line-height: var(--line-height-m);
  font-weight: var(--font-regular);
  font-family: var(--font-primary);
  margin-bottom: var(--space-xsmall);
  white-space: break-spaces;
}
.textbloc p i {
  font-style: italic;
}
.textbloc-medium p,
.textbloc-medium span,
section.textbloc-medium p,
section.textbloc-medium p span,
section.textbloc-medium ul li,
section.textbloc-medium ol li {
  font-size: var(--font-size-xn);
  line-height: var(--line-height-m);
  font-weight: var(--font-normal);
  letter-spacing: 0;
  font-family: var(--font-primary) !important;
  margin-top: var(--space-xsmall);
  margin-bottom: var(--space-xsmall);
}
.textbloc-large p,
section.textbloc-large p,
section.textbloc-large p span,
section.textbloc-large ul li,
section.textbloc-large ol li {
  font-size: var(--font-size-xm);
  line-height: var(--line-height-l);
  font-weight: var(--font-light);
  letter-spacing: 0;
  font-family: var(--font-primary) !important;
  margin-top: var(--space-xsmall);
  margin-bottom: var(--space-xsmall);
}
h1,
section h1,
.textbloc h1 {
  font-size: var(--font-size-xl);
  line-height: var(--line-height-xl);
  font-weight: var(--font-extrabold);
  font-family: var(--font-primary);
  margin-top: var(--space-small);
  margin-bottom: var(--space-xsmall);
}
.textbloc h2,
.textbloc h2 span,
.textbloc h2 span b,
.supertitle {
  font-size: var(--font-size-l);
  line-height: var(--line-height-l);
  /* font-weight: var(--font-bold);*/
  font-family: var(--font-primary);
  margin-bottom: var(--space-normal);
  margin-top: 0px;
}
.textbloc.article h2,
.textbloc.article h2 span,
.textbloc.article h2 span b,
.supertitle {
  font-size: var(--font-size-xm);
  line-height: var(--line-height-xm);
  font-family: var(--font-primary);
  margin-top: 0px;
  margin-bottom: 0px;
}
.textbloc.article h3,
.textbloc.article h3 span,
.textbloc.article h3 span b,
.supertitle {
  font-size: var(--font-size-n);
  line-height: var(--line-height-m);
  font-family: var(--font-primary);
  margin-top: 0px;
  margin-bottom: 0px;
  text-transform: none;
}

.textbloc h3,
.textbloc h3 span,
.textbloc h3 b {
  font-size: var(--font-size-m);
  line-height: var(--line-height-m);
  font-weight: var(--font-bold);
  font-family: var(--font-primary);
  margin-bottom: calc(var(--space-xsmall) + 5px + 0.3vw);
  text-transform: uppercase;
}
.textbloc h4,
.textbloc h4 span,
.textbloc h4 span b,
.textbloc h5,
.textbloc h5 span,
.textbloc h5 span b,
.textbloc h6,
.textbloc h6 span,
.textbloc h6 span b {
  font-size: var(--font-size-s);
  line-height: var(--line-height-s);
  font-weight: var(--font-bold);
  font-family: var(--font-primary);
}
.fontlight {
  font-weight: var(--font-light);
}
.fontregular {
  font-weight: var(--font-regular);
}
/*CONTAINER*/
.textbloc-container {
  max-width: clamp(400px, 65%, 900px);
}
.space-y-4 > * + * {
  margin-top: 1rem;
}
/*BORDER*/
/* Conteneur avec diviseurs verticaux */
.divide-x > *:not(:last-child) {
  border-right: 1px solid #f0f0f0;
}
.ligne {
  border-top: 1px solid var(--color-primary);
  width: 100%;
}
.divider-lightBg {
  border-color: #f0f0f0;
}
.border-r-primary {
  border-right: 1px solid var(--color-primary);
}
/* FONT FAMILIES */
.fontprimary {
  font-family: var(--font-primary);
}

/* TEXT COLORS */
.colorwhite {
  color: var(--color-white);
}
.colorblack {
  color: var(--color-black);
}
.colordark {
  color: var(--color-dark);
}
.colorprimary {
  color: var(--color-primary);
}
/*BACKGROUND COLORS*/
.bg-color-primary {
  background-color: var(--color-primary); /* Applique la couleur primaire */
  color: var(--color-white); /* Texte en blanc pour un bon contraste */
}
/* MARGINS & PADDINGS */
.boxshadow {
  box-shadow: 0px 3px 6px #00000029;
}
.u-box-border {
  box-sizing: border-box;
}
.p0 {
  padding: 0;
}
.px10 {
  padding-left: var(--space-medium);
  padding-right: var(--space-medium);
}
.m0 {
  margin: 0;
}
.mt0 {
  margin-top: 0;
}
.mb0 {
  margin-bottom: 0;
}
.ml0 {
  margin-left: 0;
}
.mr0 {
  margin-right: 0;
}
.mlauto {
  margin-left: auto;
}
.mrauto {
  margin-right: auto;
}
.mauto {
  margin-left: auto;
  margin-right: auto;
}
.msmall {
  margin-left: var(--space-normal);
  margin-right: var(--space-normal);
  width: calc(100% - var(--space-normal) * 2);
}
.mrsmall {
  margin-right: var(--space-small);
}
.pxxsmall {
  padding-left: var(--space-xxsmall);
  padding-right: var(--space-xxsmall);
  width: calc(100% - var(--space-xxsmall) * 2);
}
.pxsmall {
  padding-left: var(--space-xsmall);
  padding-right: var(--space-xsmall);
  width: calc(100% - var(--space-xsmall) * 2);
}
.psmall {
  padding-left: var(--space-small);
  padding-right: var(--space-small);
  width: calc(100% - var(--space-small) * 2);
}
.p-xsmall {
  padding-left: var(--space-xsmall);
  padding-right: var(--space-xsmall);
  padding-top: var(--space-xsmall);
  padding-bottom: var(--space-xsmall);
}
.px-small {
  padding-left: var(--space-small);
  padding-right: var(--space-small);
}
.mx-small {
  margin-left: var(--space-small);
  margin-right: var(--space-small);
}
.py-small {
  padding-top: var(--space-small);
  padding-bottom: var(--space-small);
}
.px-normal {
  padding-left: var(--space-normal);
  padding-right: var(--space-normal);
}
.pmedium {
  padding-left: var(--space-medium);
  padding-right: var(--space-medium);
  width: calc(100% - var(--space-medium) * 2);
}
.pnormal {
  padding-left: var(--space-normal);
  padding-right: var(--space-normal);
  width: calc(100% - var(--space-normal) * 2);
}
.plarge {
  padding-left: var(--space-large);
  padding-right: var(--space-large);
  width: calc(100% - var(--space-large) * 2);
}
.pxlarge {
  padding-left: var(--space-xlarge);
  padding-right: var(--space-xlarge);
  width: calc(100% - var(--space-xlarge) * 2);
}
.ptlarge {
  padding-top: var(--space-large);
}
.ptxlarge {
  padding-top: var(--space-xlarge);
}
.pblarge {
  padding-bottom: var(--space-large);
}
.pbxlarge {
  padding-bottom: var(--space-xlarge);
}
.ptnormal {
  padding-top: calc(var(--space-normal) + 20px);
}
.ptmedium {
  padding-top: var(--space-medium);
}
.pbmedium {
  padding-bottom: var(--space-medium);
}
.pbnormal {
  padding-bottom: calc(var(--space-normal) + 20px);
}
.pbsmall {
  padding-bottom: calc(var(--space-small) + 20px);
}
.pb-small {
  padding-bottom: calc(var(--space-small));
}
.ptsmall {
  padding-top: calc(var(--space-small));
}
.mxxsmall {
  margin-left: var(--space-xxsmall);
  margin-right: var(--space-xxsmall);
}
.mxsmall {
  margin-left: var(--space-xsmall);
  margin-right: var(--space-xsmall);
}
.msmall {
  margin-left: var(--space-small);
  margin-right: var(--space-small);
}
.mmedium {
  margin-left: var(--space-medium);
  margin-right: var(--space-medium);
}
.mlarge {
  margin-left: var(--space-large);
  margin-right: var(--space-large);
}
.mxlarge {
  margin-left: var(--space-xlarge);
  margin-right: var(--space-xlarge);
}
.mtxxsmall {
  margin-top: var(--space-xxsmall);
}
.mtxsmall {
  margin-top: var(--space-xsmall);
}
.mtsmall {
  margin-top: var(--space-small);
}
.mtnormal {
  margin-top: var(--space-normal);
}
.mtmedium {
  margin-top: var(--space-medium);
}
.mbnormal {
  margin-bottom: var(--space-normal);
}
.mtlarge {
  margin-top: var(--space-large);
}
.mtxlarge {
  margin-top: var(--space-xlarge);
}
.mtauto {
  margin-top: auto;
}
.mbxxsmall {
  margin-bottom: var(--space-xxsmall);
}
.mbxsmall {
  margin-bottom: var(--space-xsmall);
}

.mbsmall {
  margin-bottom: var(--space-small);
}
.mbmedium {
  margin-bottom: var(--space-medium);
}
.mblarge {
  margin-bottom: var(--space-large);
}
.mbxlarge {
  margin-bottom: var(--space-xlarge);
}
.mbauto {
  margin-bottom: auto;
}

/* FILTERS & EFFECTS */
.overflowh {
  overflow: hidden;
}
.overflowxscroll {
  overflow-x: scroll;
}
.tupper {
  text-transform: uppercase;
}
.ttnone {
  text-transform: none;
}
.tcapitalize {
  text-transform: capitalize;
}
/* MISC */
.highz {
  z-index: 3;
}

/* GENERIC BREADCRUMBS */
.breadcrumb_elem {
  margin-right: calc(5px + 0.2vw);
}

/*************************************
**** MAIN STYLE - FRAMEWORK | END ****
*************************************/

@media screen and (max-width: 1024px) {
  .minititle {
    letter-spacing: 0;
  }
  .bigthintitle {
    letter-spacing: 0.5px;
  }
  .decotitle h2 span:first-of-type,
  .decotitle h3:first-of-type {
    letter-spacing: 0;
  }

  .psmall-xs {
    padding-left: var(--space-small);
    padding-right: var(--space-small);
    width: calc(100% - var(--space-small) * 2);
  }
  .pnormal-xs {
    padding-left: var(--space-normal);
    padding-right: var(--space-normal);
    width: calc(100% - var(--space-normal) * 2);
  }
  .px-medium-xs {
    padding-left: var(--space-medium);
    padding-right: var(--space-medium);
  }
  .py-xs {
    padding-top: var(--space-normal);
    padding-bottom: var(--space-normal);
  }
  .my-xs {
    margin-top: var(--space-normal);
    margin-bottom: var(--space-normal);
  }
  .fdircol-md {
    flex-direction: column;
  }
  .fdircolr-md {
    flex-direction: column-reverse;
  }
  /* GRID PROPERTIES */
  .dgrid-md-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: calc(4vw);
  }
  .dgrid-xs-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .dgrid-xs-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .dgrid-xs-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  /* WIDTHS */
  .w100-xs {
    width: 100%;
  }
  /*GAP*/
  .gapsmall-xs {
    gap: var(--space-small);
  }
  .mx0-xs {
    margin-left: 0;
    margin-right: 0;
  }
  .divide-x > *:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
  }
}

@media screen and (max-width: 650px) {
  /* GRID PROPERTIES */
  .dgrid-xs-1 {
    grid-template-columns: repeat(1, 1fr);
    gap: calc(4vw);
  }
  .fdircol-xs {
    flex-direction: column;
  }
  .fdircolr-xs {
    flex-direction: column-reverse;
  }
  .decotitle h2,
  .decotitle h3 {
    max-width: 80%;
  }
}
