/* THIS CSS FILL IS FOR ALL PAGES */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  hyphens: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Montserrat;
}

p {
  font-family: "Open Sans";
}

a {
  text-decoration: none;
  color: black;
}

img {
  max-width: 100%;
}

ul {
  list-style-type: none;
}

#anchor,
#pourVotreQuotidien,
#pourVotreActivite {
  scroll-margin-top: 80px;
}

.primary-button {
  display: flex;
  padding: 12px 24px;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 8px;
  align-self: stretch;
  border-radius: 50px;
  background: var(--msl-button-primary-bg, #007461);
  color: var(--msl-button-primary-text, #fff);
  font-family: Montserrat;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  text-decoration: none;
  text-align: center;
}

.primary-button:hover {
  background: var(--msl-button-primary-bg, #075144);
}

.primary-button:focus {
  outline: 2px solid #0a94a8;
  outline-offset: 2px;
}

.secondary-button {
  display: flex;
  width: 100%;
  padding: 12px 24px;
  justify-content: center;
  color: var(--Primary, #007461);
  align-items: center;
  gap: 8px;
  border-radius: 50px;
  background: white;
  border: 1px solid var(--Primary, #007461);
  font-family: Montserrat;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  text-decoration: none;
  text-align: center;
}

.secondary-button:hover {
  background: whitesmoke;
}

.secondary-button:focus {
  outline: 2px solid #0a94a8;
  outline-offset: 2px;
}

.container {
  display: flex;
  width: 100%;
  padding: 40px 20px;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
}

/* Hero */

.container .hero {
  display: flex;
  width: 100%;
  padding: 16px;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  border-radius: 8px;
  background: #d8ead7;
  box-shadow: 0 4px 16px 0 rgba(193, 201, 217, 0.35);
  margin-bottom: 40px;
}

.container .hero .left-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.container .hero .left-section h1 {
  color: var(--Greyscale-Grey-900, #000);
  font-size: 34px;
  font-style: normal;
  hyphens: auto;
  font-weight: 700;
  line-height: 48px;
}

.container .hero .left-section p {
  color: var(--Greyscale-Grey-900, #000);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
}

.container .hero .left-section .list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  flex: 1 0 0;
  align-self: stretch;
}

.container .hero .left-section .list .listitem {
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  color: #000;
  font-family: "Open Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
}

.container .hero .left-section .cta {
  list-style: none;
  display: flex;
  padding: 10px 0;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  align-self: stretch;
}

.container .hero .left-section .cta li {
  width: 100%;
}

.container .hero .right-section {
  align-self: stretch;
}

.container .hero .right-section img {
  display: flex;
  width: 100%;
  height: 203px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  border-radius: 10px;
  object-fit: cover;
  object-position: center;
}

/* Section Global */

.container .section {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-self: stretch;
  margin-bottom: 40px;
}

.container .section .ml-credit {
  color: var(--Greyscale-Grey-700, #666e8a);
  font-family: Montserrat;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 56px;
}

.container .section h2 {
  color: #000;
  font-size: 34px;
  font-style: normal;
  font-weight: 700;
  line-height: 48px;
}

.container .section .offer-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.container .section .offer-list .listitem {
  display: flex;
  padding: 16px;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 16px 0 rgba(193, 201, 217, 0.35);
}

.container .section .offer-list .listitem article {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.container .section .offer-list article .content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.container .section .offer-list article .content img {
  border-radius: 10px;
}

.container .section .offer-list article .content h3 {
  color: var(--Greyscale-Grey-900, #000);
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px;
}

.container .section .offer-list article .content h4 {
  color: var(--Greyscale-Grey-900, #000);
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
}

.container .section .offer-list article .content p {
  color: var(--Greyscale-Grey-900, #000);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
}

.container .section .offer-list article .content .list .listitem-card {
  display: flex;
  gap: 10px;
  align-self: stretch;
  list-style-type: none;
  overflow: hidden;
  color: var(--Greyscale-Grey-900, #000);
  font-family: "Open Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  margin-bottom: 5px;
}

.container .section .offer-list article .content ul li {
  list-style-type: "-";
  padding-left: 6px;
}

.container .section .offer-list article .content strong {
  color: var(--Greyscale-Grey-900, #000);
  font-family: "Open Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 16px;
}

.container .section .offer-list article .contact {
  display: flex;
  flex-direction: column;
  padding: 10px 0px;
  gap: 16px;
}

.container .section .offer-list article .contact p {
  color: var(--Greyscale-Grey-900, #000);
  font-family: "Open Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px; /* 133.333% */
}

.container .section-ml {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--Greyscale-Grey-900, #000);
  text-align: justify;
  font-family: "Open Sans";
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  line-height: 15px; /* 136.364% */
}

.container .section-ml ol {
  counter-reset: item;
  display: flex;
  flex-direction: column;
  list-style-position: inside;
  gap: 14px;
}

.container .section-ml ol > li {
  counter-increment: item;
  list-style: decimal inside;
}

.container .section-ml ol > li::marker {
  content: "(" counter(item) ") ";
  font-variant-numeric: tabular-nums;
}

@media only screen and (min-width: 740px) {
  .container .hero {
    flex-direction: row;
  }

  .container .hero .left-section {
    width: 50%;
    height: 100%;
  }

  .container .hero .right-section {
    width: 50%;
  }

  .container .hero .right-section img {
    height: 100%;
    object-position: 38% 50%;
  }

  .container .section .offer-list {
    display: flex;
    flex-direction: row;
    flex-flow: row wrap;
    gap: 50px 20px;
  }

  .container .section .offer-list .listitem {
    flex: 0 1 calc(50% - 10px);
    align-self: stretch;
    box-sizing: border-box;
  }

  .container
    .section
    .offer-list
    .listitem
    article
    .content
    > img:first-of-type {
    height: 203px;
    object-fit: cover;
  }

  .container .section .offer-list .contact .cta {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  body > main > section > ul > li > article > div.contact > div > a {
    width: fit-content;
  }
}

@media only screen and (min-width: 1120px) {
  body {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  body > main > header > div.left-section > ul > li > a {
    width: 100%;
  }

  .container {
    max-width: 1109px;
    width: 100%;
  }

  .container .hero .right-section img {
    object-position: center;
  }

  .container .hero .left-section .cta {
    height: 100%;
    align-items: end;
  }

  #header-jeune-installe {
    aspect-ratio: 16/8;
  }

  #second-section-second-offer-exercice-groupe {
    object-position: 50% 20%;
  }

  #first-offer-first-section-jeune-installe {
    object-position: top;
  }

  #second-offer-first-section-liberal {
    object-position: top;
  }

  #third-offer-first-section-jeune-installe {
    object-position: 50% 20%;
  }

  #fourth-offer-first-section-exercice-groupe {
    object-position: top;
  }

  #second-offer-first-section-futur-retraite {
    object-position: 50% 10%;
  }

  #first-offer-second-section-exercice-groupe {
    object-position: 50% 20%;
  }

  #hero-future-retraite {
    aspect-ratio: 16/8;
  }

  .container .hero .left-section .cta {
    flex-direction: row;
  }

  .container .section .ml-credit {
    text-align: center;
  }
}
