.level-1, h1, .level-2, h2, .level-3, h3, .level-4, h4, .level-5, h5, .level-6, h6 {
  margin-bottom: 0.3em;
}

a.node-link {
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  right: 0;
  z-index: 1;
}

.comments .comments__info {
  margin-left: 0;
}

.two-videos {
  display: flex;
  gap: 10px;
}

.section, .section-text {
  padding: 6rem 0 3rem 0;
}

.section-text .section__content + .section__content {
  margin-top: 8.6rem;
}

.title-gradient {
  font-size: 4.2rem;
}

.section, .section-text {
  padding: 1rem 0;
}


h2 {
  font-size: 2.8rem;
}

@media (max-width: 1023px) {
  .two-videos {
    flex-direction: column;
  }
}

.container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
}

.card {
  font-family: var(--ff-nunito);
  background: white;
  padding: 20px;
  margin: 40px 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card img {
  width: 70px;
  margin-bottom: 2em;
  height: auto;
}

.column:nth-child(1) {
  margin-top: 0px;
}

.column:nth-child(2) {
  margin-top: 50px;
}

.column:nth-child(3) {
  margin-top: 100px;
}

.icon {
  font-size: 24px;
  margin-bottom: 10px;
}

.title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
}

.description {
  font-size: 16px;
  margin-bottom: 10px;
}

.tabs .tabs__nav ul {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.tabs .tabs__nav ul li a {
  font-size: 4rem;
}

@media (max-width: 1023px) {
  .tabs .tabs__nav ul li a {
    font-size: 3rem;
  }
}

/* Header */
.header {
  position: fixed;
  background-color: white;
  width: 100%;
}

/* Filter */
.section-filter .section__head {
  position: relative;
}

.main-article, .hero {
  padding-top: 4rem;
}

.clear-filters {
  position: absolute;
  bottom: -2em;
  right: 0;
}

/* News */
.main-article .main__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  height: 100vh;
  overflow: auto;
}

.main-article .main__image {
  max-width: none;
  flex: 0 0 33.33%;
  height: 100vh;
  position: sticky;
  top: 0;
  padding-top: 0;
}

.main-article .main__image img {
  position: relative;
  width: inherit;
  height: inherit;
  object-fit: cover;
}

/* Toolbox */
.return {
  display: flex;
  gap: 0.5em;
  color: #ED0000;
  font-weight: 700;
  font-size: 14px;
}

.section__head h2 {
  font-size: 72px;
  font-weight: 400;
  margin: 0.2em 0 0.5em 0;
}

.toolbox-grid {
  max-width: 1200px;
  display: grid;
  gap: 2.4rem;
  grid-template-columns: repeat(2, 1fr);
  margin: 0 auto;
  padding: 6rem 2rem;
}

.toolbox-card {
  background: white;
  border-radius: 0.8rem;
  box-shadow: 0 4px 84px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(40px);
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.toolbox-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 6px;
  background: linear-gradient(96.2deg, #029BEB 0%, #00AA61 86.58%);
}

.toolbox-card__inner {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: white;
  border-radius: 0.8rem;
}

.toolbox-card__image {
  max-width: 300px;
  height: auto;
}

h2.toolbox-card__title {
  font-size: 3.2rem;
  margin-bottom: 1.6rem;
  color: #374649;
  font-family: var(--ff-nunito);
  font-weight: 500;
  line-height: 1.25;
}

.toolbox-card__description {
  color: #374649;
  margin-bottom: 2.4rem;
  line-height: 1.5;
  flex-grow: 1;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.toolbox-card__meta {
  color: rgba(55, 70, 73, 0.5);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-family: var(--ff-nunito);
  font-weight: 700;
  line-height: 1.33;
}

.toolbox-card__link {
  color: #ED0000;
  text-decoration: none;
  font-weight: 700;
  font-family: var(--ff-nunito);
  display: inline-block;
  align-self: center;
}

.toolbox-card__button {
  display: inline-block;
  padding: 1.6rem 3.2rem;
  background: #ED0000;
  color: white;
  text-decoration: none;
  border-radius: 10rem;
  font-weight: 700;
  font-family: var(--ff-nunito);
  transition: background-color 0.3s;
  text-align: center;
  margin-top: auto;
}

.section__content {
  max-width: 1200px;
  margin: 1em auto;
}

.service__content h2, .employee__name, .article-small .article__title {
  font-size: 2.2rem;
}

.grid-isotope {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2em;
}

.toolbox-card__button:hover {
  background: #cc0000;
}

@media (max-width: 1200px) {
  .grid-isotope {
    grid-template-columns: repeat(auto-fill, minmax(80%, 1fr));
  }

  .section__head h2 {
    font-size: 40px;
  }

  .section__content {
    margin: 4em 2em;
  }
}

@media (max-width: 767px) {
  .toolbox-grid {
    padding: 3.2rem 2.4rem;
    grid-template-columns: repeat(1, 1fr);
  }

  .toolbox-grid__row {
    flex-direction: column;
  }

  .toolbox-card--large .toolbox-card__content {
    flex-direction: column;
  }

  .toolbox-card__image {
    max-width: 100%;
  }

  .toolbox-card__title {
    font-size: 2.4rem;
  }

  .toolbox-card__inner {
    padding: 2.4rem;
  }
}

/* Category button */
.category-button {
  text-decoration: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.6rem 7.8rem;
  background: white;
  border: none;
  border-radius: 2rem;
  font-family: var(--ff-nunito);
  font-weight: 700;
  color: #029BEB;
  cursor: pointer;
  transition: all 0.5s ease;
  z-index: 1;
}

.category-button::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px; /* Épaisseur du liserai */
  background: linear-gradient(96.2deg, #029BEB 0%, #00AA61 86.58%);
  border-radius: 2rem;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

.category-button:hover {
  color: white;
  background: linear-gradient(96.2deg, #029BEB 0%, #00AA61 86.58%);
}

.category-button:hover::before {
  display: none;
}

@media (max-width: 425px) {
  .category-button {
    padding: 0.7em;
    font-size: 1.2rem;
  }
}

/* Hero homepage */
.hero div.homepage__shell {
  flex-direction: row;
  justify-content: space-between;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 2em;
}

@media (max-width: 1439px) {
  .hero div.homepage__shell {
    justify-content: space-around;
  }
}
@media (max-width: 1023px) {
  .hero div.homepage__shell {
    flex-direction: column;
    justify-content: center;
    gap: 4em;
  }

  .hero__actions {
    display: flex;
    flex-direction: row;
    gap: 1em;
  }
}

/* ------------------------------------------------------------ *\
	Section Connexion
\* ------------------------------------------------------------ */
.section-connexion {
  position: relative;
  height: 100vh;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
}
@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .section-connexion {
    height: auto;
    min-height: calc(100vh - 26rem);
  }
}
.section-connexion .section__image {
  width: 51%;
}
@media (max-width: 1399px) {
  .section-connexion .section__image {
    width: 50%;
  }
}
@media (max-width: 1023px) {
  .section-connexion .section__image {
    display: none;
  }
}
.section-connexion .section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.section-connexion .section__content {
  width: 49%;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 1399px) {
  .section-connexion .section__content {
    width: 50%;
  }
}
@media (max-width: 1023px) {
  .section-connexion .section__content {
    width: 100%;
    min-height: 100vh;
  }
}
@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .section-connexion .section__content {
    min-height: calc(100vh - 26rem);
  }
}
.section-connexion .section__wrap {
  padding: 4rem 0;
}
.section-connexion .section__form {
  width: 36.6rem;
}
@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .section-connexion .section__form {
    width: 31.1rem;
    max-width: 100%;
  }
}
.section-connexion .form__head {
  margin-bottom: 4.7rem;
}
@media (max-width: 1199px) {
  .section-connexion .form__head {
    margin-bottom: 3rem;
  }
}
@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .section-connexion .form__head {
    margin-bottom: 4rem;
  }
}
.section-connexion .form__head h2 {
  font-size: 4.8rem;
  line-height: 1.3;
  letter-spacing: 0.01em;
  font-weight: 700;
  color: #000;
  background-image: linear-gradient(to bottom, #029beb 0%, #00aa61 100%);
  -webkit-background-clip: text;
}
@media (max-width: 1199px) {
  .section-connexion .form__head h2 {
    font-size: 4rem;
  }
}
@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .section-connexion .form__head h2 {
    font-size: 3.6rem;
    line-height: 1.3;
  }
}
.section-connexion .form__head h2 span {
  -webkit-text-fill-color: transparent;
}
.section-connexion .form__body {
  margin-bottom: 3.6rem;
}
@media (max-width: 1199px) {
  .section-connexion .form__body {
    margin-bottom: 2rem;
  }
}
.section-connexion .form__row label {
  display: block;
  padding-bottom: 1.3rem;
  font-size: 1.6rem;
  line-height: 1.4;
  font-weight: 700;
  color: #374649;
}
@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .section-connexion .form__row label {
    padding-bottom: 1.2rem;
  }
}
.section-connexion .form__row input {
  display: block;
  width: 100%;
  padding: 1.4rem 1.6rem 1.5rem;
  font-size: 1.4rem;
  line-height: 1;
  color: #7b9297;
  background: #f7f9fa;
  border: 0;
  border-radius: 1.6rem;
}
.section-connexion .form__actions input {
  display: block;
  width: 100%;
  padding: 1.7rem 1rem;
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 700;
  color: #fff;
  background: #285aff;
  border: 0;
  border-radius: 16rem;
  text-align: center;
  transition: background 0.4s;
}
.section-connexion .form__actions input:hover {
  background: #029BEB;
}

@media (max-width: 1023px) {
  .main-article .main__image {
    position: relative;
    top: 0;
    flex: 0 0 100%;
  }

  .main-article .main__inner {
    flex-direction: column;
  }
}

.logo_grp {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  margin-right: 20px;
}

li.greenClair {
  counter-increment: list-counter;
  position: relative;
  padding-left: 80px;
}
li.greenClair::marker, li.bluesky::marker {
  content: none;
}
li.greenClair::before {
  content: counter(list-counter);
  font-size: 27px;
  font-weight: bold;
  color: white;
  background-color: #1df643e3; /* Vert pour le numéro */
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  position: absolute;
  left: 0;
  margin-right: 10px;
}
li.bluesky {
  counter-increment: list-counter;
  position: relative;
  padding-left: 80px;
}
li.bluesky::before {
  content: counter(list-counter);
  font-size: 27px;
  font-weight: bold;
  color: white;
  background-color: #03B0EF; /* Bleu pour le numéro */
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  position: absolute;
  left: 0;
  margin-right: 10px;
}
.btn--outline-red {
  color: #ED0000;
  border: 0.15rem solid #ED0000;
  background: transparent;
  font-weight: 700;
  border-radius: 1rem;
}
.btn--outline-red:hover {
  color: #fff;
  background: #ED0000;
  border-color: #ED0000;
}

/* === Option 2 (news + background image) - Figma fidelity, 1 ou 3 news === */
.section-news-bg {
  position: relative;
  padding: 48px 0 48px 0;
  overflow: hidden;
  background: none;
}
.news-bg__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.news-bg__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-bg__wrapper {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.news-bg__grid {
  display: grid;
  gap: 10px;
  align-items: stretch;
}
.news-bg__grid--single {
  grid-template-columns: 1fr;
  max-width: 700px;
}
.news-bg__grid--triple {
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-auto-flow: column;
}
.news-bg__item {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgba(0,0,0,0.10);
  padding: 32px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  min-height: 180px;
}
.news-bg__item--main {
  grid-row: 1 / span 2;
  grid-column: 1 / 2;
  box-shadow: 0 8px 40px 0 rgba(0,0,0,0.13);
  padding: 40px 36px 32px 36px;
}
.news-bg__item--side {
  grid-column: 2 / 3;
  min-height: 120px;
  padding: 24px 18px 18px 18px;
  margin-bottom: 0;
}
.news-bg__item-header {
  margin-bottom: 10px;
}
.news-bg__item-label {
  color: #009FE3;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.news-bg__item-tags {
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.news-bg__item-cat {
  background: linear-gradient(96.2deg, #029BEB 0%, #00AA61 86.58%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: unset;
  font-weight: 700;
  font-size: 16px;
  margin-right: 8px;
}
.news-bg__item-tag {
  font-size: 12px;
  font-weight: 600;
}
.news-bg__item-title {
  color: #222;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 12px;
  margin-top: 0;
  line-height: 1.3;
}
.news-bg__item-meta {
  color: #A0A0A0;
  font-size: 12px;
  margin-top: auto;
  font-weight: 500;
  text-align: left;
  align-self: flex-start;
  justify-content: flex-start;
}
.news-bg__item--main .news-bg__item-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 18px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
  display: block;
}

/* Responsive */
@media (max-width: 900px) {
  .news-bg__wrapper {
    padding: 0 8px;
  }
  .news-bg__grid--triple {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .news-bg__item--main {
    grid-row: auto;
    grid-column: auto;
    margin-bottom: 18px;
    padding: 32px 18px 24px 18px;
  }
  .news-bg__item--side {
    grid-column: auto;
    min-height: 100px;
    padding: 18px 10px 14px 10px;
  }
}
@media (max-width: 600px) {
  .section-news-bg {
    padding: 24px 0;
  }
  .news-bg__item {
    padding: 16px 6px 12px 6px;
    border-radius: 12px;
  }
  .news-bg__item--main {
    padding: 18px 6px 14px 6px;
  }
}

.news-bg__item-main-img-wrapper {
  position: relative;
  width: 100%;
  height: 260px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 40px 0 rgba(0,0,0,0.13);
  display: flex;
  align-items: flex-end;
}
.news-bg__item-main-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.news-bg__item-main-content {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
  padding: 24px 22px 18px 22px;
  margin: 0 0 18px 18px;
  min-width: 240px;
  max-width: 80%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .news-bg__item-main-img-wrapper {
    height: 180px;
  }
  .news-bg__item-main-content {
    padding: 14px 10px 10px 10px;
    margin: 0 0 10px 10px;
    min-width: 160px;
    max-width: 95%;
  }
}
@media (max-width: 600px) {
  .news-bg__item-main-img-wrapper {
    height: 120px;
    border-radius: 10px;
  }
  .news-bg__item-main-content {
    border-radius: 8px;
    margin: 0 0 6px 6px;
    padding: 8px 6px 6px 6px;
    min-width: 100px;
  }
}

.news-bg__item--main-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 16px;
  min-height: 360px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  box-shadow: 0 8px 40px 0 rgba(0,0,0,0.13);
  padding: 0;
}
.news-bg__item--main-bg-onenews {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 16px;
  min-height: 360px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  box-shadow: 0 8px 40px 0 rgba(0,0,0,0.13);
  padding: 0;
  min-width: 1120px;
}
.news-bg__item-main-content--overlay {
  position: absolute;
  top: 24px;
  left: 24px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
  padding: 24px 22px 18px 22px;
  min-width: 240px;
  max-width: 80%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .news-bg__item--main-bg {
    min-height: 180px;
    border-radius: 12px;
  }
  .news-bg__item-main-content--overlay {
    top: 10px;
    left: 10px;
    padding: 14px 10px 10px 10px;
    min-width: 140px;
    max-width: 95%;
    border-radius: 8px;
  }
}
@media (max-width: 600px) {
  .news-bg__item--main-bg {
    min-height: 120px;
    border-radius: 8px;
  }
  .news-bg__item-main-content--overlay {
    top: 4px;
    left: 4px;
    padding: 8px 6px 6px 6px;
    min-width: 80px;
    border-radius: 5px;
  }
}

.news-bg__item-main-content--figma {
  font-family: 'Nunito', Arial, sans-serif;
  padding: 32px;
  border-radius: 8px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.10);
  margin: 32px 0 0 32px;
  min-width: 320px;
  width: 35%;
}

.news-bg__item-label--figma {
  background: linear-gradient(96.2deg, #029BEB 0%, #00AA61 86.58%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: unset;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  display: block;
}
.news-bg__item-tags--figma {
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.news-bg__item-cat--figma {
  background: linear-gradient(96.2deg, #029BEB 0%, #00AA61 86.58%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: unset;
  font-weight: 700;
  font-size: 16px;
  margin-right: 8px;
}
.news-bg__item-tag--figma {
  font-size: 16px;
  font-weight: 600;
}
.news-bg__item-title--figma {
  color: #222;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
  margin-top: 0;
  line-height: 1.3;
}
.news-bg__item-meta--figma {
  color: #A0A0A0;
  font-size: 14px;
  margin-top: 8px;
  font-weight: 400;
  text-align: left;
  align-self: flex-start;
  justify-content: flex-start;
}
@media (max-width: 900px) {
  .news-bg__item-main-content--figma {
    padding: 18px 10px 10px 10px;
    margin: 10px 0 0 10px;
    min-width: 180px;
    max-width: 95%;
  }
  .news-bg__item-label--figma {
    font-size: 18px;
  }
  .news-bg__item-title--figma {
    font-size: 16px;
  }
}
@media (max-width: 600px) {
  .news-bg__item-main-content--figma {
    padding: 8px 6px 6px 6px;
    margin: 4px 0 0 4px;
    min-width: 100px;
  }
  .news-bg__item-label--figma {
    font-size: 14px;
  }
  .news-bg__item-title--figma {
    font-size: 13px;
  }
}

.employee__section--transformation_team {
  color: #1976d2;
}
.employee__section--support_team {
  color: #388e3c;
}
.employee__section--activators_team {
  color: #fbc02d;
}

