.avatar-card-wrapper {
  width: 400px;
  max-width: 100%;
}
.f18{font-size:20px;}
.card {
    --darker: #111111;
    --lightgray: #e8e8e8;
    --unit: 10px;
    width: 360px;
    height: 480px;
    background-color: var(--darker);
    box-shadow: 0 0 var(--unit) #efeeee9c;
    border: calc(var(--unit) / 3) solid #f6f3f3d6;
    border-radius: var(--unit);
    position: relative;
    padding: var(--unit);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Outfit', sans-serif;
}

.card::before {
  content: "";
  position: absolute;
  width: 120%;
  height: 35%;
  top: 20%;
  left: -10%;
  background: linear-gradient(144deg, #af40ff, #5b42f3 50%, #00ddeb);
  animation: keyframes-floating-light 10s infinite ease-in-out;
  filter: blur(25px);
}

@keyframes keyframes-floating-light {
  0% { transform: rotate(-5deg) translateY(-5%); opacity: .45; }
  50% { transform: rotate(5deg) translateY(5%); opacity: .9; }
  100% { transform: rotate(-5deg) translateY(-5%); opacity: .45; }
}

.card .heading {
  position: relative;
  z-index: 2;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  color: var(--lightgray);
  margin-bottom: 8px;
}

/*.card .image {
  position: relative;
  z-index: 2;
  width: 200px;
  margin: 0 auto;
  display: block;
  animation: keyframes-floating-img 10s ease-in-out infinite;
}*/

@keyframes keyframes-floating-img {
  0% { transform: translate(-2%, 2%) scaleY(.95) rotate(-5deg); }
  50% { transform: translate(2%, -2%) scaleY(1) rotate(5deg); }
  100% { transform: translate(-2%, 2%) scaleY(.95) rotate(-5deg); }
}

.card .icons {
  position: relative;
  z-index: 3;
  width: 100%;
  min-height: 185px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-button {
  --size: 95px;
  position: relative;
  width: var(--size);
  height: var(--size);
  top: -20px;
}

.around,
.handle,
.button-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.around {
  width: 100%;
  height: 100%;
  background-image: linear-gradient(0deg, #f5f8fa, #9da4a8);
}

.handle {
  width: 77.5%;
  height: 77.5%;
  background: #c5d1da;
  box-shadow:
    0 0 10px rgba(0,0,0,.5),
    0 10px 10px rgba(0,0,0,.2),
    inset 0 0 16px rgba(0,0,0,.85),
    inset 0 0 24px rgba(0,0,0,.75),
    inset 0 0 48px rgba(0,0,0,.2);
  perspective: 300px;
}

.button-wrapper {
  width: 66%;
  height: 66%;
  background-image: linear-gradient(0deg, #86969c, #eff1f1);
  box-shadow:
    0 9px 14px rgba(0,0,0,.5),
    0 19px 8px -2px rgba(0,0,0,.2),
    0 33px 8px rgba(0,0,0,.4),
    0 -12px 10px rgba(255,255,255,.5),
    inset 0 3px 3px rgba(255,255,255,.6),
    inset 0 -3px 3px rgba(89,91,92,.6);
  transition: .25s ease-out;
}

.inside {
  position: relative;
  width: 83%;
  height: 83%;
  border-radius: 50%;
  background-image: linear-gradient(180deg, #adb9bf, #d4dbdd);
}

.dot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 8%;
  height: 8%;
  border-radius: 50%;
  background: #e7ecef;
}

.dot:nth-child(1) { left: 50%; top: 10%; }
.dot:nth-child(2) { left: 90%; top: 50%; }
.dot:nth-child(3) { left: 50%; top: 90%; }
.dot:nth-child(4) { left: 10%; top: 50%; }

.icon {
  position: absolute;
  width: 15%;
  fill: #b4b9bd;
  filter: drop-shadow(1px 1px 1px #f4f4f4);
  pointer-events: none;
  transition: .2s ease;
  z-index: 5;
}

.icon-top {
  top: -16%;
  left: 50%;
  transform: translateX(-50%);
}

.icon-right {
  top: 50%;
  right: -18%;
  transform: translateY(-50%);
}

.icon-bottom {
  bottom: -16%;
  left: 50%;
  transform: translateX(-50%);
}

.icon-left {
  top: 50%;
  left: -18%;
  transform: translateY(-50%);
}

.zone {
  position: absolute;
  z-index: 20;
  display: block;
  text-decoration: none !important;
  font-size: 0;
  color: transparent !important;
  cursor: default;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.zone-top {
  top: -45%;
  left: 15%;
  width: 70%;
  height: 45%;
}

.zone-right {
  top: 15%;
  right: -44%;
  width: 44%;
  height: 70%;
}

.zone-bottom {
  bottom: -45%;
  left: 15%;
  width: 70%;
  height: 45%;
}

.zone-left {
  top: 15%;
  left: -44%;
  width: 44%;
  height: 70%;
}

.tooltip {
  position: absolute;
  z-index: 30;
  background: #fe840f;
  color: #fff;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease;
  pointer-events: none;
  box-shadow: 0 3px 10px rgba(0,0,0,.25);
  text-decoration: none !important;
  cursor: pointer;
}

.zone:hover .tooltip,
.zone:focus .tooltip,
.zone:focus-visible .tooltip,
.zone:active .tooltip,
.zone:focus-within .tooltip,
.zone:active .tooltip,
.zone.tooltip-open .tooltip  {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  color: #000;
}

.zone-top .tooltip {
  top: -20px;
  left: 50%;
  width: 90px;
  transform: translateX(-50%);
}

.zone-right .tooltip {
  left: 20px;
  top: 50%;
  width: 105px;
  transform: translateY(-50%);
  text-align: center;
}

.zone-bottom .tooltip {
  bottom: -15px;
  left: 50%;
  width: 90px;
  transform: translateX(-50%);
  text-align: center;
}

.zone-left .tooltip {
  right: 20px;
  top: 50%;
  width: 85px;
  transform: translateY(-50%);
  text-align: center;
}

.nav-button:has(.zone-top:hover) .button-wrapper,
.nav-button:has(.zone-top:focus) .button-wrapper,
.nav-button:has(.zone-top:active) .button-wrapper {
  transform: translateY(-5px) rotateX(8deg);
}

.nav-button:has(.zone-right:hover) .button-wrapper,
.nav-button:has(.zone-right:focus) .button-wrapper,
.nav-button:has(.zone-right:active) .button-wrapper {
  transform: translateX(5px) rotateY(8deg);
}

.nav-button:has(.zone-bottom:hover) .button-wrapper,
.nav-button:has(.zone-bottom:focus) .button-wrapper,
.nav-button:has(.zone-bottom:active) .button-wrapper {
  transform: translateY(5px) rotateX(-8deg);
}

.nav-button:has(.zone-left:hover) .button-wrapper,
.nav-button:has(.zone-left:focus) .button-wrapper,
.nav-button:has(.zone-left:active) .button-wrapper {
  transform: translateX(-5px) rotateY(-8deg);
}

.nav-button:has(.zone-top:hover) .icon-top,
.nav-button:has(.zone-top:focus) .icon-top,
.nav-button:has(.zone-top:active) .icon-top,
.nav-button:has(.zone-right:hover) .icon-right,
.nav-button:has(.zone-right:focus) .icon-right,
.nav-button:has(.zone-right:active) .icon-right,
.nav-button:has(.zone-bottom:hover) .icon-bottom,
.nav-button:has(.zone-bottom:focus) .icon-bottom,
.nav-button:has(.zone-bottom:active) .icon-bottom,
.nav-button:has(.zone-left:hover) .icon-left,
.nav-button:has(.zone-left:focus) .icon-left,
.nav-button:has(.zone-left:active) .icon-left {
  fill: #e3a560;
  filter:
    brightness(.9)
    drop-shadow(0 0 2px #e3a15b)
    drop-shadow(0 0 1px #fff);
}

@media (max-width: 480px) {
  .avatar-card-wrapper {
    width: 100%;
    max-width: 340px;
  }

  .card {
    width: 380px;
    height: 420px;
  }

  .card .heading {
    font-size: 12px;
    line-height: 1.25;
  }

  .card .image {
    width: 170px;
  }

  .card .icons {
    min-height: 155px;
  }

  .nav-button {
    --size: 82px;
    top: -15px;
  }

  .tooltip {
    font-size: 9px;
    padding: 6px 8px;
  }

  .zone-top .tooltip,
  .zone-bottom .tooltip {
    width: 80px;
  }

  .zone-left .tooltip,
  .zone-right .tooltip {
    width: 70px;
  }
}

.zirco-image-wrap {
  position: relative;
  z-index: 2;
  width: 280px;
  height: 230px;
  margin-top: -10px;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.zirco-image-wrap .image {
  position: relative;
  z-index: 3;
  width: 190px;
  display: block;
  animation: keyframes-floating-img 5s ease-in-out infinite;
}

.abrasifs-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;

  width: 250px;
  max-width: none;

  pointer-events: none;
  transform-origin: center center;

  animation: abrasifs-floating-zoom 12s ease-in-out infinite;
}

@keyframes abrasifs-floating-zoom {
  0% {
    transform:
      translate(-50%, -50%)
      scale(0.92)
      rotate(-2deg);
    opacity: .75;
  }

  50% {
    transform:
      translate(-50%, -50%)
      scale(1.08)
      rotate(2deg);
    opacity: 1;
  }

  100% {
    transform:
      translate(-50%, -50%)
      scale(0.92)
      rotate(-2deg);
    opacity: .75;
  }
}
.zirco-zoom {
  position: relative;
  z-index: 3;
  animation: zirco-zoom 12s ease-in-out infinite;
}
@keyframes zirco-zoom {

  0% {
    transform: scale(0.92);
  }

  50% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(0.92);
  }

}

/* Overlay plein écran */
#zirco-popup{
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;

    background: rgb(0 0 0 / 88%);

    z-index: 2147483647 !important;

    display: none !important;
    overflow: hidden !important;

    padding: 20px !important;
    margin: 0 !important;
}

/* Affichage */
#zirco-popup.visible{
    display: flex !important;
}

/* Neutralise les contraintes Elementor/TheGem */
#zirco-popup.e-con,
#zirco-popup.e-con-boxed{
    width: 100vw !important;
    max-width: none !important;
}

/* Centre le contenu */
#zirco-popup > .e-con-inner{
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    padding: 0 !important;
    margin: 0 !important;
}

/* Conteneur du shortcode */
#zirco-popup .elementor-widget-shortcode{
    width: auto !important;
    max-width: none !important;
}

/* Carte */
#zirco-popup .avatar-card-wrapper,
#zirco-popup .card{
    margin: 0 !important;
}

/* Bouton fermeture */
#close-zirco-popup{
    position: fixed;
    top: 25px;
    right: 25px;

    width: 40px;
    height: 40px;

    border: 0;
    border-radius: 50%;

    background: #fff;
    color: #000;

    font-size: 28px;
    line-height: 40px;
    text-align: center;

    cursor: pointer;

    z-index: 2147483647;
}

/* Bloque le scroll derrière la popup */
body.zirco-popup-open{
    overflow: hidden !important;
}
.tooltip,
.tooltip:visited {
    background: linear-gradient(
        180deg,
        #ffb84d 0%,
        #ff8a00 45%,
        #ff6a00 55%,
        #e65c00 100%
    );

    color: #fff;
    border: 1px solid rgba(255,255,255,.15);

    box-shadow:
        0 6px 16px rgba(255,106,0,.4),
        inset 0 1px 0 rgba(255,255,255,.3);
}