/* Custom media */

/* Variables */
:root {
  --font-sans: 'Source Sans Pro', source-sans-pro, Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', sans-serif;
  --font-serif: 'Source serif pro', Charter, 'Bitstream Charter', 'Sitka Text', Cambria, serif;
  --font-family-monospace: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;

  /* Gris accessibles
  Les --color-grey-dx (dark) contrastent avec le blanc.
  Les --color-grey-lx (light) contrastent avec le noir. */
  --color-grey-d1: #2e3440;
  --color-grey-d2: #3b4252;
  --color-grey-d3: #434c5e;
  --color-grey-d4: #4c566a;
  --color-grey-d5: #5f6e86;
  --color-grey-l5: #bdc3ce;
  --color-grey-l4: #d8dee9;
  --color-grey-l3: #e5e9f0;
  --color-grey-l2: #eceff4;
  --color-grey-l1: #f6f8fa;

  --color-palette-1: #ffdc1c;
  --color-palette-2: #e41c52;
  --color-palette-3: #1cffad;
  --color-bluegrey: #e7e7ff;

  --color-background: #f1f1ff;
  --color-text: var(--color-grey-d1);

  --color-link: var(--color-palette-2);
  --color-link-active: #000;

  --color-footer-background: #15202b;

  --syntax-tab-size: 2;
}
/* source-sans-pro-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/source-sans-pro-v21-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('../fonts/source-sans-pro-v21-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/source-sans-pro-v21-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/source-sans-pro-v21-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/source-sans-pro-v21-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/source-sans-pro-v21-latin-regular.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}

/* source-sans-pro-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/source-sans-pro-v21-latin-italic.eot'); /* IE9 Compat Modes */
  src: url('../fonts/source-sans-pro-v21-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/source-sans-pro-v21-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/source-sans-pro-v21-latin-italic.woff') format('woff'), /* Modern Browsers */
       url('../fonts/source-sans-pro-v21-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/source-sans-pro-v21-latin-italic.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}

/* source-sans-pro-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/source-sans-pro-v21-latin-700.eot'); /* IE9 Compat Modes */
  src: url('../fonts/source-sans-pro-v21-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/source-sans-pro-v21-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/source-sans-pro-v21-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/source-sans-pro-v21-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/source-sans-pro-v21-latin-700.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}

/* source-sans-pro-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/source-sans-pro-v21-latin-700italic.eot'); /* IE9 Compat Modes */
  src: url('../fonts/source-sans-pro-v21-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/source-sans-pro-v21-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/source-sans-pro-v21-latin-700italic.woff') format('woff'), /* Modern Browsers */
       url('../fonts/source-sans-pro-v21-latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/source-sans-pro-v21-latin-700italic.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}

/* source-serif-pro-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Serif Pro';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/source-serif-pro-v15-latin-900.eot'); /* IE9 Compat Modes */
  src: url('../fonts/source-serif-pro-v15-latin-900.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/source-serif-pro-v15-latin-900.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/source-serif-pro-v15-latin-900.woff') format('woff'), /* Modern Browsers */
       url('../fonts/source-serif-pro-v15-latin-900.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/source-serif-pro-v15-latin-900.svg#SourceSerifPro') format('svg'); /* Legacy iOS */
}

/* source-serif-pro-900italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Serif Pro';
  font-style: italic;
  font-weight: 900;
  src: url('../fonts/source-serif-pro-v15-latin-900italic.eot'); /* IE9 Compat Modes */
  src: url('../fonts/source-serif-pro-v15-latin-900italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/source-serif-pro-v15-latin-900italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/source-serif-pro-v15-latin-900italic.woff') format('woff'), /* Modern Browsers */
       url('../fonts/source-serif-pro-v15-latin-900italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/source-serif-pro-v15-latin-900italic.svg#SourceSerifPro') format('svg'); /* Legacy iOS */
}
@keyframes bgWave{
  0% {
      background-position: 0 0;
  }
  100% {
      background-position: 122px 0;
  }
}
/* Global styles */
html,
body {
  padding: 0;
  margin: 0 auto;
  font-family: 'Source Sans Pro', source-sans-pro, Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', sans-serif;
  font-family: var(--font-sans);
  color: #2e3440;
  color: var(--color-text);
  background-color: #f1f1ff;
  background-color: var(--color-background);
}

html {
  font-size: 62.5%; /* https://snook.ca/archives/html_and_css/font-size-with-rem */
  scroll-behavior: smooth;
}

body {
  font-size: 2.4rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Source serif pro', Charter, 'Bitstream Charter', 'Sitka Text', Cambria, serif;
  font-family: var(--font-serif);
  font-weight: 900;
  text-transform: none;
  color: #2e3440;
  color: var(--color-grey-d1);
}

.main-title {
  font-size: 5.5rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 6rem;
}

h2 {
  font-size: 3.5rem;
  margin-top: 3rem;
}

p:last-child {
  margin-bottom: 0;
}

p {
  line-height: 1.5;
  margin-bottom: 2rem;
}

li {
  line-height: 1.5;
}

a {
  color: #e41c52;
  color: var(--color-link);
  transition: .3s color ease-in-out;
}

a:hover, a:active {
  color: #000;
  color: var(--color-link-active);
}

img {
  max-width: 100%;
}

table {
  margin: 1rem 0;
}

table td, table th {
  padding-right: 1rem;
}

pre, code {
  font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;
  font-family: var(--font-family-monospace);
}

pre:not([class*="language-"]) {
  margin: .5rem 0;
  line-height: 1.375; /* 22px /16 */
  -moz-tab-size: 2;
  -moz-tab-size: var(--syntax-tab-size);
  -o-tab-size: 2;
  -o-tab-size: var(--syntax-tab-size);
  tab-size: 2;
  tab-size: var(--syntax-tab-size);
  hyphens: none;
  direction: ltr;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
}

code {
  word-break: break-all;
  color: #2e3440;
  color: var(--color-grey-d1);
}

/* Utility classes */
.btn {
  display: inline-block;
  margin: 2rem auto;
  background-color: #e5e9f0;
  background-color: var(--color-grey-l3);
  border: 2px solid transparent;
  color: #e41c52;
  color: var(--color-palette-2);
  padding: 1rem 3rem;
  text-align: center;
  border-radius: 50px;
  -webkit-text-decoration: none;
  text-decoration: none;
}

.btn:hover {
  background-color: #1cffad;
  background-color: var(--color-palette-3);
  color: #e41c52;
  color: var(--color-palette-2);
  border-color: #e41c52;
  border-color: var(--color-palette-2);
}

.featured-link {
  color: #e41c52;
  color: var(--color-palette-2);
  -webkit-text-decoration: none;
  text-decoration: none;
  text-decoration-color: #e41c52;
  text-decoration-color: var(--color-palette-2);
}

.featured-link:hover {
  -webkit-text-decoration: underline;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  text-decoration-color: #1cffad;
  text-decoration-color: var(--color-palette-3);
}

.featured-link::after {
  content: "\00A0\219D"; /* nbsp + arrow */
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

/* Bootstrap classes not available in reboot.css and grid.css */
.visually-hidden,
.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Main container */
.main-container {
  position: relative;
  margin: 0 auto;
  padding: 1rem;
}

@media (min-width: 768px) {
  .main-container {
    padding-bottom: 5rem;
  }
}

.main-content {
  display: block;
  margin: 0 auto;
  flex-grow: 2;
}

.article {
  max-width: 800px;
  display: block;
  margin: 0 auto 5rem;
}

.side {
  position: relative;
}

/* Main header */
.main-header {
  display: block;
  padding: 1rem;
  margin: 1rem auto;
  font-size: 2.2rem;
}

@media (min-width: 768px) {
  .main-header {
    display: flex;
    align-items: flex-end;
    gap: 1rem .5rem;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 3rem auto;
  }
}

.home-link {
  -webkit-text-decoration: none;
  text-decoration: none;
  margin-right: 2rem;
}

.site-logo {
  width: 400px;
  max-width: 100%;
  padding: 0 1rem 0 0;
  transition: all .3s ease-out;
}

.site-logo:hover {
  filter: drop-shadow(0px 10px 0px #d8dee9);
  filter: drop-shadow(0px 10px 0px var(--color-grey-l4));
  transform: translateY(-4px);
}

/* Main nav */
.nav {
  padding: 0;
  margin: 0;
  list-style: none;
}

.main-header__nav {
  flex: 1;
  margin-top: 1rem;
}

.nav__toggler {
  position: relative;
  display: block;
  margin: 0 0 0 auto;
  text-align: center;
  background-color: #e5e9f0;
  background-color: var(--color-grey-l3);
  border: 2px solid transparent;
  color: #434c5e;
  color: var(--color-grey-d3);
  padding: 1rem 2rem;
  -webkit-text-decoration: none;
  text-decoration: none;
  transition: .3s all linear;
  font-size: 1.6rem;
  border-radius: 25px;
  z-index: 1;
}

.nav__toggler:hover, .nav__toggler:focus {
  color: #e41c52;
  color: var(--color-palette-2);
  border-color: #bdc3ce;
  border-color: var(--color-grey-l5);
}

.nav--open .nav__toggler {
  border-radius: 25px 25px 0 0;
  border-bottom-color: transparent;
}

.nav__toggler .icon {
  display: block;
  width: 100%;
}

.main-header__nav .nav__list {
  display: none;
  flex-direction: column;
  list-style: none;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  background-color: #e5e9f0;
  background-color: var(--color-grey-l3);
  border-radius: 25px 0 25px 25px;
  padding: 3rem 0;
  z-index: 0;
}

.nav--open .nav__list {
  display: flex;
}

.main-header__nav .nav-item {
  text-align: center;
}

.main-header__nav .nav-item a:not(:hover) {
  -webkit-text-decoration: none;
  text-decoration: none;
}

.main-header__nav .nav-item--icon {
  margin-top: -2px;
}

.main-header__nav .nav-link {
  position: relative;
  -webkit-text-decoration: none;
  text-decoration: none;
  padding-bottom: 1.5rem;
  color: #000;
}

.main-header__nav .nav-link::after {
  content: "";
  display: block;
  width: 0;
  height: 1rem;
  background-image: url('/img/wave-fluo.png');
  background-repeat: repeat-x;
  background-position: center center;
  background-size: auto 10px;
  position: absolute;
  animation-fill-mode: forwards;
  opacity: 0;
  transition: width .5s cubic-bezier(.2, 1, .3, 1), opacity .1s linear .2s;
  bottom: 0;
  right: 0;
  left: auto;
}

.main-header__nav .nav-item--icon .nav-link::after {
  bottom: -2px;
}

.nav-link__icon-label {
  display: inline-block;
  margin-left: .5rem;
}

.main-header__nav .nav-link:not(.active):hover::after {
  width: 100%;
  animation: bgWave 1.5s linear infinite;
  left: 0;
  right: auto;
  transition: width .5s linear, opacity .1s linear;
  opacity: 1;
}

.main-header__nav .nav-link.active {
  padding-bottom: 1rem;
}

.main-header__nav .nav-link.active::after {
  background: none;
  border-bottom: 3px solid #ffdc1c;
  border-bottom: 3px solid var(--color-palette-1);
  transition: border-color ease-in-out .5s;
  width: 100%;
  opacity: 1;
}

@media (min-width: 768px) {
  .main-header__nav .nav__list {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    flex-wrap: nowrap;
    background-color: transparent;
    border-radius: 0;
    padding: 0;
  }

  .main-header__nav .nav-link {
    display: block;
  }

  .nav__toggler {
    display: none;
  }

  .main-header__nav .nav-item {
    text-align: left;
  }

  .nav-link__icon-label {
    display: none;
  }
}

@media (min-width: 992px) {
  .main-header__nav {
    margin-bottom: -1.5rem;
  }
}

/* Doc nav */
.docnav__toggler {
  display: block;
  position: relative;
  text-align: center;
  background-color: transparent;
  color: #e41c52;
  color: var(--color-link);
  border: none;
  padding: 0;
  -webkit-text-decoration: underline;
  text-decoration: underline;
  transition: .3s all linear;
  font-size: 2rem;
  z-index: 1;
}

.docnav__toggler:hover, .docnav__toggler:focus {
  color: #000;
  color: var(--color-link-active);
}

.nav--open .docnav__toggler {
  color: #434c5e;
  color: var(--color-grey-d3);
}

.docnav__toggler::after {
  content: "\203A";
}

.nav--open .docnav__toggler::after {
  transform: rotate(90deg);
  display: inline-block;
}

.doc__nav {
  font-size: 20px;
  border: 3px solid #e7e7ff;
  border: 3px solid var(--color-bluegrey);
  padding: 2rem;
  margin-bottom: 2rem;
}

.doc__nav .nav__list {
  display: none;
}

.doc__nav.nav--open .nav__list {
  display: block;
}

.doc__nav .nav-item {
  margin-top: .5rem;
  display: block;
}

.doc__nav .nav__list ul {
  padding-left: 1rem;
  list-style: none;
}

.doc__nav .nav__list li:not(.nav-item) {
  padding-left: 1rem;
}

.doc__nav a {
  color: #2e3440;
  color: var(--color-grey-d1);
  -webkit-text-decoration: none;
  text-decoration: none;
}

.doc__nav a:hover, .doc__nav a:focus {
  color: #000 !important;
}

.doc__nav a:hover, .doc__nav a:focus {
  -webkit-text-decoration: underline;
  text-decoration: underline;
}

.doc__nav .nav-link.active {
  -webkit-text-decoration: none;
  text-decoration: none;
  font-weight: bold;
  font-style: italic;
  border-bottom: 3px solid #ffdc1c;
  border-bottom: 3px solid var(--color-palette-1);
}

@media (min-width: 992px) {
  .docnav__toggler {
    display: none;
  }

  .doc__nav {
    position: sticky;
    top: 1rem;
    max-height: 100vh;
    overflow-y: auto;
    border: none;
    padding: 0;
    margin: 0;
  }

  .doc__nav .nav__list {
    display: block;
  }
}

/* Doc cards */
.doc__cards {
  margin: 4rem 0;
}

.doc__card {
  margin-bottom: 3rem;
}

.doc__card:last-child {
  margin-bottom: 0;
}

.doc__card a {
  -webkit-text-decoration: none;
  text-decoration: none;
  color: #2e3440;
  color: var(--color-grey-d1);
}

.card__title {
  color: #e41c52;
  color: var(--color-link);
  font-weight: bold;
  margin-bottom: 0;
}

.card__title:after {
  content: " \203A";
}

.doc__card a:hover .card__title, .doc__card a:focus .card__title {
  -webkit-text-decoration: underline;
  text-decoration: underline;
  color: #2e3440;
  color: var(--color-grey-d1);
}

.doc__card a:hover .card__title:after, .doc__card a:focus .card__title:after {
  content: " \00BB";
}

.card__text {
  color: #2e3440;
  color: var(--color-grey-d1);
}

.doc__card:hover .card__title, .doc__card:focus .card__title {
  -webkit-text-decoration: underline;
  text-decoration: underline;
}

@media (min-width: 576px) {
  .doc__cards {
    padding: 2rem 4rem;
    border-left: 1rem solid #d8dee9;
    border-left: 1rem solid var(--color-grey-l4);
  }
}

/* Timeline */

.timeline {
  list-style: none;
  padding-left: 5rem;
  margin-left: 4rem;
  border-left: 1rem solid #d8dee9;
  border-left: 1rem solid var(--color-grey-l4);
  margin-bottom: 4rem;
}

.timeline::before {
  content: attr(data-before);
}

.timeline::after {
  content: attr(data-after);
}

.timeline__step {
  position: relative;
  min-height: 10rem;
  margin: 5rem 0;
}

.timeline__step::before {
  content: "";
  display: block;
  position: absolute;
  width: 6.4rem;
  height: 6.4rem;
  top: 0;
  left: -8.6rem;
  background-color: #f6f8fa;
  background-color: var(--color-grey-l1);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  border-radius: 50%;
  border: .5rem solid #d8dee9;
  border: .5rem solid var(--color-grey-l4);
  z-index: 2;
  transition: border-color .3s linear;
}

.timeline__step:hover::before, .timeline__step:focus::before {
  border-color: #5f6e86;
  border-color: var(--color-grey-d5);
}

.timeline__step--user-chapitreneuf::before {
  background-image: url('/img/cn100.png');
  border-color: #ffdc1c;
  border-color: var(--color-palette-1);
}

.timeline__step--user-client::before {
  background-image: url('/img/user100.png');
  border-color: #1cffad;
  border-color: var(--color-palette-3);
}

.timeline__step:last-child::after {
  content: "";
  display: block;
  position: absolute;
  width: 6.4rem;
  top: 6rem;
  left: -8.6rem;
  bottom: 0;
  background: #f1f1ff;
  background: var(--color-background);
  z-index: 1;
}

.timeline__step a {
  color: #2e3440;
  color: var(--color-grey-d1);
  -webkit-text-decoration: none;
  text-decoration: none;
}

.timeline__step a > * {
  margin: 0 !important;
}

.step__title {
  color: #e41c52;
  color: var(--color-link);
  font-weight: bold;
}

.step__title:after {
  content: " \203A";
}

.timeline__step a:hover .step__title, .timeline__step a:focus .step__title {
  -webkit-text-decoration: underline;
  text-decoration: underline;
  color: #2e3440;
  color: var(--color-grey-d1);
}

.timeline__step a:hover .step__title:after, .timeline__step a:focus .step__title:after {
  content: " \00BB";
}

.step__time {
  color: #5f6e86;
  color: var(--color-grey-d5);
}

.step__more {
  -webkit-text-decoration: underline;
  text-decoration: underline;
  font-size: 1.8rem;
}

.timeline__footnote {
  font-size: 2rem;
  color: #5f6e86;
  color: var(--color-grey-d5);
}

/* Prev/next */
.prevnext {
  list-style: none;
  display: flex;
  margin-top: 8rem;
  padding: 2rem 0 0 0;
  justify-content: space-between;
  border-top: 3px solid #e7e7ff;
  border-top: 3px solid var(--color-bluegrey);
}

.prevnext a {
  color: #434c5e;
  color: var(--color-grey-d3);
  -webkit-text-decoration: none;
  text-decoration: none;
}

.prevnext span {
  display: block;
}

.prevnext__label {
  color: #434c5e;
  color: var(--color-grey-d3);
  text-transform: uppercase;
  font-size: 2rem;
}

.prevnext__title {
  color: #e41c52;
  color: var(--color-palette-2);
  -webkit-text-decoration: underline;
  text-decoration: underline;
}

.prevnext a:hover span, .prevnext a:focus span {
  color: #2e3440;
  color: var(--color-grey-d1);
  -webkit-text-decoration: underline;
  text-decoration: underline;
}

.next {
  text-align: right;
}

/* Doc footer */

.doc__footer {
  margin-top: 8rem;
  padding-top: 2rem;
  border-top: 3px solid #e7e7ff;
  border-top: 3px solid var(--color-bluegrey);
  font-size: 2rem;
  color: #434c5e;
  color: var(--color-grey-d3);
}

.prevnext + .doc__footer {
  margin-top: 2rem;
}

.doc__footer a {
  color: inherit;
}

.doc__footer a:hover, .doc__footer a:focus {
  color: #000 !important;
}

/* Main footer */
.main-footer {
  background-color: #15202b;
  background-color: var(--color-footer-background);
  color: #eceff4;
  color: var(--color-grey-l2);
  padding-top: 5rem;
  padding-bottom: 5rem;
  font-size: 20px;
}

.main-footer a, .main-footer a:hover, .main-footer a:active {
  color: #eceff4;
  color: var(--color-grey-l2);
}

.main-footer a {
  -webkit-text-decoration: none;
  text-decoration: none;
}

.main-footer a:hover, .main-footer a:active {
  -webkit-text-decoration: underline;
  text-decoration: underline;
  color: #1cffad;
  color: var(--color-palette-3);
}

.footer-logo {
  padding: 0 1rem 1rem 1rem;
  width: 350px;
  opacity: .9;
  transition: opacity .3s ease-in-out;
}

.footer-logo:hover {
  opacity: 1;
}

.main-footer__nav {
  margin: 1rem 0 2rem 0;
}

@media (min-width: 576px) {
  .main-footer__nav {
    -moz-columns: 2;
         columns: 2;
  }
}

@media (min-width: 768px) {
  .main-footer__nav {
    margin: 0 1rem 1rem 2rem;
  }
}

.main-footer .nav__list {
  padding: 0;
}

.main-footer__nav .nav-link {
  line-height: 1.25;
}

.main-footer .nav-item {
  display: block;
}

.footer__credit {
  font-size: 1.8rem;
  color: #bdc3ce;
  color: var(--color-grey-l5);
  border-radius: 25px;
  font-style: italic;
}

.footer__credit::before {
  content: "";
  background: url('/img/wave-bluegrey.png') repeat-x center center;
  opacity: .8;
  background-size: auto 10px;
  display: block;
  width: 100px;
  max-width: 100%;
  height: 10px;
  margin: 1rem 0 1rem;
}

.footer__credit a {
  color: inherit;
}

/* Home */
.body--layout-home h2 {
  text-align: center;
  font-size: 5rem;
  margin-bottom: 5rem;
}

.body--layout-home h2::after {
  content: "";
  background: url('/img/wave-bluegrey.png') repeat-x center center;
  background-size: auto 20px;
  display: block;
  width: 300px;
  max-width: 100%;
  height: 20px;
  margin: 1rem auto;
}

.home__section {
  margin: 6rem auto;
}

.home__section--intro {
  margin: 0 auto;
  max-width: 800px;
}

.home__service {
  margin-bottom: 4rem;
}

.home__service:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .home__section {
    margin: 5rem auto;
  }

  .home__service {
    padding: 0 4rem;
  }
}

.home__service h3 {
  margin: 3rem 0 2rem 0;
  color: #5f6e86;
  color: var(--color-grey-d5);
  font-size: 3rem;
}

.home__service h3 a:not(:hover) {
  color: inherit;
  -webkit-text-decoration: none;
  text-decoration: none;
}

.service__illustration {
  display: block;
  margin: 0 auto;
  width: 400px;
}

.home__section--portfolio .home__section-side {
  text-align: center;
}

.home__section--portfolio h2 {
  margin-bottom: 2rem;
}

.home__section--portfolio .portfolio {
  margin-top: 1rem;
}

.home__section--portfolio .portfolio__container {
  border-top: none;
}

@media (min-width: 768px) {
  .home__section--portfolio h2 {
    text-align: left;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
  }

  .home__section--portfolio h2::after {
    margin-left: 0;
  }

  .home__section--portfolio .home__section-side {
    text-align: left;
  }
}

/* Portfolio */
.portfolio {
  margin-top: 2rem;
}

.portfolio__filter {
  display: block;
  font-size: 2rem;
  color: #5f6e86;
  color: var(--color-grey-d5);
  display: flex;
  justify-content: space-between;
  padding-bottom: 2rem;
}

.filter-count {
  text-align: right;
}

.filter-label {
  margin-right: 1rem;
}

.portfolio__container {
  padding-top: 3rem;
  border-top: 3px solid #e7e7ff;
  border-top: 3px solid var(--color-bluegrey);
}

.portfolio__item {
  display: block;
  padding: 0 2rem 3rem 2rem;
  color: #2e3440;
  color: var(--color-grey-d1);
  -webkit-text-decoration: none;
  text-decoration: none;
  font-size: 2rem;
}

.portfolio__image-container {
  position: relative;
  margin-bottom: 1rem;
}

.portfolio__image {
  border-radius: 25px;
  transition: .3s all ease-out;
  border: 3px solid transparent;
}

.portfolio__item:hover .portfolio__image {
  filter: saturate(120%);
  border-color: #1cffad;
  border-color: var(--color-palette-3);
}

.portfolio__badge {
  position: absolute;
  height: 50px;
  bottom: -2rem;
  right: -1rem;
  background-color: #fff;
  border-radius: 12px;
  transition: .3s all ease-out;
  opacity: .9;
}

.portfolio__item:hover .portfolio__badge {
  background-color: #1cffad;
  background-color: var(--color-palette-3);
  opacity: 1;
}

.portfolio__item span {
  display: block;
  transition: .3s all ease-out;
  text-decoration-color: #1cffad;
  text-decoration-color: var(--color-palette-3);
}

.portfolio__item:hover span {
  -webkit-text-decoration: underline;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  text-decoration-color: #1cffad;
  text-decoration-color: var(--color-palette-3);
}

.portfolio__caption {
  padding: 1rem;
  border-left: 3px solid transparent;
}

.portfolio__item:hover .portfolio__caption {
  transform: translateY(-3px);
}

.portfolio__publisher {
  color: #5f6e86;
  color: var(--color-grey-d5);
}

/* Logos */
.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.logos-item {
  text-align: center;
  padding: 2rem 3rem;
}

.logos-item img {
  max-height: 80px;
  filter: gray;
  filter: grayscale(1) sepia(100%) hue-rotate(170deg) saturate(80%);
  opacity: .8;
}

.logos-item img:hover {
  filter: none;
  opacity: 1;
}

/* Article */
@media (min-width: 768px) {
  .article__header {
    margin-top: 2rem;
  }
}

.article__accroche {
  display: block;
  margin: 4rem auto;
  width: 500px;
  max-width: 100%;
}

.subhead {
  text-transform: uppercase;
  color: #5f6e86;
  color: var(--color-grey-d5);
  text-align: center;
  font-size: 2.4rem;
  letter-spacing: 4px;
  margin-bottom: 1rem;
}

.excerpt {
  color: #5f6e86;
  color: var(--color-grey-d5);
  margin: -4rem 0 6rem 0;
  text-align: center;
}

.time {
  display: inline-block;
  margin-left: 1rem;
}

.clock-icon {
  display: inline-block !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.clock-icon {
  opacity: .5;
  width: 20px;
  margin-right: .5rem;
}

.article p {
  line-height: 1.7;
}

.article h2 {
  margin: 6rem 0 2rem;
}

.article h3 {
  font-size: 2.4rem;
  margin: 6rem 0 2rem;
}

.article h4 {
  font-size: 2rem;
  font-style: italic;
  margin: 4rem 0 2rem;
}

.article img {
  display: block;
  margin: 2rem auto;
}

.article li {
  margin-bottom: 1.5rem;
}

.article hr {
  border: none;
  opacity: 1;
}

.article hr::after {
  content: "";
  background: url('/img/wave-bluegrey.png') repeat-x center center;
  background-size: auto 20px;
  display: block;
  width: 300px;
  max-width: 100%;
  height: 20px;
  margin: 4rem auto;
}

.features {
  max-width: 600px;
  display: block;
  padding: 4rem 2rem;
  background-color: #e7e7ff;
  background-color: var(--color-bluegrey);
  margin: 5rem auto 8rem;
  font-size: 2.2rem;
  border-radius: 25px;
}

.features h2 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 3rem;
}

.features ul {
  list-style: none;
  padding: 0;
}

.features li {
  line-height: 1.2;
  margin-bottom: 2rem;
  padding: 0 4rem 0 5.5rem;
  position: relative;
}

.features li::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2300B576' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  position: absolute;
  top: 2px;
  left: 2rem;
  display: block;
}