/* ============================================
   ARTICLES SEO : mise en page lisible, mêmes jetons que le site
   (chargé après style.css : polices, couleurs, boutons viennent de là)
   ============================================ */

/* Barre du haut */
.seo-article-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--nav-h);
  padding: 0 var(--pad);
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
}
.seo-article-nav a:first-child {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--c-dark);
}
.seo-article-nav a:first-child strong { font-weight: 400; }
.seo-article-nav a:last-child {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--c-muted);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

/* Colonne de lecture */
.seo-article-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--pad) 5rem;
  color: var(--c-mid);
}

.seo-article-wrap h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.6vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--c-dark);
  margin-bottom: 1rem;
}

.seo-article-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--c-muted);
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--c-border);
}
.seo-article-meta strong { font-weight: 400; color: var(--c-dark); }

.seo-article-wrap h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--c-dark);
  margin: 3rem 0 0.9rem;
}
.seo-article-wrap h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--c-dark);
  margin: 2rem 0 0.5rem;
}

.seo-article-wrap p {
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 1.15rem;
}

.seo-article-wrap ul,
.seo-article-wrap ol { margin: 0 0 1.25rem; }
.seo-article-wrap ul { list-style: none; display: grid; gap: 0.7rem; }
.seo-article-wrap ul li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 1.02rem;
  line-height: 1.75;
}
.seo-article-wrap ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
}
.seo-article-wrap ol { padding-left: 1.4rem; display: grid; gap: 0.7rem; }
.seo-article-wrap ol li { padding-left: 0.35rem; font-size: 1.02rem; line-height: 1.75; }
.seo-article-wrap ol li::marker { color: var(--c-accent-text); font-family: var(--font-mono); font-size: 0.9em; }

.seo-article-wrap strong { color: var(--c-dark); }

.seo-article-wrap a:not(.btn) {
  color: var(--c-accent-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

/* Pour aller plus loin */
.seo-article-related {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--c-border);
}
.seo-article-related h2 { margin-top: 0; margin-bottom: 0.9rem; }
.seo-article-related ul { gap: 0.6rem; margin: 0; }
.seo-article-related li { font-size: 0.98rem; }

/* FAQ */
.seo-article-faq { margin-top: 3rem; }
.seo-article-faq h2 { margin-top: 0; margin-bottom: 1.25rem; }
.faq-item {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 1.1rem 1.3rem;
  margin-bottom: 0.85rem;
}
.faq-item h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.faq-item p { margin-bottom: 0; font-size: 0.98rem; }

/* Appel à l'action */
.seo-article-cta {
  margin-top: 3.5rem;
  padding: 2.25rem 2rem;
  border-radius: var(--r-lg);
  background: var(--c-dark);
  color: rgba(255,255,255,0.78);
}
.seo-article-cta strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--c-white);
  margin-bottom: 0.5rem;
}
.seo-article-cta p { color: rgba(255,255,255,0.78); margin-bottom: 1.5rem; }

.seo-article-credit {
  margin-top: 2.5rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--c-muted);
}

@media (hover: hover) and (pointer: fine) {
  .seo-article-nav a:last-child:hover { color: var(--c-accent-text); text-decoration-color: currentColor; }
  .seo-article-wrap a:not(.btn):hover { color: var(--c-accent-d); }
}

@media (max-width: 640px) {
  .seo-article-cta { padding: 1.75rem 1.4rem; }
}
