/* Box-sizing global pour la card */
.vod-cta-card,
.vod-cta-card * {
  box-sizing: border-box;
}

/* Version large (≥1500px) - style complet */
@media (min-width: 1500px) {
  .vod-cta-card {
    position: fixed;
    top: 150px;
    right: 20px;
    width: 280px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    z-index: 90;
    animation: slideInRight 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .vod-cta-card__badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #ff8c00;
    margin-bottom: 12px;
    padding: 4px 8px;
    border: 1px solid #ffe4cc;
    border-radius: 4px;
    background: #fff8f3;
  }

  .vod-cta-card__title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    line-height: 1.3;
  }

  .vod-cta-card__subtitle {
    font-size: 13px;
    color: #666666;
    margin: 0 0 20px 0;
    line-height: 1.5;
  }

  .vod-cta-card__button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: linear-gradient(135deg, #ff8c00 0%, #ff6b35 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 2px;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(255, 139, 0, 0.2);
  }

  .vod-cta-card__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 139, 0, 0.3);
  }

  .vod-cta-card__button-arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
  }

  .vod-cta-card__button:hover .vod-cta-card__button-arrow {
    transform: translateX(4px);
  }

  .vod-cta-card__button-text {
    color: #ffffff !important;
  }
}

/* Version compacte (<1500px) */
@media (max-width: 1499px) {
  .vod-cta-card {
    position: fixed;
    top: 103px;
    right: 20px;
    width: 255px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 17px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    z-index: 90;
    animation: slideInRight 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .vod-cta-card__badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #ff8c00;
    margin-bottom: 10px;
    padding: 4px 8px;
    border: 1px solid #ffe4cc;
    border-radius: 4px;
    background: #fff8f3;
  }

  .vod-cta-card__title {
    display: none;
  }

  .vod-cta-card__subtitle {
    font-size: 12px;
    color: #666666;
    margin: 0 0 12px 0;
    line-height: 1.4;
  }

  .vod-cta-card__button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: linear-gradient(135deg, #ff8c00 0%, #ff6b35 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 2px;
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(255, 139, 0, 0.2);
    white-space: nowrap;
  }

  .vod-cta-card__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 139, 0, 0.3);
  }

  .vod-cta-card__button-arrow {
    margin-left: 6px;
    transition: transform 0.3s ease;
  }

  .vod-cta-card__button:hover .vod-cta-card__button-arrow {
    transform: translateX(4px);
  }

  .vod-cta-card__button-text {
    color: #ffffff !important;
  }
}

/* Version mobile (<768px) */
@media (max-width: 767px) {
  .vod-cta-card {
    position: fixed;
    bottom: 20px;
    left: 50%;
    top: auto;
    right: auto;
    width: auto;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 17px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    z-index: 90;
    animation: slideInUpCenter 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .vod-cta-card__badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #ff8c00;
    margin-bottom: 10px;
    padding: 4px 8px;
    border: 1px solid #ffe4cc;
    border-radius: 4px;
    background: #fff8f3;
  }

  .vod-cta-card__title {
    display: none;
  }

  .vod-cta-card__subtitle {
    display: none;
  }

  .vod-cta-card__button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: linear-gradient(135deg, #ff8c00 0%, #ff6b35 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 2px;
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(255, 139, 0, 0.2);
    white-space: nowrap;
  }

  .vod-cta-card__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 139, 0, 0.3);
  }

  .vod-cta-card__button-arrow {
    margin-left: 6px;
    transition: transform 0.3s ease;
  }

  .vod-cta-card__button:hover .vod-cta-card__button-arrow {
    transform: translateX(4px);
  }

  .vod-cta-card__button-text {
    color: #ffffff !important;
  }
}

/* Bouton fermer - toutes résolutions */
.vod-cta-card__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    background: transparent;
    border: none;
    font-size: 14px;
    color: #cccccc;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    z-index: 91;
    opacity: 0.6;
}

.vod-cta-card__close:hover {
    color: #666666;
    opacity: 1;
}

/* Animations */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUpCenter {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
