/**
 * Legacy /fr content — aligns with index-design-2 shells + publication typography.
 * Load after main.min.css, design-fr-tokens.css, design-fr-chrome.css.
 */

/* Match prototype max width + gutters (Bootstrap containers are narrower). */
body.pds-fr-site.me-petermann .container {
  max-width: 1320px !important;
  box-sizing: border-box;
}

@media (max-width: 800px) {
  body.pds-fr-site.me-petermann .container {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

/* ─── Inner hero (secondary pages — replaces .tcf-l-header slab) ─── */
.pds-inner-hero {
  padding: 108px 0 56px;
  margin-bottom: 0;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-soft) 100%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.pds-inner-hero .pds-inner-hero__shell {
  padding-bottom: 0;
}

.pds-inner-hero__label {
  margin: 0 0 14px !important;
  display: inline-block !important;
}

.pds-inner-hero__title {
  margin: 0;
  padding: 0;
  border: none;
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: var(--fw-serif-accent);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--cream);
}

/* ─── Page /fr/avocat — hero comme index-design-2 (portrait à gauche, intro à droite) ─── */

body.pds-fr-site.me-petermann .pds-fr-avocat-hero {
  position: relative;
  padding: 28px 0 48px;
  overflow-x: clip;
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
  box-sizing: border-box;
}

body.pds-fr-site.me-petermann .pds-fr-avocat-hero .shell {
  padding-bottom: 0;
}

body.pds-fr-site.me-petermann .pds-fr-avocat-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  min-height: min(520px, 72vh);
}

body.pds-fr-site.me-petermann .pds-fr-avocat-hero__portrait-wrap {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 5;
  max-height: min(52vh, 560px);
  overflow: visible;
}

body.pds-fr-site.me-petermann .pds-fr-avocat-hero__portrait-bg {
  position: absolute;
  left: -56px;
  top: -48px;
  bottom: -48px;
  width: 60%;
  background: var(--navy);
  z-index: 0;
}

body.pds-fr-site.me-petermann .pds-fr-avocat-hero__portrait {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0 0 0 4%;
  background: var(--cream);
  overflow: hidden;
  border-radius: 2px;
}

body.pds-fr-site.me-petermann .pds-fr-avocat-hero__portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.pds-fr-site.me-petermann .pds-fr-avocat-hero__content {
  padding: 12px 0 20px;
}

body.pds-fr-site.me-petermann .pds-fr-avocat-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

body.pds-fr-site.me-petermann .pds-fr-avocat-hero__eyebrow-line {
  width: 32px;
  height: 1px;
  flex-shrink: 0;
  background: var(--gold);
}

body.pds-fr-site.me-petermann .pds-fr-avocat-hero__eyebrow #header-title {
  margin: 0 !important;
  display: inline-block !important;
}

body.pds-fr-site.me-petermann .pds-fr-avocat-hero__title {
  margin: 0 0 20px !important;
  padding: 0 !important;
  border: none !important;
  font-family: var(--serif) !important;
  font-size: clamp(28px, 3.1vw, 44px) !important;
  font-weight: var(--fw-serif-accent) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.015em !important;
  color: var(--navy) !important;
  text-wrap: pretty;
}

body.pds-fr-site.me-petermann .pds-fr-avocat-hero__title sup {
  font-size: 0.45em;
  vertical-align: super;
  margin-left: 0.06em;
}

body.pds-fr-site.me-petermann .pds-fr-avocat-hero__lede {
  margin: 0 !important;
  max-width: 44em;
  font-family: var(--sans) !important;
  font-size: clamp(16px, 1.1vw, 18px) !important;
  line-height: 1.65 !important;
  color: var(--muted) !important;
  text-wrap: pretty;
}

@media (max-width: 1000px) {
  body.pds-fr-site.me-petermann .pds-fr-avocat-hero {
    padding: 16px 0 40px;
  }

  body.pds-fr-site.me-petermann .pds-fr-avocat-hero__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
  }

  body.pds-fr-site.me-petermann .pds-fr-avocat-hero__portrait-wrap {
    max-width: min(360px, 88vw);
    max-height: min(48vh, 480px);
  }

  body.pds-fr-site.me-petermann .pds-fr-avocat-hero__portrait-bg {
    left: -32px;
    top: -36px;
    bottom: -36px;
    width: 58%;
  }

  body.pds-fr-site.me-petermann .pds-fr-avocat-hero__content {
    padding: 0 0 8px;
  }

  body.pds-fr-site.me-petermann .pds-fr-avocat-hero__content.animate-block.animate-block--delay-1 {
    margin-top: clamp(16px, 4vw, 28px);
  }
}

/* ─── Page /fr/publications — hero comme accueil (photo villa paysage à gauche) ─── */

body.pds-fr-site.me-petermann .pds-fr-pubs-hero {
  position: relative;
  padding: 28px 0 40px;
  overflow-x: clip;
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
  box-sizing: border-box;
}

body.pds-fr-site.me-petermann .pds-fr-pubs-hero .shell {
  padding-bottom: 0;
}

body.pds-fr-site.me-petermann .pds-fr-pubs-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  min-height: min(480px, 68vh);
}

body.pds-fr-site.me-petermann .pds-fr-pubs-hero__portrait-wrap {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 3;
  max-height: min(46vh, 520px);
  overflow: visible;
}

body.pds-fr-site.me-petermann .pds-fr-pubs-hero__portrait-bg {
  position: absolute;
  left: -56px;
  top: -44px;
  bottom: -44px;
  width: 58%;
  background: var(--navy);
  z-index: 0;
}

body.pds-fr-site.me-petermann .pds-fr-pubs-hero__portrait {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0 0 0 4%;
  background: var(--cream);
  overflow: hidden;
  border-radius: 2px;
}

body.pds-fr-site.me-petermann .pds-fr-pubs-hero__portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

body.pds-fr-site.me-petermann .pds-fr-pubs-hero__content {
  padding: 12px 0 16px;
}

body.pds-fr-site.me-petermann .pds-fr-pubs-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

body.pds-fr-site.me-petermann .pds-fr-pubs-hero__eyebrow-line {
  width: 32px;
  height: 1px;
  flex-shrink: 0;
  background: var(--gold);
}

body.pds-fr-site.me-petermann .pds-fr-pubs-hero__title {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  max-width: 720px;
  font-family: var(--serif) !important;
  font-size: clamp(28px, 3.55vw, 40px) !important;
  font-weight: var(--fw-serif-accent) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.015em !important;
  color: var(--navy) !important;
  text-wrap: pretty;
}

@media (max-width: 1000px) {
  body.pds-fr-site.me-petermann .pds-fr-pubs-hero {
    padding: 16px 0 32px;
  }

  body.pds-fr-site.me-petermann .pds-fr-pubs-hero__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
  }

  body.pds-fr-site.me-petermann .pds-fr-pubs-hero__portrait-wrap {
    max-width: min(520px, 92vw);
    max-height: min(42vh, 460px);
  }

  body.pds-fr-site.me-petermann .pds-fr-pubs-hero__portrait-bg {
    left: -28px;
    top: -28px;
    bottom: -28px;
    width: 56%;
  }

  body.pds-fr-site.me-petermann .pds-fr-pubs-hero__content {
    padding: 0 0 8px;
  }

  body.pds-fr-site.me-petermann .pds-fr-pubs-hero__content.animate-block.animate-block--delay-1 {
    margin-top: clamp(16px, 4vw, 28px);
  }
}

/*
 * Heroes avocat + publications — modificateurs (combinables sur <header>)
 *   .pds-fr-hero--mirror     → texte à gauche, photo + slab à droite
 *   .pds-fr-hero--slab-gold  → rectangle latéral doré au lieu du marine
 */

body.pds-fr-site.me-petermann .pds-fr-avocat-hero.pds-fr-hero--mirror .pds-fr-avocat-hero__portrait-wrap,
body.pds-fr-site.me-petermann .pds-fr-pubs-hero.pds-fr-hero--mirror .pds-fr-pubs-hero__portrait-wrap {
  order: 2;
}

body.pds-fr-site.me-petermann .pds-fr-avocat-hero.pds-fr-hero--mirror .pds-fr-avocat-hero__content,
body.pds-fr-site.me-petermann .pds-fr-pubs-hero.pds-fr-hero--mirror .pds-fr-pubs-hero__content {
  order: 1;
}

/*
 * Miroir : `order` place le bloc texte en 1re colonne — sans ajustement, il hérite de 0.62fr
 * (pensé pour la photo) et la photo prend 1.05fr. On inverse les pistes ≥1001px pour retrouver
 * le même rapport qu’en mode « photo à gauche » : texte large, portrait étroit.
 */
@media (min-width: 1001px) {
  body.pds-fr-site.me-petermann .pds-fr-avocat-hero.pds-fr-hero--mirror .pds-fr-avocat-hero__grid,
  body.pds-fr-site.me-petermann .pds-fr-pubs-hero.pds-fr-hero--mirror .pds-fr-pubs-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.62fr);
  }
}

body.pds-fr-site.me-petermann .pds-fr-avocat-hero.pds-fr-hero--mirror .pds-fr-avocat-hero__portrait-bg {
  left: auto;
  right: -56px;
}

body.pds-fr-site.me-petermann .pds-fr-avocat-hero.pds-fr-hero--mirror .pds-fr-avocat-hero__portrait {
  margin-left: 0;
  margin-right: 4%;
}

body.pds-fr-site.me-petermann .pds-fr-pubs-hero.pds-fr-hero--mirror .pds-fr-pubs-hero__portrait-bg {
  left: auto;
  right: -56px;
}

body.pds-fr-site.me-petermann .pds-fr-pubs-hero.pds-fr-hero--mirror .pds-fr-pubs-hero__portrait {
  margin-left: 0;
  margin-right: 4%;
}

body.pds-fr-site.me-petermann .pds-fr-avocat-hero.pds-fr-hero--slab-gold .pds-fr-avocat-hero__portrait-bg,
body.pds-fr-site.me-petermann .pds-fr-pubs-hero.pds-fr-hero--slab-gold .pds-fr-pubs-hero__portrait-bg {
  background: var(--pds-hero-slab-gold);
  box-shadow: inset 0 0 0 1px rgba(200, 165, 91, 0.22);
}

@media (max-width: 1000px) {
  body.pds-fr-site.me-petermann .pds-fr-avocat-hero.pds-fr-hero--mirror .pds-fr-avocat-hero__portrait-bg {
    left: auto;
    right: -32px;
  }

  body.pds-fr-site.me-petermann .pds-fr-pubs-hero.pds-fr-hero--mirror .pds-fr-pubs-hero__portrait-bg {
    left: auto;
    right: -28px;
  }

  /* Une colonne : ordre DOM (photo puis texte) */
  body.pds-fr-site.me-petermann .pds-fr-avocat-hero.pds-fr-hero--mirror .pds-fr-avocat-hero__portrait-wrap,
  body.pds-fr-site.me-petermann .pds-fr-avocat-hero.pds-fr-hero--mirror .pds-fr-avocat-hero__content,
  body.pds-fr-site.me-petermann .pds-fr-pubs-hero.pds-fr-hero--mirror .pds-fr-pubs-hero__portrait-wrap,
  body.pds-fr-site.me-petermann .pds-fr-pubs-hero.pds-fr-hero--mirror .pds-fr-pubs-hero__content {
    order: 0;
  }
}

/* ─── Primary content rhythm (within Bootstrap rows) ─── */
body.pds-fr-site.me-petermann #sous-services .section-main h3,
body.pds-fr-site.me-petermann #sous-services h3,
body.pds-fr-site.me-petermann .tcf-l-page-content .content h3:not(.accordion button) {
  font-family: var(--sans);
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--gold) !important;
  margin-top: clamp(40px, 5vw, 56px);
  margin-bottom: 14px !important;
}

body.pds-fr-site.me-petermann #sous-services.pds-page-avocat .section-ctn .col-md-7 > h3:first-of-type,
body.pds-fr-site.me-petermann #sous-services.pds-page-equipe .section-ctn .col-md-7 > h3:first-of-type {
  margin-top: 0 !important;
}

/* ─── Avocat + équipe — Langues : pastilles dorées légères, ligne sur desktop ─── */

body.pds-fr-site.me-petermann #sous-services.pds-page-avocat .pds-lang-chip-list,
body.pds-fr-site.me-petermann #sous-services.pds-page-equipe .pds-lang-chip-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin-top: 4px !important;
  margin-bottom: clamp(28px, 5vw, 44px) !important;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

body.pds-fr-site.me-petermann #sous-services.pds-page-avocat .pds-lang-chip-list > li.content,
body.pds-fr-site.me-petermann #sous-services.pds-page-equipe .pds-lang-chip-list > li.content {
  margin: 0 !important;
  padding: 7px 14px !important;
  font-family: var(--sans) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
  color: var(--navy) !important;
  line-height: 1.25 !important;
  background: linear-gradient(
    165deg,
    rgba(251, 249, 244, 0.98) 0%,
    rgba(235, 226, 208, 0.75) 48%,
    rgba(223, 210, 182, 0.45) 100%
  );
  border: 1px solid rgba(200, 165, 91, 0.3);
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

body.pds-fr-site.me-petermann #sous-services > .container .content.row h2:first-of-type,
body.pds-fr-site.me-petermann .tcf-l-page-content h2:not(#header-title):not(#title) {
  font-family: var(--serif) !important;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: var(--fw-serif-accent);
  color: var(--navy);
  letter-spacing: -0.015em;
  margin-top: 0 !important;
  margin-bottom: 1rem !important;
}

body.pds-fr-site.me-petermann .tcf-l-page-content > .container {
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(32px, 4vw, 48px);
}

body.pds-fr-site.me-petermann #sous-services .content p:not(.subtitle),
body.pds-fr-site.me-petermann #publications .publication-row,
body.pds-fr-site.me-petermann #publications .paragraph-left,
body.pds-fr-site.me-petermann #publications .middle-content-paragragh-inner {
  font-family: var(--sans) !important;
  font-size: 15px;
  line-height: 1.65;
}

body.pds-fr-site.me-petermann #sous-services label {
  letter-spacing: 0;
}

/* ─── Publications — fond commun (liste index + détail article) ─── */
body.pds-fr-site.me-petermann #publications {
  background: var(--paper) !important;
}

body.pds-fr-site.me-petermann #publications:not(.pubs) {
  padding-top: clamp(48px, 8vw, 80px) !important;
  padding-bottom: clamp(72px, 10vw, 120px);
}

body.pds-fr-site.me-petermann #publications:not(.pubs) .pds-fr-pub-detail__article {
  max-width: min(720px, 100%);
  margin-inline: auto;
}

body.pds-fr-site.me-petermann #publications:not(.pubs) .pds-fr-pub-detail__header {
  padding: 28px 0 8px;
  margin: 0;
  border-top: 1px solid var(--line);
}

body.pds-fr-site.me-petermann #publications:not(.pubs) #title {
  font-family: var(--serif) !important;
  font-size: clamp(28px, 3.55vw, 40px) !important;
  font-weight: var(--fw-serif-accent) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.015em !important;
  color: var(--navy) !important;
  margin: 0 0 18px !important;
  text-wrap: pretty;
}

body.pds-fr-site.me-petermann #publications:not(.pubs) #article-subtitle,
body.pds-fr-site.me-petermann #publications:not(.pubs) .pds-fr-pub-detail__description,
body.pds-fr-site.me-petermann #publications:not(.pubs) .pds-fr-pub-detail__body {
  font-family: var(--sans) !important;
  font-size: clamp(16px, 1.1vw, 18px) !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  letter-spacing: normal !important;
  color: var(--muted) !important;
  text-wrap: pretty;
}

body.pds-fr-site.me-petermann #publications:not(.pubs) #article-subtitle {
  margin: 0 0 28px !important;
  max-width: 44em;
}

body.pds-fr-site.me-petermann #publications:not(.pubs) #article-subtitle:empty {
  display: none;
  margin: 0 !important;
}

/* Corps CMS — même typo que le sous-titre (.pds-fr-pub-detail__description / lede) */
body.pds-fr-site.me-petermann #publications:not(.pubs) .pds-fr-pub-detail__body p {
  margin: 0 0 1.15em;
  font-size: inherit !important;
  line-height: inherit !important;
}

body.pds-fr-site.me-petermann #publications:not(.pubs) .pds-fr-pub-detail__body p:last-child {
  margin-bottom: 0;
}

body.pds-fr-site.me-petermann #publications:not(.pubs) .pds-fr-pub-detail__body p:empty {
  display: none;
}

body.pds-fr-site.me-petermann #publications:not(.pubs) .pds-fr-pub-detail__body p:has(> span.rangySelectionBoundary:only-child) {
  display: none;
}

body.pds-fr-site.me-petermann #publications:not(.pubs) .pds-fr-pub-detail__body span {
  font: inherit !important;
  color: inherit !important;
}

body.pds-fr-site.me-petermann #publications:not(.pubs) .pds-fr-pub-detail__body h2,
body.pds-fr-site.me-petermann #publications:not(.pubs) .pds-fr-pub-detail__body h3,
body.pds-fr-site.me-petermann #publications:not(.pubs) .pds-fr-pub-detail__body h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 1.5em 0 0.65em;
}

body.pds-fr-site.me-petermann #publications:not(.pubs) .pds-fr-pub-detail__body h2 {
  font-size: clamp(22px, 2.4vw, 28px);
}

body.pds-fr-site.me-petermann #publications:not(.pubs) .pds-fr-pub-detail__body h3 {
  font-size: clamp(18px, 2vw, 22px);
}

body.pds-fr-site.me-petermann #publications:not(.pubs) .pds-fr-pub-detail__body h4 {
  font-size: clamp(16px, 1.6vw, 18px);
}

body.pds-fr-site.me-petermann #publications:not(.pubs) .pds-fr-pub-detail__body strong {
  color: var(--navy);
  font-weight: 600;
}

body.pds-fr-site.me-petermann #publications:not(.pubs) .pds-fr-pub-detail__body a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.pds-fr-site.me-petermann #publications:not(.pubs) .pds-fr-pub-detail__body a:hover {
  color: var(--gold);
}

body.pds-fr-site.me-petermann #publications:not(.pubs) .pds-fr-pub-detail__body ul,
body.pds-fr-site.me-petermann #publications:not(.pubs) .pds-fr-pub-detail__body ol {
  margin: 0 0 1.15em;
  padding-left: 1.25em;
  font-size: inherit !important;
  line-height: inherit !important;
}

body.pds-fr-site.me-petermann #publications:not(.pubs) .pds-fr-pub-detail__body blockquote {
  margin: 1.25em 0;
  padding-left: 1em;
  border-left: 3px solid rgba(200, 165, 91, 0.45);
  font-family: var(--sans) !important;
  font-style: italic;
  font-size: inherit !important;
  line-height: inherit !important;
  color: var(--muted) !important;
}

body.pds-fr-site.me-petermann #publications:not(.pubs) .pds-fr-pub-detail__body img {
  max-width: 100%;
  height: auto;
}

body.pds-fr-site.me-petermann #publications:not(.pubs) .pds-fr-pub-detail__rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: clamp(40px, 6vw, 56px) 0 24px;
}

body.pds-fr-site.me-petermann #publications:not(.pubs) .pds-fr-pub-detail__footer .social-large a {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
}

body.pds-fr-site.me-petermann #publications:not(.pubs) .pds-fr-pub-detail__footer .social-large a:hover {
  color: var(--gold);
}

/* ─── /fr/publications index — même section que index-design-2 (.pubs / .pub-row) ─── */

body.pds-fr-site.me-petermann section#publications.pubs {
  padding: clamp(48px, 8vw, 80px) 0 clamp(72px, 10vw, 120px);
  margin: 0;
}

body.pds-fr-site.me-petermann section#publications.pubs .pubs__list {
  display: flex;
  flex-direction: column;
}

body.pds-fr-site.me-petermann section#publications.pubs a.pub-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1.15fr) minmax(0, 1fr) 52px;
  gap: 24px 32px;
  align-items: center;
  padding: 28px 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none !important;
  color: inherit !important;
  transition: padding-left 0.35s ease, background 0.35s ease;
}

body.pds-fr-site.me-petermann section#publications.pubs a.pub-row:first-child {
  border-top: 1px solid var(--line);
}

body.pds-fr-site.me-petermann section#publications.pubs a.pub-row:hover,
body.pds-fr-site.me-petermann section#publications.pubs a.pub-row:focus {
  padding-left: 12px;
  background: linear-gradient(90deg, rgba(200, 165, 91, 0.06), transparent 72%);
  opacity: 1;
}

body.pds-fr-site.me-petermann section#publications.pubs .pub-row__id {
  font-family: var(--sans);
  font-variant-numeric: tabular-nums lining-nums;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--gold);
}

body.pds-fr-site.me-petermann section#publications.pubs .pub-row__title {
  font-family: var(--serif);
  font-size: clamp(20px, 2.1vw, 24px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy);
}

body.pds-fr-site.me-petermann section#publications.pubs .pub-row__excerpt {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--muted);
}

body.pds-fr-site.me-petermann section#publications.pubs .pub-row__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

body.pds-fr-site.me-petermann section#publications.pubs .pub-row__arrow-inner {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  color: var(--navy);
}

body.pds-fr-site.me-petermann section#publications.pubs a.pub-row:hover .pub-row__arrow,
body.pds-fr-site.me-petermann section#publications.pubs a.pub-row:focus .pub-row__arrow {
  background: var(--navy);
  border-color: var(--navy);
}

body.pds-fr-site.me-petermann section#publications.pubs a.pub-row:hover .pub-row__arrow-inner,
body.pds-fr-site.me-petermann section#publications.pubs a.pub-row:focus .pub-row__arrow-inner {
  color: var(--cream);
}

@media (max-width: 900px) {
  body.pds-fr-site.me-petermann section#publications.pubs a.pub-row {
    grid-template-columns: 1fr auto;
    gap: 12px 16px;
  }

  body.pds-fr-site.me-petermann section#publications.pubs .pub-row__id {
    grid-column: 1;
    grid-row: 1;
  }

  body.pds-fr-site.me-petermann section#publications.pubs .pub-row__arrow {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
  }

  body.pds-fr-site.me-petermann section#publications.pubs .pub-row__title {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  body.pds-fr-site.me-petermann section#publications.pubs .pub-row__excerpt {
    grid-column: 1 / -1;
    grid-row: 3;
    font-size: 14px;
  }
}

/* ─── Page avocat — Formation / Activités : bandes + colonnes (voir intro__features landing) ─── */

body.pds-fr-site.me-petermann #sous-services .pds-cv-stack {
  margin-top: 4px;
  margin-bottom: 28px;
  border-top: 1px solid var(--line);
}

body.pds-fr-site.me-petermann #sous-services .pds-cv-stack .tcf-l-date-range {
  display: grid;
  grid-template-columns: minmax(100px, 130px) minmax(0, 1fr);
  gap: 24px 32px;
  align-items: start;
  padding: 22px 0;
  margin: 0 !important;
  border-bottom: 1px solid var(--line);
}

body.pds-fr-site.me-petermann #sous-services .pds-cv-stack .tcf-l-date-range strong.content,
body.pds-fr-site.me-petermann #sous-services .pds-cv-stack .tcf-l-date-range strong {
  margin: 0;
  border: none;
  font-family: var(--sans);
  font-variant-numeric: tabular-nums lining-nums;
  font-size: 11px;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  color: var(--gold);
  padding-top: 5px;
  display: block;
  line-height: 1.4;
}

/* Suite de ligne sans nouvelle date (continuation) */
body.pds-fr-site.me-petermann #sous-services .pds-cv-stack .tcf-l-date-range strong.content:empty,
body.pds-fr-site.me-petermann #sous-services .pds-cv-stack .tcf-l-date-range strong:empty {
  display: none;
}

body.pds-fr-site.me-petermann #sous-services .pds-cv-stack .tcf-l-date-range:has(strong:empty) {
  grid-template-columns: minmax(0, 1fr);
}

body.pds-fr-site.me-petermann #sous-services .pds-cv-stack .tcf-l-date-range p.content,
body.pds-fr-site.me-petermann #sous-services .pds-cv-stack .tcf-l-date-range p {
  font-family: var(--sans) !important;
  font-size: 16px !important;
  line-height: 1.55;
  font-weight: 400 !important;
  color: var(--muted) !important;
  margin: 0 !important;
}

@media (max-width: 560px) {
  body.pds-fr-site.me-petermann #sous-services .pds-cv-stack .tcf-l-date-range {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  body.pds-fr-site.me-petermann #sous-services .pds-cv-stack .tcf-l-date-range:has(strong:not(:empty)) strong {
    padding-top: 0;
  }
}

/* ─── Affiliations : traits via gap fond ligne, grille sans bordure extérieure, cellules blanches (survol #ececea) ─── */

body.pds-fr-site.me-petermann #sous-services .pds-affiliation-grid {
  width: 100%;
  margin-top: 8px !important;
  margin-left: auto;
  margin-right: auto;
  display: grid !important;
  /* Largeur type conteneur ~1200px : 4 cellules */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 0;
  box-sizing: border-box;
  text-align: center;
}

body.pds-fr-site.me-petermann #sous-services .pds-affiliation-grid .col-sm-6 {
  width: auto !important;
  max-width: none !important;
  float: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.pds-fr-site.me-petermann #sous-services .pds-affiliation-grid .tcf-c-icon-text-card {
  height: auto;
  min-height: 152px;
  margin: 0 !important;
  padding: 12px 10px 16px !important;
  box-sizing: border-box;
  background-color: var(--paper) !important;
  border: none !important;
  box-shadow: none !important;
  transition: background-color 0.3s ease;
}

body.pds-fr-site.me-petermann #sous-services .pds-affiliation-grid .tcf-c-icon-text-card:hover {
  background: #ececea !important;
  cursor: pointer;
}

body.pds-fr-site.me-petermann #sous-services .pds-affiliation-grid .tcf-c-icon-text-card a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 128px;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: transparent;
}

body.pds-fr-site.me-petermann #sous-services .pds-affiliation-grid .tcf-c-icon-text-card h4 {
  font-family: var(--serif) !important;
  font-size: 14px !important;
  font-weight: var(--fw-serif-accent) !important;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 auto;
  padding: 0 6px;
  line-height: 1.35;
}

body.pds-fr-site.me-petermann #sous-services .pds-affiliation-grid .tcf-c-icon-text-card img.img-responsive {
  margin-top: 20px !important;
  margin-bottom: 12px !important;
  max-height: 46px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
}

@media (max-width: 1100px) {
  body.pds-fr-site.me-petermann #sous-services .pds-affiliation-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  body.pds-fr-site.me-petermann #sous-services .pds-affiliation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 460px) {
  body.pds-fr-site.me-petermann #sous-services .pds-affiliation-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.pds-fr-site.me-petermann #sous-services .pds-affiliation-grid .tcf-c-icon-text-card {
    min-height: 140px;
  }
}

/* ─── Page avocat — plus de grille 7+4 : contenu puis cartes Tarif / Sécu / Juridi en pied ─── */

@media (min-width: 992px) {
  body.pds-fr-site.me-petermann #sous-services.pds-page-avocat .section-ctn > .col-md-7,
  body.pds-fr-site.me-petermann #sous-services.pds-page-equipe .section-ctn > .col-md-7 {
    width: 100% !important;
    float: none !important;
  }

  body.pds-fr-site.me-petermann #sous-services.pds-page-avocat .section-ctn > .col-md-offset-1.col-md-4 {
    width: 100% !important;
    max-width: 100%;
    margin-left: 0 !important;
    float: none !important;
    clear: both;
    margin-top: clamp(44px, 7vw, 88px);
  }
}

/* ─── Page équipe — même lecture que avocat (#sous-services) ─── */

body.pds-fr-site.me-petermann #sous-services.pds-page-equipe {
  background: #fff;
}

/* Affiliations équipe : grille avocat = fond lignes (--line), une seule carte laissait le reste du panneau grisé — fond blanc, colonnes auto-fit */
body.pds-fr-site.me-petermann #sous-services.pds-page-equipe .pds-affiliation-grid {
  background: #fff !important;
  gap: clamp(16px, 3vw, 28px);
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

/* ─── Page domaines — rubriques + accordéons Bootstrap (.panel-group), alignées expertise / avocat ─── */

body.pds-fr-site.me-petermann #sous-services.pds-page-domaines {
  background: var(--paper);
}

body.pds-fr-site.me-petermann #sous-services.pds-page-domaines .section-ctn > .col-md-8 > h3.content:first-of-type {
  margin-top: 0 !important;
}

/* Rubrique (eyebrows) — un cran plus lisible, aligné titre / intro expertise */
body.pds-fr-site.me-petermann #sous-services.pds-page-domaines .col-md-8 > h3.content {
  font-size: 14px !important;
  letter-spacing: 0.22em !important;
  margin-bottom: 16px !important;
}

/* Paragraphes d’introduction sous chaque rubrique — même lecture que bloc intro avocat / expertise */
body.pds-fr-site.me-petermann #sous-services.pds-page-domaines .col-md-8 > p.content {
  font-size: 17px !important;
  line-height: 1.62 !important;
}

body.pds-fr-site.me-petermann #sous-services.pds-page-domaines .panel-group {
  margin-top: clamp(12px, 2.5vw, 24px) !important;
  margin-bottom: clamp(44px, 7vw, 72px) !important;
  border-top: 1px solid var(--line);
}

body.pds-fr-site.me-petermann #sous-services.pds-page-domaines .panel-group:last-child {
  margin-bottom: 0 !important;
}

body.pds-fr-site.me-petermann #sous-services.pds-page-domaines .panel.panel-default {
  margin: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  border-bottom: 1px solid var(--line);
}

body.pds-fr-site.me-petermann #sous-services.pds-page-domaines .panel-group .panel.panel-default:first-child {
  border-top: none;
}

body.pds-fr-site.me-petermann #sous-services.pds-page-domaines a[data-toggle="collapse"] {
  display: block;
  text-decoration: none !important;
  color: inherit !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
}

/* Clavier : anneau discret sur le bouton +/− (pas le rectangle bleu du navigateur sur le <a>) */
body.pds-fr-site.me-petermann #sous-services.pds-page-domaines a[data-toggle="collapse"]:focus-visible .pds-domaines-drawer__btn {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

body.pds-fr-site.me-petermann #sous-services.pds-page-domaines .panel-heading {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  display: flex !important;
  align-items: center !important;
  padding: clamp(14px, 2.2vw, 20px) 8px clamp(14px, 2.2vw, 20px) 0 !important;
  transition: padding-left 0.35s ease, background 0.35s ease;
}

/* Ligne fermée — même langage que la liste Publications (léger décalage + voile) */
body.pds-fr-site.me-petermann #sous-services.pds-page-domaines .panel:not(:has(.panel-collapse.in)) a[data-toggle="collapse"]:hover .panel-heading,
body.pds-fr-site.me-petermann #sous-services.pds-page-domaines .panel:not(:has(.panel-collapse.in)) a[data-toggle="collapse"]:focus .panel-heading {
  padding-left: 12px !important;
  background: linear-gradient(90deg, rgba(200, 165, 91, 0.06), transparent 72%) !important;
}

/* Ligne ouverte : pas de translation de toute la ligne (le bouton circulaire suffit) */
body.pds-fr-site.me-petermann #sous-services.pds-page-domaines .panel:has(.panel-collapse.in) a[data-toggle="collapse"]:hover .panel-heading,
body.pds-fr-site.me-petermann #sous-services.pds-page-domaines .panel:has(.panel-collapse.in) a[data-toggle="collapse"]:focus .panel-heading {
  padding-left: 0 !important;
  background: transparent !important;
}

body.pds-fr-site.me-petermann #sous-services.pds-page-domaines .panel-title {
  flex: 1 1 auto;
  box-sizing: border-box;
  width: 100%;
  margin: 0 !important;
  font-family: var(--serif) !important;
  font-size: clamp(20px, 2.05vw, 24px) !important;
  font-weight: 500 !important;
  letter-spacing: -0.012em !important;
  text-transform: none !important;
  color: var(--navy) !important;
  line-height: 1.35;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
}

body.pds-fr-site.me-petermann #sous-services.pds-page-domaines .panel-title text.content {
  flex: 1;
  min-width: 0;
}

/* Bouton circulaire + / − — même esthétique que .pub-row__arrow (Publications) */
body.pds-fr-site.me-petermann #sous-services.pds-page-domaines .pds-domaines-drawer__btn {
  flex-shrink: 0;
  align-self: center;
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  margin: 0 !important;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  box-sizing: border-box;
  place-items: center;
  isolation: isolate;
  transition: background 0.2s ease, border-color 0.2s ease;
}

body.pds-fr-site.me-petermann #sous-services.pds-page-domaines .pds-domaines-drawer__glyph {
  grid-area: 1 / 1;
  justify-self: center;
  align-self: center;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Sans géométrique : meilleur axe optique pour + et − dans un cercle */
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  width: 1.25em;
  height: 1.25em;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
  transition: color 0.2s ease, transform 0.2s ease;
}

body.pds-fr-site.me-petermann #sous-services.pds-page-domaines .pds-domaines-drawer__glyph--plus {
  /* Léger levé pour centrage optique avec Inter */
  transform: translateY(-1px);
}

body.pds-fr-site.me-petermann #sous-services.pds-page-domaines .pds-domaines-drawer__glyph--minus {
  display: none;
  /* Le − U+2212 descend visuellement un peu plus que le + */
  transform: translateY(-2px);
}

body.pds-fr-site.me-petermann #sous-services.pds-page-domaines .panel:has(.panel-collapse.in) .pds-domaines-drawer__glyph--plus {
  display: none;
}

body.pds-fr-site.me-petermann #sous-services.pds-page-domaines .panel:has(.panel-collapse.in) .pds-domaines-drawer__glyph--minus {
  display: inline-flex;
}

body.pds-fr-site.me-petermann #sous-services.pds-page-domaines a[data-toggle="collapse"]:hover .pds-domaines-drawer__btn,
body.pds-fr-site.me-petermann #sous-services.pds-page-domaines a[data-toggle="collapse"]:focus .pds-domaines-drawer__btn {
  background: var(--navy);
  border-color: var(--navy);
}

body.pds-fr-site.me-petermann #sous-services.pds-page-domaines a[data-toggle="collapse"]:hover .pds-domaines-drawer__glyph,
body.pds-fr-site.me-petermann #sous-services.pds-page-domaines a[data-toggle="collapse"]:focus .pds-domaines-drawer__glyph {
  color: var(--cream);
}

body.pds-fr-site.me-petermann #sous-services.pds-page-domaines .panel-body {
  border: none !important;
  padding: 4px 0 22px !important;
  background: transparent !important;
}

body.pds-fr-site.me-petermann #sous-services.pds-page-domaines .panel-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

body.pds-fr-site.me-petermann #sous-services.pds-page-domaines .panel-body li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  margin: 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--sans) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.58;
  color: var(--muted) !important;
}

body.pds-fr-site.me-petermann #sous-services.pds-page-domaines .panel-body li:last-child {
  border-bottom: none;
}

body.pds-fr-site.me-petermann #sous-services.pds-page-domaines .panel-body .tcf-e-square {
  flex-shrink: 0;
  margin-top: 8px;
}
