/* Shared pro rhythm. Loaded after both existing pro stylesheets. */
:root {
  --accent-start-rgb: 48, 163, 255;
  --accent-end-rgb: 0, 201, 32;
  --section-space: clamp(120px, 12vw, 176px);
  --content-space: clamp(40px, 5vw, 72px);
  --panel-space: clamp(28px, 4vw, 56px);
}
:root[data-pro-palette="mineral"] {
  --ink: #242431;
  --ink-deep: #191923;
  --ink-soft: #414153;
  --muted: #606074;
  --muted-light: #cbcbe0;
  --line: #e1e0ef;
  --surface: #f5f5fc;
  --surface-warm: #f4f0fc;
  --sky: #f5f5fc;
  --mint: #f4f0fc;
  --blue: #818cf8;
  --blue-deep: #5145b5;
  --green: #c4a0f5;
  --teal: #b4a0f5;
  --lime: #ded0ff;
  --accent-start-rgb: 129, 140, 248;
  --accent-end-rgb: 196, 160, 245;
  --accent-start-light: #a0a8fa;
  --accent-end-light: #d4baf8;
  --blue-deep-rgb: 81, 69, 181;
  --lime-rgb: 222, 208, 255;
  --gradient: linear-gradient(112deg, #818cf8, #c4a0f5);
}
::selection { background: var(--ink); color: var(--white); }
:focus-visible { outline-color: var(--blue-deep); }
input, textarea { caret-color: var(--blue-deep); }
a { text-underline-offset: 0.2em; }
.pro-header .header-inner { gap: clamp(16px, 2vw, 32px); }
.pro-header .brand-lockup { position: static; }
.pro-header .brand-lockup img { width: 103px; height: auto; object-fit: contain; }
.pro-header .pro-nav { margin-left: auto; }
.header-cta { flex: 0 0 auto; white-space: nowrap; }
.pro-header .header-cta { background: var(--gradient); color: var(--ink-deep); box-shadow: 0 9px 22px rgba(var(--accent-start-rgb), 0.2); }
.detail-page .pro-header .header-cta { background: var(--ink); color: var(--white); }
.pro-nav > a:not(.button) { min-height: 44px; display: flex; align-items: center; }
.section, .detail-section { padding-block: var(--section-space); }
.chapter-heading, .detail-heading, .impact-heading, .experience-intro, .process-heading {
  margin-bottom: var(--content-space);
}
.section-title, .detail-heading h2, .chapter-heading h2 { line-height: 1.12; }
.section-description, .detail-heading p:last-child { line-height: 1.75; max-width: 65ch; }
/* Intrinsic hero sizing prevents actions from colliding with the footer at short heights. */
.hero-stage { display: flex; flex-direction: column; min-height: 680px; }
.hero-copy { position: relative; top: auto; left: auto; width: auto; max-width: 960px; margin: auto 0; padding: 88px clamp(28px, 6vw, 80px) 56px; transform: none; }
.hero h1 { font-size: clamp(48px, 6.4vw, 92px); line-height: 1.04; }
.hero-foot, .detail-page .detail-hero-foot { position: relative; inset: auto; margin: 0 clamp(28px, 4.6vw, 60px); padding: 24px 0 32px; }
.detail-page .detail-hero-stage { min-height: 640px; }
.detail-page .detail-hero-copy { min-height: 0; padding-top: 80px; padding-bottom: 56px; }
.detail-page .detail-hero h1 { line-height: 1.06; }
.hero-actions, .detail-hero-actions { flex-wrap: wrap; row-gap: 20px; }
.audience { padding-block: 48px; }
.audience-inner { box-shadow: none; padding: 32px 40px; gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.audience-list { gap: 20px 28px; }
.form-shell, .whatsapp-panel, .testimonial-content, .afterwork-copy, .activity-close-copy, .event-stack-copy { padding: var(--panel-space); }
.faq-list summary, .detail-faq summary { padding-block: 28px; line-height: 1.5; }
.faq-list details > p, .detail-faq details > p { line-height: 1.8; padding-bottom: 16px; }
.form-row { gap: 24px; }
.form-shell input:not([type="checkbox"]):not([type="radio"]), .form-shell select { min-height: 52px; }
.form-shell label { line-height: 1.5; }
.activity-intent-list article, .included-ledger article, .zone-answers article { padding-block: 28px; }
.format-scale > article { padding: 16px 16px 40px; }
.format-scale > article > span, .format-scale h3, .format-scale ul { margin-inline: 16px; }
.impact-word { line-height: 1.02; overflow-wrap: anywhere; }
.impact-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.impact-display { min-height: 640px; }
.impact-tabs button { color: var(--ink-soft); font-size: 12px; padding: 20px 16px; }
.impact-tabs button.is-active { color: var(--white); }
.impact-copy > a, .format-content a { min-height: 44px; }
.pro-footer { padding-top: var(--content-space); }
/* The palette chooser is an in-flow preview tool: it never covers page content. */
.preview-palette { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 12px 20px; background: #f3f1ed; border-bottom: 1px solid #ded9d2; color: #353535; font-size: 12px; }
.preview-palette > span { font-weight: 600; }
.preview-palette-options { display: flex; gap: 4px; }
.preview-palette button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 14px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #514d48; cursor: pointer; font-size: 12px; }
.preview-palette button[aria-pressed="true"] { border-color: #b8b0a6; background: #fff; color: #242424; font-weight: 600; }
.preview-palette button::before { content: ""; width: 20px; height: 12px; border-radius: 3px; background: linear-gradient(112deg, #30a3ff, #00c920); }
.preview-palette button[data-palette="mineral"]::before { background: linear-gradient(112deg, #818cf8, #c4a0f5); }
@media (max-width: 1100px) and (min-width: 901px) {
  .pro-header .header-inner { gap: 16px; padding-left: 16px; }
  .brand-lockup { gap: 8px; }
  .pro-header .brand-lockup img { width: 76px; }
  .pro-header .pro-nav { gap: 16px; }
  .header-cta { padding-inline: 16px; font-size: 12px; }
}
@media (max-width: 900px) {
  :root { --section-space: 104px; --content-space: 44px; --panel-space: 32px; }
  .pro-header, .detail-page .pro-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .pro-header .header-inner { gap: 12px; }
  .header-cta { margin-left: auto; }
  .pro-header .pro-nav { margin: 0; visibility: hidden; min-height: 100dvh; overflow-y: auto; }
  .pro-header .pro-nav.is-open { visibility: visible; }
  .hero-stage { min-height: 0; }
  .hero-copy { padding: 72px 32px 48px; }
  .hero-foot, .detail-page .detail-hero-foot { margin-inline: 32px; flex-wrap: wrap; gap: 16px; }
  .detail-page .detail-hero-stage { min-height: 0; }
  .detail-page .detail-hero-copy { width: 100%; padding: 72px 32px 48px; }
  .audience-inner { padding: 32px; grid-template-columns: 1fr; gap: 24px; }
  .audience-list { justify-content: flex-start; }
  .impact-panel { grid-template-columns: 1fr; gap: 32px; align-content: start; }
  .impact-display { min-height: 650px; }
}
@media (max-width: 600px) {
  :root { --section-space: 88px; --content-space: 36px; --panel-space: 28px; }
  .pro-header .header-inner, .detail-page .header-inner { width: calc(100% - 24px); padding-inline: 10px; gap: 8px; }
  .pro-header .brand-lockup img { width: 64px; }
  .brand-lockup > span, .brand-lockup strong { display: none; }
  .header-cta { min-height: 44px; padding-inline: 12px; font-size: 11px; }
  .nav-toggle { flex: 0 0 44px; }
  .hero-copy { padding: 56px 24px 40px; }
  .hero h1 { font-size: clamp(42px, 10.5vw, 60px); }
  .hero-foot, .detail-page .detail-hero-foot { margin-inline: 24px; }
  .detail-page .detail-hero-copy { padding: 56px 24px 40px; }
  .hero-intro, .detail-hero-intro { font-size: 17px; line-height: 1.7; }
  .hero-actions, .detail-hero-actions { align-items: stretch; flex-direction: column; gap: 24px; }
  .hero-actions .text-link, .detail-hero-actions .text-link { justify-content: center; min-height: 44px; }
  .audience { padding-block: 32px; }
  .audience-inner { padding: 28px 24px; }
  .section-title, .detail-heading h2, .chapter-heading h2 { font-size: clamp(32px, 8.5vw, 42px); }
  .section-description, .detail-heading p:last-child, .faq-list details > p { font-size: 16px; }
  .impact-panel { padding: 32px 24px; }
  .impact-tabs button { padding: 16px 8px; font-size: 11px; }
  .impact-display { min-height: 720px; }
  .preview-palette { gap: 8px; flex-wrap: wrap; padding: 8px 12px; }
  .preview-palette > span { font-size: 11px; }
  .preview-palette button { min-height: 44px; padding-inline: 10px; }
}
/* Dark chapters need a light reading colour in both palettes. */
.detail-section-dark .chapter-heading > p,
.chapter-heading-light > p { color: var(--muted-light); line-height: 1.75; }
.format-panel:not(.is-active) .format-content,
.detail-accordion article:not(.is-active) .detail-panel-copy { visibility: hidden; }
.contact-page .detail-hero-stage { min-height: 0; }
.contact-page .detail-hero-copy { padding-block: 64px; }
.contact-page .detail-hero h1 { font-size: clamp(44px, 5.5vw, 72px); }
#demande-devis-entreprises { scroll-margin-top: 112px; }
.field input::placeholder, .field textarea::placeholder { color: #6b7077; opacity: 1; }
[data-pro-palette="mineral"] .field input,
[data-pro-palette="mineral"] .field select,
[data-pro-palette="mineral"] .field textarea,
[data-pro-palette="mineral"] .activity-choices label span { background: #f8f7fc; }
[data-pro-palette="mineral"] .button-primary { box-shadow: 0 12px 28px rgba(87, 70, 151, 0.18); }
[data-pro-palette="mineral"] .button-primary:hover { box-shadow: 0 16px 34px rgba(87, 70, 151, 0.24); }

/* Keep the reunion additions within the compact section budgets. */
body .turnkey-section { padding-block: 44px 48px; }
body .inclusion-section { padding-block: 48px; }
body .impact-section { padding-block: 42px 46px; }
body .activity-briefings,
body .anchor-venues-section { padding-block: 52px; }

body .impact-section .impact-heading { margin-bottom: 22px; }
body .impact-section .impact-display { min-height: 460px; }
body .impact-section .impact-panel { gap: 15px; }
body .impact-section .impact-tabs button { padding: 4px 8px 4px 15px; }

@media (max-width: 620px) {
  body .turnkey-section,
  body .inclusion-section { padding-block: 34px; }
  body .impact-section { padding-block: 34px 38px; }
  body .activity-briefings,
  body .anchor-venues-section { padding-block: 36px; }
  body .impact-section .impact-heading { margin-bottom: 18px; }
  body .impact-section .impact-display { min-height: 470px; }
  body .impact-section .impact-panel { padding: 24px 21px; gap: 13px; }
  body .impact-section .impact-tabs button { padding: 4px 8px 4px 12px; }
}
