/* CATRAMP SA – pages Implantations / Projets et bandeau de chiffres clés. Préfixe cp- (indépendant du thème). */
.cp { --cp-accent: #1f5fa8; --cp-accent-dark: #174a84; --cp-ciel: #e8f3fa; --cp-bord: #d6dde6; --cp-txt: #1d2430; --cp-muted: #5f6b7a;
      max-width: 1140px; margin: 0 auto; padding: 50px 20px 70px; color: var(--cp-txt); font-size: 16px; line-height: 1.6; text-align: left; }
.cp *, .cp *::before, .cp *::after { box-sizing: border-box; }
.cp h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.2; margin: 0 0 16px; color: var(--cp-txt); text-transform: none; letter-spacing: 0; }
.cp h3 { font-size: 22px; line-height: 1.3; margin: 0 0 12px; color: var(--cp-txt); text-transform: none; letter-spacing: 0; }
.cp p { margin: 0 0 14px; }
.cp-head { max-width: 760px; margin-bottom: 40px; }
.cp-kicker { color: var(--cp-accent); font-weight: 700; font-size: 13px; letter-spacing: .12em; margin-bottom: 8px !important; }
.cp-lead { font-size: 18px; color: #3a4554; }
.cp-src { font-size: 13px; color: var(--cp-muted); }

.cp-sites { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-bottom: 56px; }
.cp-site { background: #fff; border: 1px solid var(--cp-bord); border-top: 4px solid var(--cp-accent); border-radius: 8px; padding: 22px; display: flex; flex-direction: column; }
.cp-site h3 { margin-bottom: 2px; }
.cp-role { color: var(--cp-accent); font-weight: 600; font-size: 14px; }
.cp-site p:last-of-type { flex: 1; }
.cp-lien { color: var(--cp-accent); font-weight: 600; font-size: 15px; text-decoration: none; }
.cp-lien:hover { color: var(--cp-accent-dark); text-decoration: underline; }

.cp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: start; margin-bottom: 56px; }
.cp-corr { list-style: none; margin: 0 0 18px; padding: 0; }
.cp-corr li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--cp-bord); margin: 0; }
.cp-corr strong { color: var(--cp-accent); white-space: nowrap; }

.cp-map { margin: 0; background: var(--cp-ciel); border-radius: 10px; padding: 12px; }
.cp-map svg { display: block; width: 100%; height: auto; }
.cp-map figcaption { font-size: 13px; color: var(--cp-muted); text-align: right; padding: 4px 6px 0; }
.cp-m-cote { fill: none; stroke: #8fb6d6; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.cp-m-corr polyline { fill: none; stroke: var(--cp-accent); stroke-width: 3; stroke-dasharray: 8 6; stroke-linecap: round; stroke-linejoin: round; }
.cp-m-site { fill: var(--cp-accent); stroke: #fff; stroke-width: 3; }
.cp-m-ville { fill: #fff; stroke: var(--cp-accent); stroke-width: 2; }
.cp-m-lbl-site { font-size: 15px; font-weight: 700; font-family: inherit; fill: var(--cp-txt); }
.cp-m-lbl { font-size: 13px; font-family: inherit; fill: #3a4554; }
.cp-m-pays { font-size: 13px; font-family: inherit; letter-spacing: .25em; fill: #7b8ea3; font-weight: 600; }
.cp-m-mer { font-size: 13px; font-family: inherit; font-style: italic; fill: #6f9cc2; }

.cp-proj { border-top: 1px solid var(--cp-bord); padding-top: 32px; margin-bottom: 36px; }
.cp-check { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 8px 28px; }
.cp-check li { position: relative; padding-left: 28px; margin: 0; }
.cp-check li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 3px solid var(--cp-accent); border-bottom: 3px solid var(--cp-accent); transform: rotate(-45deg); }
.cp-gal { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.cp-gal figure { margin: 0; border-radius: 8px; overflow: hidden; background: var(--cp-ciel); }
.cp-gal img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.cp-total { font-size: 18px; background: var(--cp-ciel); border-radius: 8px; padding: 18px 22px; margin-bottom: 36px !important; }
.cp-ifc { border-left: 4px solid var(--cp-accent); padding: 4px 0 4px 22px; margin-bottom: 30px; max-width: 860px; }

.cp-btn { display: inline-block; background: var(--cp-accent); color: #fff !important; font-weight: 600; padding: 12px 22px; border-radius: 6px; text-decoration: none; border: 2px solid var(--cp-accent); }
.cp-btn:hover { background: var(--cp-accent-dark); border-color: var(--cp-accent-dark); }
.cp-btn-ghost { background: transparent; color: var(--cp-accent) !important; }
.cp-btn-ghost:hover { background: var(--cp-ciel); border-color: var(--cp-accent); }
.cp-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--cp-accent); color: #fff; border-radius: 10px; padding: 26px 30px; margin-top: 20px; }
.cp-cta p { margin: 0; font-size: 18px; font-weight: 600; max-width: 640px; }
.cp-cta .cp-btn { background: #fff; color: var(--cp-accent) !important; border-color: #fff; }
.cp-cta .cp-btn:hover { background: var(--cp-ciel); }

/* Bandeau chiffres clés (accueil, À propos) */
.cp-figs { max-width: none; padding: 34px 20px; background: var(--cp-accent); color: #fff; }
.cp-figs ul { list-style: none; margin: 0 auto; padding: 0; max-width: 1140px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; text-align: center; }
.cp-figs li { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.cp-figs strong { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; font-weight: 700; color: #fff; }
.cp-figs span { font-size: 14px; color: #dbe8f6; }

@media (max-width: 900px) {
  .cp-split { grid-template-columns: 1fr; }
  .cp-figs ul { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .cp-figs li:last-child { grid-column: 1 / -1; }
}
.cp ul.cp-check li, .cp ul.cp-corr li, .cp-figs li { list-style: none !important; }
.cp ul.cp-check, .cp ul.cp-corr { list-style: none !important; margin-left: 0 !important; }
.cp-figs ul { list-style: none !important; margin: 0 auto !important; }
.cp ul.cp-check li::marker, .cp ul.cp-corr li::marker { content: ""; }
.cp-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 8px; background: var(--cp-ciel, #e8f3fa); margin-bottom: 14px; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .cp-video { display: none; } }
