/* Victor, fechamento, rodapé e ajustes por largura (tokens em base.css) */

.ef-mentor { padding: clamp(88px, 11vw, 160px) var(--ef-gutter); background: #fff; }
.ef-mentor__inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.ef-mentor__photo { grid-column: 1 / 6; position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 16px; background: var(--ef-grad); }
.ef-mentor__img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.ef-mentor__mark { position: absolute; left: -26%; top: 30%; width: 118%; fill: rgba(255, 255, 255, .16); }
.ef-mentor__copy { grid-column: 7 / 13; }
.ef-mentor__role { margin-top: 14px; font-weight: 600; color: var(--ef-purple); }
.ef-mentor__text { max-width: 34em; margin-top: 24px; }
.ef-mentor__motto { margin-top: 28px; font: 700 clamp(1.6rem, 2.4vw, 2.1rem)/1 var(--ef-display); color: var(--ef-ink); }
.ef-mentor .ef-link { margin-top: 12px; margin-left: -6px; }

/* Fechamento: o símbolo gigante sai da borda esquerda, como na capa do manual */
.ef-closing {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; background: var(--ef-grad);
  min-height: clamp(560px, 82vh, 820px); display: grid; align-items: center; padding: 96px var(--ef-gutter);
}
.ef-closing__bars { position: absolute; z-index: -1; left: -17vw; top: 50%; width: auto; height: 74%; max-width: none; fill: #fff; transform: translateY(-50%); }
.ef-closing__copy { width: min(560px, 44%); margin-left: auto; margin-right: max(0px, calc((100vw - var(--ef-max)) / 2)); }
.ef-closing__title { font: 700 clamp(2.6rem, 4.8vw, 4.6rem)/.98 var(--ef-display); text-wrap: balance; }
.ef-closing__text { margin: 20px 0 34px; font-size: 1.125rem; color: rgba(255, 255, 255, .88); }

.ef-footer { background: var(--ef-night); color: #d9d3f5; padding: 44px var(--ef-gutter) calc(44px + env(safe-area-inset-bottom)); }
.ef-footer__inner { max-width: var(--ef-max); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.ef-footer__links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.ef-footer__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; font-weight: 500; font-size: .9375rem; text-decoration: none; }
.ef-footer__links a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 860px) {
  .ef-hero__inner { grid-template-columns: 1fr; min-height: 0; padding-top: 112px; padding-bottom: 64px; gap: 40px; }
  .ef-hero__copy, .ef-plot { grid-column: 1; grid-row: auto; }
  .ef-plot { width: min(100%, 520px); justify-self: center; }
  .ef-hero__board { opacity: .7; }
  .ef-mentor__inner { grid-template-columns: 1fr; gap: 36px; }
  .ef-mentor__photo, .ef-mentor__copy { grid-column: 1; }
  .ef-mentor__photo { width: min(100%, 420px); }
  .ef-closing { display: block; min-height: 0; padding-top: 56px; }
  .ef-closing__bars { position: relative; left: -24%; top: auto; width: 118%; height: auto; transform: none; margin: 0 0 40px; }
  .ef-closing__copy { width: 100%; margin: 0; }
  .ef-footer__links { margin-left: -8px; width: 100%; }
}
@media (max-width: 560px) {
  .ef-hero__actions .ef-btn { width: 100%; }
  .ef-hero__actions { justify-content: center; }
}
