/*
Theme Name: PACE Moderne 2.22.21
Theme URI: https://pace-experts.org/
Author: PACE Think Tank
Description: Une presentation modernisee du site PACE, autonome et compatible avec les pages WordPress.
Version: 2.22.21
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: pace-modern
*/

:root {
  color-scheme: light;
  --pace-theme-blue: #212863;
  --pace-theme-ink: var(--pace-theme-blue);
  --pace-theme-text: #4f5369;
  --pace-theme-green: #0d5c2f;
  --pace-theme-paper: #fff;
  --pace-theme-lime: #dbeab7;
  --pace-theme-line: #e3e6ee;
  --pace-theme-shadow: 0 26px 70px rgba(33, 40, 99, .13);
  --pace-home-teal: var(--pace-theme-green);
  --pace-home-yellow: #ffca05;
}

html { scroll-behavior: smooth; }
body { background: var(--pace-theme-paper); color: var(--pace-theme-text); margin: 0; }
body.pace-page, body.home { font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body.pace-page #pace-app { min-height: 65vh; }
body.home { overflow-x: hidden; }
body.home a, body.pace-page a { text-underline-offset: 4px; }
body.home :focus-visible, body.pace-page :focus-visible { outline: 3px solid var(--pace-theme-lime); outline-offset: 4px; }

.pace-theme-header {
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(227, 235, 229, .85);
  box-shadow: 0 8px 30px rgba(23, 60, 53, .06);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  min-height: 72px;
  padding: 10px max(24px, calc((100% - 1400px) / 2));
  position: sticky;
  top: 0;
  z-index: 99;
  animation: pace-drop-in .55s both;
}
.pace-theme-brand { display: inline-flex; line-height: 0; }
.pace-theme-brand img { height: auto; max-height: 44px; object-fit: contain; width: 136px; transition: transform .25s ease; }
.pace-theme-brand:hover img { transform: scale(1.035); }
.pace-header-desktop { align-items: center; display: flex; gap: 12px; min-width: 0; }
.pace-theme-nav { align-items: center; display: flex; flex-wrap: nowrap; gap: clamp(2px, .35vw, 6px); }
.pace-theme-nav-compact { display: none; }
.pace-theme-nav a { border-radius: 999px; color: var(--pace-theme-green); font-size: .86rem; font-weight: 750; padding: 8px 8px; text-decoration: none; transition: color .2s ease, background-color .2s ease, transform .2s ease; white-space: nowrap; }
.pace-theme-nav a:visited { color: var(--pace-theme-green); }
.pace-theme-nav a:hover, .pace-theme-nav a:active { background: rgba(13,92,47,.08); color: var(--pace-theme-green); font-weight: 800; transform: translateY(-1px); }
.pace-theme-nav .pace-theme-nav-home { align-items: center; display: inline-flex; justify-content: center; min-width: 38px; position: relative; }
.pace-theme-nav-home svg { fill: currentColor; height: 18px; width: 18px; }
.pace-theme-nav-home::after { background: var(--pace-theme-green); bottom: 3px; content: ""; height: 2px; left: 9px; position: absolute; right: 9px; }
.pace-header-actions { align-items: center; display: flex; flex: 0 0 auto; gap: 8px; }
.pace-header-actions a { align-items: center; border-radius: 999px; display: inline-flex; font-size: .82rem; font-weight: 750; gap: 7px; padding: 10px 15px; text-decoration: none; white-space: nowrap; }
.pace-header-actions svg { flex: 0 0 16px; height: 16px; width: 16px; }
.pace-header-actions .pace-contact svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.pace-header-actions .pace-contact { background: var(--pace-theme-blue); color: #fff; }
.pace-header-actions .pace-contact:hover { background: #171d49; color: #fff; }
.pace-header-actions .pace-donation { background: var(--pace-home-yellow); color: var(--pace-theme-blue); }
.pace-header-actions .pace-donation:hover { background: #ffda46; color: var(--pace-theme-blue); }
.pace-header-actions .pace-donation svg { fill: currentColor; }
.pace-nav-dropdown { position: relative; }
.pace-nav-dropdown summary { border-radius: 999px; color: var(--pace-theme-green); cursor: pointer; font-size: .86rem; font-weight: 750; list-style: none; padding: 8px; white-space: nowrap; }
.pace-nav-dropdown summary::-webkit-details-marker { display: none; }
.pace-nav-dropdown summary::after { border-bottom: 2px solid currentColor; border-right: 2px solid currentColor; content: ""; display: inline-block; height: .4em; margin-left: .6em; transform: translateY(-.2em) rotate(45deg); transition: transform .2s ease; width: .4em; }
.pace-nav-dropdown[open] > summary::after { transform: translateY(.08em) rotate(-135deg); }
.pace-nav-dropdown[open] summary, .pace-nav-dropdown summary:hover, .pace-nav-dropdown summary:active { background: rgba(13,92,47,.08); color: var(--pace-theme-green); font-weight: 800; }
.pace-nav-dropdown-menu { animation: pace-menu-in .18s ease-out both; background: rgba(255,255,255,.98); border: 1px solid var(--pace-theme-line); border-radius: 20px; box-shadow: 0 24px 60px rgba(23,60,53,.18); display: grid; gap: 6px; min-width: 360px; padding: 16px; position: absolute; right: 0; top: calc(100% + 12px); z-index: 110; }
.pace-nav-dropdown-label { color: #738078; font-size: .7rem; font-weight: 800; letter-spacing: .14em; margin: 0 8px 3px; text-transform: uppercase; }
.pace-nav-dropdown-link { align-items: center; border: 1px solid transparent; border-radius: 13px; color: var(--pace-theme-green); display: grid; font-size: .88rem; font-weight: 700; gap: 10px; grid-template-columns: 30px 1fr auto; line-height: 1.4; padding: 10px; text-decoration: none; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.pace-nav-dropdown-menu a:visited { color: var(--pace-theme-green); }
.pace-nav-dropdown-menu a:hover, .pace-nav-dropdown-menu a:active { background: #eef5ef; border-color: #dce9df; color: var(--pace-theme-green); font-weight: 800; transform: translateX(2px); }
.pace-nav-icon { align-items: center; background: #e9f2eb; border-radius: 9px; color: var(--pace-theme-green); display: inline-flex; font-size: .67rem; font-weight: 800; height: 30px; justify-content: center; width: 30px; }
.pace-nav-arrow { border-right: 2px solid currentColor; border-top: 2px solid currentColor; color: var(--pace-theme-green); display: block; height: 7px; justify-self: end; margin-right: 6px; opacity: .55; transform: rotate(45deg); transition: opacity .2s ease, transform .2s ease; width: 7px; }
.pace-nav-dropdown-link:hover .pace-nav-arrow { opacity: 1; transform: translateX(3px) rotate(45deg); }
.pace-nav-coming-soon { color: #79827d; cursor: default; }
.pace-responsive-menu { display: none; position: relative; }
.pace-responsive-menu > summary { align-items: center; background: #f0f5f0; border: 1px solid var(--pace-theme-line); border-radius: 999px; color: var(--pace-theme-green); cursor: pointer; display: inline-flex; font-size: .92rem; font-weight: 750; gap: 8px; list-style: none; padding: 10px 15px; }
.pace-responsive-menu > summary::-webkit-details-marker { display: none; }
.pace-responsive-menu > summary svg { fill: none; height: 18px; stroke: currentColor; stroke-linecap: round; stroke-width: 2; width: 18px; }
.pace-responsive-menu[open] > summary { background: rgba(13,92,47,.08); border-color: rgba(13,92,47,.22); color: var(--pace-theme-green); }
.pace-responsive-menu-panel { background: rgba(255,255,255,.99); border: 1px solid var(--pace-theme-line); border-radius: 20px; box-shadow: 0 24px 60px rgba(23,60,53,.18); display: none; gap: 14px; max-height: min(78vh, 720px); overflow-y: auto; padding: 18px; position: absolute; right: 0; top: calc(100% + 10px); width: min(760px, calc(100vw - 40px)); z-index: 110; }
.pace-responsive-menu[open] .pace-responsive-menu-panel { animation: pace-menu-in .18s ease-out both; display: grid; }
.pace-responsive-menu-panel .pace-theme-nav { align-items: stretch; display: grid; gap: 4px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pace-responsive-menu-panel .pace-theme-nav > a { border-radius: 10px; font-size: .9rem; padding: 11px 12px; }
.pace-responsive-menu-panel .pace-nav-dropdown { grid-column: 1 / -1; }
.pace-responsive-menu-panel .pace-nav-dropdown > summary { font-size: .9rem; padding: 11px 12px; }
.pace-responsive-menu-panel .pace-nav-dropdown-menu { animation: none; border: 0; box-shadow: none; min-width: 0; padding: 8px 0 4px 12px; position: static; }
.pace-responsive-menu-panel .pace-header-actions { border-top: 1px solid var(--pace-theme-line); padding-top: 14px; }

.pace-theme-footer { background: radial-gradient(ellipse at 85% 0%, rgba(255,255,255,.12), transparent 38%), var(--pace-theme-green); color: #fff; margin-top: 72px; padding: 58px max(24px, calc((100% - 1200px) / 2)) 24px; }
.pace-theme-footer a { color: #fff; text-decoration: none; }
.pace-theme-footer a:hover { color: #fff; text-decoration: underline; }
.pace-theme-footer p, .pace-theme-footer h2, .pace-theme-footer span, .pace-theme-footer li { color: #fff; }
.pace-theme-footer-top { align-items: center; border-bottom: 1px solid rgba(255,255,255,.2); display: flex; gap: 30px; padding-bottom: 30px; }
.pace-theme-footer-top img { max-height: 58px; width: 180px; }
.pace-theme-footer-top .pace-footer-logo { align-items: center; background: #fff; border: 1px solid rgba(255,255,255,.75); border-radius: 16px; display: inline-flex; line-height: 0; padding: 9px 14px; }
.pace-theme-footer-top .pace-footer-logo img { max-height: 58px; width: 180px; }
.pace-theme-footer-top p { max-width: 640px; }
.pace-theme-footer-links { display: grid; gap: 28px; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 25px 0; }
.pace-theme-footer-links h2 { color: #fff; font-size: 1rem; letter-spacing: .01em; }
.pace-theme-footer-links ul { list-style: none; margin: 0; padding: 0; }
.pace-theme-footer-links li { margin: 7px 0; }
.pace-theme-footer-links a { font-size: .88rem; }
.pace-theme-footer-social { border-top: 1px solid rgba(255,255,255,.2); padding: 18px 0; }
.pace-theme-footer-social h2 { color: #fff; font-size: 1rem; margin: 0 0 10px; }
.pace-social-buttons { align-items: center; display: flex; flex-wrap: wrap; gap: 10px; }
.pace-social-button { align-items: center; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.38); border-radius: 14px; color: #fff; display: inline-flex; height: 46px; justify-content: center; text-decoration: none; transition: background .2s ease, box-shadow .2s ease, transform .2s ease; width: 46px; }
.pace-social-button > span:first-child { font-size: 1.05rem; font-weight: 850; line-height: 1; }
.pace-social-button:hover { background: rgba(255,255,255,.26); box-shadow: 0 8px 20px rgba(0,0,0,.12); color: #fff; transform: translateY(-3px); }
.pace-social-button.is-unconfigured { cursor: not-allowed; opacity: .58; }
.pace-screen-reader-only { clip: rect(0,0,0,0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
.pace-theme-footer-social p { color: #fff; font-size: .85rem; margin: 8px 0 0; }
.pace-theme-footer-bottom { border-top: 1px solid rgba(255,255,255,.2); display: flex; justify-content: space-between; padding-top: 20px; }

.pace-home-hero {
  background: linear-gradient(105deg, rgba(8, 54, 29, .92) 5%, rgba(13, 92, 47, .78) 55%, rgba(13, 92, 47, .32)), var(--pace-home-image) center 44% / cover;
  border-radius: 0 0 42px 42px;
  box-shadow: var(--pace-theme-shadow);
  color: #fff;
  isolation: isolate;
  min-height: min(660px, calc(100svh - 72px));
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 72px 28px;
  position: relative;
}
.pace-home-hero::before, .pace-home-hero::after { content: ""; pointer-events: none; position: absolute; z-index: -1; }
.pace-home-hero::before { background: radial-gradient(circle, rgba(215,237,180,.2), transparent 68%); height: 540px; right: -120px; top: -190px; width: 540px; }
.pace-home-hero::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent); height: 160%; left: -45%; top: -30%; transform: rotate(20deg); width: 28%; animation: pace-light-sweep 10s ease-in-out 1s infinite; }
.pace-home-hero > div { animation: pace-rise-in .8s .12s both; margin: 0 auto; max-width: 1180px; width: 100%; }
.pace-home-hero .page-eyebrow { color: var(--pace-theme-lime); font-size: .82rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.pace-home-hero h1 { color: #fff; font-size: clamp(3rem, 7.2vw, 6rem); letter-spacing: -.06em; line-height: 1.02; margin: 0 0 24px; max-width: 900px; text-wrap: balance; }
.pace-home-hero p:not(.page-eyebrow) { color: rgba(255,255,255,.94); font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.75; margin: 0 0 30px; max-width: 690px; }
.pace-home-section { margin: 0 auto; max-width: 1280px; padding: clamp(72px, 9vw, 116px) 28px; }
.pace-home-heading { margin: 0 auto 42px; max-width: 800px; text-align: center; }
.pace-home-heading .page-eyebrow { color: var(--pace-theme-green); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.pace-home-heading h2 { color: var(--pace-theme-ink); font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.045em; line-height: 1.12; margin: 0 0 16px; text-wrap: balance; }
.pace-home-heading > p:last-child { color: #596c63; font-size: 1.05rem; line-height: 1.8; margin: 0 auto; max-width: 680px; }
.pace-home-grid { display: grid; gap: 26px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pace-home-grid-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pace-home-card { animation: pace-rise-in .65s both; background: #fff; border: 1px solid rgba(221,232,224,.9); border-radius: 24px; box-shadow: 0 12px 34px rgba(23,60,53,.07); color: inherit; display: flex; flex-direction: column; min-width: 0; overflow: hidden; text-decoration: none; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease; }
.pace-home-card:nth-child(2) { animation-delay: .08s; }
.pace-home-card:nth-child(3) { animation-delay: .16s; }
.pace-home-card:nth-child(4) { animation-delay: .24s; }
.pace-home-card:nth-child(5) { animation-delay: .32s; }
.pace-home-card:nth-child(6) { animation-delay: .4s; }
.pace-home-card:hover { border-color: rgba(13,92,47,.32); box-shadow: 0 25px 60px rgba(23,60,53,.16); transform: translateY(-8px); }
.pace-home-card img { aspect-ratio: 16 / 9; background: #e7eee8; display: block; object-fit: cover; transition: transform .65s cubic-bezier(.2,.8,.2,1); width: 100%; }
.pace-home-card:hover img { transform: scale(1.045); }
.pace-home-card div { flex: 1; padding: clamp(22px, 3vw, 30px); }
.pace-home-card h3 { color: var(--pace-theme-ink); font-size: clamp(1.15rem, 1.65vw, 1.35rem); letter-spacing: -.015em; line-height: 1.4; margin: 0 0 11px; }
.pace-home-card p { color: #53665e; font-size: .97rem; line-height: 1.75; margin: 0; }
.pace-home-card span { color: var(--pace-theme-green); display: inline-flex; font-size: .92rem; font-weight: 750; margin-top: 18px; transition: gap .2s ease; }
.pace-home-card:hover span { gap: 7px; }
.pace-home-callout { background: radial-gradient(ellipse at 100% 0%, rgba(215,237,180,.45), transparent 45%), linear-gradient(130deg, #eaf2eb, #f3f7f1); border: 1px solid rgba(220,232,220,.8); border-radius: 36px; margin: 0 auto; max-width: 1380px; overflow: hidden; }
.pace-home-callout-inner { align-items: center; display: grid; gap: clamp(36px, 7vw, 88px); grid-template-columns: 1.05fr .95fr; margin: 0 auto; max-width: 1200px; padding: clamp(48px, 7vw, 88px) 34px; }
.pace-home-callout-inner > div { animation: pace-rise-in .7s both; }
.pace-home-callout h2 { color: var(--pace-theme-ink); font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.045em; line-height: 1.12; margin: 0 0 17px; }
.pace-home-callout p:not(.page-eyebrow) { color: #53665e; font-size: 1.02rem; line-height: 1.85; }
.pace-home-callout img { animation: pace-rise-in .8s .12s both; border: 7px solid rgba(255,255,255,.72); border-radius: 28px; box-shadow: var(--pace-theme-shadow); display: block; max-height: 450px; object-fit: cover; width: 100%; }
.pace-home-button { background: var(--pace-theme-green); border-radius: 999px; box-shadow: 0 10px 24px rgba(13,92,47,.22); color: #fff; display: inline-block; font-weight: 750; padding: 14px 24px; text-decoration: none; transition: background .2s ease, box-shadow .2s ease, transform .2s ease; }
.pace-home-button:hover { background: #084522; box-shadow: 0 14px 30px rgba(13,92,47,.28); color: #fff; transform: translateY(-2px); }
.pace-home-hero-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 12px; }
.pace-home-hero .pace-home-button-secondary { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.72); box-shadow: none; color: #fff; }
.pace-home-hero .pace-home-button-secondary:hover { background: rgba(255,255,255,.2); color: #fff; }
.pace-home-hero-signature { color: rgba(255,255,255,.76) !important; font-size: .78rem !important; font-weight: 700; letter-spacing: .13em; margin: 30px 0 0 !important; max-width: none !important; text-transform: uppercase; }
.pace-home-hero-signature span { color: var(--pace-theme-lime); padding: 0 5px; }
.pace-home-partner-marquee { background: #fff; border: 1px solid var(--pace-theme-line); border-radius: 28px; box-shadow: 0 12px 34px rgba(23,60,53,.05); overflow: hidden; padding: 24px 0; }
.pace-home-partner-track { animation: pace-partner-scroll 32s linear infinite; display: flex; width: max-content; }
.pace-home-partner-marquee:hover .pace-home-partner-track, .pace-home-partner-marquee:focus-within .pace-home-partner-track { animation-play-state: paused; }
.pace-home-partner-set { align-items: center; display: flex; flex: 0 0 auto; gap: 20px; padding: 0 10px; }
.pace-home-partner-set a, .pace-home-partner-set span { align-items: center; border-radius: 18px; display: flex; flex: 0 0 230px; height: 150px; justify-content: center; padding: 14px; }
.pace-home-partner-set a:hover { background: #f4f8f4; }
.pace-home-partner-set img { filter: saturate(.92); height: auto; max-height: 126px; max-width: 100%; object-fit: contain; transition: filter .2s ease, transform .2s ease; width: auto; }
.pace-home-partner-set a:hover img { filter: saturate(1); transform: scale(1.05); }

@keyframes pace-rise-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pace-drop-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pace-light-sweep { 0%, 60% { left: -45%; opacity: 0; } 72% { opacity: .7; } 100% { left: 125%; opacity: 0; } }
@keyframes pace-partner-scroll { to { transform: translateX(-50%); } }
@keyframes pace-menu-in { from { opacity: 0; transform: translateY(-6px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }

body.pace-page .site-page-hero, body.pace-page .page-section, body.pace-page .site-page-footer { box-sizing: border-box; }
body.pace-page .site-page-hero { margin-left: auto; margin-right: auto; max-width: 1400px; }
body.pace-page .site-page-footer { margin-top: 32px; }
body.pace-page .recruitment-post { background: #fff; border: 1px solid var(--pace-theme-line); border-radius: 16px; padding: 22px; }
body.pace-page .recruitment-post h3 { margin-top: 0; }

@media (min-width: 1180px) and (max-width: 1439px) {
  .pace-theme-header { gap: 10px; padding-left: 16px; padding-right: 16px; }
  .pace-theme-brand img { max-height: 38px; width: 118px; }
  .pace-theme-nav { gap: 0; }
  .pace-theme-nav a, .pace-nav-dropdown summary { font-size: .8rem; padding-left: 6px; padding-right: 6px; }
  .pace-header-actions a { font-size: .8rem; padding: 8px 12px; }
}
@media (max-width: 1179px) {
  .pace-theme-header { gap: 12px; padding-left: 18px; padding-right: 18px; }
  .pace-header-desktop { display: none; }
  .pace-responsive-menu { display: block; }
  .pace-responsive-menu-panel { width: min(680px, calc(100vw - 36px)); }
  .pace-nav-dropdown summary { font-size: .88rem; }
}
@media (max-width: 960px) {
  .pace-theme-header { gap: 12px; padding-left: 18px; padding-right: 18px; }
  .pace-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pace-theme-footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .pace-theme-header { align-items: center; display: grid; gap: 10px; grid-template-areas: "brand actions" "menu menu"; grid-template-columns: minmax(0, 1fr) auto; padding: 9px 16px; }
  .pace-theme-brand { grid-area: brand; }
  .pace-theme-brand img { max-height: 34px; width: 106px; }
  .pace-header-actions { gap: 6px; grid-area: actions; }
  .pace-header-actions a { font-size: .72rem; padding: 8px 10px; }
  .pace-responsive-menu { grid-area: menu; width: 100%; }
  .pace-responsive-menu > summary { justify-content: center; width: 100%; }
  .pace-responsive-menu-panel { left: 0; right: auto; width: 100%; }
  .pace-responsive-menu-panel .pace-theme-nav { grid-template-columns: 1fr; }
  .pace-responsive-menu-panel .pace-nav-dropdown-menu { min-width: 0; padding-left: 4px; }
  .pace-home-hero { border-radius: 0 0 26px 26px; min-height: 420px; padding: 48px 22px; }
  .pace-home-hero h1 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .pace-home-grid { grid-template-columns: 1fr; }
  .pace-home-section { padding: 46px 18px; }
  .pace-home-grid-pair { grid-template-columns: 1fr; }
  .pace-home-callout { border-radius: 24px; margin: 0 12px; }
  .pace-home-callout-inner { grid-template-columns: 1fr; padding: 38px 22px; }
  .pace-home-partner-marquee { border-radius: 20px; }
  .pace-home-partner-set { gap: 8px; }
  .pace-home-partner-set a, .pace-home-partner-set span { flex-basis: 175px; height: 118px; }
  .pace-home-partner-set img { max-height: 98px; }
  .pace-theme-footer { padding: 42px 20px 20px; }
  .pace-theme-footer-top, .pace-theme-footer-bottom { align-items: flex-start; flex-direction: column; }
  .pace-theme-footer-links { gap: 12px; grid-template-columns: 1fr 1fr; }
  .pace-theme-footer-social .pace-social-button { height: 42px; width: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .pace-home-partner-track { animation: none; }
}

.pace-home-hero { border-radius: 0 0 54px 54px; min-height: min(700px, calc(100svh - 72px)); }
.pace-home-hero-content { max-width: 1160px !important; }
.pace-home-hero h1 { max-width: 820px; }
.pace-home-section { padding-bottom: clamp(84px, 10vw, 128px); padding-top: clamp(84px, 10vw, 128px); }
.pace-home-heading { margin-bottom: 50px; }
.pace-home-heading .page-eyebrow { color: var(--pace-theme-green); }
.pace-home-card { border-radius: 28px; }
.pace-home-card img { aspect-ratio: 16 / 10; }
.pace-home-card div { padding: clamp(24px, 3.2vw, 34px); }
.pace-home-card:hover { transform: translateY(-6px); }
.pace-home-callout { border-radius: 38px; }
.pace-home-callout img { border-radius: 34px; }
.pace-home-partner-marquee { border-radius: 30px; }
.pace-theme-header { border-bottom-color: rgba(13,92,47,.12); }
.pace-theme-nav a:focus-visible, .pace-nav-dropdown summary:focus-visible, .pace-header-actions a:focus-visible { outline: 3px solid var(--pace-theme-lime); outline-offset: 3px; }
@media (max-width: 620px) {
  .pace-home-hero { border-radius: 0 0 32px 32px; min-height: 500px; }
  .pace-home-hero-actions { align-items: stretch; flex-direction: column; max-width: 280px; }
  .pace-home-hero-actions .pace-home-button { text-align: center; }
  .pace-home-hero-signature { font-size: .66rem !important; letter-spacing: .08em; }
  .pace-home-callout { border-radius: 26px; }
  .pace-home-callout img { border-radius: 22px; }
}
.pace-home-hero-editorial {
  background: var(--pace-theme-green);
  border-radius: 0;
  box-shadow: none;
  color: #fff;
  display: block;
  isolation: isolate;
  margin-left: calc(50% - 50vw);
  max-width: none;
  min-height: 0;
  overflow: visible;
  padding: 0;
  position: relative;
  width: 100vw;
}
.pace-home-hero-editorial::before { display: none; }
.pace-home-hero-editorial::after { display: none; }
.pace-home-hero-reference { line-height: 0; position: relative; width: 100%; }
.pace-home-hero-reference img {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: block;
  height: auto;
  max-height: none;
  width: 100%;
}
.pace-home-hero-hotspot { border-radius: 999px; display: block; position: absolute; }
.pace-home-hero-hotspot-about { height: 11.2%; left: 3.4%; top: 83.8%; width: 16.7%; }
.pace-home-hero-hotspot-expertise { height: 11.2%; left: 22.2%; top: 83.8%; width: 15.4%; }
.pace-home-hero-mobile { display: none; }
.pace-home-hero-editorial > .pace-home-hero-content {
  animation: pace-rise-in .8s .12s both;
  margin: 0;
  max-width: 46% !important;
  position: relative;
  width: 100%;
  z-index: 2;
}
.pace-home-hero-editorial .page-eyebrow { color: #fff; font-size: .76rem; letter-spacing: .2em; }
.pace-home-hero-editorial h1 {
  color: #fff;
  font-size: clamp(2.7rem, 5.2vw, 4.45rem);
  letter-spacing: -.055em;
  line-height: .98;
  margin-bottom: 20px;
  max-width: 640px;
}
.pace-home-hero-highlight { color: var(--pace-home-yellow); display: block; }
.pace-home-hero-editorial p:not(.page-eyebrow) {
  color: rgba(255,255,255,.92);
  font-size: clamp(.95rem, 1.2vw, 1.08rem);
  line-height: 1.55;
  margin-bottom: 22px;
  max-width: 540px;
}
.pace-home-hero-editorial .pace-home-button:not(.pace-home-button-secondary) {
  background: var(--pace-home-yellow);
  color: var(--pace-theme-blue);
}
.pace-home-hero-editorial .pace-home-button:not(.pace-home-button-secondary):hover {
  background: #ffda46;
  color: var(--pace-theme-blue);
}
.pace-home-hero-editorial .pace-home-button-secondary {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.72);
  color: #fff;
}
.pace-home-hero-editorial .pace-home-button-secondary:hover {
  background: rgba(255,255,255,.18);
  color: #fff;
}
.pace-home-hero-visual {
  animation: none;
  height: 100%;
  left: 46.8%;
  isolation: isolate;
  margin: 0;
  max-width: none;
  position: absolute;
  right: 0;
  width: 53.2%;
  z-index: -1;
}
.pace-home-hero-visual::before, .pace-home-hero-visual::after { display: none; }
.pace-home-hero-visual img {
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: block;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  width: 100%;
}
.pace-home-pillars { background: #fff; }
.pace-home-pillars ul {
  align-items: center;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0 auto;
  max-width: 1280px;
  padding: 16px 24px;
}
.pace-home-pillars li {
  align-items: center;
  border-right: 1px solid var(--pace-theme-blue);
  color: var(--pace-theme-green);
  display: flex;
  font-size: .88rem;
  font-weight: 650;
  gap: 14px;
  line-height: 1.35;
  min-height: 52px;
  padding: 0 18px;
}
.pace-home-pillars li:first-child { padding-left: 0; }
.pace-home-pillars li:last-child { border-right: 0; padding-right: 0; }
.pace-home-pillars svg { fill: none; flex: 0 0 34px; height: 34px; stroke: var(--pace-theme-blue); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; width: 34px; }
.pace-home-tagline {
  background: var(--pace-home-teal);
  color: #fff;
  font-size: .95rem;
  font-style: italic;
  font-weight: 700;
  margin: 0;
  padding: 14px 20px;
  text-align: center;
}
.pace-home-section { background: #fff; }
.pace-home-callout {
  background: radial-gradient(ellipse at 100% 0%, rgba(219,234,183,.22), transparent 42%), linear-gradient(130deg, #0d5c2f, #084522);
  border-color: rgba(13,92,47,.28);
}
.pace-home-callout .page-eyebrow { color: var(--pace-theme-lime); }
.pace-home-callout h2 { color: #fff; }
.pace-home-callout p:not(.page-eyebrow) { color: rgba(255,255,255,.9); }
.pace-home-callout .pace-home-button { background: #fff; color: var(--pace-theme-green); }
.pace-home-callout .pace-home-button:hover { background: var(--pace-theme-lime); color: var(--pace-theme-ink); }
@media (max-width: 960px) {
  .pace-home-hero-editorial {
    display: block;
    min-height: 0;
    padding: 0;
  }
  .pace-home-hero-editorial > .pace-home-hero-content { display: none; }
  .pace-home-pillars ul { padding-left: 18px; padding-right: 18px; }
  .pace-home-pillars li { gap: 10px; padding-left: 12px; padding-right: 12px; }
  .pace-home-pillars li span { font-size: .8rem; }
}
@media (max-width: 620px) {
  .pace-home-hero-editorial { padding: 0; }
  .pace-home-hero-reference { display: none; }
  .pace-home-hero-editorial > .pace-home-hero-mobile { display: block; max-width: none !important; padding: 48px 20px 36px; width: 100%; }
  .pace-home-hero-editorial h1 { font-size: clamp(2.55rem, 11vw, 3.8rem); }
  .pace-home-hero-mobile .pace-home-hero-visual { height: auto; inset: auto; margin: 26px 0 0; position: relative; right: auto; width: 100%; z-index: 0; }
  .pace-home-hero-mobile .pace-home-hero-visual img { height: auto; object-fit: contain; width: 100%; }
  .pace-home-pillars ul { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px 16px; }
  .pace-home-pillars li { border-bottom: 1px solid rgba(0,107,104,.24); min-height: 64px; padding: 10px 8px; }
  .pace-home-pillars li:nth-child(odd) { border-right: 1px solid var(--pace-theme-blue); }
  .pace-home-pillars li:nth-child(even) { border-right: 0; }
  .pace-home-pillars li:nth-last-child(-n+2) { border-bottom: 0; }
  .pace-home-pillars li:first-child { padding-left: 8px; }
  .pace-home-pillars li:last-child { padding-right: 8px; }
  .pace-home-pillars svg { flex-basis: 27px; height: 27px; width: 27px; }
  .pace-home-pillars li span { font-size: .75rem; }
  .pace-home-tagline { font-size: .82rem; padding: 12px 18px; }
}

/* ===== Affichage téléphone : tout doit rester dans l'écran ===== */
html { overflow-x: clip; }
body { overflow-x: clip; }
.pace-responsive-menu, .pace-responsive-menu > summary { box-sizing: border-box; max-width: 100%; min-width: 0; }
@media (max-width: 620px) {
  .pace-theme-header { padding: 8px 14px; row-gap: 8px; }
  .pace-responsive-menu > summary { padding: 9px 14px; }
  .pace-home-section { padding: 38px 16px; }
  .pace-home-heading { margin-bottom: 26px; }
  .pace-home-heading h2 { font-size: clamp(1.45rem, 6.6vw, 1.9rem); line-height: 1.2; }
  .pace-home-heading p { font-size: .95rem; line-height: 1.6; }
  .pace-home-hero { min-height: 420px; padding: 40px 18px; }
  .pace-home-hero h1 { font-size: clamp(2.1rem, 10vw, 2.8rem); line-height: 1.05; }
  .pace-home-hero p { font-size: .98rem; line-height: 1.6; }
  .pace-home-hero-signature { margin-top: 22px; max-width: 100%; white-space: normal; }
  .pace-home-grid { gap: 14px; }
  .pace-home-card { border-radius: 20px; }
  .pace-home-card img { aspect-ratio: 16 / 9; }
  .pace-home-card div { padding: 16px 18px 18px; }
  .pace-home-card h3 { font-size: 1.05rem; line-height: 1.3; }
  .pace-home-card p { font-size: .92rem; line-height: 1.55; }
  .pace-home-callout-inner { gap: 20px; padding: 26px 18px; }
  .pace-home-callout h2 { font-size: 1.5rem; line-height: 1.2; }
  .pace-home-callout p { font-size: .95rem; line-height: 1.6; }
  .pace-theme-footer { padding: 34px 18px 18px; }
  .pace-theme-footer-links a, .pace-theme-footer-links li { font-size: .88rem; line-height: 1.45; }
  .pace-theme-footer-links { gap: 18px 14px; }
}
@media (max-width: 620px) {
  .pace-home-hero-visual figcaption { display: none; }
}

@media (max-width: 900px) {
  .pace-theme-footer-top { flex-wrap: wrap; }
}
@media (min-width: 621px) and (max-width: 900px) {
  .pace-theme-footer-top p { flex: 1 1 420px; margin: 0; }
}
@media (min-width: 621px) and (max-width: 800px) {
  .pace-home-callout-inner { grid-template-columns: minmax(0, 1fr); }
}

.pace-home-hero-editorial {
  background: #edf3ee;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  box-sizing: border-box;
  display: block;
  left: 50%;
  margin-left: -50vw;
  max-width: none;
  min-height: 0;
  overflow: visible;
  padding: 0;
  position: relative;
  width: 100vw;
}
.pace-home-hero-editorial .pace-home-hero-reference {
  line-height: 0;
  margin: 0;
  position: relative;
  width: 100%;
}
.pace-home-hero-editorial .pace-home-hero-reference img {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: block;
  height: auto;
  max-width: none;
  width: 100%;
}
.pace-home-hero-editorial > .pace-home-hero-content {
  animation: none;
  left: clamp(24px, 6.2vw, 90px);
  margin: 0;
  max-width: 560px !important;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40%;
  z-index: 2;
}
.pace-home-hero-editorial .page-eyebrow {
  color: var(--pace-theme-blue);
  font-size: .78rem;
  letter-spacing: .14em;
  margin: 0 0 16px;
}
.pace-home-hero-editorial h1 {
  color: var(--pace-theme-green);
  font-size: clamp(2.4rem, 4.7vw, 4.2rem);
  letter-spacing: -.05em;
  line-height: 1.02;
  margin: 0 0 20px;
  max-width: 560px;
}
.pace-home-hero-editorial h1 > span { display: block; }
.pace-home-hero-editorial .pace-home-hero-highlight { color: var(--pace-theme-blue); }
.pace-home-hero-editorial p:not(.page-eyebrow) {
  color: #3e4659;
  font-size: clamp(.95rem, 1.15vw, 1.08rem);
  line-height: 1.6;
  margin: 0 0 22px;
  max-width: 500px;
}
.pace-home-hero-editorial .pace-home-button:not(.pace-home-button-secondary) {
  background: var(--pace-home-yellow);
  color: var(--pace-theme-blue);
}
.pace-home-hero-editorial .pace-home-button:not(.pace-home-button-secondary):hover {
  background: #ffda46;
  color: var(--pace-theme-blue);
}
.pace-home-hero-editorial .pace-home-button-secondary {
  background: var(--pace-theme-blue);
  border: 1px solid var(--pace-theme-blue);
  color: #fff;
}
.pace-home-hero-editorial .pace-home-button-secondary:hover {
  background: #171d49;
  color: #fff;
}
.pace-home-hero-mobile-photo { display: none; }
.pace-home-heading .page-eyebrow { color: var(--pace-theme-blue); }
.pace-home-heading h2, .pace-home-card h3 { color: var(--pace-theme-green); }
.pace-home-card span { color: var(--pace-theme-blue); }
.pace-home-pillars li { color: var(--pace-theme-blue); }
.pace-home-pillars svg { stroke: var(--pace-theme-green); }

@media (max-width: 900px) {
  .pace-home-hero-editorial {
    background: #edf3ee;
    display: flex;
    flex-direction: column;
    left: 50%;
    margin-left: -50vw;
  }
  .pace-home-hero-editorial .pace-home-hero-reference { display: none; }
  .pace-home-hero-editorial > .pace-home-hero-content {
    display: block;
    left: auto;
    margin: 0 auto;
    max-width: 760px !important;
    padding: clamp(32px, 6vw, 56px) 24px;
    position: relative;
    top: auto;
    transform: none;
    width: 100%;
  }
  .pace-home-hero-editorial h1 { font-size: clamp(2.35rem, 7vw, 3.8rem); }
  .pace-home-hero-mobile-photo {
    display: block;
    line-height: 0;
    margin: 0;
    width: 100%;
  }
  .pace-home-hero-mobile-photo img {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: block;
    filter: brightness(.9);
    height: auto;
    width: 100%;
  }
}

@media (max-width: 620px) {
  .pace-home-hero-editorial > .pace-home-hero-content { padding: 32px 20px; }
  .pace-home-hero-editorial h1 { font-size: clamp(2.1rem, 10vw, 3rem); }
  .pace-home-hero-editorial .pace-home-hero-actions { align-items: stretch; flex-direction: column; max-width: 320px; }
  .pace-home-hero-editorial .pace-home-hero-actions .pace-home-button { text-align: center; }
}

/* v2.3.6 — Hero : image pleine largeur, texte HTML net */
body.home { overflow-x: clip; }
.pace-home-hero-editorial { background: #06411c; }
.pace-home-hero-editorial .pace-home-hero-reference { max-width: none !important; width: 100%; }
.pace-home-hero-editorial .pace-home-hero-reference img { filter: brightness(.84) saturate(1.05); aspect-ratio: 1672 / 632; height: auto; object-fit: cover; width: 100%; }
@media (min-width: 1001px) {
  .pace-home-hero-editorial > .pace-home-hero-content {
    clip: auto; clip-path: none; height: auto; overflow: visible; white-space: normal;
    left: 3.8%; max-width: none !important; top: 50%; transform: translateY(-50%); width: 56%;
  }
  .pace-home-hero-editorial .page-eyebrow { display: none; }
  .pace-home-hero-editorial > .pace-home-hero-content::before { background: var(--pace-home-yellow); border-radius: 2px; content: ""; display: block; height: .36vw; margin: 0 0 1.7vw; width: 8.7vw; }
  .pace-home-hero-editorial h1 { color: #fff; font-size: 4.1vw; font-weight: 800; letter-spacing: -.025em; line-height: 1.04; margin: 0; max-width: none; position: relative; text-shadow: 0 .1vw .5vw rgba(0,0,0,.18); }
  .pace-home-hero-editorial h1::after { background: var(--pace-home-yellow); border-radius: 2px; content: ""; display: block; height: .36vw; margin: 1.5vw 0 0; width: 8.7vw; }
  .pace-home-hero-editorial h1 > span { white-space: nowrap; }
  .pace-home-hero-editorial .pace-home-hero-highlight { color: #fff; }
  .pace-home-hero-editorial p:not(.page-eyebrow) { color: #fff; font-size: 1.5vw; font-weight: 500; line-height: 1.22; margin: 2.1vw 0 2vw; max-width: 33vw; text-shadow: 0 .1vw .4vw rgba(0,0,0,.25); }
  .pace-home-hero-editorial .pace-home-hero-actions { gap: 2.2vw; }
  .pace-home-hero-editorial .pace-home-button { align-items: center; border-radius: 999px; display: inline-flex; font-size: 1.32vw; font-weight: 700; gap: .8vw; height: 4.1vw; justify-content: center; padding: 0 2.2vw; white-space: nowrap; }
  .pace-home-hero-editorial .pace-home-button::after { content: "\2192"; font-size: 1.5vw; line-height: 1; }
  .pace-home-hero-editorial .pace-home-button-secondary { background: transparent; border: 2px solid #fff; color: #fff; }
  .pace-home-hero-editorial .pace-home-button-secondary:hover { background: rgba(255,255,255,.16); color: #fff; }
  .pace-home-hero-editorial .pace-home-hero-reference { display: block; }
  .pace-home-hero-mobile-photo { display: none; }
}
@media (max-width: 1000px) {
  .pace-home-hero-editorial { background: linear-gradient(135deg, #06411c, #0b6a30); display: flex; flex-direction: column; }
  .pace-home-hero-editorial .pace-home-hero-reference { display: none; }
  .pace-home-hero-editorial > .pace-home-hero-content { display: block; left: auto; margin: 0 auto; max-width: 760px !important; padding: clamp(32px, 6vw, 56px) 24px 28px; position: relative; top: auto; transform: none; width: 100%; }
  .pace-home-hero-editorial .page-eyebrow { color: var(--pace-home-yellow); }
  .pace-home-hero-editorial h1 { color: #fff; font-size: clamp(2.3rem, 7.5vw, 3.8rem); }
  .pace-home-hero-editorial .pace-home-hero-highlight { color: #fff; }
  .pace-home-hero-editorial p:not(.page-eyebrow) { color: #fff; }
  .pace-home-hero-editorial .pace-home-button-secondary { background: transparent; border: 2px solid #fff; color: #fff; }
  .pace-home-hero-mobile-photo { display: block; line-height: 0; margin: 0; width: 100%; }
  .pace-home-hero-mobile-photo img { aspect-ratio: 912 / 632; filter: brightness(.86) saturate(1.04); height: auto; object-fit: cover; width: 100%; }
}

/* v2.3.6 — Réseaux sociaux : couleurs de marque (accueil et pied de page) */
.pace-social-buttons { gap: 12px; }
.pace-social-button { border: 0 !important; box-shadow: 0 6px 16px rgba(0,0,0,.18); color: #fff !important; width: 46px; }
.pace-social-button svg { display: block; height: 20px; width: 20px; }
.pace-social-linkedin { background: #0a66c2 !important; }
.pace-social-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%) !important; }
.pace-social-tiktok { background: #000 !important; }
.pace-social-tiktok svg { filter: drop-shadow(1.5px 1.5px 0 #25f4ee) drop-shadow(-1.5px -1.5px 0 #fe2c55); }
.pace-social-facebook { background: #1877f2 !important; }
.pace-social-youtube { background: #ff0000 !important; }
.pace-social-button.is-unconfigured { cursor: default; opacity: .95; }
.pace-social-button:hover { box-shadow: 0 10px 22px rgba(0,0,0,.26); filter: brightness(1.08); transform: translateY(-3px); }

/* v2.3.6 — Bouton « Découvrir PACE » en blanc */
.pace-home-hero-editorial .pace-home-hero-actions .pace-home-button:not(.pace-home-button-secondary) { background: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.22); color: var(--pace-theme-blue); }
.pace-home-hero-editorial .pace-home-hero-actions .pace-home-button:not(.pace-home-button-secondary):hover { background: #eef3ee; color: var(--pace-theme-blue); }

/* v2.3.6 — Menu : écriture un peu plus grande */
@media (min-width: 1180px) {
  .pace-theme-nav a, .pace-nav-dropdown summary { font-size: .92rem; padding-left: 7px; padding-right: 7px; }
}
@media (min-width: 1180px) and (max-width: 1439px) {
  .pace-theme-nav a, .pace-nav-dropdown summary { font-size: .84rem; padding-left: 5px; padding-right: 5px; }
}
@media (min-width: 1600px) {
  .pace-theme-nav a, .pace-nav-dropdown summary { font-size: 1rem; padding-left: 9px; padding-right: 9px; }
}
.pace-responsive-menu-panel .pace-theme-nav > a, .pace-responsive-menu-panel .pace-nav-dropdown > summary { font-size: 1rem; }

/* ===== v2.3.8 — Accueil : le bleu rejoint le jaune ===== */
body.home .pace-home-pillars li span { color: var(--pace-theme-blue); font-weight: 700; }
body.home .pace-home-tagline { background: linear-gradient(100deg, #161c4a, var(--pace-theme-blue)); border-bottom: 4px solid var(--pace-home-yellow); color: #fff; }
body.home .pace-home-heading .page-eyebrow { color: var(--pace-theme-blue); }
body.home .pace-home-heading h2 { color: var(--pace-theme-blue); }
body.home .pace-home-heading h2::after { background: var(--pace-home-yellow); border-radius: 3px; content: ""; display: block; height: 4px; margin: 16px auto 0; width: 64px; }
body.home .pace-home-card { border-top: 4px solid var(--pace-theme-blue); }
body.home .pace-home-card h3 { color: var(--pace-theme-blue); }
body.home .pace-home-card span { color: var(--pace-theme-blue); }
body.home .pace-home-card:hover { border-color: rgba(33,40,99,.35); box-shadow: 0 25px 60px rgba(33,40,99,.18); }
body.home .pace-home-card:hover span { color: var(--pace-theme-green); }
body.home .pace-home-callout { background: radial-gradient(ellipse at 100% 0%, rgba(255,202,5,.16), transparent 45%), linear-gradient(130deg, #161c4a, var(--pace-theme-blue)); border-color: transparent; }
body.home .pace-home-callout .pace-home-button { background: var(--pace-home-yellow); color: var(--pace-theme-blue); }
body.home .pace-home-callout .pace-home-button:hover { background: #ffda46; color: var(--pace-theme-blue); }
body.home .pace-home-section:has(.pace-home-grid-pair ~ *), body.home .pace-home-section + .pace-home-section { }
body.home .pace-home-partner-marquee { border-color: rgba(33,40,99,.16); border-top: 4px solid var(--pace-theme-blue); }

/* ===== v2.3.8 — menu mobile / aperçu : le sous-menu Stratégie s'ouvre dans le panneau ===== */
body .pace-responsive-menu-panel .pace-nav-dropdown-menu { animation: none; border: 0; box-shadow: none; min-width: 0; padding: 8px 0 4px 12px; position: static; width: auto; }
body .pace-responsive-menu-panel .pace-nav-dropdown { grid-column: 1 / -1; }

/* ===== v2.3.8 — pages d'une actualité / d'un document publié dans WordPress ===== */
.pace-single-content { box-sizing: border-box; margin: 0 auto; max-width: 860px; padding: clamp(32px, 6vw, 72px) 20px; }
.pace-single-content h1 { color: var(--pace-theme-blue); font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -.03em; line-height: 1.12; margin: 8px 0 24px; }
.pace-single-content .page-eyebrow { color: var(--pace-theme-green); font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.pace-single-image img { border-radius: 24px; height: auto; max-width: 100%; }
.pace-single-body { color: #3e4659; font-size: 1.08rem; line-height: 1.85; }
.pace-single-content .page-button { background: var(--pace-theme-green); border-radius: 999px; color: #fff; display: inline-block; font-weight: 750; padding: 13px 26px; text-decoration: none; }
.pace-single-content .page-button:hover { background: var(--pace-theme-blue); }

/* ===== v2.3.8 — le panneau du menu mobile reste dans l'écran ===== */
.pace-theme-header { position: sticky; }
.pace-responsive-menu { position: static; }
.pace-responsive-menu-panel { left: auto; right: 12px; top: calc(100% + 6px); width: min(680px, calc(100vw - 24px)); }
@media (max-width: 620px) { .pace-responsive-menu-panel { left: 12px; right: 12px; width: auto; } }


/* v2.6.0 : « Voir plus » et blocs « Autres actualités / documents » */
.pace-load-more-wrap { margin: 36px 0 0; text-align: center; }
.pace-load-more { background: var(--pace-theme-blue); border: 0; border-radius: 999px; color: #fff; cursor: pointer; font: inherit; font-weight: 750; padding: 13px 30px; }
.pace-load-more:hover { background: var(--pace-theme-green); }
.pace-related { border-top: 1px solid #e3e7f1; margin-top: 48px; padding-top: 32px; }
.pace-related h2 { color: var(--pace-theme-blue); font-size: 1.5rem; margin: 0 0 20px; }
.pace-related-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pace-related-card { background: #fff; border: 1px solid #dfe4f0; border-radius: 18px; border-top: 5px solid var(--pace-theme-blue); overflow: hidden; }
.pace-related-thumb img { aspect-ratio: 16 / 10; display: block; height: auto; object-fit: cover; width: 100%; }
.pace-related-card > div { padding: 16px 18px 20px; }
.pace-related-meta { color: var(--pace-theme-green); font-size: .74rem; font-weight: 800; letter-spacing: .08em; margin: 0 0 8px; text-transform: uppercase; }
.pace-related-card h3 { font-size: 1.02rem; line-height: 1.35; margin: 0; }
.pace-related-card h3 a { color: var(--pace-theme-blue); text-decoration: none; }
.pace-related-card h3 a:hover { text-decoration: underline; }
.pace-single-body img { border-radius: 16px; height: auto; max-width: 100%; }
.pace-single-body figure { margin: 24px 0; }
.pace-single-body iframe, .pace-single-body video { max-width: 100%; }
@media (max-width: 760px) { .pace-related-grid { grid-template-columns: 1fr; } }

/* v2.10.0 : logos partenaires recadrés dans une image qui regroupe plusieurs logos */
.pace-home-partner-set .pace-partner-crop { background-repeat: no-repeat; display: block; flex: 0 0 auto; border-radius: 0; height: 110px; max-width: 100%; padding: 0; width: auto; }
@media (max-width: 760px) { .pace-home-partner-set .pace-partner-crop { height: 86px; } }

/* v2.11.0 : logos partenaires nets et entiers (jamais rognés, jamais déformés) */
.pace-home-partner-set img { filter: none; height: auto; image-rendering: auto; max-height: 122px; max-width: 100%; object-fit: contain; width: auto; }
.pace-home-partner-set a:hover img { filter: none; }
@media (max-width: 760px) { .pace-home-partner-set img { max-height: 92px; } }

/* v2.13.0 : tout afficher, recherche dans les listes, bouton Retour */
body.pace-page .news-summary, body.pace-page .news-body h3 { -webkit-line-clamp: unset !important; display: block !important; overflow: visible !important; }
body.pace-page .page-news-grid { align-items: stretch; }
.pace-filter { align-items: center; display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 24px; }
.pace-filter input { background: #fff; border: 1px solid #cfd6e6; border-radius: 999px; flex: 1 1 280px; font: inherit; max-width: 460px; padding: 13px 20px; }
.pace-filter input:focus { border-color: var(--pace-theme-blue); outline: 2px solid rgba(33, 40, 99, .18); }
.pace-filter-count { color: #5c637a; font-size: .9rem; font-weight: 700; margin: 0; }
.pace-back-bar { margin: 0 0 18px; }
.site-page-shell > .pace-back-bar { padding: 18px clamp(16px, 4vw, 48px) 0; }
.pace-back-button { align-items: center; background: #fff; border: 1px solid #cfd6e6; border-radius: 999px; color: var(--pace-theme-blue); display: inline-flex; font-weight: 750; gap: 8px; padding: 10px 20px; text-decoration: none; }
.pace-back-button:hover { background: var(--pace-theme-blue); border-color: var(--pace-theme-blue); color: #fff; }

.pace-empty { background: #f3f6fb; border-radius: 16px; color: #5c637a; font-weight: 700; margin: 0; padding: 28px; text-align: center; }

/* ===== v2.15.0 : actualités et documentation, présentation moderne ===== */
.pace-feed { margin-top: 8px; }
.pace-feed-grid { display: grid; gap: 30px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pace-card { background: #fff; border-radius: 22px; box-shadow: 0 1px 2px rgba(20, 30, 70, .06), 0 12px 32px rgba(20, 30, 70, .08); display: flex; flex-direction: column; overflow: hidden; position: relative; transition: box-shadow .28s ease, transform .28s ease; }
.pace-card:hover { box-shadow: 0 2px 4px rgba(20, 30, 70, .08), 0 24px 48px rgba(20, 30, 70, .16); transform: translateY(-6px); }
.pace-card-media { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #212863 0%, #0d5c2f 100%); display: block; overflow: hidden; position: relative; }
.pace-card-media img { display: block; height: 100%; object-fit: cover; transition: transform .6s ease; width: 100%; }
.pace-card:hover .pace-card-media img { transform: scale(1.06); }
.pace-card-media--empty::after { color: rgba(255, 255, 255, .92); content: "PACE"; display: grid; font-size: 1.7rem; font-weight: 800; inset: 0; letter-spacing: .34em; padding-left: .34em; place-items: center; position: absolute; }
.pace-card-badge { background: #ffca05; border-radius: 999px; box-shadow: 0 4px 12px rgba(0, 0, 0, .18); color: #1c2150; font-size: .72rem; font-weight: 800; left: 16px; letter-spacing: .06em; padding: 7px 13px; position: absolute; text-transform: uppercase; top: 16px; z-index: 1; }
.pace-card-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px 24px 26px; }
.pace-card-meta { color: #6b7287; font-size: .8rem; font-weight: 700; letter-spacing: .05em; margin: 0; text-transform: uppercase; }
.pace-card .pace-card-title { font-size: 1.2rem; line-height: 1.32; margin: 0; }
.pace-card .pace-card-title a { color: #212863; text-decoration: none; }
.pace-card .pace-card-title a:hover { color: #0d5c2f; }
.pace-card-summary { color: #4a5068; font-size: .97rem; line-height: 1.62; margin: 0; }
.pace-card .pace-card-link { align-items: center; color: #0d5c2f; display: inline-flex; font-weight: 800; gap: 8px; margin-top: auto; padding-top: 10px; text-decoration: none; }
.pace-card-link span { transition: transform .2s ease; }
.pace-card:hover .pace-card-link span { transform: translateX(6px); }
.pace-feed-grid.has-featured:not(.is-filtered) > .pace-card:first-child { flex-direction: row; grid-column: 1 / -1; }
.pace-feed-grid.has-featured:not(.is-filtered) > .pace-card:first-child .pace-card-media { aspect-ratio: auto; flex: 0 0 55%; min-height: 380px; }
.pace-feed-grid.has-featured:not(.is-filtered) > .pace-card:first-child .pace-card-body { background: linear-gradient(135deg, #171c4a, #212863); gap: 16px; justify-content: center; padding: clamp(28px, 4vw, 52px); }
.pace-feed-grid.has-featured:not(.is-filtered) > .pace-card:first-child .pace-card-meta { color: #ffca05; }
.pace-feed-grid.has-featured:not(.is-filtered) > .pace-card:first-child .pace-card-title { font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.2; }
.pace-feed-grid.has-featured:not(.is-filtered) > .pace-card:first-child .pace-card-title a { color: #fff; }
.pace-feed-grid.has-featured:not(.is-filtered) > .pace-card:first-child .pace-card-title a:hover { color: #ffca05; }
.pace-feed-grid.has-featured:not(.is-filtered) > .pace-card:first-child .pace-card-summary { color: #dde2f3; font-size: 1.05rem; }
.pace-feed-grid.has-featured:not(.is-filtered) > .pace-card:first-child .pace-card-link { color: #ffca05; }
@media (max-width: 1000px) { .pace-feed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .pace-feed-grid.has-featured:not(.is-filtered) > .pace-card:first-child { flex-direction: column; }
  .pace-feed-grid.has-featured:not(.is-filtered) > .pace-card:first-child .pace-card-media { aspect-ratio: 16 / 10; flex: none; min-height: 0; }
}
@media (max-width: 640px) { .pace-feed-grid { gap: 22px; grid-template-columns: 1fr; } }

/* Recherche et rubriques */
.pace-filter { display: block; margin: 0 0 30px; }
.pace-filter-row { align-items: center; display: flex; flex-wrap: wrap; gap: 16px; }
.pace-filter input { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23212863' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 18px center; border: 1px solid #cfd6e6; border-radius: 999px; box-shadow: 0 6px 18px rgba(20, 30, 70, .06); flex: 1 1 320px; font: inherit; max-width: 520px; padding: 14px 22px 14px 48px; }
.pace-filter input:focus { border-color: #212863; outline: 3px solid rgba(33, 40, 99, .16); }
.pace-filter-count { color: #5c637a; font-size: .9rem; font-weight: 700; margin: 0; }
.pace-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pace-chip { background: #fff; border: 1px solid #cfd6e6; border-radius: 999px; color: #212863; cursor: pointer; font: inherit; font-size: .9rem; font-weight: 750; padding: 9px 18px; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.pace-chip:hover { border-color: #212863; }
.pace-chip.is-active { background: #212863; border-color: #212863; color: #fff; }

/* Page d'un article ou d'un document */
.pace-single-content { max-width: 920px; }
.pace-single-content .page-eyebrow { background: #eaf3ed; border-radius: 999px; display: inline-block; padding: 8px 16px; }
.pace-single-content h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); margin: 18px 0 30px; }
.pace-single-image { margin: 0 0 36px; }
.pace-single-image img { box-shadow: 0 18px 44px rgba(20, 30, 70, .16); display: block; width: 100%; }
.pace-single-body { font-size: 1.12rem; line-height: 1.85; }
.pace-single-body p { margin: 0 0 1.3em; }
.pace-single-body h2, .pace-single-body h3 { color: #212863; letter-spacing: -.01em; line-height: 1.25; margin: 1.8em 0 .6em; }
.pace-single-body a { color: #0d5c2f; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pace-single-body blockquote { background: #f3f6fb; border-left: 5px solid #ffca05; border-radius: 0 16px 16px 0; margin: 1.6em 0; padding: 18px 24px; }
.pace-single-body ul, .pace-single-body ol { margin: 0 0 1.3em; padding-left: 1.4em; }
.pace-single-body li { margin-bottom: .5em; }
.pace-related h2 { font-size: 1.6rem; }
.pace-related .pace-feed-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .pace-related .pace-feed-grid { grid-template-columns: 1fr; } }

/* ===== v2.16.0 : logos de secours + carrousel « Notre approche » ===== */
.pace-home-partner-set .is-broken { align-items: center; color: #212863; display: flex; font-size: .95rem; font-weight: 800; justify-content: center; line-height: 1.3; text-align: center; text-decoration: none; }
.pace-home-partner-set .is-broken::after { content: attr(data-name); }

.approach-showcase { margin-top: 30px; }
.approach-tabs { display: flex; gap: 10px; margin-bottom: 22px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: none; }
.approach-tabs::-webkit-scrollbar { display: none; }
.approach-tab { align-items: center; background: #fff; border: 1px solid #cfd6e6; border-radius: 999px; color: #212863; cursor: pointer; display: inline-flex; flex: 0 0 auto; font: inherit; font-size: .92rem; font-weight: 750; gap: 10px; padding: 9px 18px 9px 10px; transition: background .2s ease, color .2s ease, border-color .2s ease; white-space: nowrap; }
.approach-tab span { align-items: center; background: #eaf3ed; border-radius: 50%; color: #0d5c2f; display: inline-grid; font-size: .8rem; height: 26px; place-items: center; width: 26px; }
.approach-tab:hover { border-color: #212863; }
.approach-tab.is-active { background: #212863; border-color: #212863; color: #fff; }
.approach-tab.is-active span { background: #ffca05; color: #212863; }
.approach-viewport { border-radius: 28px; box-shadow: 0 24px 60px rgba(20, 30, 70, .2); overflow: hidden; position: relative; }
.approach-track { display: flex; overflow-x: auto; position: relative; scroll-snap-type: x mandatory; scrollbar-width: none; }
.approach-track::-webkit-scrollbar { display: none; }
.approach-slide { background: #171c4a; display: grid; flex: 0 0 100%; grid-template-columns: 1.05fr 1fr; min-height: 480px; scroll-snap-align: start; }
.approach-media { background: #212863; overflow: hidden; position: relative; }
.approach-media img { display: block; height: 100%; object-fit: cover; width: 100%; }
.approach-media::after { background: linear-gradient(180deg, rgba(10, 14, 50, .55) 0%, rgba(10, 14, 50, 0) 45%); content: ""; inset: 0; position: absolute; }
.approach-number { color: rgba(255, 255, 255, .92); font-size: clamp(3.4rem, 7vw, 5.6rem); font-weight: 800; left: 28px; letter-spacing: -.04em; line-height: 1; position: absolute; text-shadow: 0 6px 26px rgba(0, 0, 0, .35); top: 22px; z-index: 1; }
.approach-copy { background: linear-gradient(135deg, #171c4a, #212863); color: #dde2f3; display: flex; flex-direction: column; gap: 16px; justify-content: center; padding: clamp(28px, 4vw, 58px) clamp(28px, 4vw, 58px) clamp(78px, 8vw, 96px); }
.approach-kicker { color: #ffca05; font-size: .78rem; font-weight: 800; letter-spacing: .16em; margin: 0; text-transform: uppercase; }
.approach-copy h3 { color: #fff; font-size: clamp(1.7rem, 2.8vw, 2.4rem); letter-spacing: -.01em; line-height: 1.15; margin: 0; }
.approach-copy p { line-height: 1.75; margin: 0; }
.approach-copy .approach-lead { color: #fff; font-size: 1.1rem; font-weight: 650; }
.approach-cta { align-items: center; align-self: flex-start; background: #ffca05; border-radius: 999px; color: #212863; display: inline-flex; font-weight: 800; gap: 8px; margin-top: 6px; padding: 12px 24px; text-decoration: none; transition: transform .2s ease; }
.approach-cta:hover { transform: translateY(-2px); }
.approach-controls { bottom: 22px; display: flex; gap: 10px; position: absolute; right: 26px; z-index: 2; }
.approach-arrow { background: #ffca05; border: 0; border-radius: 50%; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); color: #212863; cursor: pointer; font-size: 1.3rem; font-weight: 800; height: 50px; transition: transform .2s ease; width: 50px; }
.approach-arrow:hover { transform: scale(1.08); }
@media (max-width: 860px) {
  .approach-slide { grid-template-columns: 1fr; min-height: 0; }
  .approach-media { aspect-ratio: 16 / 9; }
  .approach-copy { padding-bottom: 88px; }
  .approach-controls { bottom: 18px; right: 18px; }
}
@media (prefers-reduced-motion: reduce) { .approach-track { scroll-behavior: auto; } }

/* ===== v2.17.0 : grilles sans espace vide + nom des partenaires sans logo ===== */
/* La grille compte 6 colonnes : une carte en occupe 2 (3 par rangée), 3 (2 par rangée) ou toute la largeur. */
.pace-feed-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.pace-feed-grid > .pace-card { grid-column: span 2; }
.pace-feed-grid.has-featured:not(.is-filtered) > .pace-card:first-child { grid-column: 1 / -1; }
.pace-feed-grid > .pace-card.pace-fill-half { grid-column: span 3; }
.pace-feed-grid > .pace-card.pace-fill-wide { flex-direction: row; grid-column: 1 / -1; }
.pace-feed-grid > .pace-card.pace-fill-wide .pace-card-media { aspect-ratio: auto; flex: 0 0 42%; min-height: 280px; }
.pace-feed-grid > .pace-card.pace-fill-wide .pace-card-body { justify-content: center; padding: clamp(24px, 3vw, 40px); }
.pace-feed-grid > .pace-card.pace-fill-wide .pace-card-title { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
@media (min-width: 901px) { .pace-related .pace-feed-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 1000px) {
  .pace-feed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pace-feed-grid > .pace-card { grid-column: span 1; }
  .pace-feed-grid.has-featured:not(.is-filtered) > .pace-card:first-child { grid-column: 1 / -1; }
  .pace-feed-grid > .pace-card.pace-fill-wide { grid-column: 1 / -1; }
}
@media (max-width: 900px) { .pace-related .pace-feed-grid { grid-template-columns: 1fr; } .pace-related .pace-feed-grid > .pace-card { grid-column: auto !important; } }
@media (max-width: 860px) {
  .pace-feed-grid > .pace-card.pace-fill-wide { flex-direction: column; }
  .pace-feed-grid > .pace-card.pace-fill-wide .pace-card-media { aspect-ratio: 16 / 10; flex: none; min-height: 0; }
}
@media (max-width: 640px) { .pace-feed-grid { grid-template-columns: 1fr; } .pace-feed-grid > .pace-card { grid-column: auto !important; } }

/* Partenaire sans logo (ou logo introuvable) : son nom s'affiche à la place, jamais une case vide. */
.pace-home-partner-set .pace-partner-name { align-items: center; color: #212863; display: flex; flex: 0 1 auto; font-size: .95rem; font-weight: 800; height: auto; justify-content: center; line-height: 1.3; max-width: 100%; padding: 0; text-align: center; }

/* ===== v2.17.1 : cartes des pôles de l'accueil plus compactes (3 par rangée sur ordinateur) ===== */
body.home .pace-home-grid.pace-home-grid-poles { gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.home .pace-home-grid-poles .pace-home-card { border-radius: 20px; border-top-width: 3px; }
body.home .pace-home-grid-poles .pace-home-card img { aspect-ratio: 16 / 9; }
body.home .pace-home-grid-poles .pace-home-card div { display: flex; flex-direction: column; padding: 18px 20px 20px; }
body.home .pace-home-grid-poles .pace-home-card h3 { font-size: 1.08rem; line-height: 1.32; margin: 0 0 8px; }
body.home .pace-home-grid-poles .pace-home-card p { font-size: .9rem; line-height: 1.55; }
body.home .pace-home-grid-poles .pace-home-card span { font-size: .88rem; margin-top: auto; padding-top: 12px; }
body.home .pace-home-grid-poles .pace-home-card:hover { transform: translateY(-5px); }
@media (max-width: 1000px) { body.home .pace-home-grid.pace-home-grid-poles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  body.home .pace-home-grid.pace-home-grid-poles { gap: 14px; grid-template-columns: 1fr; }
  body.home .pace-home-grid-poles .pace-home-card div { padding: 16px 18px 18px; }
}

/* v2.18.0 : carrousel « Notre approche » sur l'accueil */
.pace-home-approach { scroll-margin-top: 96px; }
.pace-home-approach .approach-showcase { margin-top: 28px; }

/* ===== v2.18.1 ===== */
/* Accueil, « Qui sommes-nous ? » : le logo PACE remplace la photo */
.pace-home-callout .pace-home-callout-logo { align-items: center; animation: pace-rise-in .8s .12s both; background: radial-gradient(ellipse at 50% 0%, #fff 0%, #f4f7fc 100%); border-radius: 30px; box-shadow: 0 28px 60px rgba(5, 8, 35, .38), inset 0 0 0 1px rgba(33, 40, 99, .06); display: flex; flex-direction: column; gap: 18px; justify-content: center; min-height: 300px; padding: clamp(34px, 5vw, 64px) clamp(26px, 4vw, 56px); text-align: center; }
.pace-home-callout .pace-home-callout-logo img { animation: none; border: 0; border-radius: 0; box-shadow: none; height: auto; max-height: none; object-fit: contain; width: min(100%, 440px); }
.pace-home-callout .pace-home-callout-logo-name { color: #212863; display: block; font-size: .8rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
@media (max-width: 760px) { .pace-home-callout .pace-home-callout-logo { border-radius: 22px; min-height: 0; padding: 30px 20px; } .pace-home-callout .pace-home-callout-logo img { width: min(100%, 320px); } }
/* Image « Outils et ressources » : garde le titre et le logo visibles dans la carte */
.pace-card-media img[src$="outils-ressources.webp"], .page-image-card img[src$="outils-ressources.webp"], .page-feature-image[src$="outils-ressources.webp"] { object-position: 24% center; }
/* Carte sans photo (Comité scientifique) */
.pace-card--text { background: linear-gradient(160deg, #fff 0%, #f3f6fb 100%); border-top: 6px solid #ffca05; }
.pace-card--text .pace-card-body { gap: 12px; padding: 26px 26px 28px; }
.pace-card--text .pace-card-badge { align-self: flex-start; box-shadow: none; left: auto; position: static; top: auto; }
.pace-feed-grid.has-featured:not(.is-filtered) > .pace-card--text:first-child { flex-direction: column; }


/* ===== v2.18.4 : comité scientifique en bleu, téléphone et tablette ===== */
.pace-card--text { border-top: 6px solid #212863; }
.pace-card--text .pace-card-badge { background: #e8ebf7; color: #212863; }

/* Hero (tablette et téléphone) : la photo passe en haut, plus aucun débordement à droite */
@media (max-width: 900px) {
  .pace-home-hero-editorial { left: 0 !important; margin-left: 0 !important; max-width: 100% !important; width: 100% !important; }
  .pace-home-hero-editorial > .pace-home-hero-mobile-photo { order: -1; }
  .pace-home-hero-editorial > .pace-home-hero-content { box-sizing: border-box; max-width: 100% !important; overflow-wrap: break-word; }
  .pace-home-hero-editorial .pace-home-hero-actions { box-sizing: border-box; max-width: 100%; }
}
@media (max-width: 620px) {
  .pace-home-hero-editorial .pace-home-hero-actions { max-width: 100% !important; width: 100%; }
  .pace-home-hero-editorial .pace-home-hero-actions .pace-home-button { box-sizing: border-box; max-width: 100%; white-space: normal; width: 100%; }
}

/* En-tête (téléphone) : logo et bouton Menu sur la première ligne, « Faire un don » et « Contact » sur la seconde */
@media (max-width: 700px) {
  .pace-theme-header { align-items: center !important; display: grid !important; gap: 10px 12px !important; grid-template-areas: "brand menu" "actions actions" !important; grid-template-columns: minmax(0, 1fr) auto !important; padding: 10px 14px !important; }
  .pace-theme-brand { grid-area: brand !important; min-width: 0; }
  .pace-theme-brand img { height: auto !important; max-height: 42px !important; max-width: 150px !important; width: auto !important; }
  .pace-responsive-menu { grid-area: menu !important; width: auto !important; }
  .pace-responsive-menu > summary { padding: 10px 18px; width: auto !important; }
  .pace-header-actions { display: grid !important; gap: 8px !important; grid-area: actions !important; grid-template-columns: 1fr 1fr; }
  .pace-header-actions a { font-size: .85rem !important; justify-content: center; padding: 10px 8px !important; white-space: nowrap; }
  .pace-responsive-menu-panel { left: 12px !important; right: 12px !important; width: auto !important; }
}

/* Cartes d'actualités et de documents : plus compactes sur tablette et téléphone */
@media (max-width: 900px) {
  .pace-card-body { gap: 8px; padding: 18px 18px 20px; }
  .pace-card .pace-card-title { font-size: 1.08rem; }
  .pace-card .pace-card-title a { -webkit-box-orient: vertical; -webkit-line-clamp: 4; display: -webkit-box; overflow: hidden; }
  .pace-card-summary { -webkit-box-orient: vertical; -webkit-line-clamp: 4; display: -webkit-box; font-size: .94rem; line-height: 1.55; overflow: hidden; }
}
@media (max-width: 640px) {
  .pace-card-media { aspect-ratio: 16 / 9; }
  .pace-feed-grid.has-featured:not(.is-filtered) > .pace-card:first-child .pace-card-body { padding: 22px 20px; }
  .pace-feed-grid.has-featured:not(.is-filtered) > .pace-card:first-child .pace-card-title { font-size: 1.3rem; }
  .pace-feed-grid.has-featured:not(.is-filtered) > .pace-card:first-child .pace-card-summary { font-size: .98rem; }
}

/* v2.18.6 : photos des membres du comité scientifique */
.pace-member-gallery { margin-top: 48px; }
.pace-member-gallery h2 { color: #212863; font-size: 1.6rem; margin: 0 0 24px; }
.pace-member-grid { display: grid; gap: 28px 22px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.pace-member { margin: 0; text-align: center; }
.pace-member img { aspect-ratio: 1 / 1; border-radius: 20px; box-shadow: 0 10px 26px rgba(20, 30, 70, .14); display: block; height: auto; object-fit: cover; width: 100%; }
.pace-member figcaption { color: #212863; font-size: .98rem; font-weight: 750; line-height: 1.35; margin-top: 12px; }


/* ===== v2.18.8 : tablette et téléphone (cartes, footer) + crédit Atelier AMMA ===== */
/* Footer : barre du bas en 3 zones sur ordinateur, qui se replie proprement ensuite */
.pace-theme-footer-bottom { align-items: center; flex-wrap: wrap; gap: 10px 24px; }
.pace-theme-footer .pace-footer-credit { font-size: .88rem; opacity: .92; }
.pace-theme-footer .pace-footer-credit strong, .pace-theme-footer .pace-footer-credit a { color: #fff; font-weight: 800; }
.pace-theme-footer .pace-footer-credit a { text-decoration: underline; text-underline-offset: 3px; }

/* Tablette (601–1000 px) : footer en 4 colonnes serrées dès 768 px, 2 colonnes en dessous */
@media (min-width: 768px) and (max-width: 1000px) {
  .pace-theme-footer { padding-left: 28px; padding-right: 28px; }
  .pace-theme-footer-links { gap: 22px 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pace-theme-footer-links a { font-size: .84rem; overflow-wrap: anywhere; }
}
@media (min-width: 601px) and (max-width: 767px) {
  .pace-theme-footer-links { gap: 24px 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .pace-theme-footer { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  /* zones de toucher confortables (≥ 44 px) */
  .pace-theme-footer-links li { margin: 0; }
  .pace-theme-footer-links li a { align-items: center; display: flex; min-height: 40px; padding: 5px 0; }
  .pace-theme-footer-bottom a { align-items: center; display: inline-flex; min-height: 40px; }
  .pace-theme-footer-social .pace-social-button { height: 46px; width: 46px; }
  /* cartes : même hauteur dans une rangée, texte qui ne déborde jamais */
  .pace-feed-grid { align-items: stretch; gap: 22px; }
  .pace-card, .pace-home-card { min-width: 0; overflow-wrap: anywhere; }
  .pace-card:hover, .pace-home-card:hover { transform: none; }
}
/* Téléphone */
@media (max-width: 620px) {
  .pace-theme-footer-top { gap: 18px; }
  .pace-theme-footer-top p { margin: 0; }
  .pace-theme-footer-links { gap: 6px 16px; }
  .pace-theme-footer-bottom { align-items: flex-start; flex-direction: column; gap: 6px; }
  .pace-theme-footer-bottom span:first-child { line-height: 1.45; }
  .pace-theme-footer .pace-footer-credit { border-top: 1px solid rgba(255,255,255,.2); padding-top: 12px; width: 100%; }
  .pace-feed-grid { gap: 18px; }
  .pace-chips { flex-wrap: nowrap; margin-left: -2px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .pace-chips::-webkit-scrollbar { display: none; }
  .pace-chip { flex: 0 0 auto; white-space: nowrap; }
  .pace-filter input { flex-basis: 100%; max-width: none; }
}
/* Petits téléphones (≤ 360 px) : une seule colonne de liens */
@media (max-width: 360px) {
  .pace-theme-footer-links { grid-template-columns: minmax(0, 1fr); }
  .pace-home-card h3, .pace-card .pace-card-title { font-size: 1rem; }
}
/* Les mouvements au survol n'ont pas de sens au doigt */
@media (hover: none) {
  .pace-card:hover, .pace-home-card:hover { box-shadow: none; transform: none; }
  .pace-card:hover .pace-card-media img { transform: none; }
}

/* v2.22.13 : galerie du comité scientifique — 12 cartes (photo + nom déjà dans l'image), chacune affichée une seule fois. */
.pace-member-gallery--cards .pace-member-grid { gap: 24px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.pace-member-gallery--cards .pace-member img { aspect-ratio: 1 / 1; border-radius: 16px; height: auto; object-fit: contain; width: 100%; }
/* Tablette : 2 cartes par ligne (assez grandes pour lire les noms) ; téléphone : 1 carte par ligne, centrée. */
@media (max-width: 900px) { .pace-member-gallery--cards .pace-member-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (max-width: 520px) { .pace-member-gallery--cards .pace-member-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0 auto; max-width: 420px; } }
