/* ============================================================
   style.css — clementdesouche.fr
   ============================================================ */

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef, #dbe9f4);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Site header ── */
.site-header {
  width: 100%;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.nav-logo {
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: inherit;
  transition: color 0.15s ease;
}

.nav-logo:hover {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  list-style: none;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.nav-links li::before,
.nav-links li::marker {
  display: none;
  content: none;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--muted-color);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

/* ── Boutons (style original homepage) ── */
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  border-radius: 8px;
  background-color: var(--primary);
  color: white;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  color: white;
}

.button.disabled {
  background-color: #adb5bd;
  color: #6c757d;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Boutons secondaires (pages internes) ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.12);
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover { color: white; }

.btn-secondary {
  background: #e9ecef;
  color: #495057;
}

.btn-disabled {
  background-color: #dee2e6;
  color: #868e96;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Page wrapper ── */
.page-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 2rem 5rem;
}

.page-wrapper--narrow {
  max-width: 700px;
}

/* ── Page header ── */
.page-header {
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: 2rem;
  margin-bottom: 0.35rem;
}

.page-header p {
  color: var(--muted-color);
  font-size: 1rem;
  margin: 0;
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--muted-color);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.15s ease;
}

.breadcrumb i { font-size: 0.7rem; }

.breadcrumb:hover { color: var(--primary); }

/* ── Card ── */
.card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
}

/* ── Card icon ── */
.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

/* ── Chips ── */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0.6rem 0 1rem;
}

.chip {
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  background: #e9ecef;
  font-size: 0.75rem;
  color: #495057;
}

/* ── Section label ── */
.section-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-color);
  margin: 2.5rem 0 0.85rem;
}
