html,
body {
  background-color: #ffffff;
  overflow-x: hidden !important;
  margin: 0;
  padding: 0;
}

body #container {
  margin: auto;
}

.sample-header {
  position: fixed;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 2880px;
  height: 100vh;
  overflow: hidden;

  background-size: 200% 200%;
  background-position: 50% 50%;
  transition: background-position 0.2s ease;
}

@keyframes floatGradient {
  0% {
    background-position: 48% 52%;
  }
  50% {
    background-position: 52% 48%;
  }
  100% {
    background-position: 48% 52%;
  }
}

#bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

.sample-header {
  animation: floatGradient 20s ease-in-out infinite;
}

.sample-header-section {
  position: relative;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 15% 0 10%;
  max-width: 900px;
  margin: 0;
  color: white;
  min-height: 600px;
}

.sample-header-section h1 {
  font-weight: 500;
  margin: 0px;
  font-size: 80px;
  line-height: 100px;
}
.sample-header-section.sample-header-section-confidentialite h1 {
  font-size: 70px;
  line-height: 70px;
}

.sample-header-section h1 span#t1 {
  position: absolute;
  left: -40px;
}

.sample-header-section h1 span#t2 {
  position: absolute;
  right: -140px;
}

.sample-header-section h1 span#t3 {
  position: absolute;
  left: 0%;
}

.sample-header-section h2 {
  position: absolute;
  left: -70px;
  top: 58%;
  font-size: 16px;
  max-width: 300px;
  font-weight: 400;
  line-height: 22px;
}

#etoileT1 {
  position: absolute;
  top: 45%;
  right: 23.8%;
}

#etoileT2 {
  position: absolute;
  top: 43%;
  right: 6%;
  z-index: 3;
}
#blocConfiance {
  background: #6f04d9;
  position: relative;
  padding-top: 30px;
  z-index: 10;
  overflow: hidden; /* Cache le filet qui dépasse */
}

#titleBlocConfiance {
  position: relative;
  height: 240px;
  z-index: 5;
  overflow: visible; /* Permet au texte de dépasser */
}

/* Ajout d'un pseudo-élément pour masquer uniquement le filet */
#titleBlocConfiance::before {
}

#titleBlocConfiance .title {
  position: relative;
  line-height: 50px;
  z-index: 5; /* Passe au-dessus du blocConfiance */
  white-space: nowrap; /* Évite les coupures */
}

.bgColorSpan {
  color: #ffffff !important;
  background-color: #6f04d9;
}

/** Carousel card comments clients */
.card-body p {
  font-size: 15px;
}

.card-body .nomClient {
  font-size: 14px;
}

.card-body .posteClient {
  font-size: 12px;
}

.sample-section-wrap {
  position: relative;
  background-color: white;
  border-radius: 50px 50px 0px 0px;
  margin-top: -50px;
}

.sample-section-wrap.sample-section-wrap-min {
  margin-top: -200px;
}

.sample-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 40px;
}

h3 {
  font-size: 40px;
  line-height: 50px;
}

h3 span {
  line-height: 55px;
  padding: 0px 7px;
}

h3 span.title {
  color: #ffffff;
  border-radius: 7px;
  line-height: 50px;
  font-size: 60px;
}

.number {
  font-size: 48px;
}

.text-number {
  margin-top: 5px;
  font-size: 18px;
}

#textBloc1 {
  color: #000000;
  border-radius: 32px;
  padding-top: 10px;
  width: 100%;
  font-size: 18px;
  margin: 0px;
}

#services {
  background-color: #6f04d9;
  position: relative;
  z-index: 3;
  scroll-margin-top: -500px;
}

#aPropos {
  scroll-margin-top: 80px;
}

#containerApropos {
  position: relative;
  overflow: hidden;
}

#contact {
  scroll-margin-top: 80px;
}

#services p {
  font-size: 24px;
  max-width: 300px;
  line-height: 32px;
}

.containerBloc {
  max-width: 1100px !important;
}

.containerBloc h3 {
  font-size: 40px;
}

.filet-green {
  position: absolute;
  top: 0px;
  right: 0px;
  z-index: 2;
}

#projets .filet-green {
  position: absolute;
  top: 0px;
  right: 15%;
  z-index: 1;
}

#titleBlocConfiance .filet-green {
  position: absolute;
  top: 0px;
  left: 42%;
  z-index: 1;
  width: 500px !important;
}

.blocService {
  background: #ffffff;
  border-radius: 32px;
  color: #0f2bec;
  cursor: pointer;
}

.blocService:hover {
  scale: 1.05;
}

.blocService div {
  min-height: 125px;
}

.blocService p {
  font-size: 24px;
  width: 240px;
  line-height: 30px;
}

#blocServiceHover1 div:hover {
  display: none;
}

#photoGroupe1 {
  margin-left: -25px;
}

.chevron {
  width: 22px;
  height: 12px;
}

.iconService {
  width: 54px;
  height: auto;
}

#btn-details-slider {
  position: absolute;
  bottom: -20px;
  right: 0px;
  background-color: #ffffff;
  padding: 15px;
  border-radius: 50px 0px 0px 50px;
  z-index: 99;
}
.carousel-item {
  position: relative; /* Nécessaire pour positionner l'overlay */
}

#projets .title {
  color: #1b0273 !important;
  margin-top: 70px;
  position: relative;
  z-index: 2;
}

#projets {
  position: relative;
  overflow: hidden;
}

/*.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/img/filterSlider.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
    display: none;
}*/

.carousel-item img {
  position: relative;
  z-index: 0; /* L'image est en dessous de l'overlay */
}

/*.container-carousel-overlay {
    position: absolute;
    left:30px;
    bottom:30px;
    z-index: 99;
    color:#fff
}*/

.container-carousel-overlay .title {
  font-size: 40px;
}

.container-carousel-overlay .description {
  font-size: 18px;
}

#navbarNavAltMarkup {
  padding: 0px !important;
  margin: 0px !important;
}

.marquee-rtl {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.marquee-content {
  display: inline-block;
  white-space: nowrap;
  animation: defilement-rtl 50s linear infinite;
  background-color: #6f04d9;
}

.marquee-content img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 2em;
  filter: grayscale(1);
}

@keyframes defilement-rtl {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

#formContact {
  background-color: #f3f3f3;
  max-width: 650px;
  padding: 20px 35px 20px 35px;
  border-radius: 25px;
}

#formContact p {
  font-size: 25px;
}

#formContact input,
#formContact textarea {
  border: none;
}

#formContact input::placeholder,
#formContact textarea::placeholder {
  color: #b1b1b1;
  font-style: italic;
  font-size: 14px;
}

#formContact button {
  background-color: #f3f3f3;
  border: none;
}

.carousel-control-prev,
.carousel-control-next {
  opacity: 1;
}

#blocPoleDigital {
  background-color: #f5f5f5;
  border-radius: 25px;
}

#blocPoleDigital .row {
  max-width: 750px !important;
}

.buttonGreen:hover {
  background-color: #0f2bec !important;
  color: #8bf42f !important;
}

.review.carousel-inner {
  display: flex;
  overflow: hidden;
}

.review.carousel-item {
  display: flex;
  width: 100%; /* Assure-toi que le carrousel occupe toute la largeur */
}

.review.carousel-item .col-md-4 {
  flex: 0 0 33.333%; /* Chaque carte occupe un tiers de l'espace disponible */
  max-width: 33.333%;
  box-sizing: border-box; /* Assure que les marges sont bien incluses dans le calcul de la largeur */
}

.masonry-grid {
  column-count: 2; /* Nombre de colonnes */
  column-gap: 1rem; /* Espacement entre les colonnes */
}

.masonry-grid img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1rem;
  object-fit: cover;
}

.sliderProjectsHome .carousel-control-prev-icon,
.sliderProjectsHome .carousel-control-next-icon {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  padding: 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 50px 50px; /* Taille de la flèche */
  display: inline-block;
}

.sliderProjectsHome .carousel-control-prev-icon {
  background-image: url("/assets/img/sliderFleche2.svg");
}

/* Flèche droite (bleue) */
.sliderProjectsHome .carousel-control-next-icon {
  background-image: url("/assets/img/sliderFleche.svg");
}

.video-container {
  width: 100%;
  position: relative;
}

.video-wrapper {
  position: relative;
  display: inline-block;
  width: 100%; /* garde ta largeur */
}

/* ---- Tes styles existants adaptés ---- */
.video-warp {
  width: 100%;
  filter: brightness(0.95) contrast(1.05);
  transform-origin: center;
  z-index: 10;
  display: block;
}

/* ---- Bouton à droite ---- */
.video-button {
  position: absolute;
  bottom: -55px;
  left: 0px;
  z-index: 10;
  transition: all 0.3s ease;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: translateY(-50%) scale(1);
  }
  70% {
    transform: translateY(-50%) scale(1.05);
  }
  100% {
    transform: translateY(-50%) scale(1);
  }
}

.vibrate {
  display: inline-block;
  animation: vibrate 0.3s linear infinite;
  animation-play-state: running;
}

.vibrate:hover {
  animation-play-state: running; /* vibre quand on survole la phrase */
}

@keyframes vibrate {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(-1px, 1px);
  }
  40% {
    transform: translate(-1px, -1px);
  }
  60% {
    transform: translate(1px, 1px);
  }
  80% {
    transform: translate(1px, -1px);
  }
  100% {
    transform: translate(0);
  }
}

@media (max-width: 1338px) {
  #titleBlocConfiance .filet-green {
    width: 39%;
  }
}

@media (max-width: 1350px) {
  .sample-header-section.sample-header-section-confidentialite h1 {
    font-size: 50px;
    line-height: 50px;
    margin-top: 100px !important;
  }
}

@media (min-width: 1720px) {
  .sample-header-section.sample-header-section-confidentialite h1 {
    font-size: 60px;
    line-height: 50px;
    margin-top: 50px !important;
  }
}

@media (max-width: 1090px) {
  #titleBlocConfiance .filet-green {
    width: 42%;
    left: 38%;
  }
}

@media (max-width: 990px) {
  .card-body p {
    font-size: 12px;
  }

  .card-body .nomClient {
    font-size: 12px;
  }

  .card-body .posteClient {
    font-size: 10px;
  }

  #titleBlocConfiance .filet-green {
    width: 300px !important;
    left: 40%;
  }

  .nav-link {
    font-size: 18px;
  }
}

@media (max-width: 940px) {
  #projets .title {
    margin-top: 20px;
    margin-bottom: 20px;
    padding-top: 0px !important;
  }

  #titleBlocConfiance .filet-green {
    width: 55%;
  }

  .sample-header-section {
    top: 50%;
  }

  .sample-header-section.sample-header-section-confidentialite {
    top: 60%;
  }

  .sample-header-section h1 {
    font-size: 50px;
    line-height: 70px;
    margin-top: 50px;
  }

  .sample-header-section h1 span#t1 {
    position: absolute;
    left: 50%;
    margin-left: -111px;
  }

  .sample-header-section h1 span#t2 {
    position: absolute;
    right: 5%;
  }

  .sample-header-section h1 span#t3 {
    position: absolute;
    left: 50%;
    margin-left: -160px;
  }

  .sample-header-section h2 {
    position: absolute;
    left: 2%;
    top: 50%;
    font-size: 14px;
    max-width: 300px;
    line-height: 22px;
  }

  #etoileT1 {
    right: 22.2%;
  }
}

#carouselDesktop,
#carouselMobile {
  margin-bottom: 70px;
}

.carousel-dark .carousel-indicators [data-bs-target] {
  background-color: #ffffff;
  height: 17px;
  width: 14px;
  border: none;
  clip-path: polygon(
    50% 25%,
    100% 0,
    75% 50%,
    100% 100%,
    50% 75%,
    0 100%,
    25% 50%,
    0 0
  );
}

.carousel-dark .carousel-indicators {
  margin-bottom: -50px;
}

.carousel-dark .carousel-indicators .active {
  background-color: #8bf42f;
}

.card {
  width: 18rem;
  border-radius: 24px;
  height: 300px;
  border: none;
}

@keyframes defilement-rtl {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@media screen and (min-width: 990px) and (max-width: 1139px) {
  .blocService p {
    font-size: 20px;
    width: 180px;
    line-height: 26px;
  }
}

@media (min-width: 1400px) {
  #aPropos .filet-green {
    width: 45%;
  }
}

@media (min-width: 1492px) {
  #aPropos .filet-green {
    width: 50%;
  }
}

@media screen and (max-width: 1140px) {
  .blocService p {
    font-size: 18px !important;
    line-height: 18px;
    width: 180px;
  }

  .blocService img {
    width: 30px;
  }

  .blocService div {
    height: auto;
  }
}

/** TABLETTE **/
@media (max-width: 991px) {
  .card-body p {
    font-size: 11px !important;
  }
  .card {
    height: 250px;
  }

  #titleBlocConfiance .filet-green {
    width: 45%;
    left: 70%;
  }

  #titleBlocConfiance {
    height: 250px;
  }

  #titleBlocConfiance .title {
    bottom: -25px;
  }
}

@media (max-width: 767px) {
  .card {
    height: 310px;
  }

  .card-body p {
    font-size: 14px !important;
  }

  .card-body .nomClient {
    font-size: 13px;
  }

  .card-body .posteClient {
    font-size: 12px;
  }

  #titleBlocConfiance .title {
    bottom: -55px;
  }
}

/** MOBILE **/
@media (max-width: 575.98px) {
  .sample-header-section.sample-header-section-confidentialite h1 {
    margin-top: 0px !important;
    font-size: 25px;
    line-height: 28px;
  }

  .title {
    font-size: 30px !important;
    line-height: 30px !important;
  }

  .card-body p {
    font-size: 12px !important;
  }

  .card-body .nomClient {
    font-size: 12px !important;
  }

  .card-body .posteClient {
    font-size: 11px !important;
  }

  .card {
    height: 260px !important;
  }

  .sample-header-section div {
    top: 45%;
    transform: translate(0, -50%);
  }

  .sample-header-section h1 {
    font-weight: 500;
    text-transform: uppercase;
    margin: 0px;
    font-size: 30px;
    line-height: 30px;
    margin-top: 20px;
  }
  .sample-header-section h1 {
    position: relative;
    top: 50%;
    left: 0%;
  }
  .sample-header-section h2 {
    position: static;
    font-size: 12px;
    max-width: 300px;
    line-height: 15px;
    margin-top: 0px !important;
  }
  .sample-header-section {
    height: 350px;
    min-height: auto;
    max-width: 350px;
  }

  .sample-section {
    padding: 30px;
    padding-top: 0px !important;
  }

  h3 {
    font-size: 23px !important;
    line-height: 24px;
    padding-left: 10px;
  }

  h3 span {
    font-size: 23px;
    line-height: 26px;
    padding: 0px 7px;
  }

  #textBloc1 {
    font-size: 14px;
    line-height: 20px;
    padding-left: 10px;
    padding-top: 0px;
  }
  #photoGroupe1 {
    margin-left: -15px;
  }

  .number {
    font-size: 32px;
  }

  .text-number {
    line-height: 24px;
    font-size: 12px;
    margin-bottom: 20px;
  }

  #services {
    font-size: 11px;
    margin-top: 15px;
  }

  #services p {
    font-size: 14px !important;
    line-height: 18px;
  }

  .chevron {
    width: 10px;
    height: 10px;
  }
  .iconService {
    width: 50px;
  }
  #btn-details-slider {
    padding: 10px;
    padding-bottom: 0px;
  }
  #btn-details-slider img {
    width: 125px;
  }

  .container-carousel-overlay .title {
    font-size: 14px;
  }

  .container-carousel-overlay .description {
    font-size: 11px;
  }

  .btn1-hover {
    width: 200px;
  }

  .sliderProjectsHome .carousel-control-prev-icon,
  .sliderProjectsHome .carousel-control-next-icon {
    width: 30px;
    height: 30px;
    background-size: 30px 30px; /* Taille de la flèche */
  }

  .sample-section-wrap.sample-section-wrap-min {
    margin-top: 0px;
  }

  .video-wrapper {
    text-align: center;
    width: 98%;
  }

  .video-button {
    bottom: -50px;
  }

  #titleBlocConfiance {
    height: 180px;
  }

}

/** PETIT MOBILE **/
@media (max-width: 344px) {
  .card {
    height: 280px !important;
  }

  .card-body p {
    font-size: 12px !important;
  }

  .card-body .nomClient {
    font-size: 11px;
  }

  .card-body .posteClient {
    font-size: 10px;
  }

  .card-body img {
    width: 30px !important;
  }
}

/** PETIT MOBILE **/
@media (max-width: 300px) {
  .card {
    height: auto !important;
    margin: 0px !important;
  }

  .card-body p {
    font-size: 8px !important;
  }

  .card-body img {
    width: 30px !important;
  }
}
