/* Définition des variables globales pour la carte */
:root {
  --page-bg: #FAFAFA;
  --dark-bg: #121212;
  --card-radius: 32px;
  --cutout-radius: 24px;
}

/* Responsive cotainer */
.container-95{
  width:95%;
  margin: 0 auto;
  
}

/* marquee */


 .marquee-inner {
        animation: marqueeScroll 12s linear infinite;
    }
    
    /* Respect reduced motion */
    @media (prefers-reduced-motion: reduce) {
        .marquee-inner { animation: none; }
    }

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

/* Conteneur principal */
.shape-card {
  position: relative !important;
  border-radius: var(--card-radius) !important;
  overflow: hidden !important; /* iOS peut ignorer sans !important */
}

/* Image de fond */
.shape-card-image {
  object-fit: cover !important; /* Safari parfois capricieux */
  display: block !important;
}

/* --- Bloc de découpe (en bas à droite) --- */
.cutout-bottom-right {
  position: absolute !important;
  bottom: 0 !important;
  right: 0 !important;

  border-top-left-radius: var(--cutout-radius) !important;
  border-bottom-right-radius: var(--card-radius) !important;

  padding: 15px !important;

  display: flex !important;
  align-items: center !important;
  gap: 12px !important; /* ancien Safari → OK iOS récent */
}

/* --- Génération des angles inversés --- */

.cutout-bottom-right::before,
.cutout-bottom-right::after {
  content: "" !important;
  position: absolute !important;
  width: var(--cutout-radius) !important;
  height: var(--cutout-radius) !important;
  background-color: transparent !important;
}

/* Raccord vertical (au-dessus du bloc) */
.cutout-bottom-right::before {
  bottom: 96% !important;
  right: 0 !important;
  width: 42px !important;
  top: -42px !important;
  height: 42px !important;
  border-bottom-right-radius: 32px !important;
  box-shadow: 12px 12px 0 0 var(--page-bg) !important;
}

.dark .cutout-bottom-right::before{
box-shadow: 12px 12px 0 0 var(--dark-bg) !important;
}

/* Raccord horizontal (à gauche du bloc) */
.cutout-bottom-right::after {
    bottom: 0px !important;
    top: 11px !important;
    width: 42px !important;
    right: 100% !important;
    height: 85% !important;
    border-bottom-right-radius: var(--cutout-radius) !important;
    box-shadow: 12px 12px 0 0 var(--page-bg) !important;
}

.dark .cutout-bottom-right::after{
    box-shadow: 12px 12px 0 0 var(--dark-bg) !important;
}




    /*Global btn styles*/
    .btn {
      position: relative;
      display: inline-block;
      cursor: pointer;
      outline: none;
      vertical-align: middle;
      text-decoration: none;
      background: transparent;
      font-size: 15px;
      border: none;
    }


    /*Container styles*/
    .container {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 15px;
    }

    /*Main button styles*/
    .btn {
      position: relative;
      height: fit-content;
      display: flex;
      justify-content: left;
      align-items: center;
      width: 140px;
      height: 40px;
      text-align: center;
      text-transform: uppercase;
      text-indent: 50px;
      transition: 300ms;
      font-weight: 500;
    }

    .btn::before {
      content: "";
      transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
      position: absolute;
      left: 0;
      display: block;
      width: 40px;
      height: 40px;
      border-radius: 20px;
      background-color: #a8ff3e !important;
      z-index: -1;
    }

    .btn::after {
      content: "";
      position: absolute;
      top: 50%;
      left: 17px;
      transform: translate(-50%, -50%) rotate(45deg);
      width: 12px;
      height: 12px;
      border-top: 2px solid #fff;
      border-right: 2px solid #fff;
      transition: 400ms;
    }

    .btn:hover {
      text-indent: 15px;
      font-weight: 600;
    }

    .btn:active {
      scale: 0.95;
    }

    .btn:hover::before {
      width: 100%;
    }

    .btn:hover::after {
      left: calc(100% - 25px);
      border-top: 2px solid var(--dark-bg);
      border-right: 2px solid var(--dark-bg);
    }