/* Styles de la page d'accueil */

/* Boutons de la section hero */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn-hero-custom {
  background-color: var(--card);
  border: 1px solid var(--border);
  color: var(--foreground) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: var(--border-radius);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-hero-custom:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 204, 255, 0.25);
  background-color: var(--secondary);
  opacity: 1;
}

.icon-pink-fill {
  color: #ffccff !important;
  stroke: #ffccff !important;
}

.icon-blurple-fill {
  color: #5865f2 !important;
  fill: #5865f2 !important;
}

.btn-ghost-link {
  color: var(--muted-foreground) !important;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.btn-ghost-link:hover {
  color: var(--foreground) !important;
  opacity: 1;
}

/* ==========================================================
   Barre de navigation : Transparence en haut de page
   ========================================================== */
.navbar:not(.scrolled) {
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* ==========================================================
   Hero : Fond sans limite & transitions d'ambiance
   ========================================================== */
.hero-section {
  position: relative;
  text-align: center;
  padding: 84px 20px 48px 20px !important;
  margin-bottom: 40px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.hero-backdrop {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  min-width: 100vw;
  height: calc(100% + 220px);
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: radial-gradient(ellipse 90% 70% at 50% 25%, rgba(255, 204, 255, 0.16) 0%, rgba(139, 92, 246, 0.18) 45%, transparent 80%);
}

.hero-shape {
  position: absolute;
  pointer-events: none;
}

.hero-shape-1 {
  width: 680px;
  height: 540px;
  top: 0%;
  left: 10%;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  transform: translate(-30px, 0) scale(1.15);
  background: radial-gradient(circle, rgba(255, 204, 255, 0.24) 0%, rgba(21, 5, 64, 0.5) 70%, transparent 100%);
  filter: blur(80px);
  opacity: 1;
}

.hero-shape-2 {
  width: 700px;
  height: 560px;
  top: 2%;
  right: 10%;
  border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
  transform: translate(30px, 0) scale(1.15);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.26) 0%, rgba(21, 5, 64, 0.55) 75%, transparent 100%);
  filter: blur(85px);
  opacity: 0.95;
}

.hero-shape-3 {
  width: 720px;
  height: 400px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50% 50% 40% 60% / 40% 50% 50% 60%;
  background: radial-gradient(ellipse, rgba(244, 114, 182, 0.18) 0%, rgba(21, 5, 64, 0.35) 65%, transparent 100%);
  filter: blur(70px);
  opacity: 0.9;
}

.hero-fade-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, transparent 20%, var(--background) 90%);
  pointer-events: none;
}

.hero-section {
  padding-bottom: 52px;
}

@media (max-width: 580px) {
  .hero-section {
    padding: 36px 14px !important;
  }

  .hero-section h1 {
    font-size: 1.55rem !important;
    line-height: 1.25 !important;
    word-break: normal !important;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .btn-hero-custom {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    padding: 11px 16px;
    font-size: 0.9rem;
  }
}

/* Section fonctionnalités */
.showcase-section {
  margin: 40px 0 40px 0;
}

.section-heading-centered {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px auto;
}

.section-heading-centered h2 {
  font-size: 2rem;
  border-bottom: none;
  margin: 0 auto 12px auto;
  letter-spacing: 0.02em;
  color: var(--brand-pink, #ffccff);
  text-shadow: 0 0 18px rgba(255, 204, 255, 0.18);
}

/* Variante : titre blanc, seul le mot surligné reste rose */
.section-heading-centered.heading-white h2 {
  color: var(--foreground);
  text-shadow: none;
}

.section-heading-centered.heading-white h2 .highlight-pink {
  color: var(--brand-pink, #ffccff);
}

.section-heading-centered p {
  color: #f3d9f7;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  margin: 0;
}

.section-heading-centered + .section-heading-centered {
  margin-top: 64px;
}

.highlight-pink {
  color: var(--brand-pink, #ffccff);
}

.showcase-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  overflow: visible;
  min-width: 0;
  max-width: 100%;
}

.showcase-row.row-reverse {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.showcase-row.row-reverse .showcase-text-col {
  order: 2;
}

.showcase-row.row-reverse .showcase-visual-col {
  order: 1;
}

@media (max-width: 960px) {

  .showcase-row,
  .showcase-row.row-reverse {
    grid-template-columns: minmax(0, 1fr);
    padding: 0;
    gap: 24px;
    margin-bottom: 48px;
  }

  .showcase-row.row-reverse .showcase-text-col {
    order: 1;
  }

  .showcase-row.row-reverse .showcase-visual-col {
    order: 2;
  }
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 1.65rem;
    line-height: 1.25;
    word-break: break-word;
  }

  .showcase-row,
  .showcase-row.row-reverse {
    padding: 0;
    gap: 20px;
    margin-bottom: 42px;
    overflow: visible;
  }

  .showcase-title {
    font-size: 1.35rem;
    padding-bottom: 10px;
    margin-bottom: 14px;
  }

  .showcase-description {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .showcase-visual-col {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
    display: flex;
    justify-content: center;
  }
}

/* Titres et descriptions des fonctionnalités */
.showcase-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 16px 0;
  line-height: 1.35;
  letter-spacing: -0.015em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  display: block;
  text-align: center;
}

.showcase-description {
  color: var(--text-description, #dcdee2);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

.showcase-description code {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
}

.showcase-visual-col {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-width: 0;
}

/* Aperçus de l'interface Discord */
.discord-mockup-scaler {
  width: 460px;
  max-width: 100%;
  position: relative;
  overflow: visible;
  margin: 0 auto;
  display: block;
}

.discord-chat-card {
  background: #313338;
  border-radius: 8px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #dbdee1;
  width: 460px;
  max-width: 100%;
  height: auto;
  min-height: 165px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  transform-origin: center center;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.42s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
  will-change: transform;
}

.discord-chat-card.card-automod {
  position: relative;
}

.discord-chat-card.card-automod::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2.5px;
  border-radius: 2px;
  background: #f23f43;
}

@media (max-width: 540px) {
  .discord-mockup-scaler {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    overflow: visible;
  }

  .discord-chat-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 14px !important;
    min-height: auto !important;
  }

  .discord-rank-container {
    padding: 10px 12px !important;
    gap: 10px !important;
  }

  .rank-avatar {
    width: 44px !important;
    height: 44px !important;
    font-size: 22px !important;
  }

  .rank-username {
    font-size: 1.1rem !important;
  }

  .rank-level-label {
    font-size: 0.95rem !important;
  }
}

/* Message utilisateur */
.discord-cmd-invoker {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 6px;
  font-size: 0.8rem;
  color: #949ba4;
}

.discord-tree-svg {
  flex-shrink: 0;
  margin-right: 2px;
}

.discord-invoker-avatar {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f97316;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}

.discord-invoker-name {
  font-weight: 500;
  color: #ffffff;
}

.discord-invoker-tag {
  font-size: 0.72rem;
  color: #dbdee1;
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  line-height: 1.2;
}

.discord-invoker-verb {
  color: #949ba4;
}

.discord-slash-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #5865f2;
  font-weight: 500;
  background: rgba(88, 101, 242, 0.18);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.78rem;
}

/* Réponse du bot */
.discord-bot-message {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.discord-bot-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  background: #150540;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.discord-bot-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discord-bot-content {
  flex: 1;
  min-width: 0;
}

.discord-author-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.discord-author-name {
  font-weight: 500;
  color: #ffffff;
  font-size: 0.95rem;
}

.discord-app-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #5865f2;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 500;
  padding: 1px 4px;
  border-radius: 3px;
}

.discord-time {
  font-size: 0.75rem;
  color: #949ba4;
}

/* Carte de niveau */
.discord-rank-container {
  background: #2b2d31;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
  width: 100%;
  box-sizing: border-box;
}

.rank-avatar-wrapper {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  overflow: hidden;
  background: #f97316;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.rank-stats-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.rank-row-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
}

.rank-username {
  font-size: 1.28rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.rank-level-label {
  font-size: 1.05rem;
  font-weight: 400;
  color: #f2f3f5;
  white-space: nowrap;
}

.rank-pink-highlight {
  color: var(--brand-pink, #ffccff);
  font-weight: 500;
}

.rank-row-sub {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: -1px;
  gap: 6px;
  min-width: 0;
}

.rank-xp-count,
.rank-position {
  font-size: 0.88rem;
  color: #949ba4;
  font-weight: 500;
  white-space: nowrap;
}

.rank-bar-track {
  width: 100%;
  height: 12px;
  background: #111214;
  border-radius: 9999px;
  margin-top: 6px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.4);
}

.rank-bar-fill {
  width: 0%;
  height: 100%;
  background: #250860;
  border-radius: 9999px;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Carte automod */
.discord-automod-block {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.discord-user-avatar-pink {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eb459e;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.discord-user-avatar-pink svg {
  width: 16px;
  height: 16px;
}

.discord-automod-body {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.discord-automod-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}

.discord-automod-user {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.85rem;
}

.discord-mentions-group {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 5px;
  width: 100%;
}

.discord-mention {
  background: rgba(88, 101, 242, 0.3);
  color: #c9cdfb;
  font-weight: 500;
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 0.74rem;
  white-space: nowrap;
}

.automod-blocked-alert {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  color: #b5bac1;
  font-size: 0.68rem;
  line-height: 1.35;
  margin-top: 4px;
  margin-bottom: 3px;
  width: 100%;
  box-sizing: border-box;
}

.automod-alert-shield {
  margin-top: 1px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.automod-alert-shield svg {
  width: 12px;
  height: 12px;
}

.automod-alert-text {
  flex: 1;
  min-width: 0;
}

.automod-alert-text p {
  margin: 0;
  line-height: 1.35;
  color: #b5bac1;
  white-space: normal;
  word-break: normal;
}

.automod-quote-text {
  color: #b5bac1;
  margin-top: 2px !important;
  font-weight: 500;
  white-space: normal;
}

.automod-ephemeral-note {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  font-size: 0.60rem;
  color: #80848e;
  margin-top: 4px;
  line-height: 1.35;
  white-space: normal;
  flex-wrap: wrap;
  width: 100%;
}

.automod-ephemeral-note svg {
  width: 11px;
  height: 11px;
  margin-top: 1px;
  flex-shrink: 0;
}

.ephemeral-link {
  color: #00a8fc;
  text-decoration: none;
  cursor: default;
  pointer-events: none;
  user-select: none;
}

.ephemeral-link:hover {
  text-decoration: underline;
}

/* Carte économie */
.discord-embed-box {
  background: #2b2d31;
  border-left: 4px solid #5865f2;
  border-radius: 4px;
  padding: 12px 16px;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

.embed-author-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.embed-mini-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f97316;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.embed-title-text {
  font-weight: 500;
  color: #ffffff;
  font-size: 0.95rem;
}

.embed-body-text {
  color: #dbdee1;
  font-size: 0.92rem;
}

/* Boutons et éléments des aperçus Discord */
.discord-actions-wrapper {
  margin-top: 10px;
}

.discord-blurple-btn {
  background: #5865f2;
  color: #ffffff;
  font-weight: 500;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: 4px;
  border: none;
  cursor: default;
  transition: background 0.2s ease;
}

.discord-blurple-btn:hover {
  background: #4752c4;
}

.discord-btn-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.discord-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 500;
  user-select: none;
  border: none;
}

.discord-icon-btn.is-blurple {
  background: #5865f2;
  color: #ffffff;
}

.discord-icon-btn.is-secondary {
  background: #4e5058;
  color: #dbdee1;
}

.discord-icon-btn.is-danger {
  background: #da373c;
  color: #ffffff;
}

.discord-icon-btn.is-disabled {
  opacity: 0.45;
  filter: grayscale(40%);
  cursor: not-allowed;
}

.embed-stats {
  font-size: 0.88rem;
  line-height: 1.45;
  color: #dbdee1;
}

.embed-field {
  margin-top: 10px;
  padding-top: 0;
  border-top: none;
}

.embed-field-name {
  font-size: 0.83rem;
  color: #f2f3f5;
  display: flex;
  align-items: center;
  gap: 6px;
}

.embed-field-value {
  font-size: 0.8rem;
  color: #ffffff;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.embed-reason-text {
  color: #ffffff !important;
}

.embed-sep {
  color: rgba(255, 255, 255, 0.2);
  font-weight: 300;
}

.discord-code {
  background: #1e1f22;
  padding: 1px 4px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 0.74rem;
  color: #dbdee1;
}

.embed-footer-text {
  font-size: 0.72rem;
  color: #949ba4;
  margin-top: 8px;
}

.snipe-item {
  margin-bottom: 11px;
}

.snipe-item:last-of-type {
  margin-bottom: 6px;
}

.snipe-content {
  font-size: 0.88rem;
  color: #ffffff;
  font-weight: 400;
  line-height: 1.35;
}

.snipe-content strong {
  font-weight: 700;
  color: #ffffff;
}

.snipe-subtext {
  font-size: 0.74rem;
  color: #949ba4;
  margin-top: 2px;
  line-height: 1.35;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.discord-channel-pill {
  background: rgba(88, 101, 242, 0.28);
  color: #c9cdfb;
  font-weight: 500;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.74rem;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  line-height: 1.25;
}

.discord-channel-pill .discord-hash {
  font-weight: 700;
  opacity: 0.8;
}

.avatar-pink {
  background: #eb459e !important;
}

.avatar-server {
  background: #5865f2 !important;
}

/* ==========================================================
   Section Complet : Carrousel compact des fonctionnalités
   ========================================================== */
.complete-section {
  margin-top: 40px;
}

.complete-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.complete-carousel .anim-sub-card {
  animation: none !important;
}

.complete-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 2px 24px 2px;
  cursor: grab;
}

.complete-grid.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
  user-select: none;
}

.complete-grid.is-teleporting .complete-item {
  transition: none !important;
}

.complete-grid::-webkit-scrollbar {
  display: none;
}

.complete-item {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  box-sizing: border-box;
  scroll-snap-align: center;
  opacity: 0.42;
  transform: scale(0.94);
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-left: 2px solid rgba(255, 204, 255, 0.14);
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.35s ease;
}

.complete-item.is-active {
  opacity: 1;
  transform: scale(1);
  background: rgba(255, 255, 255, 0.038);
  border-color: rgba(255, 255, 255, 0.13);
  border-left-color: var(--brand-pink, #ffccff);
  box-shadow: 0 14px 32px -12px rgba(0, 0, 0, 0.42);
  cursor: default;
}

@media (hover: hover) and (pointer: fine) {
  .complete-item:not(.is-active):hover {
    opacity: 0.72;
    border-color: rgba(255, 255, 255, 0.09);
    border-left-color: rgba(255, 204, 255, 0.48);
  }
}

.complete-item .feature-header {
  margin-bottom: 8px;
}

.complete-item .feature-desc {
  margin-bottom: 14px;
}

.complete-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}

.carousel-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--foreground);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.carousel-nav-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 204, 255, 0.35);
}

.carousel-nav-btn:disabled {
  opacity: 0.32;
  cursor: not-allowed;
}

.complete-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease;
}

.carousel-dot.is-active {
  width: 24px;
  background: var(--brand-pink, #ffccff);
}

@media (max-width: 960px) {
  .complete-grid {
    gap: 16px;
  }

  .complete-item {
    flex: 0 0 62%;
  }
}

@media (max-width: 640px) {
  .complete-grid {
    gap: 14px;
    cursor: default;
  }

  .complete-item {
    flex: 0 0 84%;
    padding: 18px 18px;
  }
}

/* ==========================================================
   Section Nity+ ("Plus c'est pas assez ?") : Sans boîte fermée
   ========================================================== */
.premium-section {
  margin-top: 64px;
  margin-bottom: 80px;
  background: transparent !important;
  border: none !important;
}

.premium-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 48px;
}

@media (max-width: 900px) {
  .premium-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: center;
  }

  .premium-intro {
    max-width: 440px;
    margin: 0 auto;
    align-items: center;
    text-align: center;
  }

  .premium-actions {
    max-width: 380px;
    margin: 4px auto 0 auto;
  }
}

.premium-intro {
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 16px;
  max-width: 270px;
}

.premium-intro-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 12px;
}

.premium-title {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-align: center;
  width: 100%;
}

.premium-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  width: 100%;
  gap: 8px;
  margin: 0;
  line-height: 1;
}

.premium-price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.03em;
}

.premium-price-period {
  font-size: 1rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

.premium-price-tax {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: 4px;
}

.premium-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 4px;
}

.btn-premium,
.btn-premium-secondary {
  width: 100%;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  font-size: 0.92rem;
  border-radius: 8px;
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
  font-family: inherit;
}

.btn-premium {
  background: #ffffff;
  color: #121318 !important;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.btn-premium:hover {
  background: #f2f3f5;
  transform: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.btn-premium-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--foreground) !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-premium-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 204, 255, 0.35);
  opacity: 1;
}

.premium-perks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 36px;
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .premium-perks-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: transparent;
  border: none;
  padding: 0;
}

.perk-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 204, 255, 0.08);
  border: 1px solid rgba(255, 204, 255, 0.14);
  color: var(--brand-pink);
  flex-shrink: 0;
  margin-top: 1px;
  transition: all 0.2s ease;
}

.perk-item:hover .perk-icon {
  background: rgba(255, 204, 255, 0.14);
  border-color: rgba(255, 204, 255, 0.28);
  box-shadow: 0 0 12px rgba(255, 204, 255, 0.15);
}

.perk-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.perk-content h4 {
  font-size: 0.98rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 4px 0;
  letter-spacing: -0.01em;
}

.perk-content p {
  font-size: 0.86rem;
  color: var(--muted-foreground);
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================
   Tableau comparatif (Style Linear / Shadcn UI)
   ========================================================== */
.comparison-container {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-header {
  text-align: center;
  margin-bottom: 24px;
}

.comparison-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
  text-align: center;
}

.comparison-subtitle {
  font-size: 0.92rem;
  color: var(--muted-foreground);
  margin: 0;
  max-width: 100%;
  line-height: 1.5;
}

.comparison-table-wrapper {
  margin-top: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(22, 24, 30, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  text-align: center;
  min-width: 780px;
}

.comparison-table thead th {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.02);
  vertical-align: bottom;
}

.comparison-table .col-feature {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-table thead .col-feature {
  width: 25%;
  color: var(--muted-foreground);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  text-align: left;
  padding-left: 20px;
}

.comparison-table thead .col-plan {
  width: 12.5%;
  text-align: center;
}

.th-plan-title {
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
}

.col-nityplus .th-plan-title {
  color: var(--brand-pink) !important;
}

.comparison-table tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 600;
  color: #ffffff;
}

.comparison-table tbody td.col-feature {
  text-align: left;
  padding-left: 20px;
  font-weight: 500;
  color: #ffffff;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr {
  transition: background-color 0.15s ease;
}

.comparison-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

/* Ligne d'en-tête de catégorie sur desktop */
.comp-table-cat-row th {
  background: rgba(255, 255, 255, 0.035);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  padding: 13px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  letter-spacing: 0.02em;
}

.feature-name {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.92rem;
  margin-bottom: 3px;
  text-align: center;
}

.feature-note {
  font-size: 0.78rem;
  color: #dbdee1;
  line-height: 1.4;
  text-align: center;
}

/* Statuts textuels : Strictement 2 couleurs (blanc ou grisé) */
.cell-status {
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 3px;
  line-height: 1.35;
  text-align: center;
}

/* Disponible / Inclus : Blanc */
.cell-status.is-available {
  color: #ffffff;
}

/* Non disponible ou Payant : Grisé */
.cell-status.is-unavailable {
  color: #71767b;
}

.cell-desc {
  font-size: 0.78rem;
  line-height: 1.4;
  text-align: center;
}

.cell-desc:empty {
  display: none;
}

.cell-desc.is-available {
  color: #dbdee1;
}

.cell-desc.is-unavailable {
  color: #71767b;
}

/* Cellules sans description : centrage du texte seul */
.comparison-table tbody td.col-plan:has(.cell-desc:empty),
.comparison-table tbody td.col-plan:not(:has(.cell-desc)) {
  vertical-align: middle;
  text-align: center;
}

.comparison-table tbody td.col-plan:has(.cell-desc:empty) .cell-status,
.comparison-table tbody td.col-plan:not(:has(.cell-desc)) .cell-status {
  margin-bottom: 0;
}

/* Animations au scroll */

.anim-scroll-item {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.anim-scroll-item.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Animations internes des encadrés v2-island */
.v2-island.anim-scroll-item {
  opacity: 0;
  transform: translateY(32px) scale(0.985);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.v2-island.anim-scroll-item.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.v2-island .v2-island-text {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.12s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
}

.v2-island.is-reversed .v2-island-text {
  transform: translateX(24px);
}

.v2-island.in-view .v2-island-text {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.v2-island .v2-island-visual {
  opacity: 0;
  transform: translateY(22px) scale(0.97);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.22s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.22s;
}

.v2-island.in-view .v2-island-visual {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 820px) {
  .v2-island .v2-island-text,
  .v2-island.is-reversed .v2-island-text {
    transform: translateY(16px);
  }
  .v2-island.in-view .v2-island-text {
    transform: translateY(0);
  }
}

.anim-scroll-item .showcase-text-col {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.anim-scroll-item.row-reverse .showcase-text-col {
  transform: translateX(16px);
}

.anim-scroll-item.in-view .showcase-text-col {
  opacity: 1;
  transform: translateX(0);
}

.anim-scroll-item .anim-live-card {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.2s, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.anim-scroll-item.in-view .anim-live-card {
  opacity: 1;
  transform: translateY(0);
}

.anim-scroll-item.in-view .anim-sub-card:nth-child(1) {
  animation: cardFadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.anim-scroll-item.in-view .anim-sub-card:nth-child(2) {
  animation: cardFadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.10s both;
}

.anim-scroll-item.in-view .anim-sub-card:nth-child(3) {
  animation: cardFadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.anim-scroll-item.in-view .anim-sub-card:nth-child(4) {
  animation: cardFadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.20s both;
}

.anim-scroll-item.in-view .anim-sub-card:nth-child(5) {
  animation: cardFadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.anim-scroll-item.in-view .anim-sub-card:nth-child(6) {
  animation: cardFadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.30s both;
}

@keyframes cardFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================
   Nouvelle présentation d'accueil (Approche 1 : Îlots équilibrés sans traits 3D)
   ========================================================== */
.v2-group-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px auto;
}

.v2-group-header.v2-group-spaced {
  margin-top: 88px;
}

.v2-group-header h2 {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--foreground);
  border-bottom: none;
  margin: 0 auto 10px auto;
  letter-spacing: -0.02em;
}

.v2-group-header p {
  color: var(--muted-foreground);
  font-size: 1.02rem;
  line-height: 1.55;
  margin: 0;
}

.v2-islands-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.v2-island {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 32px 36px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: opacity 0.42s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, background-color 0.3s ease;
}

.v2-island.anim-scroll-item.in-view {
  transition: opacity 0.35s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, background-color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) and (min-width: 961px) {
  .v2-islands-stack:has(> .v2-island:hover) > .v2-island.in-view:not(:hover) {
    opacity: 0.58;
    transform: translateY(0) scale(0.992);
  }

  .v2-island:hover,
  .v2-island.anim-scroll-item.in-view:hover {
    transform: translateY(0) scale(1);
    background: rgba(255, 255, 255, 0.032);
    border-color: rgba(255, 255, 255, 0.13);
  }

  .v2-island:hover .discord-chat-card {
    transform: scale(1.045);
    border-color: rgba(255, 204, 255, 0.22);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.48);
  }

  .v2-island.in-view:hover .v2-island-text {
    transform: translateX(4px);
  }

  .v2-island.is-reversed.in-view:hover .v2-island-text {
    transform: translateX(-4px);
  }
}

.v2-section-cta {
  display: flex;
  justify-content: center;
  margin: 40px auto 0 auto;
}

.v2-section-cta + .v2-group-header.v2-group-spaced {
  margin-top: 56px;
}

.v2-section-cta--end {
  margin-top: 42px;
}

@media (max-width: 580px) {
  .v2-section-cta .btn-hero-custom {
    width: auto;
    min-width: 220px;
  }
}

.v2-island.is-reversed {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
}

.v2-island.is-reversed .v2-island-text {
  order: 2;
}

.v2-island.is-reversed .v2-island-visual {
  order: 1;
}

.v2-island-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.v2-island-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.015em;
  line-height: 1.3;
  border-bottom: none;
  padding-bottom: 0;
  text-align: left;
}

.v2-island-desc {
  color: #dcdee2;
  font-size: 0.96rem;
  line-height: 1.6;
  margin: 0;
}

.v2-island-desc code {
  background: rgba(88, 101, 242, 0.18);
  color: #dee0fc;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.88em;
}

.v2-island-points {
  list-style: none;
  padding: 0;
  margin: 2px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.v2-island-points li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  color: #c9ccd1;
  line-height: 1.45;
}

.v2-island-points li::before {
  content: "-";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-pink, #ffccff);
  font-weight: 700;
}

.v2-island-cmds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.v2-cmd-tag {
  display: inline-flex;
  align-items: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: #e4e6eb;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 4px 10px;
  border-radius: 6px;
}

.v2-island-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

@media (max-width: 960px) {
  .v2-island,
  .v2-island.is-reversed {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 24px;
  }

  .v2-island.is-reversed .v2-island-text {
    order: 1;
  }

  .v2-island.is-reversed .v2-island-visual {
    order: 2;
  }
}

/* ==========================================================
   Encart Teaser Nity+ sur la page d'accueil
   ========================================================== */
.nity-plus-callout {
  margin: 72px 0 64px 0;
}

.callout-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 40px 44px;
  border-radius: 20px;
  background: radial-gradient(ellipse 75% 85% at 20% 50%, rgba(255, 204, 255, 0.12) 0%, rgba(139, 92, 246, 0.08) 42%, transparent 78%);
  border: none;
  box-shadow: none;
}

.callout-text {
  max-width: 600px;
}

.callout-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  border-bottom: none;
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
}

.callout-desc {
  color: #dcdee2;
  font-size: 0.96rem;
  line-height: 1.6;
  margin: 0;
}

.callout-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 250px;
  flex-shrink: 0;
}

.callout-actions .btn-premium:hover {
  transform: none !important;
  border-color: var(--brand-pink, #ffccff);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  opacity: 1;
}

.callout-actions .btn-premium-secondary:hover {
  transform: none !important;
  border-color: rgba(255, 204, 255, 0.35);
  opacity: 1;
}

@media (max-width: 820px) {
  .callout-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 32px 20px;
    gap: 24px;
    background: radial-gradient(ellipse 95% 85% at 50% 30%, rgba(255, 204, 255, 0.12) 0%, rgba(139, 92, 246, 0.08) 45%, transparent 80%);
    border: none;
    box-shadow: none;
  }

  .callout-text {
    max-width: 100%;
  }

  .callout-actions {
    min-width: 0;
    width: 100%;
  }
}

/* ==========================================================
   Page Abonnement & Accordéon Comparatif Mobile (Solution 1)
   ========================================================== */
.abonnement-hero {
  padding-bottom: 24px !important;
  margin-bottom: 20px;
}

.abonnement-hero .hero-backdrop {
  height: calc(100% + 420px);
  -webkit-mask-image: linear-gradient(to bottom, #000000 0%, #000000 50%, rgba(0, 0, 0, 0.45) 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000000 0%, #000000 50%, rgba(0, 0, 0, 0.45) 78%, transparent 100%);
}

.abonnement-hero .hero-fade-overlay {
  background:
    linear-gradient(180deg, rgba(42, 44, 53, 0) 40%, var(--background) 98%),
    radial-gradient(circle at 50% 26%, transparent 18%, var(--background) 88%);
}

.abonnement-page-section {
  position: relative;
  z-index: 2;
  margin-top: 24px;
}

.hidden {
  display: none !important;
}

/* ==========================================================
   Comparatif Mobile : Sélecteur 4 pilules & Vue Duel (2 bots max)
   ========================================================== */
.comparison-mobile-versus {
  display: none;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .comparison-desktop-only {
    display: none !important;
  }

  .comparison-mobile-versus {
    display: flex;
  }
}

/* Barre d'outils sticky (Sélecteur 4 pilules) */
.mobile-comp-toolbar {
  position: sticky;
  top: 67px;
  z-index: 25;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Panneau de verre (visible uniquement quand la barre est accrochée sous la navbar) */
.mobile-comp-toolbar::before {
  content: "";
  position: absolute;
  top: -115px; /* remonte derrière la navbar : un seul panneau, pas de couture */
  bottom: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background-color: rgba(42, 44, 53, 0.88);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transition: opacity 0.25s ease;
}

.mobile-comp-toolbar.is-stuck::before {
  opacity: 1;
}

@supports ((backdrop-filter: url(#liquid-glass)) or (-webkit-backdrop-filter: url(#liquid-glass))) and (not (-moz-appearance: none)) {
  .mobile-comp-toolbar::before {
    background-color: rgba(42, 44, 53, 0.45);
    -webkit-backdrop-filter: url(#liquid-glass) blur(8px) saturate(180%);
    backdrop-filter: url(#liquid-glass) blur(8px) saturate(180%);
  }
}

/* Quand la barre de pilules est accrochée, son panneau recouvre aussi la navbar */
html body nav.navbar.has-stuck-toolbar::before {
  display: none !important;
}
.mobile-comp-pill-group {
  display: flex;
  gap: 6px;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0 4px 0;
}

.mobile-comp-pill-group::-webkit-scrollbar {
  display: none;
}

.comp-pill {
  flex: 0 0 auto;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted-foreground);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
  text-align: center;
}

.comp-pill:hover {
  background: rgba(255, 255, 255, 0.09);
  color: var(--foreground);
}

.comp-pill.is-active {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Ligne d'en-tête de colonnes sticky sous les pilules (sans bordure inférieure) */
.mobile-comp-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 4px 12px;
  border-bottom: none;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mobile-comp-head-feature {
  flex: 1;
  text-align: left;
}

.mobile-comp-head-values {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding-left: 8px;
}

.mobile-comp-head-bot {
  display: none;
  width: 78px;
  max-width: 78px;
  text-align: center;
  color: #ffffff;
  white-space: normal;
  line-height: 1.15;
  font-size: 0.74rem;
  font-weight: 700;
}

.mobile-comp-head-bot.is-visible {
  display: inline-block;
}

.mobile-comp-head-bot[data-bot="nityplus"] {
  color: var(--brand-pink);
}

/* Corps du comparatif mobile encapsulé dans une boîte comme sur PC */
.comp-mobile-body {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(22, 24, 30, 0.7);
  overflow: hidden;
  margin-top: 8px;
}

.comp-mobile-category {
  display: flex;
  flex-direction: column;
}

/* Ligne d'en-tête de catégorie sur mobile identique à la ligne PC */
.comp-category-title {
  background: rgba(255, 255, 255, 0.035);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  padding: 11px 12px;
  margin: 0;
  letter-spacing: 0.01em;
}

.comp-mobile-category:first-child .comp-category-title {
  border-top: none;
}

.comp-mobile-rows {
  display: flex;
  flex-direction: column;
}

/* Ligne de fonctionnalité mobile avec séparation verticale et ligne horizontale comme sur PC */
.comp-mobile-row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  min-height: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background-color 0.15s ease;
}

.comp-mobile-row:hover {
  background-color: rgba(255, 255, 255, 0.025);
}

.comp-mobile-row:last-child {
  border-bottom: none;
}

.comp-mobile-fname {
  flex: 1;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 10px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 1.35;
  display: flex;
  align-items: center;
}

.comp-mobile-fvals {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 6px 10px;
}

.comp-mobile-val {
  display: none;
  width: 78px;
  max-width: 78px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}

.comp-mobile-val.is-visible {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Mode 1 bot sélectionné */
.comparison-mobile-versus.is-mode-single .mobile-comp-head-bot,
.comparison-mobile-versus.is-mode-single .comp-mobile-val {
  width: 96px;
  max-width: 96px;
}

/* Bannière d'incitation Nity+ contextuelle */
.mobile-comp-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 18px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 8px;
}

.mobile-comp-cta-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
}

.mobile-comp-cta .btn-premium {
  width: 100%;
}


/* Bannière de bienvenue et ajustement Snipe sur les îlots v2 */
.discord-welcome-banner-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 4px;
}

.v2-island .snipe-item {
  margin-bottom: 2px;
}

.v2-island .embed-footer-text {
  margin-top: 0;
}

/* Mobile : le conteneur du comparatif ne doit pas former de 'backdrop root' (will-change/transform), sinon le verre
   de la barre de pilules ne floute pas le contenu de la page derrière lui. */
@media (max-width: 768px) {
  .comparison-container.anim-scroll-item.in-view {
    transform: none;
    will-change: auto;
  }
}

/* ==========================================================
   Offres Stripe Nity+ (Mensuel 3€/mois & À vie 25€)
   ========================================================== */
.premium-perks-standalone {
  margin-bottom: 36px;
}

.sub-feedback-banner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 28px;
  background: #23252b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.sub-feedback-success {
  background: linear-gradient(90deg, rgba(46, 204, 113, 0.16) 0%, #23252b 100%);
  border-color: rgba(46, 204, 113, 0.45);
}

.sub-feedback-error {
  background: linear-gradient(90deg, rgba(237, 66, 69, 0.18) 0%, #23252b 100%);
  border-color: rgba(237, 66, 69, 0.5);
}

.sub-feedback-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.92rem;
  color: #ffffff;
}

.sub-feedback-content strong {
  color: #ffffff;
  font-weight: 600;
  line-height: 1.35;
}

.sub-feedback-error .sub-feedback-content strong {
  color: #ff8a8c;
}

.sub-feedback-success .sub-feedback-content strong {
  color: #6ee7b7;
}

.sub-feedback-content span {
  color: #dcdee2;
  font-size: 0.86rem;
  line-height: 1.45;
}

.sub-feedback-btn {
  width: auto !important;
  flex-shrink: 0;
  padding: 10px 18px;
}

/* Bloc unifié : 2 encadrés d'abonnement collés + barre Boutique Discord collée en bas */
.pricing-unified-box {
  border-radius: 14px;
  background: #23252b;
  border: 1px solid rgba(255, 255, 255, 0.09);
  overflow: hidden;
  margin-bottom: 48px;
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 0;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 28px;
  border-radius: 0;
  background: #23252b;
  border: none;
  gap: 22px;
}

.pricing-card + .pricing-card {
  border-left: 1px solid rgba(255, 255, 255, 0.09);
}

.pricing-card-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pricing-card-title-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.pricing-plan-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: none !important;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.pricing-plan-tags-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pricing-plan-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 9px;
  border-radius: 4px;
}

.pricing-limited-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  background: #ffccff;
  color: #150540;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.pricing-plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-shrink: 0;
}

.pricing-amount {
  font-size: 2.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.03em;
}

.pricing-period {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.pricing-card-actions {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.pricing-card-actions button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Barre Boutique Discord collée en bas des deux encadrés */
.pricing-discord-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 13px 24px;
  background: #1e2026;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  flex-wrap: wrap;
}

.pricing-discord-text {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.sub-store-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 7px;
  font-size: 0.84rem;
  font-weight: 500;
  color: #f2f3f5;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.sub-store-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  opacity: 1;
}

/* Page /abonnement/serveurs (Sélection du serveur style Dashboard) */
.sub-servers-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.sub-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.15s ease;
}

.sub-back-link:hover {
  color: #ffffff;
  opacity: 1;
}

.sub-plan-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 9px;
  background: #202225;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sub-plan-switch-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.sub-plan-switch-pill:hover {
  color: #ffffff;
  opacity: 1;
}

.sub-plan-switch-pill.active {
  background: #ffffff;
  color: #150540;
}

.sub-server-btn-disabled {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  font-size: 0.85rem;
  padding: 8px 12px;
  border-radius: 6px;
  margin-top: auto;
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  background-color: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: var(--muted-foreground) !important;
}

@media (max-width: 768px) {
  .sub-feedback-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .pricing-cards-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card + .pricing-card {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
  }

  .pricing-card-head-row {
    align-items: flex-start;
  }

  .pricing-discord-footer {
    flex-direction: column;
    gap: 10px;
    padding: 14px 18px;
    text-align: center;
  }

  .sub-store-link {
    width: 100%;
    justify-content: center;
  }

  .sub-servers-header {
    flex-direction: column;
    align-items: stretch;
  }

  .sub-plan-switcher {
    width: 100%;
  }

  .sub-plan-switch-pill {
    flex: 1;
  }
}