:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #d1d5db;
  --text: #1f2937;
  --muted: #6b7280;
  --accent: #e11d48;      /* rouge cinéma */
  --accent2: #22c55e;     /* vert validation */
  --cta: #007BFF;         /* bleu crowdfunding */
  --dark: #111827;
}

body {
  font-family: 'Segoe UI', Roboto, Inter, system-ui;
  background: linear-gradient(to right, #f0f4ff, #eaf6ff);
  color: var(--text);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

.btn, .cta-button {
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
  display: inline-block;
  text-decoration: none;
}
.btn:hover, .cta-button:hover {
  background: var(--accent2);
  transform: translateY(-1px);
}

.form-section, .signup-section {
  background: var(--card);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border);
  max-width: 720px;
  margin: 40px auto;
}

input, select, textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1em;
  background: #f9fafb;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #ffffff;
}

.alert {
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: bold;
  text-align: center;
}
.alert.error {
  background: #ffe6e6;
  color: #cc0000;
}
.alert.success {
  background: #e6ffe6;
  color: #006600;
}
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  .form-section, .signup-section {
    padding: 20px;
  }
  .btn, .cta-button {
    width: 100%;
    text-align: center;
  }
}
