@import "../base.css";

/* start hero */

.white {
  background-color: #fff;
  color: #000;
  width: 258px;
}

.hero-container {
  position: relative;
}

.hero-degrade {
  position: absolute;
  width: 100%;
  height: 100%;
}

.hero-degrade::after {
  content: "";
  background: linear-gradient(
    90deg,
    rgba(88, 29, 116, 0.84) 0%,
    rgba(62, 37, 116, 0) 100%
  );
  top: 0;
  width: 100%;
  display: inline-block;
  position: absolute;
  height: 100%;
  left: 0;
}

.hero-degrade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero {
  max-width: var(--mobileWidth);
  margin: auto;
  padding-top: 96px;
  padding-bottom: 34px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: var(--BC3);
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 46px;
  text-shadow: 0px 4px 36px rgba(33, 14, 41, 0.4);
}

.hero p {
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  margin-top: 24px;
  max-width: 339px;
  color: rgba(245, 245, 245, 0.8);
}

.scroll {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

/* end hero */

/* start solutions */

.solutions {
  max-width: var(--mobileWidth);
  margin: auto;
  padding-bottom: 77px;
  padding-top: 48px;
  text-align: center;
}

.solutions-header p {
  color: var(--bouton);
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.solutions-header h2 {
  color: var(--darkGrey);
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 28px;
  text-align: center;
  margin-top: 16px;
  margin-bottom: 40px;
}

.nav.nav-tabs {
  border: none;
}

.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
  border-color: transparent;
}

.nav-link:focus-visible {
  box-shadow: none;
}

.panel .nav-link.active {
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 3px solid var(--rose);
  color: var(--darkGrey);
}

.panel {
  margin-bottom: 40px;
}

.panel .nav-item {
  width: 50%;
}

.panel .nav-link {
  color: #4038444d;
  width: 100%;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 18px;
  text-align: center;
  border: none;
}

.tab-pane .pane-container > img {
  width: 100%;
}

.pane-container {
  position: relative;
}

.tab-pane .row {
  row-gap: 24px;
}

.pane-container::after {
  background: linear-gradient(
    214.08deg,
    rgba(88, 29, 116, 0) 35.41%,
    rgba(43, 0, 64, 0.9) 100%
  );
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: 8px;
}

.pane-container div {
  position: absolute;
  bottom: 5%;
  left: 0;
  z-index: 2;
  margin-left: 16px;
  text-align: left;
}

.pane-container div p {
  color: #fff;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 21px;
  position: relative;
}

.pane-container div p:first-of-type {
  font-weight: 500;
}

.solutions button {
  width: 345px;
}

/* endsolutions */

/* start us */

.us {
  max-width: var(--mobileWidth);
  margin: auto;
  padding-bottom: 77px;
  padding-top: 48px;
}

.us button {
  margin: 40px 0;
}

.us .full-img img {
  width: 100%;
  object-fit: cover;
  max-height: 473px;
}

.us-header :is(p, h2) {
  text-align: left;
}

.us-description p {
  color: var(--BC2);
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
}

.partner {
  margin-top: 40px;
}

.partner h3 {
  color: var(--darkGrey);
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 21px;
  margin-bottom: 28px;
}

.partner .row > * {
  padding-left: 0;
  padding-right: 0;
}

.partner .row {
  row-gap: 25px;
  justify-content: center;
}

.partner hr {
  margin: 2rem 0;
}

.numbers {
  background-color: #55579e;
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
  align-items: center;
  max-height: 593px;
  padding: 49px 0;
}

.numbers div {
  position: relative;
  text-align: center;
}

.numbers div:not(.numbers div:last-of-type)::after {
  content: "";
  position: absolute;
  width: 149px;
  height: 1px;
  background-color: var(--BC3);
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
}

.numbers div > p {
  color: var(--BC3);
  font-style: normal;
  font-weight: 500;
  font-size: 80px;
  line-height: 92px;
  text-align: center;
}

.numbers div > span {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  text-align: center;
  color: rgba(245, 245, 245, 0.8);
}

/* end uscontainer */

/* start annonces */

.annonces {
  max-width: var(--mobileWidth);
  margin: auto;
  padding-bottom: 52px;
  padding-top: 52px;
  text-align: center;
}

.annonces-container {
  background-color: #f6f3f6;
}
.annonces-header p,
.us-header > p {
  color: var(--bouton);
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.annonces-header h2,
.us-header h2 {
  color: var(--darkGrey);
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 28px;
  text-align: center;
  margin-top: 16px;
  margin-bottom: 40px;
}

.img-container.annonces figcaption a {
  margin-right: 10px;
}
.img-container.annonces figcaption {
  margin-top: 15px;
}
.annonces .full-button {
  width: 255px;
}
/* end annonces */

/* start news */

.news {
  max-width: var(--mobileWidth);
  margin: auto;
  margin-top: 47px;
}

.news-header {
  display: flex;
  justify-content: space-between;
}

.news-header a {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 18px;
  color: var(--rose);
}

.news-header h2 {
  color: var(--darkGrey);
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 28px;
}

.actu {
  margin-top: 32px;
  margin-bottom: 77px;
  position: relative;
}

.actu.big::after {
  content: "";
  position: absolute;
  bottom: -10%;
  height: 1px;
  width: 100%;
  background-color: #e6e6e8;
}

.actu > img {
  object-fit: cover;
  width: 100%;
  border-radius: 10px;
}

.actu span:first-of-type {
  color: var(--rose);
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.actu p {
  color: var(--darkGrey);
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 21px;
}

.actu span:last-of-type {
  color: var(--BC2);
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 14px;
}

.actu div a {
  color: var(--bouton);
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
}

.actu.small {
  max-width: 179px;
}

.row {
  margin-left: initial;
}

/* end news */

/* start  teams */

.teams-container {
  background-color: var(--BC1);
}

.teams {
  max-width: var(--mobileWidth);
  margin: auto;
  padding: 35px 0;
  position: relative;
}

.teams .img-container::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background: linear-gradient(
    214.08deg,
    rgba(88, 29, 116, 0) 35.41%,
    rgba(43, 0, 64, 0.9) 100%
  );
  top: 0;
}

.teams .img-container img {
  background: linear-gradient(
    214.08deg,
    rgba(88, 29, 116, 0) 35.41%,
    rgba(43, 0, 64, 0.9) 100%
  );
  width: 100%;
  border-radius: 8px;
  position: relative;
  object-fit: cover;
}

.fixed-logo {
  position: absolute;
  top: 9%;
  left: 3%;
}

.img-info {
  position: absolute;
  bottom: 3%;
  left: 3%;
  z-index: 2;
}

.img-info p {
  color: #fff;
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  line-height: 22px;
}

.img-info span {
  color: #fff;
  display: block;
  font-style: normal;
  font-weight: 300;
  font-size: 18px;
  line-height: 22px;
}

.custom_arrows {
  position: absolute;
  bottom: 5%;
  right: 16px;
  display: flex;
  gap: 8px;
}

.splide__arrow {
  all: unset;
}

.custom_pagination {
  bottom: 7%;
  left: 30%;
  gap: 10px;
}

.custom_pagination li:first-of-type::after {
  content: "";
  position: absolute;
  background-color: var(--BC3);
  height: 100%;
  width: 1px;
  left: 50%;
  transform: translateX(-50%);
}

.splide__pagination--custom {
  background: transparent !important;
  color: #fff;
  transform: scale(1) !important;
}

.team-pres {
  margin-top: 36px;
}

.team-header span {
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff80;
}

.team-header p {
  width: 382px;
  height: 84px;
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  color: var(--BC3);
  line-height: 28px;
  margin-top: 24px;
}

.team-description {
  margin-top: 24px;
}

.team-description p {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: rgba(245, 245, 245, 0.8);
}

.team-description button {
  margin-top: 40px;
  border: 1px solid rgba(245, 245, 245, 0.2);
  color: #fff;
}

/* endTeams */

@media screen and (width > 1000px) {
  /* start hero */
  body {
    max-width: var(--desktopWidth);
  }
  .hero h1 {
    max-width: 883px;
  }
  .hero-degrade img {
    object-position: top;
  }

  .hero-cta-container {
    flex-direction: row !important;
  }

  .panel {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

  .splide.is-initialized:not(.is-active) .splide__list {
    display: flex;
    justify-content: center;
    gap: 42px;
  }
  .annonces {
    max-width: 1200px;
  }
  .img-container.annonces {
    margin: inherit;
  }
  /* us starts */
  .us {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
  }

  .us-header-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .us-header {
    max-width: 580px;
  }

  .us-header h2,
  .us-header p {
    text-align: left;
  }

  .full-img {
    flex: 1 0 auto;
    max-width: 477px;
  }

  .partner {
    width: 100%;
    margin-top: 121px;
  }
  .partner .row {
    row-gap: 0;
    justify-content: space-around;
  }

  .numbers {
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
  }

  .numbers div:not(.numbers div:last-of-type)::after {
    width: 1px;
    height: 149px;
    background-color: var(--BC3);
    right: -70%;
    left: initial;
    transform: translateX(50%);
  }

  /* end us */

  /* news */

  .actu.small {
    max-width: 269px;
    height: fit-content;
    margin-bottom: initial;
  }

  .news .container {
    display: flex;
    column-gap: 144px;
  }

  /* end news */

  /* start teams */
  .teams {
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 123px 0;
  }

  .teams .splide {
    max-width: 476px;
  }

  .team-pres {
    margin-top: initial;
    max-width: 564px;
  }

  .fixed-logo {
    top: 20%;
  }
  /* end teams */
}
