/* =========================
   BASE
========================= */

:root {
  --text: #111;
  --muted: #555;
  --border: #e8e3da;
  --accent: #b89b63;
  --bg: #ffffff;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
}

/* =========================
   CONTAINER
========================= */

.container,
article {
  max-width: 900px;
  margin: auto;
  padding: 24px;
}

/* =========================
   HEADER TOP BAR
========================= */

.simple-header {
  position: sticky;
  top: 0;
  background: white;
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.simple-header-inner {
  max-width: 1000px;
  margin: auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.simple-header .logo {
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.nav a {
  margin-left: 16px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}

.nav a:hover {
  color: var(--accent);
}

/* =========================
   PROFILE
========================= */

.profile {
  display: none;
}

/* =========================
   HERO IMAGE
========================= */

.hero-image {
  width: 100%;
   height:50px;
  max-width: 900px;
  margin: 15px auto 12px auto; /* réduit fortement l'espace */
  border-radius: 0px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  border-radius:0px;
  filter: contrast(1.05) grayscale(6%);
}

/* =========================
   ARTICLE HEADER
========================= */

article > header {
  margin-top: 0;
  padding-top: 0;
}

h1 {
  font-size: 2.6rem;
  line-height: 1.05;
  margin-top: 0;
  margin-bottom: 6px;
  font-weight: 700;
}

.nth-line-1,
.nth-line-2 {
  display: block;
}

.lead {
  color: var(--muted);
  font-size: 1rem;
  max-width: 700px;
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.5;
}

/* =========================
   SECTION SPACING
========================= */

section {
  margin-top: 18px;
}

/* =========================
   PARAGRAPHS
========================= */

p {
  margin-bottom: 16px;
}

/* =========================
   QUOTES
========================= */

blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  margin: 20px 0;
  color: var(--muted);
  font-style: italic;
  background: #faf9f6;
  padding: 14px 16px;
  border-radius: 6px;
}

/* =========================
   IMAGES INSIDE ARTICLE
========================= */

img {
  width: 100%;
  max-width: 900px;
  margin: 20px auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  max-height: 420px;
  filter: contrast(1.05) grayscale(8%);
}

/* =========================
   HORIZONTAL LINE
========================= */

hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 15px 0 20px 0;
}

/* =========================
   FOOTER
========================= */

.simple-footer {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 25px;
  margin-top: 50px;
  color: var(--muted);
}

.footer-links a {
  margin: 0 10px;
  text-decoration: none;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--accent);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
  .container,
  article {
    padding: 18px;
  }

  h1 {
    font-size: 1.8rem;
    margin-bottom: 4px;
  }

  .lead {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }

  .hero-image {
    margin: 10px auto 8px auto;
  }

  .hero-image img {
    height: 220px;
  }

  img {
    max-height: 260px;
  }

  hr {
    margin: 12px 0 16px 0;
  }
}
