.row {
  display: flex;
  background: #EB0042;
  border-radius: 50px;
  height: 650px;
}

.row.expanded {
  background: #EB0042;
}

.div-1,
.div-2 {
  transition: flex-basis 0.5s ease;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.div-1 {
  flex-basis: 70%;
  flex-grow: 0;
  flex-shrink: 0;
}

.div-2 {
  flex-basis: 30%;
  flex-grow: 0;
  flex-shrink: 0;
}

.row.expanded .div-1 {
  flex-basis: 30%;
}

.row.expanded .div-2 {
  flex-basis: 70%;
}

.qapa-large {
  height: 650px;
  display: flex;
  padding: 0 40px;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  flex-shrink: 0;
  align-self: stretch;
  border-radius: 50px;
  background: linear-gradient(
      0deg,
      rgba(31, 114, 235, 0.1) 0%,
      rgba(31, 114, 235, 0.1) 100%
    ),
    #fff;
}

.qapa-large h3 {
  font-size: 30px;
  font-weight: 600;
}

.qapa-large .bloc-title {
  display: flex;
  align-items: center;
  gap: 15px;
  align-self: stretch;
  width: 100%;
  margin-top: 40px;
}

.adecco-small {
  display: flex;
  padding: 40px 30px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex: 1 0 0;
  align-self: stretch;
}

.adecco-small h3 {
  color: var(--FFFFFF, #fff);
  text-align: center;
  font-size: 30px;
  font-weight: 600;
  text-align: center;
}

.adecco-large {
  height: 650px;
  display: flex;
  padding: 0 40px;
  flex-direction: column;
  gap: 20px;
  flex: 1 0 0;
  border-radius: 50px;
  background: linear-gradient(
      0deg,
      rgba(31, 114, 235, 0.1) 0%,
      rgba(31, 114, 235, 0.1) 100%
    ),
    #fff;
}

.adecco-large h3 {
  font-size: 30px;
  font-weight: 600;
}

.adecco-large .bloc-title {
  display: flex;
  align-items: center;
  gap: 15px;
  align-self: stretch;
  width: 100%;
  margin-top: 40px;
}

.qapa-large .info-text {
  color: #515151;
  font-size: 16px;
}

.qapa-small {
  display: flex;
  padding: 40px 50px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-shrink: 0;
  align-self: stretch;
}

.qapa-small h3 {
  color: var(--FFFFFF, #fff);
  font-size: 30px;
  font-style: normal;
  text-align: center;
}

.bloc-title h3 span {
  color: var(--112DDA, #112dda);
  font-size: 30px;
  font-weight: 600;
}

.qapa-large h4,
.adecco-large h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
}

.qapa-content,
.adecco-content {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  align-self: stretch;
}

.qapa-bloc-left,
.adecco-bloc-left {
  display: flex;
  width: 60%;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
}

.qapa-bloc-right,
.adecco-bloc-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
  width: 40%;
  flex: 1 0 0;
}

.qapa-bloc-right img,
.adecco-bloc-right img {
  width: 100%;
}

@media (max-width: 1024px) {
  .row {
    height: auto;
  }
  .qapa-large,
  .adecco-large {
    height: auto;
  }
}

@media (max-width: 640px) {
  .row {
    flex-direction: column;
    height: auto;
    overflow: hidden;
  }

  .div-1,
  .div-2 {
    flex-basis: auto;
    width: 100%;
  }

  .row.expanded .div-1,
  .row.expanded .div-2 {
    flex-basis: auto;
  }

  .qapa-large,
  .adecco-large {
    height: auto;
    padding: 20px;
    border-radius: 30px;
  }

  .qapa-content,
  .adecco-content {
    flex-direction: column;
    gap: 20px;
  }

  .qapa-bloc-left,
  .adecco-bloc-left,
  .qapa-bloc-right,
  .adecco-bloc-right {
    width: 100%;
    align-items: flex-start;
  }

  .qapa-bloc-right a.btn-primary,
  .adecco-bloc-right a.btn-primary {
    align-self: center;
  }

  .qapa-small,
  .adecco-small {
    padding: 30px 20px;
  }

  .qapa-large .bloc-title {
    margin-top: 20px;
  }

  .adecco-large .bloc-title {
    margin-top: 20px;
  }
}

.video-modal-overlay[hidden] {
  display: none;
}
.video-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
}

.video-modal {
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  width: min(960px, 92vw);
  aspect-ratio: 16/9;
  position: relative;
  overflow: visible;
}

.video-embed {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1;
}
.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  border-radius: 30px;
}

.video-close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  filter: drop-shadow(
    0 2px 6px rgba(0, 0, 0, 0.5)
  );
}

body.video-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .video-modal {
    border-radius: 20px;
  }
  .video-embed iframe {
    border-radius: 20px;
  }
  .video-close {
    top: -22px;
    right: -22px;
    width: 40px;
    height: 40px;
    font-size: 30px;
  }
}
