/* Styles communs Le Diagnostiqueur — header/footer/page stub */
:root {
  --ld-primary: #1a73e8;
  --ld-primary-dark: #1557b0;
  --ld-text: #1a1a1a;
  --ld-muted: #6b7280;
  --ld-bg: #f5f7fa;
  --ld-card: #ffffff;
  --ld-border: #e0e6ed;
}

.ld-header {
  background: #fff;
  border-bottom: 1px solid var(--ld-border);
  padding: 14px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
}
.ld-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ld-text);
  font-size: 17px;
}
.ld-brand img { height: 32px; }
.ld-nav { display: flex; gap: 22px; align-items: center; }
.ld-nav a {
  color: var(--ld-muted); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: color .15s;
}
.ld-nav a:hover { color: var(--ld-primary); }
.ld-nav a.ld-btn {
  background: var(--ld-primary); color: #fff; padding: 8px 16px;
  border-radius: 8px; font-weight: 600;
}
.ld-nav a.ld-btn:hover { background: var(--ld-primary-dark); color: #fff; }

.ld-footer {
  background: #fff; border-top: 1px solid var(--ld-border);
  padding: 36px 28px 18px; margin-top: 60px; color: var(--ld-muted); font-size: 13px;
}
.ld-cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px; max-width: 1100px; margin: 0 auto 24px;
}
.ld-cols > div strong { color: var(--ld-text); display: block; margin-bottom: 10px; }
.ld-cols > div a { display: block; color: var(--ld-muted); text-decoration: none;
                   margin-bottom: 6px; }
.ld-cols > div a:hover { color: var(--ld-primary); }
.ld-copy { text-align: center; font-size: 12px; padding-top: 16px;
            border-top: 1px solid var(--ld-border); }

/* Pages stub & légales */
.ld-page {
  max-width: 800px; margin: 40px auto; padding: 0 24px;
}
.ld-page h1 { color: var(--ld-text); font-size: 28px; margin-bottom: 8px; }
.ld-page .ld-sub { color: var(--ld-muted); margin-bottom: 28px; }
.ld-page h2 { font-size: 18px; color: var(--ld-text); margin: 28px 0 10px; }
.ld-page p { line-height: 1.6; color: #333; margin-bottom: 12px; }
.ld-page .ld-stub {
  background: #fff8e1; border-left: 4px solid #ffc107; padding: 18px 22px;
  border-radius: 6px; margin: 24px 0;
}
.ld-page .ld-back {
  display: inline-block; margin-top: 18px; color: var(--ld-primary);
  text-decoration: none; font-weight: 500;
}
