/* Bento Grid New - Version améliorée */
.bento-grid-new {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: var(--space-16);
  max-width: 1400px;
  margin: 0 auto;
}

.bento-card-new {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(167, 139, 250, 0.2);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.bento-card-new:hover {
  border-color: rgba(167, 139, 250, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(167, 139, 250, 0.2), 0 0 40px rgba(167, 139, 250, 0.1);
}

.bento-card-inner {
  position: relative;
  padding: var(--space-24);
  height: 100%;
  z-index: 1;
}

/* Card 1 - Accompagnement 1:1 (tall) */
.bento-card-1 {
  grid-column: span 6;
  grid-row: span 2;
  min-height: 400px;
  background: linear-gradient(to bottom, rgba(167, 139, 250, 0.1), rgba(167, 139, 250, 0.03));
}

.bento-glow-purple {
  position: absolute;
  top: -96px;
  left: -96px;
  width: 288px;
  height: 288px;
  border-radius: 50%;
  background: rgba(167, 139, 250, 0.2);
  filter: blur(90px);
  pointer-events: none;
}

.bento-card-header h3 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: var(--space-8);
}

.bento-card-header p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  max-width: 400px;
}

.bento-live-badge-new {
  position: absolute;
  top: var(--space-20);
  right: var(--space-20);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 10;
}

.bento-live-right {
  position: static;
  margin-left: auto;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple-400);
  box-shadow: 0 0 8px rgba(167, 139, 250, 0.8);
  animation: pulseLive 2s ease-in-out infinite;
}

@keyframes pulseLive {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 8px rgba(167, 139, 250, 0.8);
  }
  50% {
    opacity: 0.7;
    box-shadow: 0 0 12px rgba(167, 139, 250, 1);
  }
}

.bento-path-box {
  margin-top: var(--space-24);
  position: relative;
}

.bento-path-border {
  position: relative;
  height: 300px;
  border-radius: 22px;
  border: 2px dashed rgba(167, 139, 250, 0.3);
  background: rgba(167, 139, 250, 0.02);
}

.bento-coach-avatar {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(167, 139, 250, 0.6);
  object-fit: cover;
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.5);
}

.bento-coach-label {
  position: absolute;
  left: 40px;
  top: 16px;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.bento-one-one-chip {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.bento-student-badge {
  position: absolute;
  bottom: -24px;
  right: 16px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.bento-student-name {
  padding: 6px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple-500), #ec4899);
  color: #000000;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(167, 139, 250, 0.4);
}

.bento-student-label {
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.bento-action-pill {
  position: absolute;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
}

.bento-action-pill svg {
  color: var(--purple-300);
}

.bento-pill-1 {
  left: 20px;
}

.bento-pill-2 {
  left: 144px;
}

/* Card 2 - Communauté Privée */
.bento-card-2 {
  grid-column: span 6;
  min-height: 200px;
}

.bento-community-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-16);
}

.bento-avatars-stack {
  display: flex;
  margin-left: -12px;
}

.bento-avatar-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  object-fit: cover;
  margin-left: -12px;
  position: relative;
  z-index: 1;
}

.bento-members-count {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-left: var(--space-12);
}

.bento-card-2 h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: var(--space-8);
}

.bento-card-2 p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.bento-community-visual {
  position: relative;
  margin-top: var(--space-24);
  height: 120px;
}

.bento-dotted-path {
  position: absolute;
  top: -12px;
  right: 0;
  width: 180px;
  height: 110px;
  border-radius: 16px;
  border: 2px dashed rgba(167, 139, 250, 0.3);
  z-index: 1;
  pointer-events: none;
}

.bento-message-icon {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(to bottom, rgba(167, 139, 250, 0.25), rgba(167, 139, 250, 0.2));
  border: 1px solid rgba(167, 139, 250, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-300);
  z-index: 2;
}

.bento-coach-small-avatar {
  position: absolute;
  bottom: -12px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(167, 139, 250, 0.6);
  object-fit: cover;
  z-index: 3;
  background: var(--bg-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Card 3 - Pratique > Théorie */
.bento-card-3 {
  grid-column: span 6;
  min-height: 200px;
}

.bento-card-3 h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: var(--space-8);
}

.bento-card-3 p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: var(--space-16);
}

.bento-notifications-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bento-notif-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.bento-notif-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(167, 139, 250, 0.3);
}

.bento-notif-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(167, 139, 250, 0.2);
  border: 1px solid rgba(167, 139, 250, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-300);
  flex-shrink: 0;
}

.bento-notif-content {
  flex: 1;
}

.bento-notif-title {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2px;
}

.bento-notif-subtitle {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.bento-notif-item svg:last-child {
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

.bento-glow-bottom {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(167, 139, 250, 0.2);
  filter: blur(32px);
  transform: translate(24px, 24px);
  pointer-events: none;
}

/* Card 4 - Garantie */
.bento-card-4 {
  grid-column: span 6;
  grid-row: span 2;
  min-height: 400px;
  background: linear-gradient(to bottom, rgba(167, 139, 250, 0.15), rgba(124, 58, 237, 0.1));
}

.bento-glow-purple-top {
  position: absolute;
  top: -80px;
  right: -96px;
  width: 256px;
  height: 256px;
  border-radius: 50%;
  background: rgba(167, 139, 250, 0.3);
  filter: blur(80px);
  pointer-events: none;
}

.bento-guarantee-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-16);
}

.bento-security-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--purple-200);
  font-size: 14px;
}

.bento-security-badge svg {
  color: var(--purple-300);
}

.bento-unique-badge {
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
}

.bento-guarantee-content {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: var(--space-16);
}

.bento-guarantee-icon-box {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  border-radius: 16px;
  background: linear-gradient(to bottom, rgba(167, 139, 250, 0.25), rgba(167, 139, 250, 0.2));
  border: 1px solid rgba(167, 139, 250, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-300);
}

.bento-guarantee-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: var(--space-8);
}

.bento-guarantee-content p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Card 5 - Session Live */
.bento-card-5 {
  grid-column: span 6;
  min-height: 200px;
  background: linear-gradient(to bottom, rgba(124, 58, 237, 0.2), rgba(167, 139, 250, 0.1));
}

.bento-session-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-24);
}

.bento-group-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--purple-200);
  font-size: 12px;
}

.bento-group-badge svg {
  color: var(--purple-300);
}

.bento-session-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
}

.bento-session-dotted-path {
  position: absolute;
  top: -4px;
  left: 4px;
  width: 70%;
  height: 96px;
  border-radius: 18px;
  border: 2px dashed rgba(167, 139, 250, 0.3);
}

.bento-session-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 16px;
  background: rgba(13, 36, 31, 0.8);
  border: 1px solid rgba(167, 139, 250, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-300);
  position: relative;
  z-index: 2;
}

.bento-session-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.bento-session-content p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  max-width: 400px;
}

.bento-session-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(167, 139, 250, 0.6);
  object-fit: cover;
  margin-left: auto;
  position: relative;
  z-index: 2;
}

/* Card 6 - Phases + Plan validé */
.bento-card-6 {
  grid-column: span 12;
  min-height: 200px;
}

.bento-phases-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--space-24);
}

.bento-phases-timeline h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: var(--space-16);
}

.bento-timeline-container {
  display: flex;
  gap: 16px;
}

.bento-timeline-rail {
  position: relative;
  width: 8px;
  flex-shrink: 0;
}

.bento-timeline-line {
  position: absolute;
  left: 50%;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-50%);
}

.bento-timeline-dot {
  position: absolute;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transform: translateX(-50%);
}

.bento-dot-validated {
  top: 24px;
  background: var(--purple-400);
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.6);
}

.bento-dot-pending {
  top: 88px;
  background: rgba(255, 255, 255, 0.3);
}

.bento-dot-next {
  top: 152px;
  background: rgba(255, 255, 255, 0.3);
}

.bento-timeline-items {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bento-timeline-item {
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
}

.bento-timeline-item-title {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
  flex: 1;
}

.bento-timeline-item-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  white-space: nowrap;
  margin-left: 12px;
}

.bento-timeline-item-status svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.bento-status-validated {
  color: var(--purple-300);
}

.bento-status-pending,
.bento-status-next {
  color: rgba(255, 255, 255, 0.6);
}

.bento-plan-validated {
  position: relative;
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(to bottom, rgba(167, 139, 250, 0.2), rgba(124, 58, 237, 0.1));
  border: 1px solid rgba(167, 139, 250, 0.3);
  overflow: hidden;
}

.bento-plan-glow {
  position: absolute;
  top: -32px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(167, 139, 250, 0.3);
  filter: blur(70px);
  pointer-events: none;
}

.bento-plan-validated h4 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.bento-plan-validated > p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 16px;
}

.bento-plan-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bento-plan-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bento-plan-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(167, 139, 250, 0.2);
  border: 1px solid rgba(167, 139, 250, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-300);
  flex-shrink: 0;
}

.bento-plan-content {
  flex: 1;
}

.bento-plan-title {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2px;
}

.bento-plan-subtitle {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.bento-plan-item svg:last-child {
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .bento-card-1,
  .bento-card-4 {
    grid-column: span 12;
    grid-row: span 1;
  }
  
  .bento-card-2,
  .bento-card-3,
  .bento-card-5 {
    grid-column: span 12;
  }
  
  .bento-card-6 {
    grid-column: span 12;
  }
  
  .bento-phases-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .bento-path-border {
    height: 250px;
  }
  
  .bento-guarantee-content {
    flex-direction: column;
  }
  
  .bento-session-content {
    flex-wrap: wrap;
  }
}

