/* Pied de page — styles isolés (préfixe pdp-) */
html body .pdp {
  --pdp-ink: #2f4a6a;
  --pdp-accent: #ee9b80;
  --pdp-text: #3b3a3f;
  --pdp-muted: color-mix(in srgb, var(--pdp-ink) 60%, #8a8079);
  --pdp-line: color-mix(in srgb, var(--pdp-ink) 12%, transparent);
  --pdp-head: var(--pdp-ink);
  --pdp-link-hover: color-mix(in srgb, var(--pdp-accent) 72%, #7a2e14);
  --pdp-max: 1180px;
  --pdp-serif: var(--e-global-typography-primary-font-family, "DM Serif Display"), Georgia, "Times New Roman", serif;
  position: relative; background: var(--pdp-bg, #ffffff); color: var(--pdp-text);
  font-size: 16px; line-height: 1.6; margin: 0; padding: 0;
}
html body .pdp *, html body .pdp *::before, html body .pdp *::after { box-sizing: border-box; }

/* Textes pour fond foncé (le fond lui-même reste géré par le site) */
html body .pdp.is-dark {
  --pdp-text: #f3e9e1;
  --pdp-muted: color-mix(in srgb, #fbf3ec 66%, var(--pdp-ink));
  --pdp-line: color-mix(in srgb, #fbf3ec 16%, transparent);
  --pdp-head: #fbf3ec;
  --pdp-link-hover: var(--pdp-accent);
}

html body .pdp-inner {
  position: relative; max-width: var(--pdp-max); margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px));
}

/* ---------- Colonnes ---------- */
html body .pdp-main {
  display: grid; grid-template-columns: 1.75fr 1fr 1.15fr 1.3fr; gap: 40px 48px;
  padding-top: 56px; padding-bottom: 54px;
}
html body .pdp-main.pdp-n3 { grid-template-columns: 1.75fr 1fr 1.3fr; }
html body .pdp-main.pdp-n2 { grid-template-columns: 1.5fr 1fr; }
html body .pdp-main.pdp-n1 { grid-template-columns: 1fr; }
html body .pdp-col { min-width: 0; }

html body .pdp-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
html body .pdp-logo { display: inline-block; line-height: 0; text-decoration: none; }
html body .pdp-logo img { display: block; height: var(--pdp-logo-h, 110px); width: auto; max-width: 260px; object-fit: contain; }
html body .pdp-logo-text { font-family: var(--pdp-serif); font-size: 28px; line-height: 1.1; color: var(--pdp-head); }
html body .pdp-phrase { margin: 0; max-width: 30ch; font-family: var(--pdp-serif); font-size: 20px; line-height: 1.35; color: var(--pdp-head); text-wrap: pretty; }
html body .pdp-phrase em { font-style: italic; color: var(--pdp-link-hover); }

html body .pdp-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
html body .pdp-social a {
  display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 99px;
  border: 1px solid var(--pdp-line); color: var(--pdp-head); font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
html body .pdp-social a:hover, html body .pdp-social a:focus-visible { background: var(--pdp-accent); border-color: var(--pdp-accent); color: var(--pdp-ink); transform: scale(1.05); }

html body .pdp-title { margin: 6px 0 16px; padding: 0; font-family: var(--pdp-serif); font-weight: 400; font-size: 24px; line-height: 1.2; color: var(--pdp-head); }

html body .pdp-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
html body .pdp-links li { margin: 0; padding: 0; }
html body .pdp-links a {
  display: inline-block; color: var(--pdp-text); text-decoration: none; font-size: 16px;
  transform-origin: left center; transition: color .2s ease, transform .2s ease;
}
html body .pdp-links a:hover, html body .pdp-links a:focus-visible, html body .pdp-links .current-menu-item > a { color: var(--pdp-link-hover); transform: scale(1.05); }
html body .pdp-links .sub-menu { display: none; }

html body .pdp-contact { display: grid; gap: 10px; font-style: normal; }
html body .pdp-contact a.pdp-c, html body .pdp-contact span.pdp-c { display: inline-flex; align-items: center; gap: 10px; color: var(--pdp-text); text-decoration: none; font-size: 16px; overflow-wrap: anywhere; transition: color .2s; }
html body .pdp-contact a.pdp-c:hover, html body .pdp-contact a.pdp-c:focus-visible { color: var(--pdp-link-hover); }
html body .pdp-ico { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--pdp-accent) 20%, transparent); color: var(--pdp-link-hover); }
html body .pdp.is-dark .pdp-ico { background: color-mix(in srgb, #fbf3ec 10%, transparent); color: var(--pdp-accent); }
html body .pdp-ico svg { width: 15px; height: 15px; }
html body .pdp-zone { color: var(--pdp-muted); }

html body .pdp-cta {
  justify-self: start; margin-top: 10px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--pdp-accent); color: var(--pdp-ink); text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 12px 24px; border-radius: 99px; white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
html body .pdp-cta:hover, html body .pdp-cta:focus-visible { background: var(--pdp-ink); color: var(--pdp-accent); transform: scale(1.06); }
html body .pdp.is-dark .pdp-cta:hover, html body .pdp.is-dark .pdp-cta:focus-visible { background: #fbf3ec; color: var(--pdp-ink); }

/* ---------- Barre du bas ---------- */
html body .pdp-bottom { border-top: 1px solid var(--pdp-line); }
html body .pdp-bottom .pdp-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 20px; padding-bottom: 22px; }
html body .pdp-legal-id { margin: 0; font-size: 14px; color: var(--pdp-muted); }
html body .pdp-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 28px; list-style: none; margin: 0; padding: 0; }
html body .pdp-legal li { position: relative; margin: 0; padding: 0; }
html body .pdp-legal li + li::before { content: ""; position: absolute; left: -16px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: var(--pdp-accent); }
html body .pdp-legal a { color: var(--pdp-muted); font-size: 14px; text-decoration: none; transition: color .2s; }
html body .pdp-legal a:hover, html body .pdp-legal a:focus-visible { color: var(--pdp-link-hover); }
html body .pdp-top {
  display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 700; color: var(--pdp-head);
}
html body .pdp-top span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--pdp-line); transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
html body .pdp-top svg { width: 14px; height: 14px; }
html body .pdp-top:hover span, html body .pdp-top:focus-visible span { background: var(--pdp-accent); border-color: var(--pdp-accent); color: var(--pdp-ink); transform: translateY(-2px); }
html body .pdp-right { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; }

html body .pdp a:focus-visible, html body .pdp button:focus-visible { outline: 2px solid var(--pdp-accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  html body .pdp-main, html body .pdp-main.pdp-n3, html body .pdp-main.pdp-n2 { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  html body .pdp-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  html body .pdp-main, html body .pdp-main.pdp-n3, html body .pdp-main.pdp-n2 { grid-template-columns: 1fr 1fr; gap: 34px 20px; padding-bottom: 40px; }
  html body .pdp-contact-col { grid-column: 1 / -1; }
  html body .pdp-logo img { height: calc(var(--pdp-logo-h, 110px) * .8); }
  html body .pdp-phrase { font-size: 19px; }
  html body .pdp-bottom .pdp-inner { flex-direction: column; align-items: flex-start; }
  html body .pdp-right { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { html body .pdp * { transition: none !important; } }

/* ---------- Protection contre les styles du thème ---------- */
html body .pdp a, html body .pdp a:hover, html body .pdp a:focus { box-shadow: none; text-transform: none; letter-spacing: normal; text-decoration: none; }
html body .pdp button, html body .pdp button:hover, html body .pdp button:focus { background: none; box-shadow: none; text-transform: none; letter-spacing: normal; min-height: 0; padding: 0; border: 0; color: var(--pdp-head); }
html body .pdp ul, html body .pdp li { list-style: none; }
html body .pdp li::before { content: none; }
html body .pdp .pdp-legal li + li::before { content: ""; }
html body .pdp .pdp-links a { color: var(--pdp-text); }
html body .pdp .pdp-links a:hover, html body .pdp .pdp-links a:focus-visible, html body .pdp .pdp-links .current-menu-item > a { color: var(--pdp-link-hover); }
html body .pdp .pdp-contact a.pdp-c { color: var(--pdp-text); }
html body .pdp .pdp-contact a.pdp-c:hover { color: var(--pdp-link-hover); }
html body .pdp .pdp-legal a { color: var(--pdp-muted); }
html body .pdp .pdp-legal a:hover { color: var(--pdp-link-hover); }
html body .pdp .pdp-social a { color: var(--pdp-head); }
html body .pdp .pdp-social a:hover, html body .pdp .pdp-social a:focus-visible { color: var(--pdp-ink); }
html body .pdp a.pdp-cta { color: var(--pdp-ink); background-color: var(--pdp-accent); }
html body .pdp a.pdp-cta:hover, html body .pdp a.pdp-cta:focus-visible { color: var(--pdp-accent); background-color: var(--pdp-ink); }
html body .pdp.is-dark a.pdp-cta:hover, html body .pdp.is-dark a.pdp-cta:focus-visible { color: var(--pdp-ink); background-color: #fbf3ec; }
html body .pdp h2.pdp-title, html body .pdp p.pdp-phrase { color: var(--pdp-head); }
/* Style bleu nuit : logo passé en crème automatiquement (option) */
html body .pdp.is-dark.is-logo-light .pdp-logo img { filter: brightness(0) invert(94%) sepia(12%) saturate(300%) hue-rotate(330deg); }
