/* ══════════════════════════════════════════════════════════════
   QUATRE — BUTTONS COMPONENT
   ═════════════════════════════════════════════════════════════ */

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 28px;
  background: #ffffff;
  color: #000000;
  font-weight: 400;
  border: 1px solid transparent;
  transition: transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.24s ease;
  cursor: pointer;
}

.pill-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.pill-btn--dark {
  background: #0a0a0a;
  color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.pill-btn--dark:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.pill-btn--white {
  border: none;
  background: #ffffff;
  color: #000000;
  padding: 16px 24px;
  font-size: var(--text-base-size);
  line-height: var(--text-base-lh);
}

.pill-btn--white:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.pill-btn--outline-dark {
  border: 1px solid #595959;
  background: transparent;
  color: #000000;
  padding: 16px 24px;
  font-size: var(--text-base-size);
  line-height: var(--text-base-lh);
}

.pill-btn--outline-dark:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.pill-btn--outline-light {
  border: 1px solid #b5b5b5;
  background: transparent;
  color: #ffffff;
  padding: 16px 24px;
  font-size: var(--text-base-size);
  line-height: var(--text-base-lh);
}

.pill-btn--outline-light:hover {
  transform: scale(1.04);
}

.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: none;
  color: #ffffff;
  font-size: var(--text-sm-size);
  line-height: var(--text-sm-lh);
  transition: background 0.22s ease, transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.cta-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.05);
}

.cs-b2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border: 1px solid #595959;
  border-radius: 9999px;
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
  background: transparent;
  color: #000000;
  cursor: pointer;
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cs-b2-btn:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.card-arrow {
  margin-top: auto;
  align-self: flex-end;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid #000000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #000000;
  position: relative;
  outline: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-arrow:hover {
  transform: scale(1.12);
}

/* Ring visible uniquement en navigation clavier */
.card-arrow::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 1.5px solid rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.card-arrow:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}
