/* -- -- -- -- -- BIENVENUE - SECTION - DÉBUT -- -- -- -- -- */

.cHeader.cHeader--welcome {
  overflow: hidden;
}

.cHeader.cHeader--welcome .title {
  font-family: var(--ffMXBo);
  font-size: 2.1875rem;
  line-height: 2.75rem;
}

.cHeader.cHeader--welcome .subtitle {
  text-transform: none;
  font-family: var(--ffMSeBo);
  font-size: 1.5rem;
  line-height: 2.0625rem;
  letter-spacing: normal;
}

.cHeader--welcome iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}

.cHeader--welcome .watching {
  position: relative;
}

.cHeader--welcome .watching::before {
  position: absolute;
  height: calc(100% - 66px);
  width: 100%;
  top: 0;
  left: 0;
  content: '';
  display: block;
  background-color: rgba(0, 0, 0, 0.3);
}

.cHeader--welcome .caption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 66px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.cHeader--welcome .caption > * {
  text-transform: uppercase;
  text-align: center;
}

.cHeader--welcome .caption > .type {
  font-family: var(--ffMSeBo);
  font-size: 1.25rem;
  line-height: 1.6875rem;
}

.cHeader--welcome .caption > .name {
  font-family: var(--ffMXBo);
  font-size: 2.1875rem;
  line-height: 2.5rem;
}

.cHeader--welcome .caption > .link {
  font-family: var(--ffMXBo);
  font-size: 1rem;
  line-height: 1.375rem;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
  transition: all .3s ease;

  &::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    transition: all .3s ease;
  }
}

.cHeader--welcome .watching + .btn {
  display: flex;
  text-transform: uppercase;
  font-family: var(--ffMXBo);
  font-size: 1rem;
  align-items: center;
  line-height: 1.375rem;
  gap: 9px;
  margin-top: 16px;
}

.cHeader--welcome .watching + .btn::after {
  content: "";
  display: block;
  background-image: url("../img/icons/arrow.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right center;
  height: 12px;
  width: 21px;
  transition: all 0.3s ease;
  filter: brightness(0);
}

.cHeader.cHeader--welcome .video__container {
  padding-bottom: unset;
  border-bottom: none;
}

.cHeader--welcome .video-controls {
  position: absolute;
  left: -100%;
}

@media (width > 767px) {
  .cHeader.cHeader--welcome .title {
    margin-top: unset;
  }

  .cHeader.cHeader--welcome .subtitle {
    margin-top: unset;
  }

  .cHeader.cHeader--welcome .video__container {
    z-index: 0;
  }

  .cHeader--welcome .watching + .btn {
    margin-top: unset;
    position: absolute;
    bottom: 3px;
    right: 20px;
    z-index: 2;
  }

  .cHeader--welcome .caption {
    height: 100%;
  }

  .cHeader--welcome > .watching {
    grid-column: 1/-1;
  }

  .cHeader--welcome .watching > .swiper {
    height: 100%;
  }

  .cHeader--welcome .watching::before {
    height: calc(100% - 2px);
  }

  body.page-12 .cHeader.cHeader--welcome {
    position: relative;
  }
}

@media (width > 991px) {
  .cHeader.cHeader--welcome {
    grid-template-columns: 1.5fr 1fr;
    gap: 40px 89px;
    padding-block: 0px;
    margin-top: 16px;
  }

  .cHeader.cHeader--welcome .title {
    font-size: 3.4375rem;
    line-height: 4.75rem;
  }

  .cHeader--welcome .caption > .type {
    font-size: 1.25rem;
    line-height: 1.6875rem;
  }

  .cHeader--welcome .caption > .name {
    font-size: 4.0625rem;
    line-height: 5.5625rem;
  }

  .cHeader--welcome .caption > .link {
    font-size: 1rem;
    line-height: 1.375rem;
  }

  .cHeader--welcome > .watching + .btn {
    padding: 23px 33px 19px 33px;
    right: 35px;
  }

  .cHeader--welcome .watching + .btn {
    gap: 24px;
  }
}

@media (width > 1399px) {
  .cHeader--welcome > .watching + .btn {
    padding: 28px 53px 24px 53px;
    right: 35px;
  }
}

@media (width > 1649px) {

  .cHeader.cHeader--welcome {
    overflow: visible;
  }

  .cHeader.cHeader--welcome .video > iframe {
    margin-inline: -85px;
    width: calc(100% + 170px);
  }

  .cHeader.cHeader--welcome .watching + .btn {
    right: -170px;
  }

  .cHeader.cHeader--welcome .watching {
    margin-inline: -85px;
    width: calc(100% + 170px);
  }

  .cHeader--welcome .watching::before {
    margin-inline: -85px;
    width: calc(100% + 170px);
  }


  .cHeader--welcome .watching > .swiper {
    margin-inline: -85px;
    width: calc(100% + 170px);
  }
}

@media (pointer: fine) {
  .cHeader--welcome .watching + .btn:hover {
    gap: 14px;
    transition: all .3s ease;
  }

  .cHeader--welcome .watching + .btn:hover::after {
    filter: brightness(1);
    width: 31px;
    transition: all .3s ease;
  }

  .cHeader--welcome .caption > .link:hover {
    gap: 0px;
    transition: all .3s ease;
  }

  .cHeader--welcome .caption > .link:hover::after {
    height: 6px;
    margin-left: unset;
    transition: all .3s ease;
  }
}

/* -- -- -- -- -- BIENVENUE - SECTION - FIN -- -- -- -- -- */


/* -- -- -- -- -- NOS RÉALISATIONS - SECTION - DÉBUT -- -- -- -- -- */

body.page-12 .watching .swiper .illustration {
  aspect-ratio: 16/9;
}

body.page-12 .cHeader--welcome .caption {
  height: 100%;
  z-index: 2;
}

@media (width > 991px) {
  body.page-12 .realisation {
    margin-top: 62px;
  }

  body.page-12 .watching .swiper .illustration {
    aspect-ratio: 1570/690;
  }
}

/* -- -- -- -- -- NOS RÉALISATIONS - SECTION - FIN -- -- -- -- -- */


/* -- -- -- -- -- QUI SOMMES-NOUS ? - SECTION - DÉBUT -- -- -- -- -- */

body.page-12 .who {
  margin-block: 64px;
}

.who .illustration {
  aspect-ratio: 16/9;
}

.who .presentation {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.who .presentation iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
}

.who .description .content {
  margin-block: 11px 14px;
}

body.page-12 .who .assets {
  padding-top: 32px;
}

body.page-12 .who .assets .asset-title {
  font-family: var(--ffMXBo);
  font-size: 1.375rem;
  line-height: 1.875rem;
}

body.page-12 .who .assets .asset {
  border: 2px solid var(--white);
  padding: 15px 15px 15px 35px;
  border-radius: 20px;
}

body.page-12 .who .assets .asset::before {
  left: 15px;
  top: 27px;
}

body.page-12 .who .assets .asset:first-child {
  margin-left: unset;
}

body.page-12 .who .assets .asset:last-child {
  margin-right: unset;
}

@media (width > 768px) {
  body.page-12 .who .assets .asset {
    padding: 19px 23px 19px 53px;
  }

  body.page-12 .who .assets .asset::before {
    left: 23px;
    top: 29px;
  }
}

@media (width > 991px) {
  body.page-12 .who {
    margin-block: 172px 164px;
    display: flex;
    gap: 40px;
  }

  .who .presentation iframe {
      width: unset;
      aspect-ratio: unset;
      height: auto;
  }

  .who .presentation {
    gap: 48px;
    flex-direction: row;
    width: 100%;
  }

  .who .description .content {
    margin-block: 23px 28px;
  }

  .who .illustration {
    aspect-ratio: 365/402;
    width: 35%;
  }

  body.page-12 .who .assets {
    padding-top: unset;
    display: flex;
    flex-direction: column;
    width: 50%;
    justify-content: center;
  }
}

@media (width > 1199px) {
  body.page-12 .who .assets {
    width: 40%;
  }

  body.page-12 .who {
    gap: 112px;
  }

  .who .illustration {
      width: 365px;
  }
}

@media (width > 1399px) {
  body.page-12 .who .assets {
    width: 34%;
  }
}

/* -- -- -- -- -- QUI SOMMES-NOUS ? - SECTION - FIN -- -- -- -- -- */

/* -- -- -- -- -- PROJETS ET RÉALISATIONS - SECTION - DÉBUT -- -- -- -- -- */

.prestations__container .prestations > .title {
  margin-top: unset;
  text-align: start;
}

.prestations__container .prestations {
  padding-inline: unset;
}

body > .prestations__container {
  margin-bottom: 64px;
}

.prestations__container > .prestations > .btn {
  margin-top: 16px;
  font-family: var(--ffMBo);
}

@media (width > 991px) {
  .prestations__container .prestations > .title {
    font-size: 2.5rem;
    line-height: 55px;
  }

  /* .prestations__container .prestations {
    width: 70%;
    overflow: visible;
  } */

  .prestations__container .prestations > .subtitle,
  .prestations__container .prestations > .title{
    width: 70%;
    margin-inline: auto; 
  }

  .prestations__container .prestations > .btn {
    margin-inline: 15%;
  }

  body > .who + .prestations__container {
    padding-inline: unset;
    /* overflow: hidden; */
    margin-bottom: 16px;
  }

  .who + .prestations__container .prestations > .swiper-button-prev--Desktop,
  .who + .prestations__container .prestations > .swiper-button-next--Desktop {
    display: none;
  }

  /* .who + .prestations__container > .swiper > .subtitle,
  .who + .prestations__container > .swiper > .title {
    padding-inline: 100px;
  } */

  .who + .prestations__container .prestations {
    padding: 93px 35px 105px 35px;
  }

  .who + .prestations__container .prestations > .swiper-pagination {
    margin-bottom: 45px;
  }

  .who + .prestations__container .prestations > .swiper-button-prev,
  .who + .prestations__container .prestations > .swiper-button-next {
    margin-bottom: 41px;
  }
}

@media (width > 1199px) {
  /* .who + .prestations__container > .swiper > .subtitle,
  .who + .prestations__container > .swiper > .title{
    padding-inline: unset;
    width: 100%; 
  } */

  .who + .prestations__container .prestations > .swiper-pagination,
  .who + .prestations__container .prestations > .swiper-button-prev,
  .who + .prestations__container .prestations > .swiper-button-next {
    margin-bottom: unset;
  }
}

@media (width > 1919px) {
  .prestations__container .prestations > .subtitle,
  .prestations__container .prestations > .title {
    width: 50%;
  }

  .prestations__container .prestations > .btn {
    margin-inline: 25%;
  }

  .prestations__container .prestations .swiper-pagination {
    padding-inline: 35px calc(25% + 90px);
  }

  .prestations__container .swiper-button-next {
    right: calc(25% + 50px);
  }

  .prestations__container .swiper-button-prev {
    right: calc(25% + 149px);
  }
}

/* -- -- -- -- -- PROJETS ET RÉALISATIONS - SECTION - FIN -- -- -- -- -- */

/* -- -- -- -- -- ACTIVITÉS - SECTION - DÉBUT -- -- -- -- -- */

.activities {
  padding-inline: 20px;
  margin-bottom: 64px;
}

.activities > .swiper > .title {
  margin-bottom: 24px;
}

.activities .swiper-pagination {
  color: var(--white);
  z-index: 0;
}

.activities .swiper-wrapper {
  padding-bottom: 40px;
}

@media (width > 767px) {
  .activities .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 43px 29px;
  }

  .activities .swiper-wrapper .miniature,
  .activities .swiper-wrapper .miniature .caption {
    height: 100%;
  }

  .activities .swiper-wrapper .miniature .caption {
    display: block;
  }

  .activities .swiper-button-prev,
  .activities .swiper-button-next {
    display: none;
  }

  .activities .swiper-wrapper {
    padding-bottom: unset;
  }
}

@media (width > 991px) {
  .activities {
    margin-bottom: 124px;
  }

  .activities .swiper-wrapper {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 73px;
  }

  .activities .swiper-wrapper:not(:has(> :nth-child(3))) {
    grid-template-columns: repeat(2, 1fr);
  }

  .activities .swiper-wrapper:not(:has(> :nth-child(2))) {
    grid-template-columns: 1fr;
  }

  .activities > .swiper > .title {
    font-size: 2.5rem;
    line-height: 3.4375rem;
  }

  .activities > .swiper > .subtitle {
    font-size: 1.25rem;
    line-height: 1.6875rem;
  }

  .activities .swiper-wrapper .miniature {
    grid-template-columns: repeat(3, 1fr);
  }

  .activities > .swiper > .title,
  .activities > .swiper > .subtitle {
    text-align: center;
  }
}

@media (width > 1199px) {
    .activities .swiper-wrapper .miniature .caption {
        display: grid;
    }
}

@media (width > 1479px) {
  .activities {
    padding-inline: unset;
  }
}

/* -- -- -- -- -- ACTIVITÉS - SECTION - FIN -- -- -- -- -- */

/* -- -- -- -- -- VOS PROJETS SUR-MESURE - SECTION - DÉBUT -- -- -- -- -- */

.projects {
  margin-bottom: 64px;
}

.projects > .btn-secondary {
  font-family: var(--ffMBo);
  margin-inline: auto;
}

.projects > .swiper {
  margin-block: 32px;
}

.projects > .projects__header > .projects__headerComponent > .content {
  margin-block: 11px 14px;
}

.projects__header > div:has(> .title) {
  margin-bottom: 8px;
}

.projects .swiper-pagination {
  color: var(--white);
  z-index: 0;
}

.projects .swiper-wrapper {
  padding-bottom: 48px;
}

@media (width > 767px) {
  .projects .miniature--project {
    height: auto;
  }

  .projects .miniature--project .caption {
    display: block;
  }
}

@media (width > 991px) {
  .projects {
    margin-bottom: 114px;
  }

  .projects__header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
  }

  .projects__header > div:has(> .title) {
    margin-bottom: unset;
  }

  .projects .subtitle {
    grid-area: 1/1/2/2;
  }

  .projects .title {
    grid-area: 2/1/3/2;
  }

  .projects .projects__headerComponent {
    grid-area: 1/2/3/3;
  }

  .projects > .projects__header > .projects__headerComponent > .content {
    margin-block: 0px 23px;
  }

  .projects > .swiper {
    margin-block: 75px 93px;
  }

  .projects > .btn-secondary {
    padding-block: 16px;
  }
}

/* -- -- -- -- -- VOS PROJETS SUR-MESURE - SECTION - FIN -- -- -- -- -- */

/* -- -- -- -- -- PARTENAIRES - SECTION - DÉBUT -- -- -- -- -- */

.partners {
  margin-bottom: 54px;
}

.partners > .subtitle,
.partners > .title {
  text-align: center;
}

.logo__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 32px;
  padding-inline: 12px;
  border-inline: 1px solid var(--white);
}

.logo__grid .tabCase {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-left: unset;
}

.logo__grid .tabCase:nth-child(odd) {
  width: calc(100% - 5px);
}

.logo__grid > *:nth-child(2n) {
  border-left: 1px solid var(--white);
  margin-left: -4px;
}

.logo__grid .tabCaseIn {
  border-bottom: 1px solid var(--white);
  margin: 12px;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
}

.logo__grid > *:nth-last-child(-n + 2) .tabCaseIn {
  border-bottom: none;
}

.logo__grid .partner__logo {
  height: 100%;
  width: 70%;
  max-width: 100px;
  object-fit: contain;
  display: block;
}

.logo__grid > *:nth-child(odd) .partner__logo {
  margin-right: 12px;
}

.logo__grid > *:nth-child(even) .partner__logo {
  margin-left: 12px;
}

@media (width > 575px) {
  .logo__grid {
    /* grid-template-columns: repeat(3, 1fr); */
    padding-inline: unset;
  }

  .logo__grid > * {
    border-left: 1px solid var(--white);
    margin-left: -4px;
  }

  .logo__grid > *:nth-child(1),
  .logo__grid > *:nth-child(4n) {
    border-left: none;
  }

  .logo__grid > *:nth-last-child(-n + 3) .tabCaseIn {
    border-bottom: none;
  }

  .tabCaseIn {
    padding: 12px;
  }
}

@media (width > 767px) {
  .partners > * {
    margin-inline: 50px;
  }

  .logo__grid .partner__logo {
    width: 100%;
    max-width: 150px;
  }


  .logo__grid > *:nth-child(odd) .partner__logo {
    margin-right: unset;
  }

  .logo__grid > *:nth-child(even) .partner__logo {
    margin-left: unset;
  }
}

@media (width > 991px) {
  .partners > .subtitle {
    font-size: 1.25rem;
    line-height: 1.6875rem;
  }

  .partners > .title {
    font-size: 2.625rem;
    line-height: 3.625rem;
  }

  .logo__grid {
    max-width: 880px;
    width: 100%;
    margin-inline: auto;
    margin-top: 52px;
  }

  .logo__grid .partner__logo {
    aspect-ratio: 302/124;
  }

  .logo__grid .tabCaseIn {
    padding: 24px;
  }

  .partners {
    margin-bottom: 100px;
  }
}

@media (width > 1479px) {
  .partners > * {
    max-width: 880px;
    width: 100%;
    margin-inline: auto;
  }
}

/* -- -- -- -- -- PARTENAIRES - SECTION - FIN -- -- -- -- -- */

/* -- -- -- -- -- ACTUALITÉS - SECTION - DÉBUT -- -- -- -- -- */

.actualities {
  padding-block: 64px;
  background-color: #222323;
}

.actualities > .subtitle,
.actualities > .title {
  margin-top: unset;
  text-align: center;
}

.actualities .news {
  margin-top: 24px;
  height: auto;
}

.actualities .news .miniature {
  height: 100%;
}

.actualities .news .miniature .caption {
  display: block;
  padding-bottom: 62px;
}

.actualities .news .miniature .caption .link {
  position: absolute;
  bottom: 9px;
  right: 11px;
}

.actualities .swiper {
  padding-bottom: 48px;
}

.actualities .swiper-pagination {
  color: var(--white);
  z-index: 0;
}

@media (width > 991px) {
  body > .actualities {
    padding-block: 90px 150px;
    max-width: unset;
  }

  .actualities > * {
    max-width: 1250px;
    margin-inline: auto;
  }

  .actualities > .title {
    font-size: 2.5rem;
    line-height: 3.4375rem;
  }
  
  .actualities .news {
    margin-top: 45px;
  }

  .actualities .news > * {
    padding: 10px;
  }

  .actualities .news .miniature .caption .link {
    bottom: 19px;
  }
}

/* -- -- -- -- -- ACTUALITÉS - SECTION - FIN -- -- -- -- -- */
