html,
body,
#root,
#root * {
  font-family: "Sora", sans-serif !important;
  font-optical-sizing: auto;
  font-variation-settings: normal;
}

video {
  object-fit: cover !important;
}

.outils-constellation {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: space-around !important;
  gap: 2.8rem 1.1rem !important;
  min-height: 12rem;
  padding: 1.5rem 0.75rem;
  overflow: visible;
}

.outil-creatif-conteneur {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  overflow: visible;
  animation: outil-flottant 4.8s ease-in-out infinite;
  --outil-progression: 0;
}

.outil-creatif-conteneur:nth-child(2) {
  animation-delay: -1.1s;
}

.outil-creatif-conteneur:nth-child(3) {
  animation-delay: -2.4s;
}

.outil-creatif-conteneur:nth-child(4) {
  animation-delay: -0.6s;
}

.outil-creatif-conteneur:nth-child(5) {
  animation-delay: -3.1s;
}

.outil-creatif-conteneur:nth-child(6) {
  animation-delay: -1.8s;
}

.outil-creatif-conteneur:nth-child(7) {
  animation-delay: -3.8s;
}

.outil-creatif-conteneur:nth-child(8) {
  animation-delay: -2.7s;
}

.outil-creatif-conteneur:nth-child(9) {
  animation-delay: -0.9s;
}

.outil-constellation-noeud {
  position: relative;
  z-index: 1;
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.65rem;
  min-height: 3.1rem;
  padding: 0.65rem 0.95rem !important;
  border: 1px solid rgba(200, 197, 216, 0.16) !important;
  border-radius: 0.55rem !important;
  background: #101015 !important;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.14) !important;
  color: #f5f4fa !important;
  opacity: 1 !important;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.outil-constellation-noeud:nth-child(7) {
  animation-delay: -3.8s;
}

.outil-constellation-noeud:nth-child(8) {
  animation-delay: -0.3s;
}

.outil-constellation-noeud:hover {
  border-color: rgba(167, 139, 250, 0.65) !important;
  background: #15141d !important;
  animation-play-state: paused;
}

.outil-creatif-conteneur:has(.outil-constellation-noeud:hover) {
  animation-play-state: paused;
}

@keyframes outil-flottant {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -4px;
  }
}

.outil-creatif {
  overflow: visible !important;
}

.outil-creatif-icone {
  position: absolute;
  z-index: 2;
  width: 1.8rem;
  height: 1.8rem;
  object-fit: contain;
  opacity: calc(var(--outil-progression, 0) * 0.95);
  filter: blur(calc((1 - var(--outil-progression, 0)) * 3px));
  transform: translateY(calc((1 - var(--outil-progression, 0)) * 0.3rem))
    scale(calc(0.78 + var(--outil-progression, 0) * 0.22));
  pointer-events: none;
  transition: filter 140ms linear, opacity 140ms linear, transform 140ms linear;
}

.outil-icone-haut-gauche .outil-creatif-icone {
  top: -2rem;
  left: 0.35rem;
}

.outil-icone-bas-droite .outil-creatif-icone {
  right: 0.4rem;
  bottom: -2rem;
}

.outil-icone-haut-droite .outil-creatif-icone {
  top: -2rem;
  right: 0.45rem;
}

.outil-icone-bas-gauche .outil-creatif-icone {
  bottom: -2rem;
  left: 0.4rem;
}

.outil-creatif-libelle {
  position: relative;
  z-index: 1;
  opacity: calc(0.58 + var(--outil-progression, 0) * 0.42);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .outils-constellation {
    gap: 1.8rem 0.75rem !important;
    min-height: 10rem;
    padding: 1.25rem 0.25rem;
  }

  .outil-constellation-noeud {
    gap: 0.45rem;
    min-height: 2.8rem;
    padding: 0.5rem 0.7rem !important;
    font-size: 0.75rem !important;
  }

  .outil-creatif-conteneur .outil-creatif-icone {
    width: 1.45rem;
    height: 1.45rem;
  }

  .outil-creatif-icone {
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }

  .outil-icone-haut-gauche .outil-creatif-icone {
    top: -1.7rem;
    left: 0.2rem;
  }

  .outil-icone-bas-droite .outil-creatif-icone {
    right: 0.2rem;
    bottom: -1.7rem;
  }

  .outil-icone-haut-droite .outil-creatif-icone {
    top: -1.7rem;
    right: 0.2rem;
  }

  .outil-icone-bas-gauche .outil-creatif-icone {
    bottom: -1.7rem;
    left: 0.2rem;
  }
}

.outil-constellation-noeud .outil-creatif-libelle {
  transition: opacity 140ms linear;
}

.outil-constellation-noeud .outil-creatif-icone {
  will-change: opacity, filter, transform;
}

.outil-constellation-noeud:not(.outil-creatif) {
  color: color-mix(in srgb, #f5f4fa 58%, #9a98a6) !important;
}

@media (prefers-reduced-motion: reduce) {
  .outil-creatif-icone {
    opacity: 0.95;
    filter: none;
    transform: none;
    transition: none;
  }

  .outil-creatif-libelle,
  .outil-constellation-noeud {
    opacity: 1;
    transition: none;
  }

  .outil-constellation-noeud {
    animation: none;
  }

  .outil-creatif-conteneur {
    animation: none;
  }
}

.titre-logo-anime {
  background-image:
    linear-gradient(
      90deg,
      #571bc4 0%,
      #a981ff 18%,
      #42e7f5 38%,
      #38cc78 52%,
      #ed3769 66%,
      #ff8c25 82%,
      #571bc4 100%
    ),
    linear-gradient(#edeff5, #edeff5);
  background-position: var(--titre-progression, 0%) 0, 0 0;
  background-size: 23% 100%, 100% 100%;
  background-repeat: no-repeat;
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav a[href="#hero"] span {
  color: #fff !important;
}

div.rounded-2xl.p-6.space-y-3.shadow-md > p:nth-child(n + 2) > span:first-child {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: transparent;
  font-size: 0;
}

div.rounded-2xl.p-6.space-y-3.shadow-md > p:nth-child(n + 2) > span:first-child::before {
  width: 18px;
  height: 18px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  content: "";
}

div.rounded-2xl.p-6.space-y-3.shadow-md > p:nth-child(2) > span:first-child::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2 9 10-6 10 6-10 6L2 9Z'/%3E%3Cpath d='M6 11.4V16c3.5 2.7 8.5 2.7 12 0v-4.6M22 9v6'/%3E%3C/svg%3E");
}

div.rounded-2xl.p-6.space-y-3.shadow-md > p:nth-child(3) > span:first-child::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='14' rx='2'/%3E%3Cpath d='M8 7V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2M3 12h18M10 12v2h4v-2'/%3E%3C/svg%3E");
}

div.rounded-2xl.p-6.space-y-3.shadow-md > p:nth-child(4) > span:first-child::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}

div.rounded-2xl.p-6.space-y-3.shadow-md > p:nth-child(5) > span:first-child::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2Z'/%3E%3Cpath d='M8 7h8M8 11h8'/%3E%3C/svg%3E");
}

#services .text-4xl.mb-4 {
  display: block;
  width: 44px;
  height: 44px;
  color: transparent;
  font-size: 0;
  line-height: 1;
}

#services .text-4xl.mb-4::before {
  display: block;
  width: 40px;
  height: 40px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  content: "";
  animation: icone-service-flottante 3s ease-in-out infinite;
}

#services .text-4xl.mb-4:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m29 7 12 12M26 10 8 28l-3 15 15-3 18-18M8 28l12 12M24 12l12 12'/%3E%3Cpath d='m30 8 4-4a3 3 0 0 1 4 0l6 6a3 3 0 0 1 0 4l-4 4'/%3E%3C/svg%3E");
}

#services .grid > div:nth-child(2) .text-4xl.mb-4::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='27' height='26' rx='4'/%3E%3Cpath d='m31 19 12-7v24l-12-7'/%3E%3Cpath d='m15 19 9 5-9 5z'/%3E%3C/svg%3E");
  animation-delay: 0.35s;
}

#services .grid > div:nth-child(3) .text-4xl.mb-4::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 22v8h8l21 10V12L13 22H5Z'/%3E%3Cpath d='m13 30 4 11h9l-5-8M40 20l4-4M41 26h5M40 32l4 4'/%3E%3C/svg%3E");
  animation-delay: 0.7s;
}

@keyframes icone-service-flottante {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  #services .text-4xl.mb-4::before {
    animation: none;
  }
}

#portfolio article:has(img[alt="Aperçu du projet Identité Visuelle Radio UGB"]) > div:first-child {
  background: #000 !important;
}

#portfolio article:has(img[alt="Aperçu du projet Identité Visuelle Radio UGB"]) img {
  object-fit: contain !important;
  padding: 5px 0;
  animation: logo-radio-flottant 4s ease-in-out infinite;
}

@keyframes logo-radio-flottant {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  #portfolio article:has(img[alt="Aperçu du projet Identité Visuelle Radio UGB"]) img {
    animation: none;
  }
}

#portfolio article:has(video[data-apercu="semaine-pro"]) > div:first-child {
  background: #000 !important;
}

#portfolio video.apercu-video-semaine-pro {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dclic-badges-section {
  padding: 1rem 0 3rem;
}

.dclic-badges-content {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.dclic-badges-title {
  margin: 0;
  color: #edeff5;
  font-size: 1.25rem;
  font-weight: 700;
}

.dclic-badges-description {
  margin: 0.4rem 0 1rem;
  color: rgb(237 239 245 / 65%);
  font-size: 0.8rem;
}

.dclic-badges-track {
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.dclic-badges-marquee {
  display: flex;
  width: max-content;
  animation: dclic-badges-defilement 60s linear infinite;
}

.dclic-badges-track:focus-within .dclic-badges-marquee,
.dclic-badges-track.is-dragging .dclic-badges-marquee {
  animation-play-state: paused;
}

.dclic-badges-group {
  display: flex;
  flex: 0 0 auto;
}

@keyframes dclic-badges-defilement {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

.dclic-badges-track.is-dragging {
  cursor: grabbing;
}

.dclic-badges-track:focus-visible {
  border-radius: 0.5rem;
  outline: 2px solid #8ecae6;
  outline-offset: 3px;
}

.dclic-badge {
  position: relative;
  display: flex;
  flex: 0 0 5.5rem;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.5rem;
  opacity: 0.48;
  transition: opacity 180ms ease, transform 180ms ease;
}

.dclic-badge:last-child::after {
  right: -1px;
}

.dclic-badge::after {
  position: absolute;
  top: 20%;
  right: 0;
  bottom: 20%;
  width: 1px;
  background: linear-gradient(transparent, rgb(237 239 245 / 28%), transparent);
  content: "";
}

.dclic-badge img {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
  pointer-events: none;
}

.dclic-badge:hover,
.dclic-badge:focus-visible {
  opacity: 0.92;
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .dclic-badges-track {
    cursor: default;
  }

  .dclic-badges-marquee {
    animation: none;
    transform: none;
  }

  .dclic-badges-group[aria-hidden="true"] {
    display: none;
  }

  .dclic-badge {
    transition: none;
  }
}
