


/* VARIABLES */

:root {
  --spacing: 1rem;
  --violet_moyen: #cabad7;
  --violet_nuit: #271945;
  --rouge_brique : #d64241;
  --blanc: #ffffff;
  --noir: black;
}



/* LAYOUT */

.row { display: flex; }
.fill { flex: 1; }
.col{
  width: calc(100%/3);
  flex-shrink: 0;
}
.row > *:not(.no-padding) { padding: calc(2*var(--spacing)); }



/* GENERAL SETTINGS */

body {
  font-family: "barlow", "hk_grotesk", sans-serif;
  color: var(--violet_nuit);
}
h1, h2, figcaption{
  font-family: 'reglo';
  font-size: 2.2rem;
}
h2:not(:last-child) { margin-bottom: 1rem; }
article, section {
  font-size: 1.1rem;
  line-height: 26px;
  max-width: 50rem;
}
article p { text-indent: 1rem; }
article > * + h2 { margin-top: 1rem; }
section ul, section ol,
article ul, article ol { list-style-position: inside; }
article ul, article ol { margin-left: calc(1 * var(--spacing)); }
.violet {
  background-color: var(--violet_nuit);
  color: var(--violet_moyen) !important;
  z-index: 0;
  position: relative;
}


/* BUTTON */
.button {
  align-items: center;
  background-color: var(--violet_nuit);
  border: 2px solid var(--violet_nuit);
  border-radius: 8px;
  box-sizing: border-box;
  color: var(--blanc);
  cursor: pointer;
  display: flex;
  font-family: "nighthawk",sans-serif;
  font-size: 16px;
  height: 38px;
  justify-content: center;
  line-height: 24px;
  max-width: 100%;
  padding: 0 20px;
  position: relative;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  z-index: ;
}
.button.active {
  color: var(--violet_nuit);
  background-color: var(--violet_moyen);
}

.button:after {
  background-color: var(--violet_moyen);
  border-radius: 8px;
  content: "";
  display: block;
  height: 38px;
  left: 0;
  width: 100%;
  position: absolute;
  top: -2px;
  transform: translate(8px, 8px);
  transition: transform .2s ease-out;
  z-index: -1;
}


.button:hover:after {
  transform: translate(0, 0);
}


.button:active {
  background-color: var(--blanc);
  outline: 0;
}

.button:hover {
  outline: 0;
}

@media (min-width: 768px) {
  .button {
    padding: 0 20px;
  }
}



/* HEADER */

body > header {
  background-color: var(--violet_nuit);
  color: var(--violet_moyen);
  padding: 1rem;
  overflow: hidden;
  position: relative;
}
body > header h1 a { position:relative; z-index: 10; text-decoration: none; font-size: 25px; }

header figure img {
  width: 800px; 
  min-width: 800px;
  padding: 0px;
  position: absolute;
  top: -180%;
  right: -57px;
}

/* FOOTER  */

footer {
  border-top: 1px solid var(--violet_moyen);
  list-style: inside;
}
footer p, footer a {
  font-size: .8rem;
  line-height: 1.1rem;
}
/* liens mentions légales */
footer ul#mentions {
  display: flex; list-style: none;
}
footer ul#mentions li {
  position: relative;
  margin-right: 21px;
  margin-bottom: 1rem;
}
footer a {text-decoration: none; }
footer a:hover {text-decoration: underline; }
footer ul#mentions li:not(:last-child)::after {
  display: inline-block;
  content: '|';
  padding-left: 10px;
  position: absolute;
  right: -12px;
}
/* logos */
footer ul#list_logos {
  list-style: none;
  display: flex; flex-wrap: wrap; justify-content: end;
}
footer ul#list_logos li { 
  margin-right: 1rem; margin-bottom: 1rem;
  display: flex; align-items: center;
}
footer ul#list_logos img {
  display: block;
  max-width: 160px;
  max-height: 70px;
}



/* FIGURE FILL */

figure.figure_fill {
  position:relative; height:100%;
}
figure.figure_fill img {
  position: absolute; object-fit: cover;
  height: 100%; width: 100%;
}



/* FIGURE RATIO */

figure.ratio {
  aspect-ratio: 15/10;
}
figure.ratio img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}