/* ============================================================
   MENTORAT 1:1 — redesign editorial (scrollytelling, acordeon)
   Reutilizează tokenii din style.css (--ink, --paper, --serif, --sans...)
   ============================================================ */

.nr-mentorat-hero { position: relative; }

/* test local: lead drept, nu italic — italicul rămâne rezervat citatului */
.nr-mentorat-page__lead {
  font-style: normal;
}

.nr-mentorat-page__aside {
  font-size: clamp(0.92rem, 1vw, 0.98rem);
}

.nr-mentorat-page__actions {
  margin-top: clamp(32px, 4vw, 48px);
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- bară de progres (scrub, ca un cursor de montaj) ---------- */
.nr-mentorat-scrub {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 300;
  background: transparent;
  pointer-events: none;
}

.nr-mentorat-scrub__fill {
  height: 100%;
  width: 0%;
  background: var(--ink);
  transition: width 80ms linear;
}

@media (prefers-reduced-motion: reduce) {
  .nr-mentorat-scrub__fill { transition: none; }
}

/* ---------- navigație pe capitole (fixă, înlocuiește vizual headerul, aceeași culoare) ---------- */
.nr-mentorat-chapternav {
  position: fixed;
  left: 0; right: 0;
  top: 0;
  z-index: 250;
  height: 52px;
  display: flex;
  align-items: center;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-line);
  transform: translateY(-130%);
  transition: transform 240ms cubic-bezier(.4,0,.2,1);
}

.nr-mentorat-chapternav.is-visible { transform: translateY(0); }

.nr-mentorat-chapternav__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nr-mentorat-chapternav__mark {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--header-text);
  white-space: nowrap;
}

.nr-mentorat-chapternav__links {
  display: flex;
  gap: clamp(16px, 3vw, 36px);
}

.nr-mentorat-chapternav__links a {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--header-muted);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 200ms ease, border-color 200ms ease;
  white-space: nowrap;
}

.nr-mentorat-chapternav__links a:hover,
.nr-mentorat-chapternav__links a.is-active {
  color: var(--header-text);
  border-color: var(--header-text);
}

.nr-mentorat-chapternav__links a:focus-visible {
  outline: 2px solid var(--header-text);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .nr-mentorat-chapternav__links a[data-short] { display: none; }
}

/* ---------- capitol (ziua 1 / ziua 2) ---------- */
.nr-mentorat-program { margin-bottom: 0; }

.nr-mentorat-day {
  padding: clamp(48px, 6vw, 80px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 76px;
}

.nr-mentorat-day:first-child { padding-top: clamp(40px, 5.5vw, 72px); border-top: 0; }

.nr-mentorat-day__heading {
  margin: 0;
}

/* Capul zilei = buton acordeon (ca subiectele) */
.nr-mentorat-day__head {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(16px, 2.5vw, 28px);
  align-items: center;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  color: inherit;
}

.nr-mentorat-day__head:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.nr-mentorat-day__headmeta {
  display: block;
}

.nr-mentorat-day__chev {
  flex: none;
  width: 24px;
  height: 24px;
  color: var(--gray-500);
  transition: transform 240ms ease;
}

.nr-mentorat-day[data-open="true"] .nr-mentorat-day__chev {
  transform: rotate(180deg);
}

.nr-mentorat-day__head:hover .nr-mentorat-day__title {
  opacity: 0.72;
}

/* Panoul zilei — colapsabil, același mecanism ca subiectele */
.nr-mentorat-day__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 280ms cubic-bezier(.4, 0, .2, 1);
}

.nr-mentorat-day[data-open="true"] .nr-mentorat-day__panel {
  grid-template-rows: 1fr;
}

.nr-mentorat-day__panel-inner {
  overflow: hidden;
}

.nr-mentorat-day__panel-inner > .nr-mentorat-topics {
  padding-top: clamp(28px, 4vw, 44px);
}

.nr-mentorat-day__num {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.4vw, 3.6rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--gray-300);
  font-variant-numeric: tabular-nums;
  min-width: 1.3em;
}

.nr-mentorat-day__label {
  display: block;
  margin: 0 0 0.3rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.nr-mentorat-day__title {
  display: block;
  margin: 0;
  font-family: var(--now);
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ---------- subiecte — acordeon ---------- */
.nr-mentorat-topics { max-width: 840px; }

.nr-mentorat-topic { border-top: 1px solid var(--line); }
.nr-mentorat-topic:last-of-type { border-bottom: 1px solid var(--line); }

.nr-mentorat-topic__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(14px, 1.8vw, 18px) 2px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--now);
  color: var(--ink);
  min-height: 44px;
}

.nr-mentorat-topic__head:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.nr-mentorat-topic__title {
  margin: 0;
  font-size: clamp(0.98rem, 1.25vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
}

.nr-mentorat-topic__chev {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--gray-500);
  transition: transform 200ms ease;
}

.nr-mentorat-topic[data-open="true"] .nr-mentorat-topic__chev {
  transform: rotate(180deg);
}

.nr-mentorat-topic__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms cubic-bezier(.4,0,.2,1);
}

.nr-mentorat-topic[data-open="true"] .nr-mentorat-topic__panel {
  grid-template-rows: 1fr;
}

.nr-mentorat-topic__panel-inner { overflow: hidden; }

.nr-mentorat-topic__text {
  margin: 0 0 clamp(14px, 2vw, 20px);
  max-width: 64ch;
  font-family: var(--now);
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.65;
  color: var(--gray-600);
}

@media (prefers-reduced-motion: reduce) {
  .nr-mentorat-topic__panel,
  .nr-mentorat-topic__chev,
  .nr-mentorat-day__panel,
  .nr-mentorat-day__chev { transition: none; }
}

/* ---------- practică (final de capitol) ---------- */
.nr-mentorat-practice {
  margin-top: clamp(24px, 3vw, 32px);
  padding: clamp(18px, 2.4vw, 24px) clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  max-width: 840px;
}

.nr-mentorat-practice__label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.nr-mentorat-practice p {
  margin: 0;
  font-family: var(--now);
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.65;
  color: var(--text);
}

/* ---------- pauză editorială (citat între cele două zile) ---------- */
.nr-mentorat-quotebreak {
  padding: clamp(28px, 3.5vw, 44px) 0;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.nr-mentorat-quote {
  max-width: 44ch;
  margin: 0 auto;
  padding: 0;
  border: 0;
  text-align: center;
  font-family: var(--now);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.6;
  color: var(--ink);
  text-wrap: balance;
}

/* ---------- video ---------- */
.nr-mentorat-video {
  margin: clamp(56px, 7vw, 88px) 0;
  text-align: center;
}

.nr-mentorat-video .nr-video { max-width: 920px; margin: 0 auto; }

.nr-mentorat-video__caption {
  margin-top: 16px;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--gray-500);
}

/* ---------- closing ---------- */
.nr-mentorat-closing {
  max-width: 38rem;
  margin: 0 auto clamp(56px, 7vw, 88px);
}

.nr-mentorat-closing__title {
  margin: 0 0 1rem;
  font-family: var(--now);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--ink);
}

.nr-mentorat-closing p {
  margin: 0 0 1rem;
  font-family: var(--now);
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.65;
  color: var(--gray-600);
}

.nr-mentorat-closing p:last-child { margin-bottom: 0; }

/* ---------- înscriere ---------- */
.nr-mentorat-register {
  max-width: 640px;
  margin: 0 auto;
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
  text-align: center;
  scroll-margin-top: 76px;
}

.nr-mentorat-register .nr-eyebrow {
  display: block;
  margin-bottom: clamp(24px, 3vw, 32px);
}

.nr-mentorat-form { text-align: left; }

.nr-mentorat-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.nr-mentorat-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
}

@media (max-width: 640px) {
  .nr-mentorat-form__grid { grid-template-columns: 1fr; }
}

.nr-mentorat-form__field { margin-bottom: 1.5rem; }

.nr-mentorat-form__field label {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.nr-mentorat-form__field input,
.nr-mentorat-form__field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-family: var(--now);
  font-size: 1.05rem;
  color: var(--ink);
  padding: 0.5rem 2px;
  min-height: 44px;
}

.nr-mentorat-form__field textarea { resize: vertical; min-height: 3.5rem; }

.nr-mentorat-form__field input::placeholder,
.nr-mentorat-form__field textarea::placeholder { color: var(--gray-500); opacity: .8; }

.nr-mentorat-form__field input:focus,
.nr-mentorat-form__field textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}

.nr-mentorat-form__submit {
  width: 100%;
  margin-top: 0.5rem;
  cursor: pointer;
}

.nr-mentorat-form__submit:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.nr-mentorat-form__thanks {
  padding: 1rem 0;
  font-family: var(--now);
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--gray-600);
}

/* ---------- CTA fixă pe mobil ---------- */
.nr-mentorat-mobilecta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 170;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px var(--gutter);
  background: var(--paper);
  border-top: 1px solid var(--line);
  transform: translateY(100%);
  transition: transform 220ms cubic-bezier(.4,0,.2,1);
}

.nr-mentorat-mobilecta.is-visible { transform: translateY(0); }

.nr-mentorat-mobilecta__price {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.nr-mentorat-mobilecta__price span {
  display: block;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.nr-mentorat-mobilecta .nr-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

@media (max-width: 820px) {
  .nr-mentorat-mobilecta { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  .nr-mentorat-chapternav,
  .nr-mentorat-mobilecta { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 640px) {
  .nr-mentorat-day__head { grid-template-columns: 1fr; }
  .nr-mentorat-day__num { font-size: 2.2rem; }
}
