/* Ensaio profissional · versão 2 (04/11/2026). Pedido do André: "refaça com mais tecnologia, efeitos,
   UI/UX e front-end, usando todo o conteúdo da página antiga". Estúdio escuro, luz que segue o mouse,
   texto que acende, trilho de profissões preso na tela, posts em 3D e pacotes em vidro.
   Números saem em Jost (bloco do fontes.css). Sem nada externo: fontes e fotos do próprio site. */
.ep, .ep-visor {   /* o visor fica fora do <main>, então recebe as mesmas cores */
  --noite: #0e0c0b; --noite-2: #171412; --noite-3: #221d19;
  --marfim: #f3ece2; --marfim-suave: #c9bdaf; --champ: #c9a46a; --champ-forte: #e2c48f;
  --vidro: rgba(255, 248, 238, .06); --vidro-borda: rgba(255, 248, 238, .14);
  --entra: cubic-bezier(.22, .9, .25, 1);
}
.ep { background: var(--noite); color: var(--marfim); overflow-x: clip; }
.ep a:not(.botao) { color: inherit; }   /* os botões do mapa (do site) mantêm as cores deles */
.ep .wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.ep-rotulo { font: 500 12px/1 var(--fonte-texto); letter-spacing: .32em; text-transform: uppercase; color: var(--champ); }
.ep-tit { font: 300 clamp(38px, 5.2vw, 72px)/1.02 var(--fonte-titulo); letter-spacing: -.01em; text-wrap: balance; }
.ep-tit em { font-style: italic; color: var(--champ-forte); }

/* Botões: cheio (champanhe) e linha; os com .ima puxam pro mouse */
.ep-bt { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 28px; border-radius: 999px;
  font: 500 15px/1 var(--fonte-texto); letter-spacing: .02em; text-decoration: none; cursor: pointer; position: relative; overflow: hidden;
  transition: background .3s, color .3s, box-shadow .3s, transform .35s var(--entra); will-change: transform; }
.ep-bt svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.ep-bt--cheio { background: var(--champ); color: #1b140d; box-shadow: 0 18px 40px -18px rgba(201, 164, 106, .7); }
.ep-bt--cheio:hover { background: var(--champ-forte); }
.ep-bt--cheio::after { content: ''; position: absolute; inset: 0; width: 40%; left: -60%; background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .45), transparent); animation: ep-brilho 4.2s ease-in-out 1.8s 3; }
@keyframes ep-brilho { 0%, 62% { left: -60%; } 100% { left: 130%; } }
.ep-bt--linha { border: 1px solid rgba(243, 236, 226, .45); color: var(--marfim); background: transparent; }
.ep-bt--linha:hover { background: var(--marfim); color: var(--noite); }
.ep-bt:focus-visible { outline: 2px solid var(--champ-forte); outline-offset: 4px; }

/* ── 1. Abertura: a luz do estúdio segue o mouse ── */
.ep-topo { position: relative; min-height: calc(100svh - var(--nav)); display: grid; align-items: end; isolation: isolate; overflow: hidden; }
.ep-topo__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; z-index: -3; transform: scale(1.08); animation: ep-aproxima 9s var(--entra) forwards; }
@keyframes ep-aproxima { to { transform: scale(1); } }
.ep-topo__luz { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(circle at var(--x, 55%) var(--y, 42%), rgba(14, 12, 11, 0) 0, rgba(14, 12, 11, .1) 16%, rgba(14, 12, 11, .62) 42%, rgba(14, 12, 11, .9) 72%); }
.ep-topo__grao { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); }
.ep-flash { position: absolute; inset: 0; background: #fff; z-index: 5; pointer-events: none; animation: ep-flash 1.1s ease-out .15s forwards; opacity: 0; }
@keyframes ep-flash { 0% { opacity: 0; } 8% { opacity: .85; } 100% { opacity: 0; } }
.ep-topo__texto { padding: 0 24px clamp(48px, 9vh, 96px); max-width: 1120px; width: 100%; margin: 0 auto; }
.ep-topo .ep-rotulo a { text-decoration: none; }
.ep-topo h1 { margin: 18px 0 14px; max-width: 13ch; font: 300 clamp(46px, 7.4vw, 104px)/.96 var(--fonte-titulo); letter-spacing: -.015em; }
.ep-topo h1 .ln { display: block; overflow: hidden; }
.ep-topo h1 .ln > span { display: inline-block; transform: translateY(105%); animation: ep-sobe 1.1s var(--entra) forwards; }
.ep-topo h1 .ln:nth-child(2) > span { animation-delay: .14s; font-style: italic; color: var(--champ-forte); }
@keyframes ep-sobe { to { transform: none; } }
.ep-topo__sub { font-size: clamp(17px, 1.6vw, 21px); color: var(--marfim-suave); max-width: 520px; opacity: 0; animation: ep-aparece .9s ease .7s forwards; }
.ep-topo__bts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; opacity: 0; animation: ep-aparece .9s ease .9s forwards; }
@keyframes ep-aparece { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.ep-rolar { position: absolute; right: 24px; bottom: 28px; writing-mode: vertical-rl; font: 500 11px/1 var(--fonte-texto); letter-spacing: .3em; text-transform: uppercase; color: var(--marfim-suave); display: flex; align-items: center; gap: 12px; }
.ep-rolar::after { content: ''; width: 1px; height: 56px; background: linear-gradient(var(--champ), transparent); animation: ep-desce 2s ease-in-out 4; }
@keyframes ep-desce { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ── 2. Manifesto: o texto acende enquanto rola ── */
.ep-manif { padding: clamp(90px, 14vh, 150px) 0; background: radial-gradient(120% 80% at 50% 0%, var(--noite-3), var(--noite) 60%); }
.ep-manif .ep-rotulo { display: block; text-align: center; margin-bottom: 26px; }
.ep-manif p { max-width: 980px; margin: 0 auto; text-align: center; font: 300 clamp(26px, 3.3vw, 44px)/1.3 var(--fonte-titulo); }
.ep-manif .p { color: var(--marfim); opacity: .16; transition: opacity .25s linear; }
.ep-manif .p.ac { opacity: 1; }
.ep-manif .p.ouro { color: var(--champ-forte); font-style: italic; }

/* ── 3. Profissões: trilho preso na tela (rola de lado) ── */
.ep-trilho { position: relative; background: var(--noite-2); }
.ep-trilho__preso { position: sticky; top: var(--nav); height: calc(100svh - var(--nav)); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.ep-trilho__topo { display: flex; align-items: end; justify-content: space-between; gap: 20px; max-width: 1120px; width: 100%; margin: 0 auto 28px; padding: 0 24px; }
.ep-trilho__topo p { color: var(--marfim-suave); margin-top: 10px; }
.ep-cont { font: 300 15px/1 var(--fonte-texto); color: var(--marfim-suave); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ep-cont b { font-weight: 400; font-size: 34px; color: var(--marfim); }
.ep-arrasta { display: none; align-items: center; gap: 8px; margin: 14px 24px 0; font-size: 14px; color: var(--marfim-suave); }
.ep-arrasta svg { width: 18px; height: 18px; stroke: var(--champ); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ep-barra { height: 2px; background: rgba(243, 236, 226, .12); max-width: 1072px; width: calc(100% - 48px); margin: 22px auto 0; border-radius: 2px; overflow: hidden; }
.ep-barra i { display: block; height: 100%; width: 100%; background: var(--champ); transform-origin: 0 50%; transform: scaleX(0); }
.ep-faixa { display: flex; gap: 22px; padding: 0 max(24px, calc((100vw - 1072px) / 2)); will-change: transform; }
.ep-prof { flex: 0 0 clamp(270px, 25vw, 340px); position: relative; border-radius: 22px; overflow: hidden; background: var(--noite-3); aspect-ratio: 3 / 4.3; isolation: isolate; }
.ep-prof img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.06); transition: transform 1.2s var(--entra); }
.ep-prof:hover img { transform: scale(1.12); }
.ep-prof:focus-visible { outline: 2px solid var(--champ-forte); outline-offset: 4px; }
.ep-prof::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 12, 11, 0) 35%, rgba(14, 12, 11, .55) 60%, rgba(14, 12, 11, .94)); }
.ep-prof__txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 22px 24px; }
.ep-prof h3 { font: 400 clamp(26px, 2.4vw, 32px)/1.05 var(--fonte-titulo); }
.ep-prof h3 small { display: block; font: 400 12px/1 var(--fonte-texto); letter-spacing: .24em; color: var(--champ); margin-bottom: 8px; }
.ep-prof blockquote { margin: 10px 0 0; padding: 0; font-size: 14.5px; line-height: 1.5; color: rgba(243, 236, 226, .86); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--entra), opacity .5s; }
.ep-prof:hover blockquote, .ep-prof:focus-within blockquote, .ep-prof.ativo blockquote { max-height: 240px; opacity: 1; }

/* ── 3b. Mural: as 67 fotos da página antiga, em colunas; abre e amplia ── */
.ep-mural { padding: clamp(90px, 13vh, 140px) 0 clamp(60px, 9vh, 100px); background: var(--noite); }
.ep-mural__topo { text-align: center; margin-bottom: 44px; }
.ep-mural__topo .ep-tit { margin: 14px auto 0; max-width: 760px; }
.ep-mural__grade { columns: 4 240px; column-gap: 14px; max-height: 1180px; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); transition: max-height 1.2s var(--entra); }
.ep-mural__grade.aberta { max-height: none; -webkit-mask-image: none; mask-image: none; }
.ep-mural__f { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--noite-3); cursor: zoom-in; break-inside: avoid; position: relative; }
.ep-mural__f img { display: block; width: 100%; height: auto; transition: transform .9s var(--entra), filter .5s; }
.ep-mural__f:hover img { transform: scale(1.05); }
.ep-mural__grade:hover .ep-mural__f:not(:hover) img { filter: brightness(.6) saturate(.8); }
.ep-mural__f:focus-visible { outline: 2px solid var(--champ-forte); outline-offset: 3px; }
.ep-mural__mais { text-align: center; margin-top: 26px; }
.ep-visor { position: fixed; inset: 0; z-index: 200; background: rgba(8, 7, 6, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: grid; place-items: center; }
.ep-visor[hidden] { display: none; }
.ep-visor img { max-width: min(92vw, 1100px); max-height: 86vh; border-radius: 10px; box-shadow: 0 40px 90px -30px #000; animation: ep-aparece .35s ease; }
.ep-visor button svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ep-visor button { display: grid; place-items: center; position: absolute; border: 1px solid rgba(243, 236, 226, .35); background: rgba(20, 17, 15, .7); color: var(--marfim); width: 52px; height: 52px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; transition: background .2s; }
.ep-visor button:focus-visible { outline: 2px solid var(--champ-forte); outline-offset: 3px; }
.ep-visor button:hover { background: rgba(243, 236, 226, .22); }
.ep-visor__x { top: 18px; right: 18px; } .ep-visor__s--esq { left: 18px; top: 50%; transform: translateY(-50%); } .ep-visor__s--dir { right: 18px; top: 50%; transform: translateY(-50%); }
.ep-visor__n { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--marfim-suave); font-size: 14px; font-variant-numeric: tabular-nums; }

/* ── 4. O que fazer com as fotos: posts em 3D que se endireitam ── */
.ep-posts { padding: clamp(90px, 14vh, 140px) 0 clamp(70px, 10vh, 110px); text-align: center; overflow: hidden; }
.ep-posts .ep-tit { margin: 16px auto 14px; max-width: 760px; }
.ep-posts .ep-intro { color: var(--marfim-suave); max-width: 560px; margin: 0 auto; font-size: 17px; }
.ep-palco { perspective: 1400px; margin-top: 56px; }
.ep-grade3d { --p: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1040px; margin: 0 auto; transform-style: preserve-3d;
  transform: rotateX(calc((1 - var(--p)) * 32deg)) rotateZ(calc((1 - var(--p)) * -10deg)) scale(calc(.86 + var(--p) * .14)); }
.ep-grade3d img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); transition: transform .5s var(--entra); }
.ep-grade3d img:nth-child(even) { transform: translateY(calc((1 - var(--p)) * 60px)); }
.ep-grade3d img:hover { transform: translateY(-6px) scale(1.03); }

/* ── 5. Pacotes em vidro ── */
.ep-pac { position: relative; padding: clamp(90px, 13vh, 140px) 0; isolation: isolate; overflow: hidden; }
.ep-pac::before { content: ''; position: absolute; inset: -10%; z-index: -2; background: url('/recursos/img/paginas/prof-05.jpg') center/cover; filter: blur(42px) saturate(.8) brightness(.45); transform: scale(1.1); }
.ep-pac::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--noite) 0%, rgba(14, 12, 11, .55) 30%, rgba(14, 12, 11, .55) 70%, var(--noite) 100%); }
.ep-pac__topo { text-align: center; margin-bottom: 54px; }
.ep-pac__topo .ep-tit { margin-top: 14px; }
.ep-pac__topo p { color: var(--marfim-suave); margin-top: 12px; }
.ep-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.ep-card { position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: 26px; background: var(--vidro); border: 1px solid var(--vidro-borda);
  -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%); transition: transform .5s var(--entra), border-color .3s; }
.ep-card:hover { transform: translateY(-6px); border-color: rgba(226, 196, 143, .45); }
.ep-card h3 { font: 400 15px/1 var(--fonte-texto); letter-spacing: .32em; text-transform: uppercase; color: var(--champ-forte); }
.ep-card__preco { margin: 22px 0 4px; font: 300 52px/1 var(--fonte-texto); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ep-card__preco small { font-size: 15px; letter-spacing: 0; color: var(--marfim-suave); margin-left: 6px; }
.ep-card__parc { font-size: 15px; color: var(--marfim); }
.ep-card__parc strong { font-size: 21px; font-weight: 500; }
.ep-card__total { font-size: 13px; color: var(--marfim-suave); margin-top: 4px; }
.ep-card ul { list-style: none; margin: 26px 0 28px; padding: 22px 0 0; border-top: 1px solid var(--vidro-borda); display: grid; gap: 13px; flex: 1; }
.ep-card li { display: flex; gap: 12px; align-items: center; font-size: 16px; }
.ep-card li svg { width: 18px; height: 18px; flex: none; stroke: var(--champ); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ep-card .ep-bt { width: 100%; }
/* Ouro: o mais vendido, com a borda que gira */
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.ep-card--ouro { background: rgba(201, 164, 106, .1); border-color: transparent; transform: translateY(-14px); box-shadow: 0 40px 80px -40px rgba(201, 164, 106, .55); }
.ep-card--ouro:hover { transform: translateY(-20px); }
.ep-card--ouro::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--ang), rgba(226, 196, 143, .15), var(--champ-forte), rgba(226, 196, 143, .15) 40%, rgba(226, 196, 143, .15) 60%, var(--champ-forte), rgba(226, 196, 143, .15));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: ep-gira 6s linear 2; }
.ep-card--ouro:hover::before { animation: ep-gira 3s linear infinite; }
@keyframes ep-gira { to { --ang: 360deg; } }
.ep-selo { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 7px 16px; border-radius: 999px; background: var(--champ); color: #1b140d; font: 600 11.5px/1 var(--fonte-texto); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.ep-pac__pe { text-align: center; color: var(--marfim-suave); font-size: 14px; margin-top: 34px; }

/* ── 6. Fecho ── */
.ep-fim { padding: clamp(90px, 13vh, 130px) 0; text-align: center; background: radial-gradient(90% 70% at 50% 100%, var(--noite-3), var(--noite) 70%); }
.ep-fim .ep-tit { max-width: 820px; margin: 16px auto 30px; }

/* O mapa do site fica claro, como nas outras páginas */
.ep .mapa { background: var(--papel); color: var(--tinta); box-shadow: 0 0 0 100vmax var(--papel); clip-path: inset(0 -100vmax); }

/* Entrada das peças ao rolar */
.ep [data-ep] { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--entra), transform .6s var(--entra); }
.ep [data-ep].vi { opacity: 1; transform: none; }
.ep [data-ep="2"] { transition-delay: .1s; } .ep [data-ep="3"] { transition-delay: .2s; }
.ep-card--ouro[data-ep].vi { transform: translateY(-14px); }

/* Celular e tablet */
@media (max-width: 900px) {
  .ep-trilho { height: auto !important; }
  .ep-trilho__preso { position: static; height: auto; padding: 80px 0 70px; }
  .ep-faixa { transform: none !important; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .ep-faixa::-webkit-scrollbar { display: none; }
  .ep-prof { flex-basis: 78vw; scroll-snap-align: center; }
  .ep-prof blockquote { max-height: 260px; opacity: 1; font-size: 16px; }
  .ep-arrasta { display: flex; }
  .ep-barra { display: none; }
  .ep-cards { grid-template-columns: 1fr; gap: 30px; max-width: 460px; margin: 0 auto; }
  .ep-card--ouro, .ep-card--ouro[data-ep].vi { transform: none; order: -1; }
  .ep-grade3d { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ep-mural__grade { columns: 2 140px; column-gap: 10px; max-height: 900px; }
  .ep-mural__f { margin-bottom: 10px; border-radius: 10px; }
  .ep-rolar { display: none; }
}
@media (max-width: 560px) { .ep-trilho__topo { flex-direction: column; align-items: start; } .ep-topo__bts .ep-bt { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .ep *, .ep *::before, .ep *::after { animation: none !important; transition: none !important; }
  .ep-topo h1 .ln > span, .ep-topo__sub, .ep-topo__bts { transform: none; opacity: 1; }
  .ep-flash { display: none; }
  .ep [data-ep] { opacity: 1; transform: none; }
  .ep-manif .p { opacity: 1; }
  .ep-grade3d { transform: none; } .ep-grade3d img { transform: none !important; }
  .ep-trilho__preso { position: static; height: auto; padding: 80px 0; }
  .ep-faixa { transform: none !important; overflow-x: auto; scroll-snap-type: x mandatory; }
}
