/*
 * Template "Pilier SEO" — page-pillier-seo.php
 * Identité Lapmap forte : Inter, #122C34, accent #FF6600.
 */

.ps-hero,
.ps-main,
.ps-bigcta,
.ps-promo,
.ps-toc,
.ps-inline-promo {
  --ps-primary: #122C34;
  --ps-secondary: #7D938A;
  --ps-text: #5C5C5C;
  --ps-text-light: #8D8D8D;
  --ps-accent: #FF6600;
  --ps-accent-soft: #FFF4EC;
  --ps-white: #FFFFFF;
  --ps-bg: #FFFFFF;
  --ps-bg-alt: #F7F7F7;
  --ps-border: #E0E5EB;
  --ps-shadow-sm: 0 1px 2px rgba(18, 44, 52, 0.04);
  --ps-shadow-md: 0 6px 24px rgba(18, 44, 52, 0.08);
  --ps-shadow-lg: 0 16px 48px rgba(18, 44, 52, 0.12);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== Sécurité responsive globale ===== */
body.page-template-page-pillier-seo {
  overflow-x: hidden;
}
.ps-hero,
.ps-main,
.ps-bigcta {
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  overflow-x: hidden;
}
.ps-hero *,
.ps-main *,
.ps-bigcta *,
.ps-mobile-cta * {
  box-sizing: border-box;
}
.ps-hero__container,
.ps-main__container,
.ps-bigcta__container {
  width: 100%;
  box-sizing: border-box;
}

/* CRUCIAL : permet aux grid/flex items de shrink en dessous du contenu
   (sinon les items prennent la largeur de leur contenu le plus large = overflow) */
.ps-main__container > *,
.ps-sidebar,
.ps-article {
  min-width: 0;
  max-width: 100%;
}

/* Empêche les enfants de l'article (shortcodes, embeds) de déborder */
.ps-article > *,
.ps-article > * > * {
  max-width: 100%;
}

/* Empêche image / iframe / vidéo / table de déborder */
.ps-article img,
.ps-article iframe,
.ps-article video,
.ps-article table,
.ps-article pre {
  max-width: 100%;
  height: auto;
}

/* Big CTA content shrinkable */
.ps-bigcta__content {
  max-width: 100%;
}

/* ===== Bouton CTA inline (shortcode lapmap_lien_si_page) ===== */
.ps-article .lapmap-cta-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  margin: 12px 0 0;
  padding: 11px 22px;
  background: var(--ps-accent);
  color: #fff !important;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.18s ease;
}
.ps-article .lapmap-cta-btn:hover,
.ps-article .lapmap-cta-btn:focus-visible {
  background: var(--ps-primary);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 102, 0, 0.3);
  text-decoration: none !important;
}
.ps-article .lapmap-cta-btn svg {
  transition: transform 0.18s ease;
}
.ps-article .lapmap-cta-btn:hover svg {
  transform: translateX(3px);
}

/* ===== Reading progress bar ===== */
.ps-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 9999;
  pointer-events: none;
}
.ps-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #FF6600, #FF8533);
  transition: width 0.05s linear;
  box-shadow: 0 0 8px rgba(255, 102, 0, 0.5);
}

/* ===== HERO ===== */
.ps-hero {
  position: relative;
  background: linear-gradient(135deg, #122C34 0%, #1A3F49 100%);
  color: #fff;
  padding: calc(80px + 56px) 0 56px;
  overflow: hidden;
}
.ps-hero::after {
  content: '';
  position: absolute;
  top: 0; right: -10%;
  width: 50%; height: 100%;
  background: radial-gradient(circle at center, rgba(255, 102, 0, 0.15), transparent 60%);
  pointer-events: none;
}

.ps-hero__container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  z-index: 1;
}

/* Breadcrumb (override Yoast styles) */
.ps-breadcrumb,
.ps-hero #breadcrumbs {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7) !important;
  margin-bottom: 18px;
  letter-spacing: 0.2px;
}
.ps-hero .ps-breadcrumb a,
.ps-hero #breadcrumbs a {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none;
}
.ps-hero .ps-breadcrumb a:hover,
.ps-hero #breadcrumbs a:hover {
  color: #FF6600 !important;
  text-decoration: underline;
}

.ps-hero__title {
  margin: 0 0 18px !important;
  font-size: 44px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
  color: #fff !important;
  max-width: 880px;
}

.ps-hero__lead {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  max-width: 760px;
  margin: 0 0 28px;
  font-weight: 400;
}
.ps-hero__lead p {
  margin: 0 0 12px;
}
.ps-hero__lead p:last-child { margin: 0; }

.ps-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}
.ps-hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ===== MAIN ===== */
.ps-main {
  background: var(--ps-bg);
  padding: 64px 0 96px;
  /* sticky enfant : nécessite que tous les ancêtres aient overflow: visible */
  overflow: visible !important;
}

.ps-main__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  /* PAS de align-items: start — la sidebar doit s'étirer
     pour que sticky ait de la hauteur de scroll */
  overflow: visible !important;
}

/* Force overflow visible sur les wrappers Elementor / page parents */
body.page-template-page-pillier-seo,
body.page-template-page-pillier-seo .elementor,
body.page-template-page-pillier-seo .elementor-inner,
body.page-template-page-pillier-seo .site-content,
body.page-template-page-pillier-seo .entry-content,
body.page-template-page-pillier-seo main,
body.page-template-page-pillier-seo article {
  overflow: visible !important;
}

/* Image thumbnail dans l'article — aspect ratio fixe pour cohérence */
.ps-article__thumbnail {
  margin: 0 0 32px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--ps-shadow-md);
  aspect-ratio: 16 / 9;
  background: var(--ps-bg-alt);
}
.ps-article__thumbnail img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

/* ===== SIDEBAR ===== */
.ps-sidebar {
  position: relative;
  /* hauteur naturelle = celle de la rangée grid (= article) → scroll room pour sticky */
}
.ps-sidebar__sticky {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  /* Hauteur max viewport pour rester dans la fenêtre */
  max-height: calc(100vh - 120px);
  /* PAS d'overflow ici : la TOC scrolle, l'encart reste pinné en bas */
}

/* La TOC prend l'espace dispo et scroll en interne si trop longue */
.ps-toc {
  flex: 1 1 auto;
  min-height: 0; /* permet au flex de shrink correctement */
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(18, 44, 52, 0.2) transparent;
}
.ps-toc::-webkit-scrollbar { width: 6px; }
.ps-toc::-webkit-scrollbar-track { background: transparent; }
.ps-toc::-webkit-scrollbar-thumb {
  background: rgba(18, 44, 52, 0.15);
  border-radius: 3px;
}

/* L'encart reste fixe en bas du sticky : toujours visible */
.ps-promo {
  flex: 0 0 auto;
}

/* TOC */
.ps-toc {
  background: var(--ps-bg-alt);
  border: 1px solid var(--ps-border);
  border-radius: 14px;
  padding: 20px 22px;
}
/* Force taille (Elementor override les H2 globalement) */
.ps-toc__title,
.ps-main h2.ps-toc__title {
  margin: 0 0 12px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  color: var(--ps-text-light) !important;
  line-height: 1.3 !important;
}
.ps-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: ps-toc;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ps-toc__list li {
  list-style: none;
  margin: 0;
}
.ps-toc__list a {
  display: block;
  padding: 6px 8px 6px 12px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ps-text);
  text-decoration: none;
  border-left: 2px solid transparent;
  border-radius: 4px;
  transition: all 0.15s ease;
}
.ps-toc__list a:hover,
.ps-toc__list a:focus-visible {
  background: var(--ps-white);
  color: var(--ps-primary);
  text-decoration: none;
}
.ps-toc__list a.is-active {
  background: var(--ps-white);
  border-left-color: var(--ps-accent);
  color: var(--ps-primary);
  font-weight: 600;
}
.ps-toc__list .ps-toc__h3 {
  padding-left: 24px;
  font-size: 13px;
  color: var(--ps-text-light);
}

/* ★ ENCART LAPMAP — visible permanent (pinné en bas du sticky) */
.ps-promo {
  background: linear-gradient(160deg, #122C34 0%, #1A3F49 100%);
  color: #fff;
  border-radius: 14px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--ps-shadow-md);
  width: 100%;
  box-sizing: border-box;
}
.ps-promo::before {
  content: '';
  position: absolute;
  top: -40%; right: -30%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255, 102, 0, 0.25), transparent 70%);
  pointer-events: none;
}
.ps-promo__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 102, 0, 0.15);
  border-radius: 50%;
  color: #FF6600;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.ps-promo__title,
.ps-main h3.ps-promo__title {
  position: relative;
  z-index: 1;
  margin: 0 0 8px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #fff !important;
}
.ps-promo__text {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
}
.ps-promo__text strong {
  color: #fff;
  font-weight: 700;
}
.ps-promo__cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 18px;
  background: var(--ps-accent);
  color: #fff;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.18s ease;
}
.ps-promo__cta:hover,
.ps-promo__cta:focus-visible {
  background: #fff;
  color: var(--ps-primary);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.ps-promo__cta svg {
  transition: transform 0.18s ease;
}
.ps-promo__cta:hover svg {
  transform: translateX(3px);
}

/* ===== ARTICLE ===== */
.ps-article {
  max-width: 760px;
  width: 100%;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ps-text);
}
.ps-article > * { scroll-margin-top: 100px; }

.ps-article p,
.ps-article ul,
.ps-article ol,
.ps-article blockquote,
.ps-article table {
  margin: 0 0 22px;
}
.ps-article p:first-child,
.ps-article > div:first-child p:first-child {
  font-size: 19px;
  color: var(--ps-primary);
}

.ps-article h2 {
  margin: 56px 0 20px !important;
  padding-top: 0 !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: var(--ps-primary) !important;
  letter-spacing: -0.02em !important;
  position: relative;
}
.ps-article h2::before {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--ps-accent);
  border-radius: 2px;
  margin-bottom: 14px;
}

.ps-article h3 {
  margin: 36px 0 14px !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: var(--ps-primary) !important;
  letter-spacing: -0.01em !important;
}

.ps-article h4 {
  margin: 28px 0 10px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: var(--ps-primary) !important;
}

.ps-article a {
  color: var(--ps-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 102, 0, 0.4);
  transition: color 0.15s, text-decoration-color 0.15s;
}
.ps-article a:hover,
.ps-article a:focus-visible {
  color: var(--ps-primary);
  text-decoration-color: var(--ps-primary);
}

.ps-article strong { color: var(--ps-primary); font-weight: 600; }

.ps-article ul, .ps-article ol {
  padding-left: 22px;
}
.ps-article li {
  margin-bottom: 8px;
  line-height: 1.65;
}

.ps-article hr {
  border: 0;
  height: 1px;
  background: var(--ps-border);
  margin: 48px 0;
}

.ps-article blockquote {
  margin: 28px 0;
  padding: 18px 24px;
  background: var(--ps-accent-soft);
  border-left: 4px solid var(--ps-accent);
  border-radius: 0 10px 10px 0;
  font-style: normal;
  color: var(--ps-primary);
  font-size: 16px;
}
.ps-article blockquote p:last-child { margin: 0; }

/* ===== FAQ accordéon — natif <details>/<summary> ===== */
.ps-article details {
  background: #fff;
  border: 1px solid var(--ps-border);
  border-radius: 12px;
  margin: 0 0 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ps-article details[open] {
  border-color: var(--ps-accent);
  box-shadow: 0 4px 16px rgba(255, 102, 0, 0.08);
}
.ps-article details summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 22px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ps-primary);
  line-height: 1.4;
  position: relative;
  transition: background 0.15s ease;
  user-select: none;
}
.ps-article details summary:hover {
  background: rgba(255, 102, 0, 0.03);
}
.ps-article details summary::-webkit-details-marker { display: none; }
.ps-article details summary::after {
  content: '';
  position: absolute;
  right: 22px;
  top: 50%;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center/14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center/2px 14px no-repeat;
  color: var(--ps-accent);
  transform: translateY(-50%);
  transition: transform 0.25s ease;
}
.ps-article details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
  background:
    linear-gradient(currentColor, currentColor) center/14px 2px no-repeat;
}
.ps-article details > *:not(summary) {
  padding: 0 22px 18px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ps-text);
  margin-bottom: 0;
}
.ps-article details p:not(summary p) {
  margin: 0 0 12px;
}
.ps-article details > p:last-child {
  margin-bottom: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .ps-article details[open] > *:not(summary) {
    animation: ps-faq-fade 0.25s ease;
  }
}
@keyframes ps-faq-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== TOC mobile (collapsible details) — caché sur desktop ===== */
.ps-mobile-toc {
  display: none;
  margin: 0 0 28px;
  background: var(--ps-bg-alt);
  border: 1px solid var(--ps-border);
  border-radius: 12px;
  overflow: hidden;
}
.ps-mobile-toc summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--ps-primary);
  user-select: none;
}
.ps-mobile-toc summary::-webkit-details-marker { display: none; }
.ps-mobile-toc summary svg {
  color: var(--ps-accent);
  transition: transform 0.2s ease;
}
.ps-mobile-toc[open] summary svg {
  transform: rotate(180deg);
}
.ps-mobile-toc__list {
  list-style: none;
  margin: 0;
  padding: 8px 14px 14px;
}
.ps-mobile-toc__list li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ps-mobile-toc__list a {
  display: block;
  padding: 8px 8px 8px 12px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ps-text);
  text-decoration: none;
  border-left: 2px solid transparent;
  border-radius: 4px;
}
.ps-mobile-toc__list a:hover,
.ps-mobile-toc__list a:focus-visible {
  background: #fff;
  color: var(--ps-primary);
  border-left-color: var(--ps-accent);
}
.ps-mobile-toc__list .ps-mobile-toc__h3 a {
  padding-left: 28px;
  font-size: 13px;
  color: var(--ps-text-light);
}

/* ===== Sticky bottom CTA mobile — caché sur desktop ===== */
.ps-mobile-cta {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9000;
  width: calc(100% - 32px);
  max-width: 420px;
}
.ps-mobile-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  background: var(--ps-accent);
  color: #fff !important;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(255, 102, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.ps-mobile-cta__btn:hover,
.ps-mobile-cta__btn:active {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 102, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.1);
  background: var(--ps-primary);
  color: #fff !important;
}

/* ===== ENCART INLINE (mobile principalement) ===== */
.ps-inline-promo {
  display: none;
  margin: 36px 0;
}
.ps-inline-promo__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: linear-gradient(135deg, var(--ps-accent-soft), #fff);
  border: 1px solid #FFD7BF;
  border-radius: 12px;
}
.ps-inline-promo__text h3 {
  margin: 0 0 4px;
  font-size: 16px;
  color: var(--ps-primary);
  font-weight: 700;
}
.ps-inline-promo__text p {
  margin: 0;
  font-size: 13px;
  color: var(--ps-text);
}
.ps-inline-promo__cta {
  flex-shrink: 0;
  padding: 11px 18px;
  background: var(--ps-accent);
  color: #fff !important;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
}
.ps-inline-promo__cta:hover {
  background: var(--ps-primary);
}

/* ===== BIG CTA FINAL ===== */
.ps-bigcta {
  background: var(--ps-bg-alt);
  padding: 80px 0;
  border-top: 1px solid var(--ps-border);
}
.ps-bigcta__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}
.ps-bigcta__content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.ps-bigcta__title {
  margin: 0 0 14px;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ps-primary);
  letter-spacing: -0.025em;
}
.ps-bigcta__sub {
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ps-text);
}
.ps-bigcta__sub strong { color: var(--ps-primary); }

.ps-bigcta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.ps-bigcta__primary,
.ps-bigcta__secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.18s ease;
}
.ps-bigcta__primary {
  background: var(--ps-accent);
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(255, 102, 0, 0.28);
}
.ps-bigcta__primary:hover,
.ps-bigcta__primary:focus-visible {
  background: var(--ps-primary);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(18, 44, 52, 0.28);
}
.ps-bigcta__primary svg {
  transition: transform 0.18s ease;
}
.ps-bigcta__primary:hover svg { transform: translateX(4px); }

.ps-bigcta__secondary {
  background: transparent;
  color: var(--ps-primary) !important;
  border: 1.5px solid var(--ps-border);
}
.ps-bigcta__secondary:hover,
.ps-bigcta__secondary:focus-visible {
  border-color: var(--ps-primary);
  background: var(--ps-primary);
  color: #fff !important;
  text-decoration: none;
}

/* ===== RESPONSIVE ===== */
/* Tablet : grid devient single column, sidebar sticky off, encart Lapmap inline visible */
@media (max-width: 980px) {
  .ps-main__container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ps-sidebar__sticky {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    max-height: none;
  }
  .ps-toc {
    flex: 1 1 100%;
    overflow: visible;
  }
  .ps-promo {
    flex: 1 1 100%;
  }
  .ps-inline-promo {
    display: block;
  }
  .ps-hero__title {
    font-size: 34px !important;
  }
  .ps-hero__lead {
    font-size: 17px;
  }
}

/* Mobile : on cache complètement la sidebar, on montre la TOC collapsible
   en haut de l'article */
@media (max-width: 768px) {
  .ps-sidebar {
    display: none;
  }
  .ps-mobile-toc {
    display: block;
  }
  /* Article prend toute la largeur dispo (max-width 760 inutile sur petit écran) */
  .ps-article {
    max-width: 100%;
  }
  /* Halo orange du hero : retiré sur mobile (clipping disgracieux) */
  .ps-hero::after {
    display: none;
  }
}

@media (max-width: 600px) {
  /* Hero */
  .ps-hero {
    padding: calc(70px + 28px) 0 28px;
  }
  .ps-hero__container {
    padding: 0 20px;
  }
  .ps-hero__title {
    font-size: 24px !important;
    line-height: 1.2 !important;
    margin: 0 0 12px !important;
  }
  .ps-hero__lead {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 16px;
  }
  .ps-hero__meta {
    gap: 12px;
    font-size: 12px;
  }

  /* Main + container */
  .ps-main {
    padding: 28px 0 48px;
  }
  .ps-main__container {
    padding: 0 18px;
    gap: 20px;
  }

  /* Article body */
  .ps-article {
    font-size: 16px;
    line-height: 1.65;
  }
  .ps-article p,
  .ps-article ul,
  .ps-article ol {
    margin: 0 0 18px;
  }
  .ps-article p:first-child,
  .ps-article > div:first-child p:first-child {
    font-size: 17px;
  }
  .ps-article h2 {
    font-size: 22px !important;
    margin: 32px 0 12px !important;
    line-height: 1.25 !important;
  }
  .ps-article h2::before {
    width: 36px;
    height: 3px;
    margin-bottom: 10px;
  }
  .ps-article h3 {
    font-size: 18px !important;
    margin: 24px 0 10px !important;
  }
  .ps-article h4 {
    font-size: 15px !important;
    margin: 20px 0 8px !important;
  }
  .ps-article ul, .ps-article ol {
    padding-left: 18px;
  }
  .ps-article li {
    margin-bottom: 6px;
  }
  .ps-article hr {
    margin: 32px 0;
  }
  .ps-article blockquote {
    margin: 20px 0;
    padding: 14px 18px;
    font-size: 15px;
  }

  /* Image thumbnail */
  .ps-article__thumbnail {
    border-radius: 10px;
    margin: 0 0 24px;
  }

  /* TOC mobile collapsible */
  .ps-mobile-toc {
    margin: 0 0 24px;
  }
  .ps-mobile-toc summary {
    padding: 12px 16px;
    font-size: 12px;
  }
  .ps-mobile-toc__list {
    padding: 6px 12px 12px;
  }
  .ps-mobile-toc__list a {
    padding: 7px 8px 7px 10px;
    font-size: 13px;
  }

  /* FAQ accordéon : plus compact */
  .ps-article details {
    margin: 0 0 8px;
    border-radius: 10px;
  }
  .ps-article details summary {
    padding: 14px 44px 14px 16px;
    font-size: 15px;
  }
  .ps-article details summary::after {
    right: 16px;
    width: 12px;
    height: 12px;
  }
  .ps-article details > *:not(summary) {
    padding: 0 16px 14px;
    font-size: 14px;
    line-height: 1.6;
  }

  /* Encart inline promo (mid-article mobile) */
  .ps-inline-promo {
    margin: 24px 0;
  }
  .ps-inline-promo__inner {
    flex-direction: column;
    text-align: center;
    padding: 18px;
    gap: 14px;
  }

  /* Big CTA bas */
  .ps-bigcta {
    padding: 48px 0;
  }
  .ps-bigcta__container {
    padding: 0 20px;
  }
  .ps-bigcta__title {
    font-size: 24px;
  }
  .ps-bigcta__sub {
    font-size: 14px;
    margin-bottom: 22px;
  }
  .ps-bigcta__actions {
    flex-direction: column;
    gap: 10px;
  }
  .ps-bigcta__primary,
  .ps-bigcta__secondary {
    width: 100%;
    padding: 13px 20px;
    justify-content: center;
  }

  /* Sticky CTA mobile : un peu plus compact */
  .ps-mobile-cta {
    bottom: 12px;
  }
  .ps-mobile-cta__btn {
    padding: 12px 18px;
    font-size: 14px;
  }
}

/* Override des span globaux du parent ListingPro */
.ps-hero span,
.ps-promo span,
.ps-toc span,
.ps-bigcta span {
  font-family: inherit;
  color: inherit;
}
