/* ----------------------------------------------------------
   PALETTE OFFDP
---------------------------------------------------------- */
:root {
  --offdp-blue: #1F4E79;
  --offdp-blue-light: #3A75C4;
  --offdp-grey-dark: #333333;
  --offdp-grey-light: #E5E5E5;
  --offdp-accent: #D97A00;
}

/* ----------------------------------------------------------
   TYPO & GLOBAL
---------------------------------------------------------- */
body {
  max-width: 900px;
  margin: auto;
  padding: 2rem;
  color: var(--offdp-grey-dark);

  /* Pile de polices système (sans traceurs) */
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif,
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol";

  background-color: #fff;
  line-height: 1.55;
}

h1, h2, h3, h4, h5, h6 {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  font-weight: 600;
  margin-top: 1.8rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.2rem;
}

/* Liens */
a {
  color: var(--offdp-blue-light);
  text-decoration: none;
}
a:hover {
  color: var(--offdp-blue);
  text-decoration: underline;
}

/* Accents */
.highlight {
  color: var(--offdp-accent);
}

/* ----------------------------------------------------------
   HEADER
---------------------------------------------------------- */
.site-header {
  border-bottom: 1px solid var(--offdp-grey-light);
  padding: 1.5rem 0;
  margin-bottom: 3rem;
}

.header-container {
  max-width: 900px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.header-logo img.logo-img {
  height: 60px;
  width: auto;
  margin-bottom: 0.5rem;
}

.header-title a {
  text-decoration: none;
  color: inherit;
}

.header-title strong {
  font-size: 1.6rem;
  color: var(--offdp-blue);
}

.header-title .subtitle {
  display: block;
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.2rem;
}

.header-nav {
  margin-top: 1rem;
}

.header-nav a {
  margin: 0 0.6rem;
  padding: 0.25rem 0.4rem;
  font-weight: 500;
}

/* Responsive header */
@media (min-width: 700px) {
  .header-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  .header-logo img.logo-img {
    height: 70px;
    margin-bottom: 0;
  }

  .header-nav {
    margin-top: 0;
  }
}

/* ----------------------------------------------------------
   MAIN CONTENT
---------------------------------------------------------- */
main {
  margin-bottom: 4rem;
}

/* ----------------------------------------------------------
   FOOTER
---------------------------------------------------------- */
.site-footer {
  margin-top: 5rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--offdp-grey-light);
  font-size: 0.9rem;
  color: var(--offdp-grey-dark);
  background-color: #fafafa;
}

.site-footer a {
  color: inherit;
  text-decoration: underline;
}

.footer-container {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.footer-nav {
  margin: 1rem 0;
}

.footer-nav a {
  color: inherit;
  margin: 0 0.4rem;
}

.footer-nav a:hover {
  text-decoration: underline;
}
