/* ============================================================
   expertises.css — page de dispatch « Expertises sectorielles »
   Index éditorial orientant vers les 5 landings sectorielles.
   S'appuie sur colors_and_type.css + site.css (Nav/Footer).
   ============================================================ */

/* ---------- Hero ---------- */
.ex-hero {
  background: #fff;
  padding: 140px 48px 88px;
  border-bottom: 1px solid var(--border-1);
}
.ex-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 72px;
  align-items: end;
}
.ex-hero h1 {
  font-size: clamp(52px, 6.4vw, 104px);
  font-weight: 400;
  letter-spacing: -0.028em;
  line-height: 1;
  margin: 18px 0 0;
  max-width: 13ch;
}
.ex-hero h1 em { font-style: italic; color: var(--un-blue); }
.ex-hero-lede {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
  max-width: 46ch;
}
.ex-hero-lede strong { color: var(--fg-1); font-weight: 500; }

/* ---------- Liste dispatch ---------- */
.ex-list-section {
  background: #fff;
  padding: 0 48px 24px;
}
.ex-list {
  max-width: 1280px;
  margin: 0 auto;
}
.ex-row {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-2);
}
.ex-list .ex-row:last-child { border-bottom: 1px solid var(--border-2); }

/* Mot déco géant en filigrane — écho du hero de chaque landing */
.ex-deco {
  position: absolute;
  right: 1.5%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(110px, 15vw, 196px);
  letter-spacing: -0.04em;
  line-height: 0.8;
  color: rgba(10, 10, 10, 0.04);
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
  transition: color var(--dur-base) var(--ease-out);
}
.ex-row:hover .ex-deco { color: rgba(0, 0, 255, 0.06); }

.ex-row > a {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 92px 1fr 56px;
  gap: 48px;
  align-items: center;
  padding: 52px 16px;
  text-decoration: none;
  color: var(--fg-1);
  transition: padding var(--dur-base) var(--ease-out);
}
.ex-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--un-blue-wash);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
  z-index: 0;
}
.ex-row:hover::before { opacity: 1; }
.ex-row:hover > a { padding-left: 28px; padding-right: 28px; }

.ex-num {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--un-blue);
  align-self: start;
  padding-top: 8px;
}

.ex-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 60ch;
}
.ex-eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.ex-name {
  font-size: clamp(32px, 3.6vw, 56px);
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 1.0;
  margin: 0;
}
.ex-teaser {
  font-style: italic;
  color: var(--un-blue);
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 2px 0 0;
}
.ex-desc {
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 4px 0 0;
  max-width: 56ch;
}
.ex-tags {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ex-tags li {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  color: var(--fg-3);
  background: #fff;
}
.ex-arrow {
  justify-self: end;
  align-self: center;
  font-size: 26px;
  color: var(--un-blue);
  transition: transform var(--dur-base) var(--ease-out);
}
.ex-row:hover .ex-arrow { transform: translate(5px, -5px); }

/* ---------- Bandeau d'orientation (noir) ---------- */
.ex-orient {
  background: var(--un-black);
  color: #fff;
  padding: 96px 48px;
}
.ex-orient-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.ex-orient h2 {
  font-size: clamp(34px, 3.4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 1.08;
  color: #fff;
  margin: 14px 0 0;
  max-width: 18ch;
}
.ex-orient h2 em { font-style: italic; color: var(--un-yellow-sun); }
.ex-orient .un-eyebrow { color: rgba(255, 255, 255, 0.6); }
.ex-orient-body p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 20px;
  max-width: 52ch;
}
.ex-orient-body p:last-of-type { margin-bottom: 28px; }
.ex-orient-actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.ex-orient-ghost {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 3px;
}
.ex-orient-ghost:hover { color: var(--un-yellow-sun); border-color: var(--un-yellow-sun); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .ex-hero { padding: 92px 24px 56px; }
  .ex-hero-inner { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .ex-list-section { padding: 0 24px 16px; }
  .ex-row > a {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 40px 8px;
  }
  .ex-row:hover > a { padding-left: 8px; padding-right: 8px; }
  .ex-num { padding-top: 0; }
  .ex-arrow { display: none; }
  .ex-deco { font-size: 96px; opacity: 0.7; }
  .ex-orient { padding: 64px 24px; }
  .ex-orient-inner { grid-template-columns: 1fr; gap: 32px; }
}
