:root {
  --bg: #0f1115;
  --panel: #1a1d24;
  --text: #e8e8ea;
  --muted: #9a9ea6;
  --accent: #e67e22;
  --accent-hover: #d3701a;
  --border: #2a2e37;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, sans-serif;
}

body.centered {
  justify-content: center;
  padding: 16px;
}

.page-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  flex: 1;
}

.hero-banner {
  width: 100%;
  height: 50vh;
  min-height: 220px;
  background-image: url("assets/banniere-taverne.jpg");
  background-size: cover;
  background-position: center 40%;
  position: relative;
  flex-shrink: 0;
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 17, 21, 0) 60%, var(--bg) 100%);
}

.hero-logo {
  width: 96px;
  height: 96px;
  position: absolute;
  left: 50%;
  bottom: -36px;
  transform: translateX(-50%);
  z-index: 2;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
}

.hero-spacer {
  margin-top: 52px;
}

h1 {
  margin: 0 0 8px;
  font-size: 2rem;
}

.subtitle {
  margin: 0 0 32px;
  color: var(--muted);
}

.home {
  text-align: center;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.15s ease;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.form-page {
  width: 100%;
  max-width: 420px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}

.back-link {
  display: inline-block;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.back-link:hover {
  color: var(--text);
}

.fiche-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fiche-form label {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.fiche-form input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--text);
  font-size: 1rem;
}

.fiche-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.fiche-form .btn-primary {
  margin-top: 24px;
}
