/* ===== Page Commissaires-priseurs — Design institutionnel ===== */
/* Sobre, international, haut de gamme. Pas startup. Bleu nuit, pas cognac. */

:root.page-commissaire,
.page-commissaire,
.page-experts,
.page-assureurs {
  --cp-bg: #F6F1E8;
  --cp-surface: #FFFFFF;
  --cp-ink: #0E1B2A;
  --cp-text: #2A2A2A;
  --cp-muted: #5C5C5C;
  --cp-border: #E0DDD8;
  --cp-accent: #0E1B2A;
  --cp-accent-hover: #061018;
}

.page-commissaire,
.page-experts,
.page-assureurs {
  background: var(--cp-bg);
  color: var(--cp-text);
}

/* Header sobre */
.cp-header .nav {
  border-bottom: 1px solid var(--cp-border);
}

.cp-header .nav-links a:not(.btn) {
  color: var(--cp-text);
}

.logo-header-cp {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
}

.logo-header-cp .logo-img {
  height: 48px;
  width: auto;
}

.logo-header-cp .logo-tag {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cp-muted);
  margin-left: 0;
}

/* Boutons : bleu nuit */
.btn-cp,
.page-commissaire .btn-primary.btn-cp {
  background: var(--cp-accent) !important;
  color: #fff !important;
  border-color: var(--cp-accent) !important;
}

.btn-cp:hover,
.page-commissaire .btn-primary.btn-cp:hover {
  background: var(--cp-accent-hover) !important;
  border-color: var(--cp-accent-hover) !important;
  color: #fff !important;
}

.btn-cp-outline {
  border-color: var(--cp-accent) !important;
  color: var(--cp-accent) !important;
  background: transparent !important;
}

.btn-cp-outline:hover {
  background: rgba(14, 27, 42, 0.06) !important;
  color: var(--cp-accent) !important;
}

/* Main : beaucoup d’espace */
.cp-main {
  padding-bottom: 4rem;
}

/* Hero */
.cp-hero {
  padding: 5rem 1.5rem 4rem;
  background: var(--cp-surface);
  border-bottom: 1px solid var(--cp-border);
}

.cp-hero-inner {
  max-width: 780px;
  margin: 0 auto;
}

.cp-h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--cp-ink);
  margin: 0 0 1.5rem;
}

.cp-subtitle {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--cp-text);
  line-height: 1.7;
  margin: 0 0 1.25rem;
}

.cp-intro {
  font-size: 1rem;
  color: var(--cp-muted);
  line-height: 1.7;
  margin: 0 0 1rem;
}

.cp-intro:last-of-type {
  margin-bottom: 0;
}

/* Liste d’accompagnement dans le hero */
.cp-hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 1.25rem;
}

.cp-hero-list li {
  position: relative;
  padding-left: 0.75rem;
  margin-bottom: 0.4rem;
  font-size: 1rem;
  color: var(--cp-text);
  line-height: 1.7;
}

.cp-hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 3px;
  height: 3px;
  background: var(--cp-ink);
  border-radius: 50%;
}

/* Points structurants (checkmarks) */
.cp-hero-points {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--cp-border);
}

.cp-hero-points-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cp-muted);
  margin: 0 0 0.75rem;
}

.cp-hero-points-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem 2rem;
}

.cp-hero-points-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  color: var(--cp-text);
  line-height: 1.6;
}

.cp-hero-points-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--cp-accent);
}

@media (max-width: 560px) {
  .cp-hero-points-list {
    grid-template-columns: 1fr;
  }
}

.cp-hero-points-list.cp-list-standalone {
  grid-template-columns: 1fr;
  margin-top: 0.5rem;
}

/* Positionnement (encadré discret) */
.cp-positionnement-inline {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
}

.cp-positionnement {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: rgba(14, 27, 42, 0.03);
  border-left: 3px solid var(--cp-accent);
}

.cp-positionnement p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--cp-text);
  line-height: 1.7;
}

/* Sections aérées */
.cp-section {
  padding: 4rem 1.5rem;
  border-bottom: 1px solid var(--cp-border);
}

.cp-section:last-of-type {
  border-bottom: none;
}

.cp-section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  letter-spacing: -0.02em;
  color: var(--cp-ink);
  margin: 0 0 1.75rem;
}

.cp-lead {
  font-size: 1rem;
  color: var(--cp-text);
  line-height: 1.7;
  margin: 0 0 1.25rem;
}

/* Listes sobres */
.cp-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cp-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: var(--cp-text);
  line-height: 1.7;
  font-weight: 400;
}

.cp-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 4px;
  height: 4px;
  background: var(--cp-ink);
  border-radius: 50%;
}

.cp-list-archi {
  margin-bottom: 1.5rem;
}

/* Titre et lead centrés pour le bloc Enjeux / Réponse / Objectifs */
.cp-section-title-center {
  text-align: center;
  margin-bottom: 0.5rem;
}

.cp-lead-center {
  text-align: center;
  margin-bottom: 2.5rem;
}

/* Trois cadres : Enjeux | Réponse | Objectifs */
.cp-frames {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid var(--cp-border);
  border-radius: 2px;
  overflow: hidden;
  background: var(--cp-surface);
}

.cp-frame {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid var(--cp-border);
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.cp-frame:last-child {
  border-right: none;
}

.cp-frame-reponse,
.cp-frame-objectifs {
  background: rgba(14, 27, 42, 0.02);
  border-left: 3px solid var(--cp-accent);
}

.cp-frame-header {
  margin-bottom: 1.25rem;
}

.cp-frame-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cp-muted);
  margin-bottom: 0.35rem;
}

.cp-frame-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--cp-ink);
  margin: 0;
}

.cp-list-in-frame {
  flex: 1;
}

.cp-list-in-frame li {
  margin-bottom: 0.6rem;
  font-size: 0.9375rem;
}

.cp-list-objectifs li::before {
  content: "✓";
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cp-accent);
  top: 0.1em;
}

@media (max-width: 768px) {
  .cp-frames {
    grid-template-columns: 1fr;
    border-radius: 2px;
  }

  .cp-frame {
    border-right: none;
    border-bottom: 1px solid var(--cp-border);
    min-height: auto;
  }

  .cp-frame:last-child {
    border-bottom: none;
  }

  .cp-frame-reponse,
  .cp-frame-objectifs {
    border-left: none;
    border-top: 3px solid var(--cp-accent);
  }
}

/* Piliers Architecture */
.cp-pillars {
  padding-top: 1rem;
  border-top: 1px solid var(--cp-border);
}

.cp-pillars p {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--cp-text);
  line-height: 1.7;
}

.cp-pillars p:last-child {
  margin-bottom: 0;
}

/* CTA final */
.cp-cta {
  background: var(--cp-surface);
  padding: 4rem 1.5rem;
}

.cp-cta-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.cp-cta-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
  color: var(--cp-ink);
  margin: 0 0 0.5rem;
}

.cp-cta-sub {
  font-size: 1rem;
  color: var(--cp-muted);
  line-height: 1.7;
  margin: 0 0 1.75rem;
}

.cp-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.cp-cta-buttons .btn-lg {
  padding: 0.875rem 1.5rem;
  font-weight: 500;
}

/* Footer */
.cp-footer {
  background: var(--cp-surface);
  border-top: 1px solid var(--cp-border);
}

.cp-footer .footer-brand p,
.cp-footer .footer-links a {
  color: var(--cp-muted);
}

.cp-footer .footer-links h4 {
  color: var(--cp-ink);
  font-weight: 600;
}

.cp-footer .footer-bottom {
  border-top: 1px solid var(--cp-border);
}

.cp-footer .footer-bottom p {
  color: var(--cp-muted);
  font-size: 0.875rem;
}
