/* ═══════════════════════════════════════════════════════════
   CERTIFIER-UNE-OEUVRE-D-ART
   Page SEO guide complet
   ═══════════════════════════════════════════════════════════ */

/* HERO */
.certif-hero {
  background: linear-gradient(135deg, #051422 0%, #0c2236 100%);
  padding: 80px 0 60px;
  color: #fff;
  position: relative;
}

.certif-hero__badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2px;
  color: #a58542;
  font-weight: 600;
  margin-bottom: 18px;
  padding: 6px 14px;
  border: 1px solid #a58542;
}

.certif-hero__title {
  font-family: 'Raleway', sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 22px;
  max-width: 800px;
}

.certif-hero__desc {
  font-size: 17px;
  line-height: 1.6;
  color: #d4d4d4;
  max-width: 720px;
  margin: 0;
}

/* SOMMAIRE */
.certif-toc-section {
  padding: 50px 0 20px;
  background: #f9f9f9;
}

.certif-toc {
  background: #fff;
  border: 1px solid #e0deda;
  border-left: 4px solid #a58542;
  padding: 28px 32px;
  max-width: 760px;
  margin: 0 auto;
}

.certif-toc__title {
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #a58542;
  font-weight: 700;
  margin: 0 0 18px;
}

.certif-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
}

.certif-toc__list li {
  counter-increment: toc;
  padding: 6px 0;
  border-bottom: 1px solid #f0eee9;
}

.certif-toc__list li:last-child {
  border-bottom: none;
}

.certif-toc__list li::before {
  content: counter(toc, decimal-leading-zero) ".";
  color: #a58542;
  font-weight: 700;
  font-size: 13px;
  margin-right: 10px;
}

.certif-toc__list a {
  color: #051422;
  text-decoration: none;
  font-size: 14px;
  transition: color .2s;
}

.certif-toc__list a:hover {
  color: #a58542;
}

/* ARTICLE */
.certif-article {
  padding: 60px 0 80px;
  background: #fff;
}

.certif-content {
  max-width: 800px;
  margin: 0 auto;
}

.certif-content p {
  font-size: 16px;
  line-height: 1.75;
  color: #3a3a3a;
  margin: 0 0 18px;
}

.certif-content p strong {
  color: #051422;
  font-weight: 600;
}

.certif-content a {
  color: #a58542;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color .2s;
}

.certif-content a:hover {
  color: #8a6f37;
}

/* TITRES */
.certif-h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #051422;
  margin: 50px 0 22px;
  position: relative;
  padding-bottom: 14px;
  scroll-margin-top: 100px;
}

.certif-h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: #a58542;
}

.certif-h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: #051422;
  margin: 30px 0 12px;
}

/* LISTES */
.certif-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.certif-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 15.5px;
  line-height: 1.65;
  color: #3a3a3a;
}

.certif-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: #a58542;
  font-weight: 700;
  font-size: 16px;
}

/* ÉTAPES NUMÉROTÉES */
.certif-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  counter-reset: step;
}

.certif-steps li {
  counter-increment: step;
  padding: 18px 0 18px 60px;
  position: relative;
  font-size: 15.5px;
  line-height: 1.7;
  color: #3a3a3a;
  border-bottom: 1px solid #f0eee9;
}

.certif-steps li:last-child {
  border-bottom: none;
}

.certif-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 20px;
  color: #a58542;
  font-weight: 700;
  font-size: 22px;
  font-family: 'Raleway', sans-serif;
}

/* TABLEAU COMPARATIF */
.certif-compare {
  margin: 30px 0;
  overflow-x: auto;
}

.certif-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.certif-table th {
  background: #051422;
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.certif-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e0deda;
  color: #3a3a3a;
}

.certif-table tr:last-child td {
  background: #f9f5ed;
  border-bottom: 2px solid #a58542;
  font-weight: 500;
}

/* CTA */
.certif-cta {
  background: linear-gradient(135deg, #051422 0%, #0c2236 100%);
  padding: 40px 36px;
  margin: 50px 0;
  text-align: center;
  border-left: 4px solid #a58542;
}

.certif-cta__title {
  font-family: 'Raleway', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff !important;
  margin: 0 0 12px;
}

.certif-cta__desc {
  font-size: 15px;
  color: #ffffff !important;
  margin: 0 0 24px;
  line-height: 1.6;
}

.certif-cta__btn {
  display: inline-block;
  background: #a58542;
  color: #fff !important;
  padding: 14px 32px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background .25s;
}

.certif-cta__btn:hover {
  background: #8a6f37;
  color: #fff !important;
}

/* FAQ */
.certif-faq {
  margin: 0 0 50px;
}

.certif-faq__item {
  border: 1px solid #e0deda;
  border-radius: 0;
  margin-bottom: 12px;
  background: #f9f9f9;
  transition: border-color .25s;
}

.certif-faq__item[open] {
  border-color: #a58542;
  background: #fff;
}

.certif-faq__q {
  font-size: 15px;
  font-weight: 600;
  color: #051422;
  padding: 16px 22px;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 50px;
  font-family: 'Raleway', sans-serif;
}

.certif-faq__q::-webkit-details-marker {
  display: none;
}

.certif-faq__q::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: #a58542;
  font-weight: 300;
  transition: transform .25s;
}

.certif-faq__item[open] .certif-faq__q::after {
  content: "−";
}

.certif-faq__a {
  padding: 0 22px 18px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #3a3a3a;
  margin: 0;
}

/* LIENS INTERNES */
.certif-related {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e0deda;
}

.certif-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.certif-related__card {
  display: block;
  padding: 22px;
  background: #f9f9f9;
  border: 1px solid #e0deda;
  text-decoration: none !important;
  transition: all .25s;
}

.certif-related__card:hover {
  background: #fff;
  border-color: #a58542;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(165, 133, 66, 0.12);
}

.certif-related__card h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #051422;
  margin: 0 0 8px;
}

.certif-related__card p {
  font-size: 13px;
  color: #7e7e7e;
  margin: 0;
  line-height: 1.5;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .certif-hero {
    padding: 50px 0 40px;
  }

  .certif-hero__title {
    font-size: 26px;
  }

  .certif-hero__desc {
    font-size: 15px;
  }

  .certif-h2 {
    font-size: 22px;
    margin: 40px 0 18px;
  }

  .certif-h3 {
    font-size: 17px;
  }

  .certif-content p,
  .certif-list li,
  .certif-steps li {
    font-size: 15px;
  }

  .certif-toc {
    padding: 20px 22px;
  }

  .certif-cta {
    padding: 30px 22px;
  }

  .certif-cta__title {
    font-size: 18px;
  }

  .certif-table {
    font-size: 13px;
  }

  .certif-table th,
  .certif-table td {
    padding: 10px 12px;
  }
}