/* ============================================================= DOCUMENTATION */
/* This files contains the CSS styling for global elements, such as :
*
*      - Global settings
*      - Layout rules (for sections/spaces/alignment/...)
*      - Titles & text presets
*      - Flexbox presets
*      - Lists styling
*      - Colors presets
*      - Buttons and anchors presets
*      - Lazy loading animation
*/
/* ============================================================= GLOBAL SETTINGS */
html {
  font-family: var(--font);
  font-size: calc(15px + 0.2vw);
  color: var(--color-darkgray);
}
.sous_titre, h3, h4, p {
  line-height: 1.56;
}
.style-ul li {
  margin-top: 8px;
  list-style-type: square;
  list-style-position: inside;
  line-height: 1.46;
  color: var(--color-primary);
}
h1 {
  line-height: 1.4;
}
h2 {
  line-height: 1.2;
}
.xsmall {
  font-size: 0.7rem;
}
.small {
  font-size: 0.8rem;
}
/* ============================================================= LAYOUT */
.vpd {
  padding-top: var(--vpd);
  padding-bottom: var(--vpd);
}
.hpd {
  padding-left: var(--hpd);
  padding-right: var(--hpd);
}
.full {
  width: 100%;
}
.half {
  width: 50%;
}
.just-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.just-img {
  object-fit: cover;
  object-position: center;
}
.shadow {
  box-shadow: 10px 10px 15px -10px rgba(51, 51, 51, 0.1);
}
/* ============================================================= LISTS */
ul.bullet {
  list-style-type: disc;
  padding-left: 30px;
}
/* ============================================================= COLORS */
.white {
  color: #fff;
}
.to-white:hover {
  color: #fff;
}
/* ============================================================= BUTTONS AND ANCHORS */
button, a {
  cursor: pointer;
  display: inline-block;
  transition: 0.4s cubic-bezier(0.79, 0.14, 0.15, 0.86);
}
button svg, button path, a svg, a path {
  transition: 0.4s cubic-bezier(0.79, 0.14, 0.15, 0.86);
}
button:before, button:after, a:before, a:after {
  transition: 0.4s cubic-bezier(0.79, 0.14, 0.15, 0.86);
}
.btn-class {
  padding: 10px 15px;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
  border: 0;
}
.btn-class {
  color: #fff;
  background: #333;
}
.btn-class:hover {
  background: #666;
}
/* ============================================================= FORM */
input, textarea {
  padding: 10px 0;
  background: none;
  border: none;
  border-bottom: 1px solid #333;
}
/* ============================================================= LAZY LOADING */
img[data-src] {
  min-height: 200px;
  background: linear-gradient(180deg, #fff, #C0C0C0, #fff) no-repeat;
  background-size: 500% 500%;
  animation: loading 1s infinite linear;
  font: 300 12px/1.5 var(--font);
}
@keyframes loading {
  0% {
    background-position: 50% -50%;
  }
  100% {
    background-position: 50% 150%;
  }
}
