main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 1rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  margin: 0;
  box-sizing: content-box;
}

.container {
  padding: 0;
  margin: 0;
  min-width: 80%;
  max-width: 90%;
  box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgb(229, 231, 235);
}

.image-haut {
  display: flex;
  width: 100%;
  height: 20em;
  position: relative;
  overflow: hidden;
}

.image-haut img {
  position: absolute;
  min-width: 100%;
  max-width: 100%;
  min-height: 100%;
  max-height: 100%;
  object-fit: cover;
}

.bloc-sombre {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
  padding: 2rem;
}

.text-explicatif {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.text-explicatif h1 {
  /* font-size: 1.875rem; */
  /* line-height: 2.25rem; */
  margin-bottom: 1.5rem;
  margin-top: 1rem;
  text-align: center;
}

.text-explicatif p {
  /* font-size: 1.125rem; */
  /* line-height: 1.75rem; */
  text-align: center;
  margin-bottom: 2rem;
}

.text-explicatif p a {
  font-weight: 600;
  text-decoration: none;
  color: black;
}

.etapes-suivantes {
  width: 100%;
  /* font-size: 1.5rem; */
  /* line-height: 2rem; */
  margin-bottom: 2em;
  text-align: left;
}

.demarche-dentapoche {
  display: grid;
  align-items: center;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.bloc-unitaire {
  height: 10em;
  position: relative;
}

.bloc-unitaire .conteneur {
  display: flex;
  align-items: center;
}

.nombre {
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 2em;
  height: 2em;
  z-index: 10;
  background-color: rgb(191, 219, 254);
}

.trait {
  width: 100%;
  height: 0.25em;
  display: flex;
  border: 0 solid #e5e7eb;
  background-color: rgb(229 231 235);
}

.paragraphe {
  padding-right: 2rem;
  margin-top: 0.75em;
}

.paragraphe h3 {
  font-weight: 600;
  /* font-size: 1.125rem; */
  /* line-height: 1.75rem; */
  margin: 0;
}

.paragraphe p {
  color: rgb(107, 114, 128);
  font-weight: 400;
  /* font-size: 1rem; */
  /* line-height: 1.5rem; */
  margin: 0;
}

.bloc-social {
  display: flex;
  justify-content: center;
  margin-bottom: 4em;
  margin-top: 4em;
  box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
  border: 1px solid rgb(229, 231, 235);
}

.encart-application {
  padding: 2rem;
}

.encart-application h2 {
  font-weight: 700;
  /* font-size: 1.5rem; */
  /* line-height: 2rem; */
  margin-bottom: 1rem;
}

.encart-application p {
  /* font-size: 1.125rem; */
  /* line-height: 1.75rem; */
  margin-bottom: 0.5rem;
}

.encart-application .social {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.social #icon-bloc1 {
  display: grid;
  background-color: rgb(250, 178, 40);
  border-radius: 1rem;
  place-items: center;
  width: 6rem;
  height: 6rem;
  margin: 0.5rem;
  position: relative;
}

#icon-bloc1 img {
  position: absolute;
  inset: 0px;
  box-sizing: border-box;
  padding: 0px;
  border: medium none;
  margin: auto;
  display: block;
  width: 0px;
  height: 0px;
  min-width: 100%;
  max-width: 100%;
  min-height: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(0) grayscale(1) invert(1);
}

.social #icon-bloc2 {
  background-color: rgb(255, 255, 255);
  border-width: 4px;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  width: 6rem;
  height: 6rem;
  margin: 0.5rem;
  position: relative;
  border: solid 4px rgb(229, 231, 235);
  border-radius: 1rem;
  overflow: hidden;
  box-sizing: border-box;
}

#icon-bloc2 img {
  position: absolute;
  inset: 0px;
  box-sizing: border-box;
  padding: 0px;
  border: medium none;
  margin: auto;
  display: block;
  width: 0px;
  height: 0px;
  min-width: 100%;
  max-width: 100%;
  min-height: 100%;
  max-height: 100%;
}

.links {
  display: grid;
  place-items: center;
  column-count: 2;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.links a {
  width: 9rem;
  height: 3rem;
  position: relative;
  color: inherit;
  text-decoration: inherit;
}

.links figure {
  box-sizing: border-box;
  display: block;
  overflow: hidden;
  width: initial;
  height: initial;
  background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;
  opacity: 1;
  border: 0px none;
  margin: 0px;
  padding: 0px;
  position: absolute;
  inset: 0px;
}

.links img {
  position: absolute;
  inset: 0px;
  box-sizing: border-box;
  padding: 0px;
  border: medium none;
  margin: auto;
  display: block;
  width: 0px;
  height: 0px;
  min-width: 100%;
  max-width: 100%;
  min-height: 100%;
  max-height: 100%;
  object-fit: contain;
}

.links svg {
  position: absolute;
  inset: 0px;
  box-sizing: border-box;
  padding: 0px;
  border: medium none;
  margin: auto;
  display: block;
  width: 0px;
  height: 0px;
  min-width: 100%;
  max-width: 100%;
  min-height: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
  .bloc-unitaire {
    height: 12em;
  }
}

@media (min-width: 640px) and (max-width: 1024px) {
  .bloc-unitaire {
    height: 20em;
  }
}

@media (max-width: 640px) {
  ol {
    display: block !important;
  }
  .trait {
    display: none;
  }
}
