/* ==========================================================================
   Persona Code — seções exclusivas da página inicial (depois de palco.css)
   ========================================================================== */

/* ---------- Abertura: o palco ---------- */
.hero-home { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; padding: var(--nav-h) 0 0; }
.hero-home::before { content: none; }
.hero-home .hero-grid { flex: 1; grid-template-columns: 1.08fr 1fr; gap: clamp(32px, 5vw, 80px); padding-block: clamp(40px, 7vh, 88px); }
.hero-home .display { margin-bottom: 28px; font-size: clamp(3rem, 6.6vw, 6.6rem); line-height: 0.98; letter-spacing: -0.025em; }
.hero-home .lead { max-width: 36ch; margin-top: 0; }
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 40px; }

/* Luz de cima, foco no chão, e um site em cena */
.stage { position: relative; display: grid; justify-items: center; gap: 26px; padding-block: 24px; }
.stage-light {
  position: absolute; z-index: -1; left: 50%; top: -70vh; bottom: 12%; width: 130%;
  transform: translateX(-50%);
  filter: blur(22px); /* no elemento de fora: assim o desfoque suaviza as bordas do recorte */
}
.stage-light::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(var(--luz), 0.2), rgba(var(--luz), 0.07) 70%, rgba(var(--luz), 0.02));
  clip-path: polygon(43% 0, 57% 0, 100% 100%, 0 100%);
}
.stage-floor {
  position: absolute; z-index: -1; left: 50%; bottom: 4%; width: 125%; height: 38%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(var(--luz), 0.2), rgba(var(--luz), 0.05) 55%, transparent 72%);
}
/* As luzes acendem ao abrir a página (keyframes em palco.css) */
.js .stage-light, .js .stage-floor { animation: acender 2.4s var(--ease) 0.3s both; }

.frame {
  position: relative; width: min(100%, 470px); overflow: hidden;
  border-radius: 10px; background: #fff;
  box-shadow: 0 60px 90px -40px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.07);
  transform: perspective(1600px) rotateY(-7deg) rotateX(2deg);
}
.frame-bar { display: flex; align-items: center; gap: 12px; height: 30px; padding: 0 12px; background: #e8e4dd; }
.frame-dots { display: flex; gap: 5px; }
.frame-dots i { width: 8px; height: 8px; border-radius: 50%; background: #c9c3b9; }
.frame-url {
  flex: 1; max-width: 260px; margin-inline: auto; padding: 3px 10px; border-radius: 5px;
  background: #f6f3ee; color: #6d675e; text-align: center;
  font: 400 0.66rem/1.4 var(--roteiro); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.screen { position: relative; aspect-ratio: 16 / 10.4; overflow: hidden; container-type: inline-size; }
/* Troca de figurino: uma cortina atravessa a tela entre uma persona e outra */
.screen::after {
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: repeating-linear-gradient(90deg, #4f0f0b 0 2.2cqw, var(--veludo) 2.2cqw 4.4cqw, #5b120d 4.4cqw 6.6cqw);
  clip-path: inset(0 100% 0 0);
}
.screen.is-changing::after { animation: cortina 0.8s cubic-bezier(0.7, 0, 0.3, 1) both; }
@keyframes cortina {
  0% { clip-path: inset(0 100% 0 0); }
  45%, 55% { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 0 0 100%); }
}

.stage-cap { display: grid; justify-items: center; gap: 12px; text-align: center; }
.cap-line { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 12px; }
.cap-line .rubrica { color: var(--cortina); }
.cap-line b { font: italic 400 1.5rem/1 var(--display); }
.cap-seg { font: 400 0.82rem/1.4 var(--roteiro); color: var(--texto-2); }
.cap-note { font: italic 400 0.78rem/1.4 var(--roteiro); color: var(--texto-3); }
.stage-picks { display: flex; gap: 6px; }
.pick { position: relative; width: 34px; height: 14px; padding: 0; border: 0; background: none; cursor: pointer; }
.pick::before, .pick::after { content: ""; position: absolute; left: 0; top: 6px; height: 2px; }
.pick::before { right: 0; background: var(--linha-forte); }
.pick::after { width: 0; background: var(--texto); }
.pick:hover::before { background: var(--texto-2); }
.pick.is-on::after { width: 100%; }
/* A persona em cena passa sozinha: a barra enche e chama a próxima (palco.js) */
.stage.is-playing .pick.is-on::after { animation: tempo 3.6s linear both; }
.stage.is-playing:hover .pick.is-on::after { animation-play-state: paused; }
@keyframes tempo { from { width: 0; } to { width: 100%; } }

.hero-credits {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px;
  padding-block: 22px 26px; border-top: 1px solid var(--linha);
  font: 400 0.74rem/1.5 var(--roteiro); letter-spacing: 0.14em; text-transform: uppercase; color: var(--texto-2);
}
.hero-credits i { font-style: normal; color: var(--cortina); padding-inline: 6px; }

/* ---------- Os sites em cena (miniaturas; medidas relativas à largura da tela) ---------- */
.scene {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  visibility: hidden; font-family: Arial, Helvetica, sans-serif;
}
.scene.is-on { visibility: visible; }
.m-nav { display: flex; align-items: center; justify-content: space-between; gap: 3cqw; padding: 3.4cqw 4.4cqw; font-size: 1.9cqw; }
.m-nav b { font-weight: 700; }
.m-nav span { opacity: 0.7; white-space: nowrap; }
.m-pill { padding: 1.4cqw 2.6cqw; border-radius: 99px; font-size: 1.8cqw; opacity: 1 !important; }

/* Autoridade — advocacia */
.s-aut { background: #0f1d31; color: #ebe4d3; font-family: Georgia, "Times New Roman", serif; }
.s-aut .m-nav { border-bottom: 1px solid rgba(235, 228, 211, 0.16); letter-spacing: 0.2em; font-size: 1.7cqw; }
.s-aut .m-nav b { font-weight: 400; }
.s-aut .m-nav span { letter-spacing: 0.04em; }
.s-aut .m-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 2.6cqw; padding: 0 4.4cqw; }
.s-aut small { color: #c2a467; font-size: 1.65cqw; letter-spacing: 0.22em; text-transform: uppercase; }
.s-aut strong { max-width: 15em; font-weight: 400; font-size: 5.4cqw; line-height: 1.12; }
.s-aut .m-btn { align-self: flex-start; padding: 1.8cqw 3cqw; border: 1px solid #c2a467; font-size: 1.6cqw; letter-spacing: 0.18em; text-transform: uppercase; }
.s-aut .m-foot { padding: 2.6cqw 4.4cqw; border-top: 1px solid rgba(235, 228, 211, 0.16); font-size: 1.6cqw; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(235, 228, 211, 0.6); }

/* Elegância — arquitetura */
.s-ele { background: #f3efe9; color: #2b2621; font-family: Didot, "Bodoni 72", "Bodoni MT", Georgia, serif; }
.s-ele .m-nav { font-family: Arial, sans-serif; letter-spacing: 0.42em; font-size: 1.6cqw; }
.s-ele .m-nav b { font-weight: 400; }
.s-ele .m-nav span { letter-spacing: 0.1em; }
.s-ele .m-split { flex: 1; display: grid; grid-template-columns: 1.35fr 1fr; gap: 4cqw; padding: 0 4.4cqw 4.4cqw; }
.s-ele .m-img { position: relative; background: linear-gradient(165deg, #ddd3c5, #a69683); overflow: hidden; }
.s-ele .m-img::before { content: ""; position: absolute; left: 14%; right: 14%; top: 18%; bottom: 0; background: linear-gradient(180deg, #f6f1ea, #e3d9cb); }
.s-ele .m-img::after { content: ""; position: absolute; left: 24%; right: 30%; bottom: 10%; height: 13%; border-radius: 1cqw; background: #8e7c66; }
.s-ele .m-txt { display: flex; flex-direction: column; justify-content: flex-end; gap: 2cqw; }
.s-ele small { font: 400 1.5cqw/1.4 Arial, sans-serif; letter-spacing: 0.24em; text-transform: uppercase; color: #8b8076; }
.s-ele strong { font-weight: 400; font-style: italic; font-size: 6.4cqw; line-height: 1; }
.s-ele .m-txt span { font: 400 1.7cqw/1 Arial, sans-serif; letter-spacing: 0.08em; }

/* Seriedade — contabilidade */
.s-ser { background: #f5f7fa; color: #0f2340; font-family: var(--corpo); }
.s-ser .m-nav { background: #fff; border-bottom: 1px solid #e3e8ef; }
.s-ser .m-nav b { display: inline-flex; align-items: center; gap: 1.2cqw; font-size: 2.3cqw; }
.s-ser .m-nav b i { width: 2.6cqw; height: 2.6cqw; background: #1d4ed8; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.s-ser .m-grid { flex: 1; display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 4cqw; padding: 0 4.4cqw; }
.s-ser .m-txt { display: grid; gap: 2cqw; }
.s-ser small { font-size: 1.7cqw; font-weight: 600; color: #1d4ed8; text-transform: uppercase; letter-spacing: 0.1em; }
.s-ser strong { font-size: 4.6cqw; line-height: 1.12; font-weight: 600; letter-spacing: -0.02em; }
.s-ser .m-stats { display: flex; gap: 3.4cqw; margin-top: 1cqw; }
.s-ser .m-stats li { display: grid; font-size: 1.6cqw; color: #5a6b85; }
.s-ser .m-stats b { font-size: 3.4cqw; color: #0f2340; }
.s-ser .m-form { display: grid; gap: 1.6cqw; padding: 3.4cqw; background: #fff; border: 1px solid #e3e8ef; border-radius: 1.4cqw; box-shadow: 0 2cqw 4cqw -2cqw rgba(15, 35, 64, 0.2); }
.s-ser .m-form b { font-size: 2cqw; }
.s-ser .m-form span { height: 4.4cqw; border: 1px solid #d5dce6; border-radius: 0.8cqw; }
.s-ser .m-form em { padding: 1.6cqw; border-radius: 0.8cqw; background: #1d4ed8; color: #fff; font-style: normal; font-size: 1.8cqw; font-weight: 600; text-align: center; }

/* Novidade — startup */
.s-nov { background: #ff5b35; color: #fff8ef; font-family: var(--corpo); }
.s-nov .m-nav b { font-size: 3.4cqw; font-weight: 600; letter-spacing: -0.04em; }
.s-nov .m-pill { background: #1c1208; color: #fff8ef; font-weight: 600; }
.s-nov .m-body { position: relative; z-index: 1; display: grid; align-content: center; gap: 2.4cqw; flex: 1; padding: 0 4.4cqw 4.4cqw; }
.s-nov strong { max-width: 8.5em; font-size: 7.4cqw; line-height: 0.98; font-weight: 600; letter-spacing: -0.045em; }
.s-nov .m-body span { font-size: 2cqw; font-weight: 500; }
.s-nov .m-blob { position: absolute; right: -6cqw; bottom: -12cqw; width: 42cqw; height: 42cqw; border-radius: 50%; background: #ffd23f; }
.s-nov .m-blob i { position: absolute; left: 11cqw; top: -4cqw; width: 15cqw; height: 28cqw; border-radius: 2.6cqw; background: #1c1208; box-shadow: inset 0 0 0 1cqw #1c1208, inset 0 0 0 1.4cqw #3a2a1b; transform: rotate(-9deg); }

/* Tecnologia — software */
.s-tec {
  background: radial-gradient(60% 70% at 80% 10%, rgba(124, 92, 255, 0.35), transparent 70%), #07090e;
  color: #e6e9f2; font-family: var(--corpo);
}
.s-tec .m-nav b { font: 700 2.6cqw/1 var(--roteiro); color: #7cf2c4; }
.s-tec .m-nav span:not(.m-pill) { margin-left: auto; }
.s-tec .m-pill { background: #e6e9f2; color: #07090e; font-weight: 600; }
.s-tec .m-body { flex: 1; display: grid; align-content: center; gap: 2.6cqw; padding: 0 4.4cqw; }
.s-tec small { font: 400 1.7cqw/1 var(--roteiro); color: #7cf2c4; }
.s-tec strong { max-width: 14em; font-size: 5cqw; line-height: 1.08; font-weight: 600; letter-spacing: -0.03em; }
.s-tec .m-flow { display: flex; align-items: center; margin-top: 1.4cqw; }
.s-tec .m-flow span { padding: 1.4cqw 2.4cqw; border: 1px solid rgba(230, 233, 242, 0.25); border-radius: 1cqw; background: rgba(255, 255, 255, 0.04); font: 400 1.7cqw/1 var(--roteiro); }
.s-tec .m-flow i { width: 5cqw; height: 1px; background: linear-gradient(90deg, #7cf2c4, #7c5cff); }

/* Acolhimento — clínica */
.s-aco { background: #f4efe6; color: #2f3a31; font-family: Georgia, "Times New Roman", serif; }
.s-aco .m-nav b { font-size: 2.6cqw; font-style: italic; font-weight: 400; }
.s-aco .m-nav span { font-family: Arial, sans-serif; }
.s-aco .m-split { flex: 1; display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 4cqw; padding: 0 4.4cqw; }
.s-aco .m-txt { display: grid; justify-items: start; gap: 2.4cqw; align-self: center; }
.s-aco strong { font-weight: 400; font-size: 5.2cqw; line-height: 1.1; }
.s-aco .m-pill { background: #7f9c84; color: #fff; font-family: Arial, sans-serif; }
.s-aco small { font: 400 1.6cqw/1 Arial, sans-serif; color: #6c766c; }
.s-aco .m-arch { height: 88%; border-radius: 999px 999px 0 0; background: linear-gradient(180deg, #b7cab6, #7f9c84); }

/* ---------- Atos (seções da home) ---------- */
.act-sec { position: relative; padding-block: clamp(96px, 13vw, 176px); border-top: 1px solid var(--linha); }
.act-sec .act { margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 24px 64px; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head p { max-width: 44ch; color: var(--texto-2); }

/* Ato I — conceito */
.concept { display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; gap: clamp(40px, 6vw, 96px); }
.manifesto { font: 400 clamp(1.9rem, 3.7vw, 3.35rem)/1.14 var(--display); letter-spacing: -0.015em; }
/* As palavras acendem conforme a página rola (palco.js) */
.manifesto .w { color: var(--texto-3); transition: color 0.5s, text-shadow 0.5s; }
.manifesto .w.on { color: var(--texto); }
.manifesto em .w.on { text-shadow: 0 0 40px rgba(var(--luz), 0.4); }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: clamp(40px, 5vw, 64px); max-width: 760px; }
.cols-2 p { color: var(--texto-2); font-size: 1rem; }

.mask { display: grid; justify-items: center; gap: 28px; }
.mask-orb {
  position: relative; width: min(100%, 360px); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 1px solid var(--linha-forte); background: var(--palco-2);
}
.mask-face {
  position: absolute; inset: 0 50% 0 0; z-index: 1;
  background: radial-gradient(circle at 85% 40%, #fff7ea, var(--papel) 38%, #b9ae9c 100%);
}
.mask-code {
  position: absolute; inset: 0 0 0 50%; margin: 0; padding: 30px 0 0 14px; overflow: hidden;
  font: 400 0.7rem/1.75 var(--roteiro); color: var(--texto-3); white-space: pre;
}
.mask-cap { display: grid; gap: 6px; font: 400 0.82rem/1.5 var(--roteiro); color: var(--texto-2); text-align: center; }
.mask-cap b { font: italic 400 1.15rem/1 var(--display); color: var(--texto); }

/* Luz que acompanha o cursor (palco.js define --mx e --my) */
[data-light] { position: relative; isolation: isolate; }
[data-light]::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--luz), 0.09), transparent 65%);
  transition: opacity 0.4s;
}
[data-light]:hover::before { opacity: 1; }

/* Ato II — repertório */
.rep { border-top: 1px solid var(--linha); }
.rep li { border-bottom: 1px solid var(--linha); }
.rep-row {
  display: grid; grid-template-columns: 64px 1.15fr 1fr 40px; align-items: center; gap: 24px;
  padding: clamp(26px, 3.2vw, 40px) 8px; text-decoration: none;
}
.rep-num { font: 400 0.8rem/1 var(--roteiro); color: var(--cortina); }
.rep-main { display: grid; gap: 10px; }
.rep-title { font: 400 clamp(1.6rem, 2.7vw, 2.4rem)/1.06 var(--display); letter-spacing: -0.015em; }
.rep-for { font: 400 0.76rem/1.4 var(--roteiro); letter-spacing: 0.12em; text-transform: uppercase; color: var(--texto-3); }
.rep-desc { color: var(--texto-2); font-size: 0.98rem; }
.rep-arrow { width: 26px; height: 26px; justify-self: end; color: var(--texto-3); transition: transform 0.35s var(--ease), color 0.3s; }
.rep-row:hover .rep-title { font-style: italic; }
.rep-row:hover .rep-arrow { color: var(--texto); transform: translate(3px, -3px); }

/* Elenco — dramatis personae, como na lista de personagens de um programa de peça */
.cast { border-top: 1px solid var(--linha); }
.cast li { border-bottom: 1px solid var(--linha); }
.cast-row {
  display: grid; grid-template-columns: auto 1fr auto minmax(0, 300px); align-items: baseline; gap: 18px;
  padding: 22px 8px; text-decoration: none;
}
.cast-name { font: 400 clamp(1.8rem, 3.2vw, 2.8rem)/1.05 var(--display); letter-spacing: -0.015em; }
.cast-row:hover .cast-name { font-style: italic; }
.cast-dots { height: 1px; align-self: center; translate: 0 0.5em; background-image: radial-gradient(circle, var(--texto-3) 1px, transparent 1.4px); background-size: 9px 2px; }
.cast-seg { font: 400 0.8rem/1.4 var(--roteiro); letter-spacing: 0.1em; text-transform: uppercase; color: var(--texto-2); white-space: nowrap; }
.cast-q { font: italic 400 1.05rem/1.35 var(--display); color: var(--texto-3); text-align: right; transition: color 0.3s; }
.cast-row:hover .cast-q { color: var(--texto); }
.after { margin-top: 48px; }

/* Ato III — bastidores: roteiro × código */
.backstage { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: clamp(40px, 6vw, 96px); }
.backstage-text .h2 { margin-bottom: 24px; }
.backstage-text > p { max-width: 46ch; color: var(--texto-2); }
.switch { display: inline-flex; margin-top: 36px; border: 1px solid var(--linha-forte); }
.switch button {
  padding: 13px 22px; border: 0; background: transparent; color: var(--texto-2); cursor: pointer;
  font: 400 0.78rem/1 var(--roteiro); letter-spacing: 0.14em; text-transform: uppercase;
  transition: background-color 0.3s, color 0.3s;
}
.switch button[aria-pressed="true"] { background: var(--texto); color: var(--fundo); }
.tech { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--linha); }
.tech p { margin-top: 8px; font: 400 0.86rem/1.7 var(--roteiro); color: var(--texto-2); }

.script {
  display: grid; padding: clamp(28px, 4vw, 56px);
  background: var(--papel); color: var(--tinta);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.95);
  rotate: 1deg; transition: background-color 0.5s, color 0.5s, rotate 0.6s var(--ease);
}
.script[data-view="codigo"] { background: var(--palco-2); color: var(--texto); rotate: 0deg; box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.95), inset 0 0 0 1px var(--linha); }
.script > [data-pane] { grid-area: 1 / 1; transition: opacity 0.45s, visibility 0s linear 0.45s; }
.script[data-view="roteiro"] [data-pane="codigo"],
.script[data-view="codigo"] [data-pane="roteiro"] { opacity: 0; visibility: hidden; }
.script[data-view="roteiro"] [data-pane="roteiro"],
.script[data-view="codigo"] [data-pane="codigo"] { transition: opacity 0.45s 0.1s, visibility 0s; }

.script-page { font: 400 0.92rem/1.6 var(--roteiro); }
.sp-title { margin-bottom: 30px; text-align: center; font-weight: 700; letter-spacing: 0.06em; }
.sp-title span { display: block; font-weight: 400; font-style: italic; letter-spacing: 0; color: #6b6156; }
.sp-scene { margin-top: 22px; font-weight: 700; }
.sp-action { margin-top: 6px; }
.sp-char { margin: 14px 0 0 38%; }
.sp-line { margin: 2px 16% 0 22%; }
.sp-paren { margin-top: 22px; font-style: italic; color: #6b6156; }

.script-code { margin: 0; overflow-x: auto; font: 400 0.84rem/1.75 var(--roteiro); color: var(--texto); white-space: pre; }
.script-code .c { color: var(--texto-3); font-style: italic; }
.script-code .k { color: var(--cortina); }
.script-code .s { color: #d8c08a; }
.script-code .f { color: #fff7ea; text-decoration: underline; text-decoration-color: rgba(239, 232, 220, 0.25); text-underline-offset: 3px; }

/* Ato IV — cartazes */
.posters { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.poster {
  display: grid; grid-template-rows: auto 1fr auto auto; justify-items: center; gap: 14px;
  aspect-ratio: 4 / 5; padding: clamp(20px, 2.4vw, 32px); text-align: center;
  border: 1px solid var(--linha-forte);
  background: linear-gradient(180deg, rgba(var(--luz), 0.05), transparent 45%), var(--palco-2);
}
.poster-mark {
  align-self: center; width: 46%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--linha-forte);
  background: linear-gradient(90deg, rgba(var(--luz), 0.14) 50%, transparent 50%);
}
.poster h3 { font: italic 400 clamp(1.7rem, 2.6vw, 2.3rem)/1 var(--display); }
.poster-date { font: 400 0.74rem/1 var(--roteiro); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cortina); }

/* Ficha técnica — sobre */
.about { display: grid; grid-template-columns: 0.85fr 1.15fr; align-items: center; gap: clamp(40px, 6vw, 96px); }
.portrait {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden;
  background:
    radial-gradient(60% 45% at 50% 0%, rgba(var(--luz), 0.22), transparent 80%),
    radial-gradient(50% 18% at 50% 100%, rgba(var(--luz), 0.14), transparent 80%),
    var(--palco-2);
  border: 1px solid var(--linha);
}
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait-initials { font: italic 400 clamp(5rem, 11vw, 9rem)/1 var(--display); color: var(--texto-3); }
.portrait figcaption { position: absolute; left: 20px; bottom: 18px; z-index: 1; }
.about-text .h2 { margin-bottom: 24px; }
.about-text > p { max-width: 54ch; color: var(--texto-2); }
.notes-label { margin-top: 44px; color: var(--cortina); }
.notes { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin-top: 14px; border-top: 1px solid var(--linha); }
.notes div { padding: 18px 0; border-bottom: 1px solid var(--linha); }
.notes dt { font: italic 400 1.2rem/1.2 var(--display); }
.notes dd { margin-top: 6px; font-size: 0.94rem; color: var(--texto-2); }

/* Próximo ato — contato */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.contact .h2 { margin-bottom: 20px; }
.contact > div > p { color: var(--texto-2); }
.contact .channels { gap: 22px; margin-top: 44px; border-top: 0; }
.contact .channels li { display: grid; gap: 4px; }
.contact .channels a {
  justify-self: start; font: 400 clamp(1.4rem, 2.2vw, 1.9rem)/1.2 var(--display); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.4s var(--ease);
}
.contact .channels a:hover { background-size: 100% 1px; }

/* ---------- Telas menores ---------- */
@media (max-width: 1080px) {
  .hero-home .hero-grid { grid-template-columns: 1fr; padding-top: 56px; }
  .hero-text { max-width: 760px; }
  .frame { transform: none; }
  .stage-light { top: -200vh; width: 170%; }
  .concept, .backstage, .about, .contact { grid-template-columns: 1fr; }
  .mask { justify-self: start; justify-items: start; }
  .mask-cap { text-align: left; }
  .about .portrait { max-width: 420px; }
  .cast-row { grid-template-columns: auto 1fr auto; }
  .cast-q { grid-column: 1 / -1; text-align: left; }
}
@media (max-width: 760px) {
  .sec-head { grid-template-columns: 1fr; }
  .cols-2, .notes { grid-template-columns: 1fr; }
  .rep-row { grid-template-columns: 40px 1fr 26px; gap: 14px 16px; padding-inline: 0; }
  .rep-desc { grid-column: 2 / 3; }
  .rep-arrow { grid-row: 1; grid-column: 3; }
  .cast-row { grid-template-columns: 1fr; gap: 6px; padding-inline: 0; }
  .cast-dots { display: none; }
  .cast-seg { white-space: normal; }
  .posters { grid-template-columns: 1fr; max-width: 360px; }
  .script { rotate: 0deg; padding: 24px 20px; }
  .script-page { font-size: 0.86rem; }
  .sp-char { margin-left: 30%; }
  .sp-line { margin-inline: 12% 4%; }
  .script-code { font-size: 0.74rem; }
  .hero-credits { flex-direction: column; }
}
