:root {
  --bg: #0b0b0d;
  --bg-elevated: #131316;
  --card: #161619;
  --card-hover: #1c1c20;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.14);
  --text-primary: #eaeaec;
  --text-secondary: #9a9aa2;
  --text-tertiary: #5c5c64;
  --accent: #d9b46a;
  --accent-dim: rgba(217, 180, 106, 0.14);
  --radius: 16px;
  --shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.glow {
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, rgba(217, 180, 106, 0.06) 0%, rgba(217, 180, 106, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
  padding: 96px 32px 64px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.page-header {
  text-align: center;
  margin-bottom: 64px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  font-weight: 600;
}

.page-header h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.subtitle {
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 400;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  flex: 1;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  min-height: 150px;
}

.tile:hover {
  background: var(--card-hover);
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.tile:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.tile-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--accent-dim);
  color: var(--accent);
}

.tile-icon svg {
  width: 20px;
  height: 20px;
}

.tile-title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.tile-desc {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.tile-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tile-arrow {
  color: var(--text-tertiary);
  transition: transform 0.25s ease, color 0.25s ease;
}

.tile:hover .tile-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

/* --- État "bientôt disponible" --- */
.tile.is-soon {
  cursor: default;
  pointer-events: none;
  opacity: 0.55;
}

.tile.is-soon .tile-icon {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-tertiary);
}

.badge-soon {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 8px;
  border-radius: 6px;
}

.page-footer {
  margin-top: 64px;
  text-align: center;
  font-size: 12px;
  color: var(--text-tertiary);
  letter-spacing: 0.03em;
}

@media (max-width: 560px) {
  .page {
    padding: 64px 20px 40px;
  }
  .page-header {
    margin-bottom: 40px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
}
