/* ============================================
   Formateur-WordPress.fr — Formations WP
   Unique CSS (anti-footprint)
   ============================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Figtree', 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1D2327;
  background: #F0F0F1;
}

a { color: #2271B1; text-decoration: none; transition: color .15s; }
a:hover { color: #135E96; }

img { max-width: 100%; height: auto; }

/* Wrapper */
.wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Masthead ---- */
.masthead {
  background: #1D2327;
  padding: 16px 0;
}
.masthead__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.masthead__brand {
  font-family: 'Plus Jakarta Sans', 'Helvetica Neue', sans-serif;
  font-size: 21px;
  font-weight: 800;
  color: #fff;
}
.masthead__brand:hover { color: #2271B1; }
.masthead__tagline {
  display: block;
  font-size: 11px;
  color: #8C8F94;
  margin-top: 2px;
}
.masthead__nav {
  display: flex;
  gap: 22px;
}
.masthead__nav a {
  color: #C3C4C7;
  font-size: 14px;
  font-weight: 600;
}
.masthead__nav a:hover { color: #2271B1; }

/* ---- Opener (hero) ---- */
.opener {
  background: #fff;
  padding: 40px 0;
  border-bottom: 3px solid #2271B1;
  text-align: center;
}
.opener h1 {
  font-family: 'Plus Jakarta Sans', 'Helvetica Neue', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: #1D2327;
  line-height: 1.2;
  margin-bottom: 10px;
}
.opener p {
  font-size: 17px;
  color: #50575E;
  max-width: 580px;
  margin: 0 auto;
}

/* ---- Grid (articles homepage) ---- */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 32px 0 60px;
}
.grid article {
  background: #fff;
  padding: 24px;
  border-left: 4px solid #2271B1;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.grid h2 {
  font-family: 'Plus Jakarta Sans', 'Helvetica Neue', sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
}
.grid h2 a { color: #1D2327; }
.grid h2 a:hover { color: #2271B1; }
.grid time {
  font-size: 12px;
  color: #8C8F94;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.grid p {
  font-size: 15px;
  color: #50575E;
  margin: 8px 0;
}
.grid > article > a:last-child {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #2271B1;
  border: 2px solid #2271B1;
  padding: 5px 16px;
  border-radius: 4px;
  margin-top: 4px;
  transition: all .15s;
}
.grid > article > a:last-child:hover {
  background: #2271B1;
  color: #fff;
}

/* ---- Tuto (article page) ---- */
.tuto {
  max-width: 700px;
  margin: 40px auto 60px;
  background: #fff;
  padding: 32px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.tuto__heading {
  font-family: 'Plus Jakarta Sans', 'Helvetica Neue', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #1D2327;
  line-height: 1.2;
  margin-bottom: 10px;
}
.tuto__meta {
  font-size: 13px;
  color: #8C8F94;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 2px solid #2271B1;
}
.tuto__byline { font-weight: 600; color: #2271B1; }

.tuto__text {
  font-size: 16px;
  line-height: 1.8;
  color: #2C3338;
}
.tuto__text p { margin-bottom: 16px; }
.tuto__text h2 {
  font-family: 'Plus Jakarta Sans', 'Helvetica Neue', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: #1D2327;
  margin: 32px 0 12px;
}
.tuto__text h3 {
  font-size: 17px;
  font-weight: 700;
  color: #50575E;
  margin: 24px 0 10px;
}
.tuto__text ul, .tuto__text ol {
  margin: 0 0 16px 24px;
}
.tuto__text li { margin-bottom: 5px; }
.tuto__text blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  background: #F6F7F7;
  border-left: 4px solid #2271B1;
  font-style: italic;
  color: #50575E;
}
.tuto__text code {
  background: #F6F7F7;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 0.9em;
}
.tuto__text pre {
  background: #1D2327;
  color: #C3C4C7;
  padding: 18px;
  border-radius: 4px;
  overflow-x: auto;
  margin: 18px 0;
}
.tuto__text pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* Tuto footer */
.tuto__footer {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #E2E4E7;
}
.tuto__tags {
  font-size: 12px;
  color: #8C8F94;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

/* Related */
.related { margin-top: 12px; }
.related h3 {
  font-size: 14px;
  font-weight: 700;
  color: #1D2327;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.related ul { list-style: none; padding: 0; margin-top: 6px; }
.related li { padding: 4px 0; font-size: 14px; }
.related li::before { content: "\27A4\00a0"; color: #2271B1; font-size: 11px; }

/* ---- Bio (about page) ---- */
.bio {
  max-width: 700px;
  margin: 40px auto;
  background: #fff;
  padding: 32px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.bio__title {
  font-family: 'Plus Jakarta Sans', 'Helvetica Neue', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #1D2327;
  margin-bottom: 4px;
}
.bio__jobtitle {
  font-size: 15px;
  color: #2271B1;
  font-weight: 600;
  margin-bottom: 20px;
}
.bio__desc {
  font-size: 16px;
  line-height: 1.8;
  color: #2C3338;
  margin-bottom: 28px;
}
.bio__expertise,
.bio__affiliations {
  margin-bottom: 24px;
}
.bio__expertise h2,
.bio__affiliations h2 {
  font-family: 'Plus Jakarta Sans', 'Helvetica Neue', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #1D2327;
  margin-bottom: 8px;
}
.bio__affiliations ul {
  list-style: none;
  padding: 0;
}
.bio__affiliations li {
  padding: 5px 0;
  border-bottom: 1px solid #E2E4E7;
  font-size: 14px;
}

/* ---- Colophon (footer) ---- */
.colophon {
  background: #1D2327;
  padding: 20px 0;
  text-align: center;
  color: #8C8F94;
  font-size: 13px;
}
.colophon a { color: #2271B1; }

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .masthead__row { flex-direction: column; gap: 10px; text-align: center; }
  .masthead__nav { justify-content: center; }
  .opener h1 { font-size: 24px; }
  .tuto { padding: 20px; }
  .tuto__heading { font-size: 22px; }
  .bio { padding: 20px; }
  .grid h2 { font-size: 17px; }
  .wrapper { padding: 0 16px; }
}
