/* ═══════════════════════════════════════════════════════════
   CSS pour les pages haute intention — design premium
   Témoignages, comparatifs, sections détaillées
   ═══════════════════════════════════════════════════════════ */

/* === Section contenu enrichi === */
.seo-content .seo-content-inner h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text, #1a1a1a);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(0,0,0,0.08);
}

.seo-content .seo-content-inner h3:first-of-type {
  margin-top: 1.5rem;
}

.seo-content .seo-content-inner p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.2rem;
  color: var(--text, #333);
}

/* === Bloc témoignages === */
.testimonials-heading {
  font-size: 1.6rem !important;
  font-weight: 700;
  margin-top: 3rem !important;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(0,0,0,0.08);
}

.seo-content-section blockquote,
.seo-content-section p:has(strong:first-child) {
  position: relative;
  padding: 1rem 1.5rem 1rem 2.5rem;
  margin-bottom: 1rem;
  background: rgba(0,0,0,0.02);
  border-left: 3px solid var(--accent, #c8a04a);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  line-height: 1.7;
}

.seo-content-section p::before {
  content: '"';
  position: absolute;
  left: 0.5rem;
  top: 0.3rem;
  font-size: 2rem;
  color: var(--accent, #c8a04a);
  opacity: 0.3;
  font-family: Georgia, serif;
}

/* === Bloc comparaison === */
.comparison-heading {
  font-size: 1.6rem !important;
  font-weight: 700;
  margin-top: 3rem !important;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(0,0,0,0.08);
}

.seo-content .seo-content-inner p > strong:first-child {
  display: inline-block;
  min-width: 180px;
  font-weight: 700;
  color: var(--text, #1a1a1a);
}

/* === Listes internes === */
.seo-content .seo-content-inner ul,
.seo-content .seo-content-inner ol {
  margin: 1rem 0 1.5rem 1.5rem;
  line-height: 1.8;
}

.seo-content .seo-content-inner li {
  margin-bottom: 0.5rem;
}

/* === Liens internes stylés === */
.seo-content-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 !important;
}

.seo-content-list li {
  margin: 0 !important;
}

.seo-content-list a {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text, #333);
  text-decoration: none;
  transition: all 0.2s ease;
}

.seo-content-list a:hover {
  background: var(--accent, #c8a04a);
  color: #fff;
  border-color: var(--accent, #c8a04a);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* === Section wrapper pour contenu enrichi === */
.seo-content-section {
  padding: 2rem 0;
}

.seo-content-section .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.seo-content-section h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 2rem 0 1rem;
}

.seo-content-section p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

/* === Mode sombre (si body.sitewide-polish) === */
body.sitewide-polish .seo-content .seo-content-inner h3,
body.sitewide-polish .seo-content-section h3 {
  color: #f0f0f0;
  border-bottom-color: rgba(255,255,255,0.1);
}

body.sitewide-polish .seo-content .seo-content-inner p,
body.sitewide-polish .seo-content-section p {
  color: #ccc;
}

body.sitewide-polish .seo-content-section p {
  background: rgba(255,255,255,0.03);
  border-left-color: #c8a04a;
}

body.sitewide-polish .seo-content-list a {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  color: #ddd;
}

body.sitewide-polish .seo-content-list a:hover {
  background: #c8a04a;
  color: #1a1a1a;
}

body.sitewide-polish .seo-content .seo-content-inner p > strong:first-child,
body.sitewide-polish .comparison-heading {
  color: #f0f0f0;
}

/* === Responsive === */
@media (max-width: 768px) {
  .seo-content .seo-content-inner h3,
  .seo-content-section h3 {
    font-size: 1.25rem;
  }
  
  .testimonials-heading,
  .comparison-heading {
    font-size: 1.3rem !important;
  }
  
  .seo-content .seo-content-inner p,
  .seo-content-section p {
    font-size: 0.95rem;
    line-height: 1.65;
  }
  
  .seo-content-list {
    gap: 0.5rem;
  }
  
  .seo-content-list a {
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
  }
  
  .seo-content-section p {
    padding: 0.75rem 1rem 0.75rem 2rem;
  }
}
