/* Page styles for dictee.html */

.page-header {
  text-align: center;
  margin-bottom: 32px;
  padding: 40px 0 20px;
}
.page-header h1 {
  font-size: 2.8rem;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #111827 0%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (max-width: 480px) {
  .page-header h1 { font-size: 2rem; }
}
.page-header p.lead {
  color: #6b7280;
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto;
}
.hero-accueil {
  --card-bg: linear-gradient(0deg, rgba(255,255,255,.95), rgba(255,255,255,.95)), url('https://images.unsplash.com/photo-1589903308904-1010c2294adc?auto=format&fit=crop&q=70&w=1600');
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}
.hero-accueil:hover {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}
.controls {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.btn {
  appearance: none;
  border: 2px solid #111827;
  background: #111827;
  color: #fff;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.15);
}
.btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.25);
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn.secondary {
  background: #ef4444;
  border-color: #ef4444;
}
.btn.secondary:hover:not(:disabled) {
  background: #dc2626;
}
.select {
  appearance: none;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  background: white;
  color: #111827;
  transition: all 0.2s ease;
}
.select:hover { border-color: #c7d2fe; }
.select:focus { outline: none; border-color: #6366f1; box-shadow: 0 0 0 4px rgba(99,102,241,0.1); }
.status {
  padding: 8px 12px;
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  font-size: 0.9rem;
  color: #4338ca;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.status::before {
  content: '🎤';
  font-size: 1.1rem;
}
textarea {
  width: 100%;
  height: 300px;
  padding: 20px;
  border-radius: 16px;
  border: 2px solid #e5e7eb;
  font-size: 16px;
  resize: vertical;
  outline: none;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  line-height: 1.8;
}
textarea:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}
textarea::placeholder {
  color: #9ca3af;
}
.hint {
  display: block;
  margin-top: 12px;
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.5;
}
.info-bar {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  padding: 16px 24px;
  border-radius: 12px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #fbbf24;
}
.info-bar .icon {
  font-size: 1.5rem;
}
.info-bar p {
  margin: 0;
  color: #78350f;
  font-size: 0.95rem;
  font-weight: 500;
}
