/* =====================================================================
   STORM PATRIMOINE — Styles spécifiques : VOS OBJECTIFS
   ===================================================================== */

/* Sommaire ancré (sticky) ------------------------------------------ */
.objectives-nav {
  position: relative; z-index: 40;
  background: var(--white); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.objectives-nav ul { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.objectives-nav a {
  display: inline-block; padding: 16px 18px; font-size: .8rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-soft); position: relative; transition: color .3s var(--ease);
}
.objectives-nav a::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 10px; height: 2px;
  background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease);
}
.objectives-nav a:hover, .objectives-nav a.is-current { color: var(--ink); }
.objectives-nav a:hover::after, .objectives-nav a.is-current::after { transform: scaleX(1); }

/* Décalage d'ancre pour ne pas passer sous l'en-tête + le sommaire */
.objective { scroll-margin-top: 150px; }
.objective .split-media img { aspect-ratio: 5/4; }

.obj-question {
  font-family: var(--font-title); font-style: italic; font-size: 1.35rem; color: var(--ink);
  border-left: 3px solid var(--gold); padding-left: 20px; margin: 22px 0;
}
.obj-tools-label { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 12px; }
.obj-tools { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 980px) {
  .objectives-nav { top: 0; }
  .objectives-nav ul { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .objectives-nav a { white-space: nowrap; }
}
