/* ============================================
   FormationSEO.ai — Formations SEO & IA
   Unique CSS (anti-footprint)
   ============================================ */

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

body {
  font-family: 'Nunito Sans', 'Trebuchet MS', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #0A1628;
  background: #F8FAF9;
}

a { color: #0D7C66; text-decoration: none; transition: color .2s; }
a:hover { color: #095C4B; }

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

/* Container */
.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Navigation ---- */
.nav-bar {
  background: #0A1628;
  padding: 14px 0;
  border-bottom: 3px solid #0D7C66;
}
.nav-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-bar__brand {
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}
.nav-bar__brand:hover { color: #0D7C66; }
.nav-bar__tagline {
  font-size: 11px;
  color: #7A8BA0;
  margin-top: 2px;
}
.nav-bar__menu {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-bar__menu a {
  color: #B0BEC5;
  font-size: 14px;
  font-weight: 600;
}
.nav-bar__menu a:hover { color: #0D7C66; }

/* ---- Intro (hero) ---- */
.intro {
  padding: 48px 0 28px;
  text-align: center;
}
.intro__heading {
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: #0A1628;
  line-height: 1.2;
  margin-bottom: 10px;
}
.intro__lead {
  font-size: 17px;
  color: #4A5568;
  max-width: 580px;
  margin: 0 auto;
}

/* ---- Listing (articles homepage) ---- */
.listing {
  display: grid;
  gap: 28px;
  padding: 20px 0 60px;
}
.listing article {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  border: 1px solid #E2E8F0;
  transition: box-shadow .2s;
}
.listing article:hover {
  box-shadow: 0 4px 12px rgba(13,124,102,.1);
}
.listing h2 {
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
}
.listing h2 a { color: #0A1628; }
.listing h2 a:hover { color: #0D7C66; }
.listing time {
  font-size: 12px;
  color: #90A4AE;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.listing p {
  font-size: 15px;
  color: #546E7A;
  margin: 8px 0;
  line-height: 1.6;
}
.listing > article > a:last-child {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: #0D7C66;
  padding: 6px 18px;
  border-radius: 6px;
  margin-top: 4px;
  transition: background .2s;
}
.listing > article > a:last-child:hover {
  background: #095C4B;
}

/* ---- Entry (article page) ---- */
.entry {
  max-width: 700px;
  margin: 40px auto 60px;
}
.entry__heading {
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #0A1628;
  line-height: 1.2;
  margin-bottom: 10px;
}
.entry__date {
  font-size: 13px;
  color: #90A4AE;
  margin-bottom: 4px;
}
.entry__byline {
  font-size: 14px;
  color: #0D7C66;
  font-weight: 600;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid #0D7C66;
}

.entry__content {
  font-size: 17px;
  line-height: 1.8;
  color: #2D3748;
}
.entry__content p { margin-bottom: 18px; }
.entry__content h2 {
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #0A1628;
  margin: 36px 0 14px;
}
.entry__content h3 {
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #2D3748;
  margin: 28px 0 10px;
}
.entry__content ul, .entry__content ol {
  margin: 0 0 18px 24px;
}
.entry__content li { margin-bottom: 6px; }
.entry__content blockquote {
  margin: 24px 0;
  padding: 18px 24px;
  background: #E6F7F3;
  border-left: 4px solid #0D7C66;
  font-style: italic;
  color: #4A5568;
}

/* Entry footer */
.entry__tags {
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid #E2E8F0;
  font-size: 12px;
  color: #90A4AE;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Related */
.related { margin-top: 16px; }
.related h3 {
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #0A1628;
}
.related ul { list-style: none; padding: 0; margin-top: 8px; }
.related li { padding: 4px 0; font-size: 14px; }
.related li::before { content: "\25B8\00a0"; color: #0D7C66; }

/* ---- Profile (about page) ---- */
.profile { max-width: 700px; margin: 40px auto; }
.profile__name {
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #0A1628;
  margin-bottom: 4px;
}
.profile__role {
  font-size: 16px;
  color: #0D7C66;
  font-weight: 600;
  margin-bottom: 24px;
}
.profile__bio {
  font-size: 17px;
  line-height: 1.8;
  color: #2D3748;
  margin-bottom: 32px;
}
.profile__section {
  margin-bottom: 24px;
}
.profile__section h2 {
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #0A1628;
  margin-bottom: 10px;
}
.profile__links {
  list-style: none;
  padding: 0;
}
.profile__links li {
  padding: 6px 0;
  border-bottom: 1px solid #E2E8F0;
  font-size: 15px;
}

/* ---- Footer ---- */
.bottom {
  background: #0A1628;
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
}
.bottom__copy { color: #7A8BA0; }
.bottom__author { margin-top: 4px; color: #546E7A; }
.bottom a { color: #0D7C66; }

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .nav-bar .container { flex-direction: column; gap: 10px; text-align: center; }
  .nav-bar__menu { justify-content: center; }
  .intro__heading { font-size: 24px; }
  .entry__heading { font-size: 22px; }
  .listing h2 { font-size: 17px; }
  .container { padding: 0 16px; }
}
