.ntx-resultats {
  width: 100%;
}

.ntx-plateaux-inner {
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* =========================
   Résultats simples
   ========================= */

.ntx-resultats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 1.5rem;
}

.ntx-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ntx-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.ntx-card-image {
  aspect-ratio: 16 / 9;
  background: #f3f4f6;
  overflow: hidden;
}

.ntx-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ntx-card-body {
  padding: 14px 18px;
}

.ntx-card-title {
  margin: 0 0 4px;
  font-size: 1.1rem;
  line-height: 1.4;
  font-weight: 600;
  color: #111827;
}

.ntx-card-meta {
  margin: 0;
  font-size: 0.92rem;
  color: #6b7280;
}

/* =========================
   Alertes
   ========================= */

.ntx-alert {
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  line-height: 1.5;
}

.ntx-alert-info {
  color: #055160;
  background-color: #cff4fc;
  border-color: #b6effb;
}

.ntx-alert-success {
  color: #0f5132;
  background-color: #d1e7dd;
  border-color: #badbcc;
}

.ntx-alert-warning {
  color: #664d03;
  background-color: #fff3cd;
  border-color: #ffecb5;
}

.ntx-alert-danger {
  color: #842029;
  background-color: #f8d7da;
  border-color: #f5c2c7;
}

/* =========================
   Grille plateaux
   ========================= */

.ntx-plateaux-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 1.5rem;
}

/* =========================
   Cards plateaux
   ========================= */

.ntx-plateau-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 5px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.6s ease-out;
}

.ntx-plateau-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.ntx-plateau-card__media {
  position: relative;
}

.ntx-plateau-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.ntx-plateau-card__image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #f3f4f6;
}

.ntx-plateau-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================
   Badge semaine
   ========================= */

.ntx-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #111827;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* =========================
   Intérieur carte
   ========================= */

.ntx-plateau-card__inner {
  padding: 16px;
}

.ntx-plateau-card__head {
  margin-bottom: 0.75rem;
}

.ntx-plateau-name {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.35;
  font-weight: 700;
  color: #111827;
}

.ntx-composition-title {
  margin: 0.35rem 0 0;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 600;
  color: #374151;
}

.ntx-plateau-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ntx-composition-item {
  line-height: 1.5;
  color: #374151;
}

.ntx-composition-label {
  font-weight: 600;
  color: #111827;
}

.ntx-composition-value {
  color: #4b5563;
}

/* =========================
   Prix
   ========================= */

.ntx-prices {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #374151;
}

/* =========================
   Zone template / CTA
   ========================= */

.ntx-template-wrap {
  margin-top: 1rem;
}

/* =========================
   Animation
   ========================= */

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

/* =========================
   Responsive
   ========================= */

@media (max-width: 1024px) {
  .ntx-plateaux-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .ntx-plateaux-inner {
    padding-left: 12px;
    padding-right: 12px;
  }

  .ntx-plateaux-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .ntx-resultats-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 18px;
  }

  .ntx-plateau-card__image {
    height: 200px;
  }

  .ntx-plateau-card__inner {
    padding: 14px;
  }
}