/* Landing: topo de cinema, showreel e "Como funciona" no portátil (landing-topo.js). Por cima de landing.css. */
/* Protótipos do topo da landing (A: retrato editorial · B: showreel). Usam os tokens, botões e barra de landing.css. */
.glassy { color: #fff; background: linear-gradient(135deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.05)); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 18px; box-shadow: 0 30px 60px -24px rgba(4, 5, 28, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); }

/* =========================================================
   A · RETRATO EDITORIAL
   ========================================================= */
.ed { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: #15164a; }
.ed-stage { position: absolute; inset: 0; }
.ed-bg, .ed-cut { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 32%; pointer-events: none; user-select: none; }
.ed-bg { z-index: 0; transform-origin: 60% 40%; }
.ed-h { position: static; margin: 0; font-weight: 400; } /* sem caixa própria: as partes do título ficam por trás e à frente da pessoa */
.ed-giant { position: absolute; z-index: 1; left: 0; right: 0; top: clamp(40px, 6vh, 80px); display: block; overflow: hidden; text-align: center; line-height: 1; padding: 0.06em 0 0; }
.ed-giant-in { display: inline-block; font-family: var(--display); font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(7rem, 19.5vw, 22rem); line-height: 0.92; letter-spacing: -0.02em; color: #f2f1ff; }
.ed-cut { z-index: 2; }
.ed-line { position: absolute; z-index: 3; left: var(--gutter); bottom: calc(clamp(150px, 21vh, 220px) + 40px); display: block; overflow: hidden; padding-right: 0.1em; }
.ed-line-in { display: inline-block; font-family: var(--display); font-weight: 800; font-stretch: 125%; font-style: italic; text-transform: uppercase; font-size: clamp(2.4rem, 4.7vw, 5.2rem); line-height: 1; letter-spacing: -0.035em; color: #fff; }
.ed-copy { position: absolute; z-index: 3; left: var(--gutter); bottom: clamp(56px, 8vh, 84px); width: min(440px, 32vw); }
.ed-sub { margin: 0 0 22px; font-size: clamp(1rem, 1.15vw, 1.12rem); line-height: 1.55; color: rgba(236, 236, 255, 0.86); text-wrap: pretty; }
.ed-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ed .btn-glass { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.ed-meta { position: absolute; z-index: 3; bottom: 26px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(225, 226, 255, 0.62); }
.ed-meta-l { left: var(--gutter); display: none; }
.ed-meta-r { right: var(--gutter); }

.ed-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 12px 14px; font-size: 0.86rem; }
.ed-c1 { left: 64.5%; top: 41%; }
.ed-c2 { left: 70%; top: 52%; display: grid; gap: 10px; width: 270px; padding: 16px; }
.ed-c3 { right: var(--gutter); bottom: clamp(70px, 11vh, 110px); gap: 18px; padding: 16px 18px; }
.ed-ic { display: grid; place-items: center; width: 38px; height: 38px; font-size: 19px; border-radius: 12px; }
.ic-tt { background: #0b0b10; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.ed-ct { display: grid; gap: 1px; }
.ed-ct b { font-size: 0.98rem; font-weight: 650; }
.ed-ct small { font-size: 0.76rem; color: rgba(230, 231, 255, 0.72); }
.ed-ok { display: grid; place-items: center; width: 24px; height: 24px; margin-left: 6px; font-size: 13px; color: #06210f; background: #4fdc9c; border-radius: 50%; }
.ed-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #c9caff; }
.ed-c2 p { margin: 0; font-size: 0.92rem; line-height: 1.45; }
.ed-nets { display: flex; gap: 10px; font-size: 15px; opacity: 0.85; }
.ed-num { font-family: var(--display); font-stretch: 62%; font-weight: 800; font-size: 2.2rem !important; line-height: 1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.ed-bars { display: flex; align-items: flex-end; gap: 5px; height: 58px; }
.ed-bars i { width: 8px; height: calc(var(--h) * 100%); background: linear-gradient(#fff, rgba(255, 255, 255, 0.45)); border-radius: 3px; transform-origin: bottom; }

@media (max-width: 1100px) { .ed-c2 { display: none; } }
@media (max-width: 760px) {
  .ed { min-height: 600px; }
  .ed-bg, .ed-cut { object-position: 53% 30%; }
  .ed-giant { top: 84px; }
  .ed-giant-in { font-size: 27vw; }
  .ed-stage::after { content: ""; position: absolute; z-index: 2; inset: auto 0 0 0; height: 58%; background: linear-gradient(transparent, rgba(12, 13, 46, 0.92) 62%); pointer-events: none; }
  .ed-line { bottom: 236px; left: 16px; }
  .ed-line-in { font-size: 9.6vw; }
  .ed-copy { left: 16px; right: 16px; width: auto; bottom: 46px; }
  .ed-sub { font-size: 0.95rem; margin-bottom: 18px; }
  .ed-cta .btn { height: 48px; padding: 0 20px; font-size: 0.95rem; }
  .ed-c1 { left: auto; right: 12px; top: 47%; padding: 10px 12px; font-size: 0.8rem; }
  .ed-c3, .ed-meta { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ed * { transition: none !important; animation: none !important; } }


/* A: o índigo do topo funde-se no preto da página (sem corte seco) */
.ed::after { content: ""; position: absolute; z-index: 3; inset: auto 0 0 0; height: 24%; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.ed-line, .ed-copy, .ed-meta { z-index: 4; }
.ed-card { z-index: 5; }

/* =========================================================
   FINAL · A com slides + B como segunda secção
   ========================================================= */
.ed-bgs, .ed-cuts { position: absolute; inset: 0; display: block; pointer-events: none; }
.ed-bgs { z-index: 0; }
.ed-cuts { z-index: 2; }
.ed-slider .ed-bg, .ed-slider .ed-cut { opacity: 0; transform: scale(1.05); filter: blur(10px); transition: opacity 900ms ease, transform 1400ms var(--ease-out), filter 900ms ease; }
.ed-slider .ed-bg.is-on, .ed-slider .ed-cut.is-on { opacity: 1; transform: none; filter: none; }
.ed-slider .ed-bg.is-out, .ed-slider .ed-cut.is-out { opacity: 0; transform: scale(0.985); filter: blur(6px); transition-duration: 700ms; }
.ed-stage { will-change: clip-path; }
.ed-card [data-k], .ed-card .ed-ic { transition: opacity 260ms ease, transform 360ms var(--ease-out); }
.ed-card.is-swap [data-k], .ed-card.is-swap .ed-ic { opacity: 0; transform: translateY(6px); }
.ed-steps { position: absolute; z-index: 5; right: var(--gutter); bottom: 26px; display: grid; grid-template-columns: repeat(3, 120px); gap: 10px; margin: 0; padding: 0; list-style: none; }
.ed-steps button { display: grid; gap: 9px; width: 100%; padding: 0; font: 600 0.68rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; text-align: left; color: rgba(225, 226, 255, 0.55); cursor: pointer; background: none; border: 0; transition: color 200ms ease; }
.ed-steps button[aria-current="true"] { color: #fff; }
.ed-steps .bar { position: relative; height: 2px; overflow: hidden; background: rgba(255, 255, 255, 0.22); border-radius: 2px; }
.ed-steps .bar i { position: absolute; inset: 0; background: #fff; transform: scaleX(var(--p, 0)); transform-origin: left; }
@media (hover: hover) and (pointer: fine) { .ed-steps button:hover { color: #fff; } }
.ed-slider .ed-c3 { bottom: clamp(96px, 14vh, 140px); }
@media (max-width: 760px) {
  .ed-steps { left: 16px; right: 16px; bottom: 18px; grid-template-columns: repeat(3, 1fr); }
  .ed-steps button span { display: none; }
  .ed-slider .ed-copy { bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) { .ed-slider .ed-bg, .ed-slider .ed-cut { transition: opacity 200ms ease; transform: none !important; filter: none !important; } }

/* ---------- slides com direção de arte própria ---------- */
.ed-slider { transition: background-color 700ms ease; }
.ed-slider { background: var(--bg); } /* à volta da moldura, quando encolhe, fica o preto da página */
.ed-slider .ed-stage { background: #15164a; transition: background-color 700ms ease; }
.ed-slider[data-theme="light"] .ed-stage { background: #efeee9; }
.ed-giant-in { transition: color 700ms ease, opacity 700ms ease, filter 700ms ease, text-shadow 700ms ease, -webkit-text-stroke-color 700ms ease; }
.ed[data-type="veil"] .ed-giant-in { color: rgba(255, 255, 255, 0.92); mix-blend-mode: soft-light; }
.ed[data-type="glow"] .ed-giant-in { color: #f4f6ff; filter: blur(1.5px); text-shadow: 0 0 30px rgba(190, 210, 255, 0.85), 0 0 90px rgba(140, 170, 255, 0.55); }
.ed[data-type="ink"] .ed-giant-in { color: #101014; }
.ed[data-type="outline"] .ed-giant-in { color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.9); }
.ed-slider .ed-line-in, .ed-slider .ed-sub, .ed-slider .ed-steps button { transition: color 600ms ease; }
.ed[data-theme="light"] .ed-line-in { color: #0d0d10; }
.ed[data-theme="light"] .ed-sub { color: rgba(16, 16, 22, 0.78); }
.ed[data-theme="light"] .btn-primary { color: #fff; background: #0d0d10; }
.ed[data-theme="light"] .btn-glass { color: #0d0d10; border-color: rgba(0, 0, 0, 0.25); }
.ed[data-theme="light"] .ed-steps button { color: rgba(16, 16, 22, 0.5); }
.ed[data-theme="light"] .ed-steps button[aria-current="true"] { color: #0d0d10; }
.ed[data-theme="light"] .ed-steps .bar { background: rgba(0, 0, 0, 0.15); }
.ed[data-theme="light"] .ed-steps .bar i { background: #0d0d10; }
.ed[data-theme="light"] .glassy { color: #101014; background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.45)); border-color: rgba(0, 0, 0, 0.06); box-shadow: 0 24px 50px -24px rgba(20, 20, 40, 0.35); }
.ed[data-theme="light"] .ed-ct small, .ed[data-theme="light"] .ed-tag { color: rgba(16, 16, 22, 0.62); }
.ed[data-theme="light"] .ed-bars i { background: linear-gradient(#101014, rgba(16, 16, 20, 0.35)); }
.glassy { transition: background 600ms ease, color 600ms ease, border-color 600ms ease; }
.lp-head.on-light:not(.is-solid) { background: rgba(8, 8, 8, 0.78); border-color: rgba(255, 255, 255, 0.07); }
/* a moldura a cores (desporto): o retrato a preto e branco com grão, e um retângulo nítido e a cores à volta da cara */
.ed-slider .ed-bg.is-bw.is-on { filter: grayscale(1) contrast(1.08) brightness(0.82) blur(2px); }
.ed-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 32%; opacity: 0; clip-path: var(--frame, inset(14% 33% 22% 52%)); transition: opacity 900ms ease; }
.ed-frame.is-on { opacity: 1; }
@media (max-width: 760px) {
  .ed[data-theme="light"] .ed-stage::after { background: linear-gradient(transparent, rgba(239, 238, 233, 0.94) 62%); }
  .ed-frame { object-position: 53% 30%; }
}

/* palavra gigante: lugar por slide, e a troca suave quando muda */
.ed-giant { transition: opacity 380ms ease, transform 500ms var(--ease-out); }
.ed-giant.is-swap { opacity: 0; transform: translateY(-10px); }
.ed[data-pos="left"] .ed-giant { text-align: left; padding-left: var(--gutter); top: clamp(96px, 15vh, 150px); }
.ed[data-pos="left"] .ed-giant-in { font-size: clamp(5rem, 12.5vw, 14rem); }
.ed[data-pos="left"][data-size="sm"] .ed-giant-in { font-size: clamp(4.4rem, 9.6vw, 11rem); }
.ed-card.is-hidden { opacity: 0 !important; visibility: hidden; }
@media (max-width: 760px) { .ed[data-pos="left"] .ed-giant { padding-left: 16px; top: 84px; } .ed[data-pos="left"] .ed-giant-in, .ed[data-pos="left"][data-size="sm"] .ed-giant-in { font-size: 21vw; } }

/* a sombra de baixo vive dentro do palco, por baixo do texto (antes tapava os botões); nos slides claros não há */
.ed-slider::after { content: none; }
.ed-slider .ed-stage::before { content: ""; position: absolute; z-index: 3; inset: 0; pointer-events: none; background: linear-gradient(transparent 68%, rgba(5, 5, 5, 0.6)); transition: opacity 600ms ease; }
.ed-slider[data-shade="1"] .ed-stage::before { background: linear-gradient(90deg, rgba(5, 5, 5, 0.62), transparent 52%), linear-gradient(transparent 62%, rgba(5, 5, 5, 0.6)); }
.ed-slider[data-theme="light"] .ed-stage::before { opacity: 0; }
.ed[data-pos="left"][data-size="xs"] .ed-giant-in { font-size: clamp(4rem, 8.4vw, 9.6rem); }
.ed-slider .ed-steps { grid-template-columns: repeat(6, 78px); gap: 8px; }
@media (max-width: 760px) { .ed-slider .ed-steps { grid-template-columns: repeat(6, 1fr); gap: 5px; } }
/* o brilho da palavra não pode ficar preso num retângulo */
.ed[data-type="glow"] .ed-giant { overflow: visible; }
/* telemóvel, slides sem recorte: a palavra desce e junta-se ao título em baixo (não fica por cima da cara) */
@media (max-width: 760px) {
  .ed[data-cut="0"] .ed-giant { top: auto; bottom: 326px; padding-left: 16px; text-align: left; z-index: 4; }
  .ed[data-cut="0"] .ed-giant-in { font-size: 19vw; }
}
@media (max-width: 760px) {
  .ed[data-cut="0"] .ed-giant { padding-top: 0.22em; }
  .ed[data-cut="0"] .ed-c1 { top: 36%; }
}

.cine { position: relative; background: var(--bg); }
.cine-stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; }
.cine-media, .cine-cuts { position: absolute; inset: 0; transform-origin: 50% 50%; }
.cine-media { z-index: 0; }
.cine-bgs, .cine-empties { position: absolute; inset: 0; }
.cine-bg, .cine-empty, .cine-cut { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; pointer-events: none; user-select: none; }
.cine-empty { opacity: 0; }
.cine-empty.is-on { opacity: var(--empty, 0); }
/* troca de slide: entra com um ligeiro zoom e foco; sai a desfocar */
.cine-bg, .cine-cut { opacity: 0; transform: scale(1.06); filter: blur(12px); transition: opacity 1000ms ease, transform 1600ms var(--ease-out), filter 1000ms ease; }
.cine-bg.is-on, .cine-cut.is-on { opacity: 1; transform: none; filter: none; }
.cine-bg.is-out, .cine-cut.is-out { opacity: 0; transform: scale(0.985); filter: blur(8px); transition-duration: 800ms; }
.cine-cuts { z-index: 2; pointer-events: none; }
/* legibilidade */
.cine-stage::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 6, 10, 0.5) 0%, rgba(5, 6, 10, 0) 26%), linear-gradient(0deg, rgba(5, 5, 5, 0.86) 0%, rgba(5, 5, 5, 0) 40%), radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.42) 100%); }
.cine-dim { position: absolute; inset: 0; z-index: 4; background: var(--bg); opacity: 0; pointer-events: none; }

/* ---------- a palavra gigante (por trás da pessoa) ---------- */
.cine-hero { position: absolute; inset: 0; pointer-events: none; } /* sem z-index: a palavra fica atrás da pessoa e a linha à frente */
.cine-h { margin: 0; }
.cine-giant { position: absolute; z-index: 1; left: 0; right: 0; top: clamp(44px, 7vh, 84px); display: block; overflow: hidden; text-align: center; line-height: 1; padding: 0.08em 0 0; }
.cine-giant-in { display: inline-block; font-family: var(--display); font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(7rem, 19.5vw, 22rem); line-height: 0.92; letter-spacing: -0.02em; color: #f2f1ff; transition: color 700ms ease, -webkit-text-stroke-color 700ms ease; }
.cine[data-pos="low"] .cine-giant { top: 41vh; }
.ed-ic.ic-st { color: #fff; background: #5b5ff6; }
.cine-giant-in, .cine-line-in { will-change: transform; white-space: nowrap; }
.cine[data-pos="low"] .cine-card { display: none; }
@media (min-width: 761px) { .cine[data-pos="low"] .cine-line { top: 19vh; bottom: auto; } }
.cine[data-type="outline"] .cine-giant-in { color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.92); }
/* "Todas as redes." fica à frente da pessoa */
.cine-line { position: absolute; z-index: 6; left: var(--gutter); bottom: calc(clamp(150px, 21vh, 220px) + 40px); display: block; overflow: hidden; padding: 0.04em 0.12em 0.06em 0; }
.cine-line-in { display: inline-block; font-family: var(--display); font-weight: 800; font-stretch: 125%; font-style: italic; text-transform: uppercase; font-size: clamp(2.4rem, 4.7vw, 5.2rem); line-height: 1; letter-spacing: -0.035em; color: #fff; }

/* ---------- à frente: texto, botões, cartões, passos ---------- */
.cine-front { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.cine-front a, .cine-front button { pointer-events: auto; }
.cine-copy { position: absolute; left: var(--gutter); bottom: clamp(34px, 6vh, 60px); max-width: 520px; }
.cine-sub { margin: 0 0 22px; font-size: 1.02rem; line-height: 1.5; color: rgba(236, 236, 240, 0.84); }
.cine-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.cine-card { position: absolute; }
.cine-card > * { transition: opacity 320ms ease, transform 420ms var(--ease-out); }
.cine-card.is-swap > * { opacity: 0; transform: translateY(6px); }
.cine-c1 { left: 63%; top: 41%; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; }
.cine-c2 { left: 69%; top: 54%; width: min(300px, 24vw); padding: 14px 16px; }
.cine-c2 p { margin: 8px 0 10px; font-size: 0.92rem; line-height: 1.4; }
/* pessoa à direita: os cartões passam para o lado vazio */.cine[data-side="r"] .cine-c1 { left: 5%; top: 34%; }.cine[data-side="r"] .cine-c2 { left: 11%; top: 46%; }
.cine-steps { position: absolute; right: var(--gutter); bottom: 26px; display: grid; grid-template-columns: repeat(var(--n, 3), 120px); gap: 10px; margin: 0; padding: 0; list-style: none; }
.cine-steps button { display: grid; gap: 9px; width: 100%; padding: 0; font: 600 0.68rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; text-align: left; color: rgba(225, 226, 255, 0.55); cursor: pointer; background: none; border: 0; }
.cine-steps button[aria-current="true"] { color: #fff; }
.cine-steps .bar { position: relative; height: 2px; overflow: hidden; background: rgba(255, 255, 255, 0.22); border-radius: 2px; }
.cine-steps .bar i { position: absolute; inset: 0; background: #fff; transform: scaleX(var(--p, 0)); transform-origin: left; }

/* ---------- Como funciona: fotografias reais do portátil ---------- */
.show { position: relative; background: #030306; }
.show-stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: radial-gradient(70% 75% at 50% 62%, rgba(84, 76, 255, calc(var(--g, 0) * 0.32)), rgba(3, 3, 6, 0) 72%), #030306; }
.sv-cam { position: absolute; inset: 0; }
.sv-shot { position: absolute; left: 0; top: 0; width: 2752px; height: 1536px; transform-origin: 0 0; visibility: hidden; opacity: 0; overflow: hidden; }
.sv-photo { position: absolute; inset: 0; width: 100%; height: 100%; display: block; user-select: none; pointer-events: none; }
.sv-shot[data-shot="h"] .sv-photo { display: none; }
.sv-shot[data-shot="h"] { background: none; overflow: visible; }
/* o ecrã: 1512×1016 (faixa do entalhe + janela da app), posto em perspetiva por matrix3d */
.sv-screen { position: absolute; left: 0; top: 0; width: 1512px; height: 1016px; transform-origin: 0 0; background: #000; overflow: hidden; }
.sv-band { position: absolute; left: 0; right: 0; top: 0; height: 34px; background: #000; }
.sv-front { position: absolute; pointer-events: none; user-select: none; }
.sv-app { position: absolute; left: 0; top: 34px; width: 1512px; height: 982px; overflow: hidden; background: #070814; opacity: 0; }
.sv-img { position: absolute; left: 0; top: 0; width: 1512px; height: auto; opacity: 0; visibility: hidden; }
.sv-glare { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0.03) 100%); }
/* destaque: escurece à volta (sombra gigante) e anel de luz */
.sv-hl { position: absolute; pointer-events: none; box-shadow: 0 0 0 4000px rgba(2, 2, 8, var(--dim, 0)); }
.sv-hl i { position: absolute; inset: 0; border-radius: inherit; border: 2px solid rgba(178, 176, 255, var(--ring, 0)); box-shadow: 0 0 calc(var(--ring, 0) * 24px) rgba(124, 108, 255, calc(var(--ring, 0) * 0.85)), inset 0 0 calc(var(--ring, 0) * 18px) rgba(124, 108, 255, calc(var(--ring, 0) * 0.35)); }
.sv-cur { position: absolute; left: 0; top: 0; width: 26px; height: 36px; opacity: 0; transform-origin: 2px 1px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.5)); pointer-events: none; }
.sv-rip { position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(200, 198, 255, 0.9); opacity: 0; pointer-events: none; }
.sv-lift { position: absolute; border-radius: 14px; opacity: 0; background-repeat: no-repeat; pointer-events: none; }
/* varrimento de luz (passa pelo plano quando entra) */
.sv-sweep { position: absolute; inset: -20% -10%; pointer-events: none; opacity: 0; background: linear-gradient(105deg, rgba(120, 110, 255, 0) 40%, rgba(160, 150, 255, 0.16) 48%, rgba(255, 255, 255, 0.12) 50%, rgba(160, 150, 255, 0.16) 52%, rgba(120, 110, 255, 0) 60%); mix-blend-mode: screen; }
.sv-flash { position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: 0; background: radial-gradient(70% 70% at 50% 50%, #d9d6ff, #6d5cff 55%, #1a1640 100%); mix-blend-mode: screen; }
/* fecho: palavra gigante por trás do portátil recortado */
.sv-giant { position: absolute; left: -200px; width: 2820px; top: 7%; text-align: center; font-family: var(--display); font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: 520px; line-height: 0.85; letter-spacing: -0.02em; color: transparent; -webkit-text-stroke: 3px rgba(190, 186, 255, 0.5); opacity: var(--g, 0); transform: translateY(calc((1 - var(--g, 0)) * 120px)) scale(calc(0.92 + var(--g, 0) * 0.08)); }
.sv-cutout { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.show-stage::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, rgba(3, 3, 6, 0.9) 0%, rgba(3, 3, 6, 0.72) 22%, rgba(3, 3, 6, 0) 40%), radial-gradient(130% 95% at 60% 50%, transparent 60%, rgba(0, 0, 0, 0.55) 100%); opacity: var(--side, 1); transition: opacity 600ms ease; }
.show-line { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; overflow: visible; }
.show-line path, .show-line circle { opacity: 0; filter: drop-shadow(0 0 6px rgba(160, 158, 255, 0.8)); }

.show-intro { position: absolute; z-index: 4; left: 50%; top: 12%; width: min(820px, 90vw); text-align: center; transform: translateX(-50%); opacity: 0; visibility: hidden; }
.show-intro small { display: block; margin-bottom: 16px; font: 600 0.74rem/1 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: #a5a8ff; }
.show-intro h2 { margin: 0; font-family: var(--display); font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(3.4rem, 7vw, 7.4rem); line-height: 0.9; color: #f2f1ff; }
.show-intro .ln { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.04em; }
.show-intro .w { display: inline-block; }
.show-intro em { font-style: italic; font-weight: 800; font-stretch: 125%; font-size: 0.6em; letter-spacing: -0.035em; }
.show-intro p { margin: 16px 0 0; color: rgba(236, 236, 240, 0.78); }
/* "Start today": grande, ao centro, até ao fim */
.show-end { position: absolute; z-index: 4; left: 50%; top: 50%; width: min(1100px, 92vw); text-align: center; transform: translate(-50%, -50%); opacity: 0; visibility: hidden; }
.show-end h2 { margin: 0; font-family: var(--display); font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(4.6rem, 11vw, 12rem); line-height: 0.86; color: #fff; text-shadow: 0 20px 80px rgba(0, 0, 0, 0.6); }
.show-end h2 em { font-style: italic; font-weight: 800; font-stretch: 125%; font-size: 0.62em; letter-spacing: -0.035em; }
.show-end p { margin: 18px 0 0; font-size: 1.15rem; color: rgba(240, 240, 248, 0.86); }
.show-end .btn { margin-top: 26px; padding: 18px 30px; font-size: 1.05rem; pointer-events: auto; }

/* trilho dos capítulos */
.show-rail { position: absolute; z-index: 4; left: 22px; top: 50%; display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; transform: translateY(-50%); opacity: 0; transition: opacity 500ms ease; }
.show-rail.is-on { opacity: 1; }
.show-rail button { --p: 0; display: grid; grid-template-columns: 22px auto; align-items: center; column-gap: 10px; padding: 6px 4px; font: 600 0.7rem/1 var(--sans); letter-spacing: 0.06em; color: rgba(225, 226, 255, 0.36); background: none; border: 0; cursor: pointer; text-align: left; transition: color 300ms ease; }
.show-rail button[aria-current="true"] { color: #fff; }
.show-rail b { font-weight: 700; font-variant-numeric: tabular-nums; }
.show-rail span { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width 400ms var(--ease-out), opacity 300ms ease; }
.show-rail button[aria-current="true"] span, .show-rail:hover span { max-width: 140px; opacity: 1; }
.show-rail i { grid-column: 1 / -1; display: block; width: 22px; height: 2px; margin-top: 6px; background: rgba(255, 255, 255, 0.14); border-radius: 2px; overflow: hidden; }
.show-rail em { display: block; height: 100%; background: #8f8dff; transform: scaleX(var(--p)); transform-origin: left; }

.show-col { position: absolute; z-index: 4; left: clamp(120px, 10vw, 170px); top: 50%; width: min(400px, 27vw); height: 62vh; transform: translateY(-50%); pointer-events: none; }
.show-ch { position: absolute; left: 0; right: 0; top: 0; opacity: 0; visibility: hidden; }
.show-ch small { display: block; margin-bottom: 14px; font: 600 0.72rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: #a5a8ff; }
.show-ch h2 { margin: 0; font-family: var(--display); font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(2.4rem, 3.7vw, 4.2rem); line-height: 0.92; color: #f2f1ff; }
.show-ch .sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.04em; }
.show-ch .sw > span { display: inline-block; }
.show-ch p { margin: 14px 0 0; font-size: 0.98rem; line-height: 1.5; color: rgba(236, 236, 240, 0.7); }
.show-cap { position: absolute; left: 0; right: 0; top: 54%; display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 18px 20px; background: rgba(14, 15, 30, 0.66); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 18px; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); opacity: 0; visibility: hidden; }
.show-cap .n { display: grid; place-items: center; width: 34px; height: 34px; font: 700 0.9rem/1 var(--sans); color: #fff; background: linear-gradient(135deg, #7c6cff, #4f46e5); border-radius: 50%; box-shadow: 0 0 20px rgba(124, 108, 255, 0.5); }
.show-cap b { display: block; font-size: 1.08rem; color: #fff; }
.show-cap p { margin: 6px 0 0; font-size: 0.92rem; line-height: 1.45; color: rgba(236, 236, 240, 0.78); }

@media (max-width: 760px) {
  .show-stage::after { background: linear-gradient(180deg, rgba(3, 3, 6, 0.9) 0%, rgba(3, 3, 6, 0) 32%, rgba(3, 3, 6, 0) 64%, rgba(3, 3, 6, 0.92) 100%); }
  .show-rail { left: 16px; right: 16px; top: auto; bottom: 10px; display: flex; justify-content: center; gap: 6px; transform: none; }
  .show-rail button { grid-template-columns: auto; padding: 4px 2px; }
  .show-rail b, .show-rail span { display: none; }
  .show-rail i { width: 20px; margin: 0; }
  .show-col { left: 16px; right: 16px; top: 84px; width: auto; height: calc(100% - 120px); transform: none; }
  .show-ch h2 { font-size: 2.2rem; }
  .show-ch p { font-size: 0.88rem; }
  .show-cap { top: auto; bottom: 0; padding: 14px 16px; }
  .show-cap p { font-size: 0.85rem; }
  .show-intro { top: 16%; }
  .show-end h2 { font-size: 19vw; }
}

@media (max-width: 760px) {
  .cine-giant { top: 84px; }
  .cine-giant-in { font-size: 27vw; }
  .cine-line { bottom: 236px; left: 16px; }
  .cine-line-in { font-size: 9.6vw; }
  .cine-copy { right: var(--gutter); bottom: 28px; }
  .cine-sub { font-size: 0.95rem; margin-bottom: 16px; }
  .cine-cta .btn { flex: 1; justify-content: center; }
  .cine-card, .cine-steps { display: none; }
  .cine[data-pos="low"] .cine-giant { top: 27vh; }
  .cine-line-in { white-space: normal; }
  .cine[data-type="outline"] .cine-cuts, .cine[data-side="r"] .cine-cuts { display: none; }
  .cine[data-type="outline"] .cine-giant { z-index: 3; }
  .cine-bg, .cine-cut, .cine-empty { object-position: var(--fx, 50%) 50%; }
}
@media (prefers-reduced-motion: reduce) { .cine-bg, .cine-cut { transition: opacity 200ms ease; transform: none !important; filter: none !important; } }

/* ---------- pormenores animados por cima dos prints (com o aspeto da app) ---------- */
.sv-fx { position: absolute; inset: 0; pointer-events: none; font-family: Outfit, var(--sans); }
.fx { position: absolute; left: 0; top: 0; opacity: 0; background-repeat: no-repeat; transform-origin: 50% 50%; }
.fx-media { border-radius: 16px 16px 0 0; }
.fx-thumb { border-radius: 10px; box-shadow: 0 0 0 2px #5b5ff6; }
.fx-drag { border-radius: 12px; z-index: 3; }
.fx-item { border-radius: 10px; }
.fx-dots { display: flex; gap: 5px; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 4px 8px; background: rgba(10, 10, 20, 0.45); border-radius: 99px; box-sizing: border-box; }
.fx-dots i { width: 6px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.5); }
.fx-dots i.on { width: 14px; background: #fff; }
.fx-ring { display: block; width: 100%; height: 100%; border: 2.5px solid #6d6bff; border-radius: 12px; box-sizing: border-box; box-shadow: 0 0 12px rgba(109, 107, 255, 0.6); }
.fx-pill { display: inline-flex; align-items: center; gap: 7px; height: 100%; padding: 0 12px 0 4px; font-size: 13px; font-weight: 700; color: #fff; background: rgba(12, 12, 24, 0.66); border-radius: 99px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-sizing: border-box; white-space: nowrap; }
.fx-pill b { display: grid; place-items: center; width: 19px; height: 19px; font-size: 11px; color: #111; background: #fff; border-radius: 50%; }
.fx-dim { display: grid; place-items: center; width: 100%; height: 100%; background: rgba(15, 15, 43, 0.86); border: 1.5px dashed rgba(165, 168, 255, 0.35); border-radius: 18px; box-sizing: border-box; }
.fx-dim span { padding: 8px 14px; font-size: 13px; font-weight: 600; color: #c9cceb; background: rgba(91, 95, 246, 0.18); border-radius: 99px; }
.fx-cover { display: block; position: relative; width: 100%; height: 100%; background: #0f0f2b; }
.fx-cover .fx-plus { position: absolute; left: 4px; top: 4px; width: 52px; height: 62px; }
.fx-plus { display: block; width: 100%; height: 100%; border: 1.5px dashed rgba(255, 255, 255, 0.22); border-radius: 10px; box-sizing: border-box; background: linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)) center / 14px 1.5px no-repeat, linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)) center / 1.5px 14px no-repeat; }
.fx-slot { display: flex; justify-content: space-between; align-items: flex-start; width: 100%; height: 100%; padding: 8px 10px; font-size: 13px; color: #eef0ff; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; box-sizing: border-box; }
.fx-slot.is-today { background: rgba(255, 255, 255, 0.07); }
.fx-slot b { font-weight: 700; }
.fx-slot i { font-style: normal; color: #9a9fc4; letter-spacing: 1px; }
.fx-add { display: block; text-align: center; font-size: 12.5px; font-weight: 600; color: #9a9fc4; }
.fx-badge { display: inline-flex; align-items: center; gap: 4px; height: 100%; padding: 0 8px; font-size: 10.5px; font-weight: 700; border-radius: 99px; box-sizing: border-box; white-space: nowrap; }
.fx-badge.is-fixed { color: #fff; background: #5b5ff6; }
.fx-badge.is-hold { color: #ffd38a; background: #3a2f17; border: 1px solid rgba(255, 211, 138, 0.35); }
.fx-menu { display: grid; gap: 2px; width: 100%; padding: 6px; font-size: 12.5px; font-weight: 600; color: #eef0ff; background: #1b1c3a; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.8); box-sizing: border-box; }
.fx-menu > span { display: grid; grid-template-columns: 16px 1fr; align-items: center; column-gap: 6px; padding: 6px 8px; border-radius: 8px; }
.fx-menu > span.on { background: rgba(91, 95, 246, 0.25); }
.fx-menu small { grid-column: 2; font-size: 10.5px; font-weight: 500; color: #9a9fc4; }

/* o workflow das Execuções: as mesmas regras da app (styles.css: flow, flow-net, link, packet, link-badge) */
.rf { position: absolute; inset: 0; border-radius: 18px; background: radial-gradient(circle at 1px 1px, rgba(238, 240, 255, 0.09) 1px, transparent 0) 0 0 / 18px 18px, #20202a; --ok: #4fdc9c; --ok-soft: rgba(79, 220, 156, 0.13); --err: #ff8d8d; --err-soft: rgba(255, 141, 141, 0.12); --accent: #5b5ff6; --accent-soft: rgba(91, 95, 246, 0.18); --accent-text: #a5a8ff; --line-strong: rgba(255, 255, 255, 0.16); --surface-solid: #161833; --muted: #9a9fc4; --ink-soft: #c9cceb; }
.rf-links { position: absolute; left: 0; top: 0; overflow: visible; }
.rf-link { fill: none; stroke: var(--line-strong); stroke-width: 2; stroke-linecap: round; transition: stroke 300ms ease; }
.rf-port { fill: var(--surface-solid); stroke: var(--line-strong); stroke-width: 2; }
.rf-start { stroke: var(--accent); }
.rf-g.is-waiting .rf-link { stroke-dasharray: 3 6; }
.rf-g.is-running .rf-link { stroke: var(--accent); stroke-dasharray: 7 7; animation: rf-flow 600ms linear infinite; }
.rf-g.is-running .rf-port { stroke: var(--accent); }
.rf-g.is-ok .rf-link, .rf-g.is-ok .rf-port { stroke: var(--ok); }
.rf-g.is-err .rf-link, .rf-g.is-err .rf-port { stroke: var(--err); }
@keyframes rf-flow { to { stroke-dashoffset: -14; } }
.rf-packet { fill: var(--accent-text); filter: drop-shadow(0 0 4px var(--accent)); opacity: 0; }
.rf-g.is-running .rf-packet { opacity: 1; }
.rf-src { position: absolute; border-radius: 14px; background-repeat: no-repeat; transition: box-shadow 400ms ease; }
.rf.is-live .rf-src { box-shadow: 0 0 0 3px var(--accent-soft); }
.rf-net { position: absolute; display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 12px; box-sizing: border-box; background: var(--surface-solid); border: 1px solid var(--line-strong); border-radius: 12px; transition: border-color 300ms ease, background-color 300ms ease, opacity 300ms ease, box-shadow 300ms ease; }
.rf-ico { font-size: 17px; color: var(--ink-soft); }
.rf-t { display: flex; flex-direction: column; flex: 1; }
.rf-t b { font-size: 13.8px; font-weight: 600; color: #eef0ff; }
.rf-t small { font-size: 12.2px; color: var(--muted); }
.rf-t small a { margin-left: 6px; font-weight: 600; color: var(--ok); }
.rf-st svg { display: block; width: 17px; height: 17px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rf-net.is-waiting { opacity: 0.62; border-style: dashed; }
.rf-net.is-running { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.rf-net.is-running .rf-st svg { stroke: var(--accent-text); }
.rf-net.is-ok { border-color: rgba(79, 220, 156, 0.45); background: var(--ok-soft); animation: rf-done 500ms cubic-bezier(0.23, 1, 0.32, 1); }
.rf-net.is-ok .rf-st svg { stroke: var(--ok); }
.rf-net.is-ok small { color: var(--ok); }
.rf-net.is-err { border-color: rgba(255, 141, 141, 0.45); background: var(--err-soft); animation: rf-done 500ms cubic-bezier(0.23, 1, 0.32, 1); }
.rf-net.is-err .rf-st svg { stroke: var(--err); }
.rf-net.is-err small { color: var(--err); }
@keyframes rf-done { 0% { transform: scale(0.98); } 45% { transform: scale(1.015); } 100% { transform: none; } }
.rf-spin { animation: rf-rot 900ms linear infinite; transform-origin: 50% 50%; }
@keyframes rf-rot { to { transform: rotate(360deg); } }
.rf-badge { position: absolute; display: grid; place-items: center; width: 26px; height: 26px; margin: -13px 0 0 -13px; background: var(--surface-solid); border: 1px solid var(--line-strong); border-radius: 50%; }
.rf-badge svg { width: 13px; height: 13px; fill: none; stroke: var(--muted); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.rf-badge.is-running { background: var(--accent); border-color: transparent; box-shadow: 0 0 0 4px var(--accent-soft); }
.rf-badge.is-running svg { stroke: #fff; }
.rf-badge.is-ok { border-color: rgba(79, 220, 156, 0.55); }
.rf-badge.is-ok svg { stroke: var(--ok); }
.rf-badge.is-err { border-color: rgba(255, 141, 141, 0.55); }
.rf-badge.is-err svg { stroke: var(--err); }
.rf-err { position: absolute; margin: 0; font-size: 12.8px; line-height: 1.75; color: var(--err); opacity: 0; transition: opacity 300ms ease; }
.rf-err span { color: var(--muted); }

/* O topo cabe sempre no ecrã: desconta a barra da oferta enquanto ela existir (--bar-h, medido em landing-topo.js). */
.cine-stage { height: calc(100vh - var(--bar-h, 0px)); height: calc(100svh - var(--bar-h, 0px)); }
/* Cabeçalho com a mesma largura do topo: o logótipo alinha com os botões "Experimentar grátis" (a margem lateral). */
@media (min-width: 761px) {
  .lp-head { width: calc(100% - 2 * var(--gutter) + 44px); max-width: none; }
}
/* o separador onde se entra em cada capítulo: contorno rosa-violeta a acender, sublinhado a varrer (por cima do escurecer do destaque) */
.sv-tab { position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none; border-radius: 14px; transform-origin: 50% 50%; filter: drop-shadow(0 0 8px rgba(255, 92, 170, 0.55)) drop-shadow(0 0 18px rgba(124, 108, 255, 0.45)); }
.sv-tab::before { content: ""; position: absolute; inset: -18px -14px; border-radius: 24px; background: radial-gradient(closest-side, rgba(255, 92, 170, 0.22), rgba(124, 108, 255, 0.1) 60%, transparent); }
.sv-tab b { position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: linear-gradient(100deg, #ff5cae, #b07bff 55%, #7c6cff); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.sv-tab i { position: absolute; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #8b7bff, #ff5cae); box-shadow: 0 0 10px rgba(255, 92, 170, 0.9); }
.sv-tab i::after { content: ""; position: absolute; right: -4px; top: -3px; width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 3px rgba(255, 140, 200, 0.95); }
