/* Custom normalize.css v8.0.1
----------------------------------------------- */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%
}

body {
  margin: 0
}

main {
  display: block
}

h1 {
  font-size: 2em;
  margin: .67em 0
}

a {
  background-color: transparent
}

b,
strong {
  font-weight: bolder
}

small {
  font-size: 80%
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline
}

sub {
  bottom: -.25em
}

sup {
  top: -.5em
}

img {
  border-style: none
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0
}

button,
input {
  overflow: visible
}

button,
select {
  text-transform: none
}

[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner,
button::-moz-focus-inner {
  border-style: none;
  padding: 0
}

[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring,
button:-moz-focusring {
  outline: 1px dotted ButtonText
}

progress {
  vertical-align: baseline
}

[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0
}

/* Root
----------------------------------------------- */

:root {
  --bodymargin: 1rem;
  --color0: #fff;
  --color1: #141A4A;
  --color2: #0032FF;
  --color3: #A8AABD;
  --colordim: #EDEFF5;
}

html {
  color: var(--color1);
  font: 1em/1.4 "Signal", Arial, sans-serif;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  background-color: var(--color1);
  scroll-behavior: smooth;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

::-moz-selection {
  background: var(--color2);
  color: var(--color0);
  text-shadow: none;
}

::selection {
  background: var(--color2);
  color: var(--color0);
  text-shadow: none;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.nostroke {
  fill: currentColor;
  stroke: none;
}

a {
  color: inherit;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

img,
video {
  max-width: 100%;
}

.dim {
  background-color: var(--colordim);
}

input,
button {
  border: none;
  outline: none;
  background: none;
  border-radius: 0;
  margin: 0;
  padding: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Fonts
----------------------------------------------- */

@font-face {
  font-family: 'Signal';
  src: url('signal-extralight.woff2') format('woff2'),
    url('signal-extralight.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

* {
  font-weight: normal;
}


/*  Scrollbar
----------------------------------------------- */

*::-webkit-scrollbar-track {
  background-color: var(--colordim);
  border-left: 1px solid var(--color3);
  cursor: default;
}

*::-webkit-scrollbar {
  width: 14px;
  height: 0;
  cursor: default;
}

*::-webkit-scrollbar-thumb {
  background-color: var(--color3);
  border-left: 1px solid var(--color3);
  border-radius: 0;
  cursor: default;
}


/* Cursor
----------------------------------------------- */

body * {
  cursor: none;
}

.desktop body:hover .cursor,
.cursor.hover {
  opacity: 1;
  transition: height .3s ease, width .3s ease, border .3s ease, opacity .2s .1s ease;
}

.cursor {
  position: fixed;
  z-index: 100;
  border-radius: 50%;
  transform: translateX(-50%) translateY(-50%);
  pointer-events: none;
  opacity: 0;
  transition: height .3s ease, width .3s ease, border .3s ease, opacity .2s 0s ease;
}

.cursor-inner {
  height: 10px;
  width: 10px;
  background: var(--color2);
}

.cursor-outer {
  height: 30px;
  width: 30px;
  border: 1px solid var(--color0);
  mix-blend-mode: difference;
}

.cursor-outer.hover {
  height: 80px;
  width: 80px;
}

.cursor-outer.hover.grab {
  height: 30px;
  width: 30px;
}

.cursor-inner.grab {
  height: 20px;
  width: 20px;
}

/* Animations
----------------------------------------------- */

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes sending {
  0% {
    width: 0
  }

  20% {
    width: 20%
  }

  30% {
    width: 25%
  }

  40% {
    width: 28%
  }

  50% {
    width: 36%
  }

  60% {
    width: 60%
  }

  100% {
    width: 100%
  }
}

@-webkit-keyframes bgPosition {
  0% {
    background-position: 0% 61%
  }

  50% {
    background-position: 100% 40%
  }

  100% {
    background-position: 0% 61%
  }
}

@keyframes bgPosition {
  0% {
    background-position: 0% 61%
  }

  50% {
    background-position: 100% 40%
  }

  100% {
    background-position: 0% 61%
  }
}

@keyframes slideUp {
  from {
    transform: translateY(3em)
  }

  to {
    transform: translateY(0)
  }
}

@-webkit-keyframes dash {
  to {
    stroke-dashoffset: 0
  }
}

@keyframes dash {
  to {
    stroke-dashoffset: 0
  }
}

.brand .logo path {
  --duration: calc(8s * var(--length) / 100);
  --delay: calc(.6s + .2s * var(--index));
  stroke-dasharray: var(--length);
  stroke-dashoffset: var(--length);
  -webkit-animation: dash var(--duration) var(--delay) ease forwards;
  animation: dash var(--duration) var(--delay) ease forwards;
}

.logo {
  opacity: 0;
  animation: fadeIn 0s .6s ease forwards;
}

video {
  opacity: 0;
  animation: fadeIn 3s .6s ease forwards;
}

.brand {
  transform: translateY(3em);
  animation: slideUp 1s 2s ease forwards;
}

.chapo {
  opacity: 0;
  animation: fadeIn 1s 2s ease forwards;
}

.top,
.scroll {
  opacity: 0;
  animation: fadeIn 1s 2.3s ease forwards;
}



/* Sliders
----------------------------------------------- */

.flickity-enabled {
  position: relative;
  outline: none;
}

.flickity-viewport {
  overflow: hidden;
  position: relative;
  height: 100%;
  width: 100vw;
}

.flickity-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

.flickity-enabled.is-draggable {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* .flickity-enabled.is-draggable .flickity-viewport {
  cursor: move;
  cursor: -webkit-grab;
  cursor: grab;
}

.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
  cursor: -webkit-grabbing;
  cursor: grabbing;
} */

.flickity-button {
  position: absolute;
  border: none;
  /* cursor: pointer; */
  outline: none;
}

.flickity-button:disabled {
  opacity: 0.3;
  /* cursor: auto; */
  pointer-events: none;
}

.flickity-enabled.is-fade .flickity-slider>* {
  pointer-events: none;
  z-index: 0;
}

.flickity-enabled.is-fade .flickity-slider>.is-selected {
  pointer-events: auto;
  z-index: 1;
}


/* Header
----------------------------------------------- */

header {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

header .brand {
  padding: var(--bodymargin);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header h1 {
  margin: 0;
  width: 90%;
  max-width: 10em;
  /* padding: 0 1em; */
  display: inline-block;
  transition: all .3s ease;
}

.logo,
.scroll {
  fill: none;
  stroke: var(--color0);
  stroke-linecap: round;
  stroke-miterlimit: 10;
  stroke-width: 1.76px;
}

header .chapo {
  color: var(--color0);
  margin-bottom: 0;
}

header .top {
  position: absolute;
  top: 0;
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
}

nav {
  display: none;
}

nav ul,
header #language {
  margin: calc(var(--bodymargin) / 1.125) var(--bodymargin);
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

#language a:first-of-type {
  margin-right: 1em;
}

#language a.current {
  color: var(--color3);
  pointer-events: none;
}

nav li {
  margin: 0 1em;
  display: flex;
  position: relative;
}

nav li:first-of-type {
  margin-left: 0;
}

nav li:last-of-type {
  margin-right: 0;
}

.top a,
section h2 {
  font-size: 1em;
  text-transform: uppercase;
  letter-spacing: .05em;
  display: inline-block;
}

.top a {
  color: var(--color0);
  text-decoration: none;
  position: relative;
  padding: .75em 0;
  overflow: hidden;
  outline: none;
}

.top a:after,
/* nav li:last-of-type:before, */
.char:before,
.char:after {
  content: '';
  position: absolute;
  transition: all .3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

.top a:not(.btn):after {
  height: 1px;
  width: 100%;
  left: 0;
  bottom: .75em;
  background-color: currentColor;
  opacity: 0;
  transform: translateY(0);
}

.desktop .top a:not(.btn):hover:after,
.desktop .top a:not(.btn):focus:after {
  opacity: 1;
  transform: translateY(.25em);
}

header .btn {
  display: flex;
  padding-left: 1em;
  padding-right: 1em;
  color: var(--color0);
  background-color: var(--color2);
  border: 1px solid var(--color2);
  border-radius: 2em;
}

.scroll {
  position: absolute;
  left: 50%;
  bottom: calc(var(--bodymargin) / 1.125 + .75em);
  transform: translateX(-50%);
  stroke-width: 2px;
}

.scroll svg {
  width: 3em;
  height: 3em;
}

.video {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -100;
  background:
    -webkit-radial-gradient(ellipse farthest-corner at right top, #251a99 0%, #1c0080 8%, #06004a 40%, #060738 50%, transparent 100%),
    -webkit-radial-gradient(ellipse farthest-corner at right bottom, #060738 0%, #200363 8%, #06004a 25%, #1c0080 62.5%, #251a99 100%);
  background:
    radial-gradient(ellipse farthest-corner at right top, #251a99 0%, #1c0080 8%, #06004a 40%, #060738 50%, transparent 100%),
    radial-gradient(ellipse farthest-corner at right bottom, #060738 0%, #200363 8%, #06004a 25%, #1c0080 62.5%, #251a99 100%);
  -webkit-animation: bgPosition 25s ease infinite;
  animation: bgPosition 25s ease infinite;
}

.video video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Demo button outline ----------------------------- */
/* nav li:last-of-type:before{
  width: calc(100% + 8px);
  height: calc(100% + 8px);
  top: -4px;
  left: -4px;
  border: 5px solid var(--color2);
  border-radius: 2em;
  opacity: 0;
  transform: scale(.5);
}
nav li:last-of-type:hover:before{
  opacity: 1;
  transform: scale(1);
} */

/* Demo button letters ------------------------------- */
header .btn>span.word {
  z-index: 1;
}

header .btn>span.word:not(:last-of-type) {
  margin-right: .3em;
}

.char {
  overflow: hidden;
  color: transparent;
  position: relative;
  --delay: calc(var(--char-index) * 15ms);
  display: inline-flex;
  align-items: center;
}

.char:before,
.char:after {
  color: var(--color0);
  content: attr(data-char);
  display: inline-block;
  top: 0;
  left: 0;
  transition-delay: var(--delay);
}

.char:after {
  transform: translateY(50%);
  opacity: 0;
}

header .btn .char:after {
  color: var(--color1);
}

.desktop .btn:hover .char:before,
.btn:focus .char:before {
  transform: translateY(-50%);
  opacity: 0;
}

.desktop .btn:hover .char:after,
.btn:focus .char:after {
  transform: translateY(0);
  opacity: 1;
}

/* Demo button fill ----------------------------- */
header .btn:after {
  width: 100%;
  height: 0;
  left: 0;
  bottom: 0;
  background-color: var(--color0);
}

.desktop header .btn:hover:after,
header .btn:focus:after {
  height: 100%;
}

/* Sections
----------------------------------------------- */

section {
  background: var(--color0);
  padding: calc(var(--bodymargin) / 1.125 + .75em) var(--bodymargin) 2em;
  /* min-height: 80vh; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

section h2 {
  margin: 0;
}

.chapo {
  font-size: 1.5em;
  line-height: 1.25em;
  text-align: center;
}

.chapo br {
  display: none;
}

section .chapo {
  margin: 1.5em 0 1em;
  max-width: 22em;
}

header .chapo {
  max-width: 30em;
}

section h3 {
  font-size: 1.25em;
  line-height: 1.25em;
  margin-bottom: 0;
}


/* Logiciel
----------------------------------------------- */

#logiciel {
  padding-left: var(--bodymargin);
  padding-right: var(--bodymargin);
}

/* #logiciel svg {
  order: -1;
  fill: none;
  stroke: currentColor;
  stroke-miterlimit: 10;
  stroke-width: 1.51px;
  margin-bottom: auto;
}

#logiciel svg path:last-of-type {
  fill: var(--color2);
  stroke: none;
} */

#logiciel img {
  width: 150px;
  height: 150px;
}

#logiciel ol,
#logiciel li {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
}

#logiciel ol {
  margin: 0;
}

#logiciel li {
  margin: 1.5em 0;
  width: 100%;
}

#logiciel li p,
#technologie li p,
.quotes footer {
  margin: .2em 0;
  opacity: .6;
}

#logiciel li p {
  max-width: 23em;
}



/* Résultats
----------------------------------------------- */
#resultats>div {
  display: flex;
  flex-direction: column;
  align-items: center;

  .mac {
    flex: 2;
    video {
      width: 100%;
      height: 100%;
    }
  }

  ul {
    flex: 1;
    text-align: center;
    align-self: center;
  }
}

/* .mac {
  flex: 2;
  position: relative;
  margin: 1.5em .5em 0;
  max-width: 32em;
} */

/* .mac figure {
  position: absolute;
  margin: 0;
  top: .66%;
  height: 0;
  width: 100%;
  padding-bottom: 56.25%;
  background-color: #000;
  transform: scale(.978551001);
}

.mac video {
  position: absolute;
  width: 100%;
  height: 100%;
}

.mac figcaption {
  position: absolute;
  left: 2%;
  top: 2%;
  bottom: 2%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mac figcaption p {
  margin: 0;
  font-size: .8em;
}

.mac figcaption .videotitle {
  margin-bottom: auto;
  font-size: 1em;
}

.mac p:not(.videotitle):before {
  content: '';
  display: inline-block;
  width: .7em;
  height: .7em;
  border-radius: 50%;
  vertical-align: baseline;
  margin-right: .5em;
  border: .1em solid var(--color3);
}

.mac p.try:before {
  background-color: var(--colordim);
}

.mac p.try:before {
  background-color: #4283c2;
}

.mac p.win:before {
  background-color: #f12f2c;
} */

/* Cas d'usage
----------------------------------------------- */

#cas-d-usage {
  padding-left: 0;
  padding-right: 0;
  overflow-x: hidden;
}

#cas-d-usage .chapo {
  padding-left: var(--bodymargin);
  padding-right: var(--bodymargin);
}

.cases {
  display: flex;
  flex-wrap: nowrap;
  overflow: hidden;
  white-space: nowrap;
  width: 100vw;
}

.case {
  flex-shrink: 0;
  max-width: calc(100vw - var(--bodymargin) * 3);
  width: 24em;
  height: 24em;
  margin: 1.5em calc(var(--bodymargin) / 3) 3.5em;
  padding: var(--bodymargin);
  background-color: var(--color0);
  color: var(--color1);
  border-radius: 1em;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

blockquote {
  margin: 0;
  z-index: 1;
  white-space: normal;
}

blockquote p {
  font-size: 1.25em;
  line-height: 1.25em;
  margin: 0;
  font-weight: 600;
  /* white-space: normal; */
}

/* html[lang="fr"] blockquote p:before {
  content: '«';
  white-space: nowrap;
  margin-right: .25em;
}

html[lang="fr"] blockquote p:after {
  content: '»';
  white-space: nowrap;
  margin-left: .25em;
}

html[lang="en"] blockquote p:before {
  content: '“';
  white-space: nowrap;
}

html[lang="en"] blockquote p:after {
  content: '”';
  white-space: nowrap;
} */

blockquote footer {
  margin: .2em 0;
}

.datas {
  z-index: 1;
  display: flex;
}

.datas p {
  width: 50%;
  white-space: normal;
  margin: 1em var(--bodymargin) .5em;
}

.datas span {
  font-size: 2em;
  line-height: 1em;
  display: block;
  white-space: nowrap;
}

.datas sup {
  top: -.25em;
}

.case img {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: .5;
}

.cases .flickity-prev-next-button {
  top: inherit;
  bottom: .1em;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  left: 50%;
  z-index: 20;
}

.cases .flickity-prev-next-button.previous {
  transform: translateX(calc(-50% + -5em));
}

.cases .flickity-prev-next-button.next {
  transform: translateX(calc(-50% + 5em));
}

.cases .flickity-prev-next-button .flickity-button-icon {
  position: absolute;
  fill: none;
  stroke: var(--color3);
  stroke-width: .2em;
  left: 20%;
  top: 20%;
  width: 60%;
  height: 60%;
}

.cases .flickity-page-dots {
  position: absolute;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
  line-height: 1;
  bottom: 1em;
}

.cases .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 4px;
  background: transparent;
  border: 1px solid var(--color3);
  border-radius: 50%;
  opacity: 1;
  /* cursor: pointer; */
  transition: all .5s ease;
  position: relative;
  overflow: hidden;
}

.cases .dot:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color2);
  transform-origin: center center;
  transform: scale(0);
  transition: transform .5s ease;
  border-radius: 50%;
}

.cases .dot.is-selected {
  border-color: var(--color2);
}

.cases .dot.is-selected:after {
  transform: scale(1);
}

.quotes {
  max-width: 100vw;
}

.quotes blockquote:nth-of-type(n+2) {
  display: none;
}

.quotes.flickity-enabled blockquote:nth-of-type(n+2) {
  display: block;
}

.quotes blockquote {
  width: calc(100vw - var(--bodymargin) * 2);
  margin: 1.5em var(--bodymargin);
  text-align: center;
}

.quotes blockquote>* {
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.partners {
  white-space: nowrap;
  margin-bottom: 1em;
  background-color: var(--color0);
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.partners.flickity-enabled {
  white-space: normal;
}

.partners:after {
  content: 'flickity';
  display: none;
}

.partners:before,
.team:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color1);
  mix-blend-mode: screen;
  pointer-events: none;
}

.partners:before {
  z-index: 1;
}

.partner {
  display: inline-block;
  padding: 1em;
}

.partner img {
  filter: grayscale(1);
  opacity: .4;
  max-width: unset;
  height: 3em;
  width: auto;
  display: inline-block;
  /* display: inline-block; */
  /* height: 3em;
  width: auto; */
}

/* À propos
----------------------------------------------- */

#apropos>div div {
  margin: 1.5em 0;
  max-width: 32em;
}

.team {
  position: relative;
}

/* Demo
----------------------------------------------- */

#demo {
  /* background-color: rgba(20, 26, 74, .6); */
  background: transparent;
  min-height: initial;
}

#demo h2 {
  color: var(--color0);
}

#demo form {
  width: 100%;
  min-height: 50vh;
  max-width: 32em;
  margin: 3em 0 2.5em;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: center;
  justify-content: center;
  position: relative;
}

#demo div {
  width: 100%;
  position: relative;
  margin: .5em 0;
  display: flex;
  justify-content: center;
}

#demo div.honeypot {
  position: absolute;
  left: -9999px;
  display: block;
}

#demo div:not(.submit):after {
  content: '';
  position: absolute;
  left: -4px;
  top: -4px;
  width: calc(100% + 8px);
  height: calc(100% + 8px);
  border-radius: 2em;
  border: 4px solid var(--color2);
  pointer-events: none;
  opacity: 0;
  transition: all .3s ease;
}

#demo div:not(.submit):focus-within:after {
  opacity: 1;
}

#demo input,
#demo button {
  background-color: var(--color0);
  padding: 1em 1.5em;
  border-radius: 2em;
  transition: all .3s ease;
  position: relative;
}

#demo input {
  width: 100%;
}

#demo input:focus {
  padding: 1.25em 1.5em .75em;
}

#demo input::placeholder {
  opacity: 1;
  color: var(--color3);
  transition: opacity .3s ease;
}

#demo input:focus::placeholder {
  opacity: 0;
}

#demo label {
  color: var(--color3);
  font-size: .75em;
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  transition: all .3s ease;
}

#demo input:focus+label {
  opacity: 1;
  transform: translateY(calc(-50% - 1em));
}

#demo button {
  color: var(--color0);
  background-color: var(--color2);
  position: relative;
  /* cursor: pointer; */
  width: 100%;
  overflow: hidden;
}

#demo button:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background-color: #00E8FF;
  opacity: 0;
  transition: opacity .3s ease;
}

#demo .submit {
  margin-top: 1em;
}

#demo .submit.sending button:after {
  opacity: 1;
  animation: sending 2s linear forwards
}

#demo button>span {
  transition: opacity .3s ease;
  text-transform: uppercase;
}

#demo .submit.sending button>span,
#demo .submit.success button .split,
#demo .submit.success button:after,
#demo .submit.error button:after {
  opacity: 0;
}

#demo .submit.success button .successmessage,
#demo .submit.error button .split {
  opacity: 1;
}

#demo .submit.success button {
  background-color: #00BD8E;
}

.successmessage {
  position: absolute;
  left: 50%;
  white-space: nowrap;
  transform: translateX(-50%);
  opacity: 0;
}

.errormessage {
  text-align: center;
  width: 100%;
  margin-bottom: 0;
  display: none;
  transition: opacity .3s ease;
}

.errormessage,
.errormessage a {
  color: var(--color0);
}

#demo .submit.error+.errormessage {
  opacity: 1;
  display: block;
}

/* Mentions légales
----------------------------------------------- */

#mentions {
  position: fixed;
  background: transparent;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2em;
  z-index: 2;
  pointer-events: none;
  transition: all .3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

#mentions-toggle:checked+#mentions {
  pointer-events: all;
}

.close-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all .3s ease;
  background-color: rgba(20, 26, 74, 0);
  cursor: pointer;
}

#mentions-toggle:checked+#mentions .close-bg {
  background-color: rgba(20, 26, 74, .9);
}

#mentions .modal {
  overflow-y: scroll;
  background-color: var(--color0);
  padding: calc(var(--bodymargin) / 1.125 + .75em) var(--bodymargin) 2em;
  opacity: 0;
  height: 100%;
  width: 100%;
  transform: translateY(.5em);
  transition: all .3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

#mentions-toggle:checked+#mentions .modal {
  opacity: 1;
  transform: translateY(0);
}

#mentions .close-icon {
  position: fixed;
  top: var(--bodymargin);
  right: var(--bodymargin);
  right: calc(var(--bodymargin) / 2);
  top: calc(var(--bodymargin) / 2);
  z-index: 3;
  padding: .75em;
  cursor: pointer;
  /* transform: translateY(-.1em); */
  background: var(--color2);
  border-radius: 50%;
  display: flex;
  opacity: 0;
  transform: scale(.9);
  transition: all .3s ease;
}

#mentions-toggle:checked+#mentions .close-icon {
  opacity: 1;
  transform: scale(1);
}

#mentions svg {
  stroke: var(--color0);
  stroke-width: .3em;
  width: 1em;
  height: 1em;
}

#mentions h2 {
  width: 100%;
  text-align: center;
}

#mentions h3 {
  font-size: 1.5em;
  line-height: 1.25em;
}

#mentions h4 {
  font-size: 1.25em;
  line-height: 1.25em;
  margin-bottom: 0;
}

#mentions .modal .content>div {
  border-top: 1px solid var(--color3);
  margin: 1.5em 0;
}

#mentions a {
  color: var(--color1);
}

.modal>p {
  margin-top: 2em;
}

/* Footer
----------------------------------------------- */

#footer {
  display: flex;
  flex-direction: column;
}

.jobs,
.infos {
  padding: calc(var(--bodymargin) / 1.125 + .75em) var(--bodymargin);
}

.jobs {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: flex-start;
  justify-content: center;
}

.jobs p {
  max-width: 32em;
  width: 100%;
  margin: 1em 0;
}

.jobs p:first-of-type {
  margin-bottom: 0;
}

.jobs a {
  color: var(--color1);
  white-space: nowrap;
}


.infos {
  background-color: var(--color0);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.infos .logo {
  stroke: var(--color1);
  width: 12em;
  display: block;
  margin: 1.5em 0;
}

.infos a {
  text-decoration: none;
  color: var(--color1);
}

.infos a:last-of-type {
  margin-bottom: .75em;
}

.links {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(var(--bodymargin) / 1.5) var(--bodymargin);
  background-color: var(--color1);
}

.links>* {
  color: var(--color0);
  text-decoration: none;
  cursor: pointer;
}

.sf {
  font-size: .75em;
  line-height: 2em;
  color: var(--color3);
}

.sf span {
  transition: color .3s ease;
}

.desktop .sf:hover span {
  color: var(--color0);
}


/* Responsive
----------------------------------------------- */

@media only screen and (min-height: 32em) {
  header h1 {
    max-width: 14em;
  }
}

@media only screen and (min-height: 40em) {
  header h1 {
    max-width: 18em;
  }
}

@media only screen and (min-width: 25em) {
  .datas p {
    margin: 1em 1em .5em;
  }

  .datas span {
    font-size: 2.5em;
  }
}

@media only screen and (min-width: 35em) {
  :root {
    --bodymargin: 2rem;
  }

  .chapo,
  #mentions h3 {
    font-size: 2em;
  }

  #demo button {
    width: initial;
    padding-left: 3em;
    padding-right: 3em;
  }

  .case {
    width: 32em;
  }

  .datas span {
    font-size: 3em;
  }

  #apropos>div div p,
  .infos a {
    font-size: 1.25em;
    line-height: 1.25em;
  }

  .links {
    flex-direction: row;
    justify-content: space-between;
  }

  .links>*:not(:last-of-type) {
    margin-right: 1em;
  }

  .sf {
    margin-left: auto;
  }
}

@media only screen and (min-width: 53em) {
  header {
    min-height: 28em;
  }

  .chapo br {
    display: block;
  }

  #logiciel ol {
    width: 100%;
    max-width: 70em;
    flex-direction: row;
    align-items: stretch;
    align-content: stretch;
    justify-content: space-between;
  }

  #logiciel li {
    margin: 1.5em 1em 0em;
  }

  /* #logiciel svg {
    margin-bottom: auto;
  } */

  #logiciel img {
    width: 250px;
    height: 250px;
  }

  #logiciel li p {
    min-height: 6em;
    margin-bottom: 1em;
  }

  .partners:after {
    content: '';
  }

  .partners {
    white-space: normal;
    max-width: 52em;
    margin: 1em 0 2em;
  }

  .partner {
    padding: .25em 1em;
  }

  .partner img {
    height: 3.5em;
  }

  .modal p {
    max-width: 40em;
  }

  /* .modal .content{
    display: flex;
  }
  .modal .content > div{
    width: 33%;
    margin: 1em;
  } */
}

@media only screen and (min-width: 64em) {
  nav {
    display: block;
  }

  .chapo {
    font-size: 2.5em;
  }

  /* #logiciel li p {
    min-height: 5em;
  } */

  #resultats>div,
  #apropos>div {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    align-content: flex-start;
    justify-content: center;
    flex-wrap: nowrap;
    margin: 1.5em 0;
  }

  #apropos>div div {
    max-width: 26em;
  }

  #apropos>div {
    width: 100%;
    margin: 1.5em 1em 3em;
  }

  #apropos>div div {
    margin: 0 1em;
    /* flex: 1; */
    width: 50%;
    overflow: hidden;
  }

  #apropos>div div p:first-of-type {
    margin-top: 0;
  }

  #apropos>div div p:last-of-type {
    margin-bottom: 0;
  }

  .team img {
    object-fit: cover;
    object-position: center center;
    max-width: inherit;
    width: 100%;
    height: 100%;
  }

  #resultats>div {
    /* .mac {
      max-width: 35em;
    } */

    ul {
      text-align: left;

      li:first-of-type h3 {
        margin-top: 0;
      }
    }

    & {
      margin: 0 1em;
    }
  }

  .datas span {
    font-size: 3.5em;
  }

  #demo form {
    max-width: 50em;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 3em 0 0;
  }

  #demo div {
    width: calc(50% - 1em);
    margin: .5em;
  }

  #demo div.large {
    width: 100%;
  }

  /* #demo div input {
    margin: 0 .5em;
  } */

  #demo div.submit {
    width: 100%;
  }

  #footer {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .infos,
  .jobs {
    width: 50%;
  }

  .infos {
    align-items: flex-start;
  }

  .jobs {
    order: 1;
    align-items: flex-start;
  }

  .jobs p {
    margin: 1em 0;
  }

  .links {
    order: 2;
    width: 100%;
  }
}

@media only screen and (min-width: 80em) {
  .chapo {
    font-size: 3em;
  }

  .case {
    height: 30em;
  }

  section h3,
  blockquote p {
    font-size: 1.75em;
  }

  #logiciel li p,
  #resultats li p,
  blockquote footer,
  #demo form,
  .jobs p {
    font-size: 1.125em;
  }

  #logiciel img {
    width: 350px;
    height: 350px;
  }

  #resultats>div {
    /* .mac {
      max-width: 40em;
    } */

    & {
      margin: 0 1.5em;
    }
  }

  #apropos>div div {
    max-width: 30em;
    margin: 0 1.5em;
  }

  #apropos>div div p,
  .infos a {
    font-size: 1.5em;
  }

  .quotes blockquote>* {
    max-width: 42rem;
  }

  .partner img {
    height: 4em;
  }
}

@media only screen and (min-width: 90em) {
  :root {
    --bodymargin: 3rem;
  }

  #apropos>div div {
    max-width: 38em;
  }

  #logiciel ol {
    max-width: 82em;
  }
}

@media only screen and (min-width: 100em) {
  html {
    font-size: 1.125em;
  }
}

@media only screen and (min-width: 120em) {
  html {
    font-size: 1.25em;
  }
}

@media only screen and (min-width: 130em) {
  .partners {
    max-width: inherit;
    margin: 1.5em 0 2em;
  }
}