* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: #250614;
}

html {
  font-size: 62.5%;
}

@font-face {
  font-family: "Artifont";
  src: url("fontsPack/Artisteeno_font_2023-Regular.woff2") format("woff2"),
    url("fontsPack/Artisteeno_font_2023-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Fira";
  src: url("fontsPack/FiraSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Fira";
  src: url("fontsPack/FiraSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Fira";
  src: url("fontsPack/FiraSans-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "Fira";
  src: url("fontsPack/FiraSans-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: "Fira";
  src: url("fontsPack/FiraSans-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "Fira";
  src: url("fontsPack/FiraSans-BlackItalic.ttf") format("truetype");
  font-weight: 900;
  font-style: italic;
}
a {
  cursor: pointer;
  text-decoration: none;
}

body {
  font-family: "Fira", Arial, Helvetica, sans-serif;
  font-size: 1.6rem;
  min-width: 320px;
  background: #fff;
}

:root {
  /* Échelle typographique fluide basée sur 1rem = 10px */
  --step--2: clamp(0.5rem, 0.1rem + 2.3vw, 1.3rem);
  --step--1: clamp(0.8rem, 0.3rem + 2.3vw, 1.6rem);
  --step-0: clamp(1rem, 0.5rem + 2.3vw, 2rem);
  --step-1: clamp(1.5rem, 1rem + 2.3vw, 2.5rem);
  --step-2: clamp(2rem, 1.5rem + 2.3vw, 3.1rem);
  --step-3: clamp(2.3rem, 1.8rem + 2.3vw, 3.9rem);
  --step-4: clamp(2.6rem, 2.1rem + 2.3vw, 4.9rem);
  --step-5: clamp(3rem, 2.5rem + 2.3vw, 6rem);
}

h1 {
  font-size: var(--step-5);
}

h2 {
  font-size: var(--step-3);
}

p {
  font-size: var(--step-0);
}

.specialArtifont {
  font-family: "Artifont", Arial, Helvetica, sans-serif;
}

.global {
  position: relative;
  min-height: calc(100vh-2rem);
  width:  calc(100vh-2rem);
  background: transparent;
  z-index: 1;
}

.globalEndBG {
  position: absolute;
  /*bottom: 0;*/
  left: 0;
  width: 100%;
  /*height: 21px;
  background: transparent url(imagesCSS/borderBottomWhiteUp.png) repeat-x scroll top center;*/
  z-index: 500;
  pointer-events: none;
}

.header {
  position: sticky;
  display: flex;
  flex-direction: column;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.headerTop {
  position: relative;
  display: block;
  justify-content: center;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
}

.headerBottomBG {
  position: relative;
  display: block;
  width: 100%;
  /*height: 21px;
  background: transparent url(imagesCSS/ombreHeader.png) repeat-x scroll top center;*/
  z-index: 1001;
  pointer-events: none;
  border-bottom: 0.6rem solid #250614;
  /*border-bottom: 0.3rem solid #4a0224;*/
}

.main {
  position: relative;
  display: block;
  width: 100%;
  background: #fff;
}

.mainBox {
  position: relative;
  display: block;
  width: 100%;
  background: #fff;
  z-index: 500;
  border-bottom: 0.6rem solid #250614;
  /*border-bottom: 0.3rem solid #4a0224;*/
}

.footer {
  position: relative;
  bottom: 0;
  width: 100%;
  background: #710d3c;
  z-index: 0;
  overflow-y: auto;
}

.clear {
  /**pour rétablir le flux - Vestige des âges sombres du CSS – ne pas supprimer sous peine de malédiction **/
  clear: both;
  display: block;
  font-size: 1px;
  line-height: 0px;
}

/*.borderBottomLine {
  border-bottom: 10px solid transparent;
  border-image: url(imagesCSS/borderBottom.png) 10 repeat;
}

.borderBottomLinePinkDown {
  border-bottom: 10px solid transparent;
  border-image: url(imagesCSS/borderBottomPinkDown.png) 10 repeat;
}

.borderBottomLineWhiteDown {
  border-bottom: 10px solid transparent;
  border-image: url(imagesCSS/borderBottomWhiteDown.png) 10 repeat;
}*/

.mainBoxBG {
  width: 100%;
  height: auto;
  background: no-repeat scroll center top; /* image carrée !!! */
  background-size: 100% auto;
  overflow: hidden;
  z-index:1;
}

/******************* Header Menu *******************/
.headerContent {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1400px;
  width: 100%;
  max-height: 175px;
  background: #fff;
  display: flex;
  align-items: center;
}

.headerLogo {
  height: auto;
  position: relative;
  top: 0;
  left: 0;
  outline: none;
  width: clamp(120px, 25vw, 250px);
  aspect-ratio: 280 / 168 !important;
  background: #fff center / contain no-repeat url("imagesCSS/LogoEDGNQ.png");
  display: block;
  flex-shrink: 0;
}

/*.headerLogo:hover {
  background: center / contain no-repeat url("imagesCSS/LogoEDGNQ-hover.jpg");
  top: 1px;
  left: 1px;
}*/

.headerMenu a {
  font-weight: bold;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  letter-spacing: 0.25rem;
  text-align: center;
  text-decoration: none;
  outline: none;
  margin: auto 2rem;
}

.headerMenu a:hover {
  color: #742120;
}

.selected {
  color: #742120;
}

/***  box & mainBox  ***/

.box,
.titreMainBox {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1400px;
  width: 100%;
  box-sizing: border-box;
  z-index: 50;
  background-color: transparent;
  justify-content: center;
  padding: 0 2rem 3rem 3rem;
}

.titreMainBox h1 {
  font-weight: bold;
  font-size: var(--step-5);
  color: #981653;
  letter-spacing: 0px;
  text-align: Left;
  padding: 3% 0 0 0;
}

.titreMainBox h2 {
  font-weight: bold;
  font-size: var(--step-4);
  color: #981653;
  letter-spacing: 0px;
  text-align: left;
}

.titreMainBox h3 {
  font-weight: bold;
  font-size: var(--step-3);
  color: #981653;
  letter-spacing: 0px;
  text-align: left;
}

.box p {
  font-weight: normal;
  font-size: var(--step-0);
  letter-spacing: 0px;
  text-align: left;
}

/*** Footer Content ***/

.footerContent {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1400px;
  width: 100%;
  box-sizing: border-box;
  background: #710d3c;
  justify-content: center;
  padding: 1rem 2rem 3rem 3rem;
}

.footer h1 {
  font-weight: 900;
  font-size: var(--step-5);
  text-align: center;
  color: #fff;
  padding: 3% 0 0 0;
}

.footer h2 {
  font-weight: bold;
  font-size: var(--step-4);
  text-align: left;
  color: #fff;
}

.footer p {
  font-weight: normal;
  font-size: var(--step-0);
  text-align: left;
  color: #fff;
}

.footer span {
  font-weight: bold;
  font-style: italic;
  font-size: var(--step-0);
  text-align: left;
  color: #fff;
}

/* particularités à déclarer à la fin !!! */

.mainBox-BGPink-fontWhite {
  background: #981653;
}

.mainBox-BGPink-fontWhite h1,
.mainBox-BGPink-fontWhite h2,
.mainBox-BGPink-fontWhite h3,
.mainBox-BGPink-fontWhite p {
  color: #fff;
}

.mainBox-BGPink-fontWhite h1 {
  text-shadow: -0.2rem -0.2rem 0 #4a0224;
}

#mainBox1,
#mainBox1 h1 {
  padding-top: 0;
}


