/* =============================== */
/*      ÉTAPE 7 - Visuels           */
/* =============================== */

.etape-main {
  padding: 20px;
}

.etape-container {
  max-width: 980px;
  margin: 0 auto;
}

.etape-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 12px 0 18px;
}

/* ================================
   Grille de visuels
   ================================ */
.grid-visuals {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
  align-items: stretch;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

/* ================================
   Prévisualisations
   ================================ */
.logo-preview,
.poster-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #ddd;
  border-radius: 10px;
  background: #fafafa;
  color: #94a3b8;
  font-weight: 500;
  flex: 1 1 auto;
}

.logo-preview {
  min-height: 120px;
}

.poster-preview {
  min-height: 280px;
}

.logo-preview img {
  max-height: 90px;
  max-width: 100%;
  object-fit: contain;
}

.poster-preview img {
  height: 260px;
  width: auto;
  object-fit: cover;
  border-radius: 8px;
}

/* ================================
   Formulaire
   ================================ */
.form-line {
  margin-bottom: 14px;
}

.form-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #cbd5e0;
  border-radius: 4px;
  background-color: white;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* File input styling */
input[type="file"].form-input {
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px dashed #cbd5e0;
  cursor: pointer;
}

input[type="file"].form-input::file-selector-button {
  margin-right: 10px;
  padding: 0.45rem 0.85rem;
  border: 1px solid #0ea5e9;
  border-radius: 8px;
  background: #0ea5e9;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.12s ease;
}

input[type="file"].form-input::file-selector-button:hover {
  background: #0b98d6;
  border-color: #0b98d6;
  transform: translateY(-1px);
}

input[type="file"].form-input:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.form-input:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

/* ================================
   Actions et erreurs
   ================================ */
.etape-actions {
  margin-top: 18px;
}

.meta-saison {
  font-size: 0.95rem;
  color: #666;
}

.form-error {
  background: #fee2e2;
  color: #991b1b;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
  border: 1px solid #fecaca;
  font-weight: 600;
}

/* ================================
   Responsive
   ================================ */
@media (max-width: 768px) {
  .grid-visuals {
    grid-template-columns: 1fr;
  }

  .poster-preview {
    min-height: 200px;
  }

  .poster-preview img {
    height: 180px;
  }
}
