@font-face {
  font-family: 'Cover Sans Light';
  font-style: normal;
  font-weight: 400;
  src: local("Cover Sans Light"), url("coversans-light-webfont.ttf") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Roboto Condensed Bold';
  font-style: bold;
  font-weight: 800;
  src: local("Roboto Condensed Bold"), url("RobotoCondensed-Bold.ttf") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0 auto;
  font-family: Arial, Helvetica, 'sans serif';
  color: #444;
  background: white;
}

body > header {
  padding: 1em;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

body > header img {
  max-width: 40vw;
  vertical-align: middle;
}

body > header h1 {
  color: #686868;
  font-family: 'Cover Sans Light';
  font-size: 5vw;
  font-weight: 500;
  margin-left: 7vw;
}

body > header h1 span {
  display: block;
  font-size: .8em;
}

@media screen and (width >= 1250px) {
  body > header img {
    max-width: 400px;
  }
}

@media screen and (width >= 1001px) {
  body > header h1 {
    font-size: 45px;
  }
}

body h2 {
  text-align: center;
  padding: 10px;
  margin: 0;
  font-family: 'Roboto Condensed Bold';
  font-size: 34px;
  color: white;
  background: linear-gradient(to bottom, #358ad7, #349fff 15%, #3a9ef7 85%, #358ad7);
}

#question {
  text-align: center;
  font-size: 26px;
  font-weight: bold;
  margin: 20px 0 10px;
  color: #777;
}

body main {
  text-align: center;
}

body main h2 {
  font-family: 'Roboto Condensed Bold';
  font-size: 6vw;
  margin: 0 auto;
  padding: .5em;
  color: #6c6666;
  background: #eee;
  text-shadow: 1px 1px white;
  max-width: 13em;
  border-radius: 10px;
}

@media screen and (width >= 520px) {
  body main h2 {
    font-size: 32px;
  }
}

body main h3 {
  font-family: 'Cover Sans Light';
  color: white;
}

body main h3 span {
  font-weight: bold;
  font-family: 'Roboto Condensed Bold';
}

body main p {
  text-align: left;
}

@media screen and (width <= 1000px) {
  body main section {
    margin: 0 1em;
  }

  body main section#conditions,
  body main section#realisations {
    margin: 0;
  }

  body main h2 {
    margin: 0;
    max-width: 100%;
    border-radius: 0;
  }

  body main h3 {
    font-size: 22px;
    border-radius: 6px 6px 0 0;
    padding: 5px;
  }
}

body footer {
  padding: 3em 6em;
  background: white;
  color: #222;
}

body.accueil #slogan1 {
  font-size: calc(max(34px, 2.5vw));
}

body.accueil #slogan2 {
  white-space: nowrap;
}

@media screen and (width >= 1001px) {
  body.accueil main section#mon-offre {
    padding: 1em;
  }
}

body.accueil main section#mon-offre > div {
  margin: 3em 0;
}

body.accueil main section#mon-offre > div h3, body.accueil main section#mon-offre > div p, body.accueil main section#mon-offre > div div {
  margin: 0;
}

body.accueil main section#mon-offre > div p, body.accueil main section#mon-offre > div div {
  line-height: 1.5;
  padding: 1em 2em 2em;
  border-bottom-width: 2px;
  position: relative;
}

body.accueil main section#mon-offre > div p a.plus, body.accueil main section#mon-offre > div div a.plus {
  position: absolute;
  bottom: -10px;
  left: calc(50% - 20px);
}

body.accueil main section#mon-offre > div p a.plus svg, body.accueil main section#mon-offre > div div a.plus svg {
  width: 40px;
  height: 40px;
}

body.accueil main section#mon-offre > div p a.plus svg .cercle-plus, body.accueil main section#mon-offre > div div a.plus svg .cercle-plus {
  stroke-width: 6px;
}

body.accueil main section#mon-offre > div h3 + p .picto {
  float: right;
  width: 70px;
  height: 70px;
  margin: 0 0 0 20px;
  text-align: right;
}

@media screen and (width >= 1001px) {
  body.accueil main section#mon-offre > div h3 + p .picto {
    width: 100px;
    height: 100px;
  }

  body.accueil main section#mon-offre > div p {
    border-bottom-width: 4px;
  }
}

body.accueil main section#mon-offre > div .logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 1em;
}

body.accueil main section#mon-offre > div .logos img + img {
  margin-left: 10px;
}

body.accueil main section#mon-offre > div .logos img {
  max-height: 54px;
}

body.accueil main section#mon-offre > div .logos img.large {
  max-height: 30px;
}

@media screen and (width <= 1000px) {
  body.accueil main section#mon-offre > div .logos img {
    max-height: 35px;
  }

  body.accueil main section#mon-offre > div .logos img.large {
    max-height: 25px;
  }
}

body.accueil main section#mon-offre > div.crea {
  margin-top: 1em;
}

body.accueil main section#mon-offre > div.crea h3 {
  background: #5bae3d;
}

@media screen and (width >= 1001px) {
  body.accueil main section#mon-offre > div.crea #changeur-de-style {
    display: block !important;
    margin-top: 10px;
    font-size: .8em;
    font-weight: bold;
  }

  body.accueil main section#mon-offre > div.crea #changeur-de-style a {
    display: inline-block;
    margin: 2px 0;
    padding: 0 10px 2px;
    border-radius: 5px;
    text-decoration: none;
  }

  body.accueil main section#mon-offre > div.crea #changeur-de-style a.style-actif {
    background: yellow !important;
    color: black !important;
  }

  body.accueil main section#mon-offre > div.crea #changeur-de-style a:nth-child(1) {
    background: #62ea31;
    color: white;
  }

  body.accueil main section#mon-offre > div.crea #changeur-de-style a:nth-child(2) {
    background: #93e640;
    color: #fff;
  }

  body.accueil main section#mon-offre > div.crea #changeur-de-style a:nth-child(3) {
    background: #a9d953;
    color: white;
  }
}

body.accueil main section#mon-offre > div.crea #baguette {
  float: right;
  width: 50px;
  height: 50px;
  margin: 0 0 1em 1em;
}

body.accueil main section#mon-offre > div.crea p {
  background: #bff4ab;
  border-bottom: solid #5bae3d;
}

body.accueil main section#mon-offre > div.crea .cercle-plus {
  stroke: #5bae3d;
}

@media screen and (width >= 1001px) {
  body.accueil main section#mon-offre > div.crea #baguette {
    width: 100px;
    height: 100px;
  }
}

body.accueil main section#mon-offre > div.maintenance h3 {
  background: #d0c847;
}

body.accueil main section#mon-offre > div.maintenance p {
  background: #fafd97;
  border-bottom: solid #d0c847;
}

body.accueil main section#mon-offre > div.maintenance .picto.engrenages img {
  width: 24px;
  height: 24px;
  animation: tourne 2s ease 500ms infinite;
}

body.accueil main section#mon-offre > div.maintenance .picto.engrenages img:nth-child(2) {
  width: 20px;
  height: 20px;
}

body.accueil main section#mon-offre > div.maintenance .picto.engrenages img:nth-child(3) {
  width: 30px;
  height: 30px;
  margin: -6px 0 0 8px;
}

body.accueil main section#mon-offre > div.maintenance .cercle-plus {
  stroke: #d0c847;
}

@media screen and (width >= 1001px) {
  body.accueil main section#mon-offre > div.maintenance .picto.engrenages img {
    width: 36px;
    height: 36px;
  }

  body.accueil main section#mon-offre > div.maintenance .picto.engrenages img:nth-child(2) {
    width: 30px;
    height: 30px;
  }

  body.accueil main section#mon-offre > div.maintenance .picto.engrenages img:nth-child(3) {
    width: 45px;
    height: 45px;
  }
}

body.accueil main section#mon-offre > div.perfs h3 {
  background: #e38851;
}

body.accueil main section#mon-offre > div.perfs p {
  background: #f9c1a0;
  border-bottom: solid #e38851;
}

body.accueil main section#mon-offre > div.perfs .picto.tachymetre {
  position: relative;
}

body.accueil main section#mon-offre > div.perfs #cadran {
  position: absolute;
  top: 10px;
  left: 0;
  width: 70px;
}

body.accueil main section#mon-offre > div.perfs #aiguille {
  position: absolute;
  max-height: 80px;
  top: 5px;
  left: 7px;
  animation: aiguille 2s 1s infinite;
}

body.accueil main section#mon-offre > div.perfs .cercle-plus {
  stroke: #e38851;
}

@media screen and (width >= 1001px) {
  body.accueil main section#mon-offre > div.perfs #cadran {
    top: 10px;
    left: 0;
    width: 100px;
  }

  body.accueil main section#mon-offre > div.perfs #aiguille {
    max-height: 100px;
    top: 5px;
    left: 14px;
  }
}

body.accueil main section#mon-offre > div.aussi h3 {
  background: #666091;
}

body.accueil main section#mon-offre > div.aussi div {
  background: #b4ade6;
  text-align: left;
  margin: 0;
  padding: 2em 2.5em;
}

body.accueil main section#mon-offre > div.aussi .cercle-plus {
  stroke: #666091;
}

body.accueil main section#mon-offre > div a.plus {
  font-size: .8em;
  display: block;
  margin-top: 1em;
  margin-bottom: -18px;
  text-align: center;
  text-decoration: none;
}

body.accueil main section#mon-offre > div a.plus svg {
  width: 25px;
  height: 25px;
}

@keyframes tourne {
  0% {
    transform: rotateZ(0deg);
  }

  50% {
    transform: rotateZ(360deg);
  }

  100% {
    transform: rotateZ(360deg);
  }
}

@keyframes aiguille {
  0% {
    transform: rotateZ(0deg);
  }

  10% {
    transform: rotateZ(40deg);
  }

  30% {
    transform: rotateZ(20deg);
  }

  50% {
    transform: rotateZ(50deg);
  }

  100% {
    transform: rotateZ(0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.accueil main section#mon-offre > div #aiguille,
  body.accueil main section#mon-offre > div .picto.engrenages img {
    animation: none;
  }
}

body.accueil main section#realisations {
  background: linear-gradient(to bottom, #4445, transparent 2%), linear-gradient(to bottom right, #198ff8, #9d3992);
  padding: 3em;
}

body.accueil main section#realisations > div {
  display: grid;
  max-width: 1200px;
  margin: 100px auto;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 30px;
  justify-items: center;
}

body.accueil main section#realisations > div > div {
  width: 300px;
}

body.accueil main section#realisations > div > div img {
  border: 4px solid #444;
}

body.accueil main section#realisations > div > div p {
  text-align: justify;
}

body.accueil main section#conditions {
  background: #555;
  padding: 3em;
  border-bottom: 6px solid #198ff8;
}

body.accueil main section#conditions p, body.accueil main section#conditions ul {
  max-width: 1200px;
  margin: 3em auto;
  color: white;
  text-align: left;
}

.incassable {
  white-space: nowrap;
}

/* Chrome 🤦 */
video::-internal-media-controls-overlay-cast-button {
    display: none;
}
