/* ═══════════════════════════════════════════════════════════
   AS DÉCAP — Pages autorité / EEAT (À propos, Expertise, AFR)
   Complète design-system.css + site-pages.css
═══════════════════════════════════════════════════════════ */

/* ── Prose longue ── */
.ap-prose { max-width: 70ch; }
.ap-prose p {
  font-size: .95rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--ds-text-muted);
  margin-bottom: 18px;
}
.ap-prose p strong { color: var(--ds-midnight); font-weight: 600; }
.ap-prose h2 {
  font-family: var(--ds-font-display);
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ds-midnight);
  margin: 40px 0 14px;
}
.ap-prose h2 em { font-style: italic; color: var(--ds-copper); }
.ap-prose h3 {
  font-family: var(--ds-font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ds-midnight);
  margin: 28px 0 10px;
}
.ap-prose ul { list-style: none; margin: 16px 0 24px; }
.ap-prose li {
  position: relative;
  padding: 8px 0 8px 26px;
  font-size: .92rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ds-text-muted);
  border-bottom: 1px solid var(--ds-warm-gray);
}
.ap-prose li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ds-copper);
  font-weight: 700;
  font-size: .82rem;
}
.ap-prose li strong { color: var(--ds-midnight); font-weight: 600; }

/* ── Split contenu + aside ── */
.ap-split {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.ap-aside {
  background: #fff;
  border: 1px solid var(--ds-warm-gray);
  border-top: 3px solid var(--ds-copper);
  padding: clamp(24px, 3vw, 34px);
  position: sticky;
  top: calc(var(--ds-nav-h) + 24px);
}
.ap-aside h3 {
  font-family: var(--ds-font-ui);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ds-copper);
  margin-bottom: 18px;
}
.ap-aside dl { display: flex; flex-direction: column; gap: 14px; }
.ap-aside dt {
  font-family: var(--ds-font-ui);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ds-text-muted);
  margin-bottom: 2px;
}
.ap-aside dd {
  font-size: .92rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ds-midnight);
}
.ap-aside dd a { color: var(--ds-copper); font-weight: 600; }
.ap-aside .ds-btn { width: 100%; margin-top: 20px; }

/* ── Timeline histoire ── */
.ap-timeline {
  position: relative;
  margin-top: 8px;
  padding-left: 28px;
}
.ap-timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--ds-copper), rgba(184,115,75,.15));
}
.ap-tl-item { position: relative; padding: 0 0 32px; }
.ap-tl-item:last-child { padding-bottom: 0; }
.ap-tl-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ds-cream-light);
  border: 3px solid var(--ds-copper);
}
.ap-tl-year {
  font-family: var(--ds-font-ui);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ds-copper);
  margin-bottom: 6px;
}
.ap-tl-title {
  font-family: var(--ds-font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ds-midnight);
  margin-bottom: 8px;
}
.ap-tl-text {
  font-size: .9rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ds-text-muted);
}

/* ── Bande de statistiques ── */
.ap-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--ds-midnight);
  border: 1px solid rgba(184,115,75,.25);
}
.ap-stat {
  padding: clamp(28px, 4vw, 44px) 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.07);
}
.ap-stat:last-child { border-right: none; }
.ap-stat-n {
  font-family: var(--ds-font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--ds-copper-light);
  line-height: 1;
  margin-bottom: 10px;
}
.ap-stat-l {
  font-family: var(--ds-font-ui);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  line-height: 1.5;
}

/* ── Piliers / valeurs ── */
.ap-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--ds-space-md);
}
.ap-pillar {
  background: #fff;
  border: 1px solid var(--ds-warm-gray);
  padding: clamp(28px, 3vw, 36px) clamp(24px, 3vw, 30px);
  position: relative;
  overflow: hidden;
}
.ap-pillar__num {
  font-family: var(--ds-font-display);
  font-size: 3.2rem;
  font-weight: 600;
  color: rgba(184,115,75,.12);
  line-height: 1;
  position: absolute;
  top: 18px;
  right: 22px;
}
.ap-pillar__title {
  font-family: var(--ds-font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ds-midnight);
  margin-bottom: 12px;
  position: relative;
}
.ap-pillar__text {
  font-size: .88rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ds-text-muted);
}

/* ── Process numéroté ── */
.ap-process { display: grid; gap: 0; }
.ap-step {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: clamp(16px, 3vw, 32px);
  padding: 28px 0;
  border-bottom: 1px solid var(--ds-warm-gray);
  align-items: start;
}
.ap-step:last-child { border-bottom: none; }
.ap-step__num {
  font-family: var(--ds-font-display);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--ds-copper);
  line-height: 1;
}
.ap-step__title {
  font-family: var(--ds-font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ds-midnight);
  margin-bottom: 8px;
}
.ap-step__text {
  font-size: .9rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ds-text-muted);
}
.ap-step__text strong { color: var(--ds-midnight); font-weight: 600; }

/* ── Réseau AFR : grille agences ── */
.ap-net-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--ds-space-sm);
}
.ap-net-card {
  background: var(--ds-midnight-soft);
  border: 1px solid rgba(255,255,255,.08);
  padding: 24px 22px;
  transition: border-color .25s, transform .25s;
}
.ap-net-card:hover { border-color: rgba(184,115,75,.45); transform: translateY(-3px); }
.ap-net-card__region {
  font-family: var(--ds-font-ui);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ds-copper-light);
  margin-bottom: 8px;
}
.ap-net-card__name {
  font-family: var(--ds-font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}
.ap-net-card__text {
  font-size: .82rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255,255,255,.5);
}

/* ── Logo / lettrine entité ── */
.ap-entity {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}
.ap-entity__mark {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ds-midnight);
  color: var(--ds-copper-light);
  font-family: var(--ds-font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: .04em;
  border: 1px solid rgba(184,115,75,.3);
}
.ap-entity__meta span {
  display: block;
  font-family: var(--ds-font-ui);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ds-copper);
  margin-bottom: 4px;
}
.ap-entity__meta strong {
  font-family: var(--ds-font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ds-midnight);
}

/* ── Carte coordonnées ── */
.ap-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--ds-space-md);
}
.ap-contact-item {
  background: #fff;
  border: 1px solid var(--ds-warm-gray);
  padding: 28px 26px;
}
.ap-contact-item h3 {
  font-family: var(--ds-font-ui);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ds-copper);
  margin-bottom: 12px;
}
.ap-contact-item p, .ap-contact-item a {
  font-size: .9rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ds-text-muted);
}
.ap-contact-item a { color: var(--ds-copper); font-weight: 600; }
.ap-contact-item strong { color: var(--ds-midnight); font-weight: 600; }

/* ── Liens internes (maillage) ── */
.ap-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--ds-space-sm);
  margin-top: var(--ds-space-md);
}
.ap-link-card {
  display: block;
  background: #fff;
  border: 1px solid var(--ds-warm-gray);
  padding: 22px 24px;
  transition: border-color .2s, transform .2s;
}
.ap-link-card:hover { border-color: var(--ds-copper); transform: translateY(-2px); }
.ap-link-card__title {
  font-family: var(--ds-font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ds-midnight);
  margin-bottom: 4px;
}
.ap-link-card__arrow {
  font-family: var(--ds-font-ui);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ds-copper);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .ap-split { grid-template-columns: 1fr; }
  .ap-aside { position: static; }
  .ap-stats { grid-template-columns: 1fr 1fr; }
  .ap-stat:nth-child(2) { border-right: none; }
  .ap-stat:nth-child(1), .ap-stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.07); }
}
@media (max-width: 540px) {
  .ap-stats { grid-template-columns: 1fr; }
  .ap-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
  .ap-stat:last-child { border-bottom: none; }
  .ap-step { grid-template-columns: 56px 1fr; }
  .ap-step__num { font-size: 2rem; }
}
