/* WraithCrew / História — estilos isolados, sem interferir nas outras páginas */
.historia-page { --history-purple: #9b30ff; overflow: clip; }
.historia-page .history-hero, .historia-page .history-chapter, .historia-page .history-outro { max-width: none; }
.historia-page .history-hero { min-height: min(820px, 94svh); display: flex; position: relative; align-items: center; padding: 110px max(5vw,calc((100vw - 1050px)/2)) 120px; isolation: isolate; background: radial-gradient(ellipse at 80% 60%,#34104d 0%,transparent 46%),linear-gradient(145deg,#09040f,#07030d 75%); }
.historia-page .history-hero-glow { position: absolute; inset: 0; background: radial-gradient(circle at 23% 85%,#9b30ff25, transparent 45%); z-index: -1; pointer-events: none; }
.historia-page .history-hero-content { width: min(850px,100%); position: relative; z-index: 1; }
.historia-page .history-eyebrow, .historia-page .history-kicker, .historia-page .history-index-label { font: 700 12px/1.4 'Chakra Petch', sans-serif; letter-spacing: .2em; color: #bd81ff; text-transform: uppercase; }
.historia-page .history-eyebrow { margin-bottom: 24px; }
.historia-page .history-hero h1 { font: 700 clamp(43px,7vw,94px)/1.02 'Chakra Petch',sans-serif; text-transform: uppercase; letter-spacing: -.035em; max-width: 940px; }
.historia-page h1 span, .historia-page h2 span { color: var(--ac,#9b30ff); }
.historia-page .history-intro { color: #c8bfce; max-width: 650px; font-size: clamp(16px,1.75vw,20px); line-height: 1.8; margin: 32px 0 44px; }
.historia-page .history-scroll { display: inline-flex; gap: 20px; align-items: center; color: #fff; text-decoration: none; font: 700 13px 'Chakra Petch',sans-serif; text-transform: uppercase; letter-spacing: .11em; border-bottom: 1px solid #8139aa; padding-bottom: 12px; }
.historia-page .history-scroll span { font-size: 23px; color: var(--ac,#9b30ff); }
.historia-page .history-hero-number { position: absolute; right: 3vw; bottom: 0; font: 700 clamp(130px,22vw,360px)/.8 'Chakra Petch',sans-serif; letter-spacing: -.09em; color: #ffffff06; z-index: 0; user-select: none; pointer-events: none; }
.historia-page .history-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 30; pointer-events: none; }
.historia-page .history-progress-bar { height: 100%; background: linear-gradient(90deg,#6a16bf,#c984ff); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 12px #9b30ff80; }
.historia-page .history-chapter { position: relative; display: grid; grid-template-columns: minmax(140px, 245px) minmax(0, 760px); justify-content: center; gap: clamp(20px,5vw,80px); padding: clamp(100px,12vw,180px) 5vw; border-top: 1px solid #ffffff13; scroll-margin-top: 60px; }
.historia-page .history-chapter-one { background: linear-gradient(160deg,#0a0511 0%,#07030d 80%); }
.historia-page .history-chapter-two { background: radial-gradient(ellipse at 10% 50%,#2c0c4626,transparent 48%),#08040d; }
.historia-page .history-chapter-three { background: radial-gradient(ellipse at 90% 70%,#45116840,transparent 50%),#07030d; }
.historia-page .history-chapter-index { display: flex; flex-direction: column; align-items: flex-start; padding-top: 8px; gap: 9px; }
.historia-page .history-index-number { font: 700 clamp(70px,10vw,150px)/.95 'Chakra Petch',sans-serif; letter-spacing: -.075em; color: #9b30ff; text-shadow: 0 0 65px #9b30ff40; }
.historia-page .history-chapter-copy { max-width: 760px; }
.historia-page .history-kicker { margin-bottom: 16px; }
.historia-page .history-chapter h2, .historia-page .history-outro h2 { font-size: clamp(32px,4vw,58px); line-height: 1.13; letter-spacing: -.015em; margin: 0 0 34px; }
.historia-page .history-chapter-copy > p:not(.history-kicker) { color: #c5bccb; font-size: clamp(15px,1.4vw,17px); line-height: 1.9; margin-bottom: 22px; }
.historia-page .history-chapter-copy strong { color: #fff; }
.historia-page .history-definition { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 32px 0; }
.historia-page .history-definition > div { border: 1px solid #6e359443; border-radius: 10px; padding: 24px; background: linear-gradient(145deg,#25112f80,#110b1980); }
.historia-page .history-definition strong { display:block; color:#b970ff; font:700 25px 'Chakra Petch',sans-serif; margin-bottom: 8px; letter-spacing:.06em; }
.historia-page .history-definition span { color:#c5bccb; font-size:14px; line-height:1.7; display:block; }
.historia-page .history-highlight { display: flex; gap: 16px; margin-top: 35px; padding: 28px; border-left: 3px solid #9b30ff; background: #9b30ff0c; }
.historia-page .history-highlight > span { font:700 60px/1 Georgia,serif; color:#9b30ff; }
.historia-page .history-highlight p { font-size: clamp(17px,2vw,23px); font-weight:600; line-height:1.5; color:#f2ebf6; }
.historia-page .history-goals { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap:12px; margin-top: 40px; }
.historia-page .history-goals > div { padding: 22px 17px; border-top: 2px solid #8434c6; background: #ffffff07; }
.historia-page .history-goals span { color:#bc83ff; display:block; font:700 14px 'Chakra Petch',sans-serif; margin-bottom:17px; }
.historia-page .history-goals strong { font-size:16px; line-height:1.4; display:block; margin-bottom:12px; }
.historia-page .history-goals p { color:#ad9fb5; font-size:13px; line-height:1.65; }
.historia-page .history-outro { min-height: 620px; display: grid; place-items: center; text-align: center; padding: 120px 6vw 140px; border-top: 1px solid #ffffff13; background: radial-gradient(ellipse at 50% 90%,#49106d70,transparent 60%),#07030d; }
.historia-page .history-outro > div { width: min(840px,100%); }
.historia-page .history-outro h2 { font-size:clamp(40px,6vw,82px); }
.historia-page .history-outro p:not(.history-kicker) { font-size: clamp(16px,2vw,21px); color:#c4b5cd; line-height:1.8; max-width: 670px; margin:0 auto 28px; }
.historia-page .history-outro strong { color:#fff; font:700 clamp(15px,1.7vw,19px) 'Chakra Petch',sans-serif; }
@media (prefers-reduced-motion: no-preference) {
  .historia-page .reveal { opacity: 0; transform: translateY(30px); transition: opacity .85s ease,transform .85s cubic-bezier(.2,.7,.2,1); }
  .historia-page .reveal.is-visible { opacity:1; transform:translateY(0); }
}
@media (max-width:760px) {
  .historia-page .history-hero { min-height: 85svh; padding: 96px 6vw 115px; }
  .historia-page .history-chapter { grid-template-columns: 1fr; gap: 22px; padding: 95px 6vw; }
  .historia-page .history-chapter-index { flex-direction: row; align-items: end; gap: 20px; }
  .historia-page .history-index-number { font-size: 80px; }
  .historia-page .history-index-label { padding-bottom: 14px; }
  .historia-page .history-definition { grid-template-columns: 1fr; }
  .historia-page .history-goals { grid-template-columns: 1fr; }
  .historia-page .history-outro { min-height: 520px; padding: 95px 6vw 110px; }
}
