/* --- STRUCTURE DE LA CARD --- */

.card {
  max-width: 1000px;
  margin: -26px auto 40px;
  padding: 0 20px;
  position: relative;
}

.card-inner {
  background: var(--card);
  border: 1px solid #1f2937;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(2,6,23,0.6),
    inset 0 1px 0 rgba(255,255,255,0.03);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: linear-gradient(180deg, rgba(17,24,39,0.7), rgba(17,24,39,0.5));
  border-bottom: 1px solid #1f2937;
}

.card-header h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: .3px;
}

.chip {
  font-size: 12px;
  color: #0b132b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
}

.card-body {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  padding: 22px;
}

/* --- DESCRIPTION --- */

.desc p {
  color: #cbd5e1;
  margin: 0 0 12px;
}

.list {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.list-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(2,6,23,0.35);
  border: 1px solid #1f2937;
  border-radius: 12px;
  padding: 12px 14px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 6px;
  box-shadow: 0 0 0 4px rgba(56,189,248,0.12);
}

/* --- ASIDE VIDEOS --- */

.side {
  background: linear-gradient(135deg, rgba(56,189,248,0.12), rgba(245,158,11,0.12));
  border: 1px solid #1f2937;
  border-radius: 12px;
  padding: 14px;
}

.side h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.side p {
  margin: 0 0 10px;
  color: #cbd5e1;
}

/* --- GRID DES TUILES --- */

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* --- TILE --- */

.tile {
  background: rgba(2,6,23,0.35);
  border: 1px solid #1f2937;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
}

/* --- MINIATURE RESPONSIVE 16:9 --- */

.tile-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* ratio 16:9 */
  overflow: hidden;
  border-radius: 6px;
}

.tile-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- TEXTE DES TUILES --- */

.tile-info h4 {
  font-size: 14px;
  color: #e2e8f0;
  margin: 0;
  font-weight: 600;
  line-height: 1.3;
}

.tile-info span {
  font-size: 12px;
  color: #94a3b8;
}

/* --- RESPONSIVE --- */

@media (max-width: 840px) {
  .card-body { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
}
