/* ===== Portfólio Camila Müller ===== */
:root {
  --vermelho: #a3170c;
  --vermelho-vivo: #c21d0f;
  --vermelho-escuro: #5e0d07;
  --creme: #fbf1dc;
  --creme-2: #f1e4c8;
  --tinta: #1c0705;
  --texto: var(--creme);
  --texto-suave: rgba(251, 241, 220, .72);
  --linha: rgba(251, 241, 220, .28);
  --titulo: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --corpo: 'Archivo', system-ui, sans-serif;
  --lateral: clamp(16px, 4vw, 56px);
  --topo-h: 64px;
  color-scheme: dark;
}
body[data-tema="creme"] {
  --texto: var(--vermelho);
  --texto-suave: rgba(120, 18, 10, .78);
  --linha: rgba(163, 23, 12, .3);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--vermelho);
  color: var(--creme);
  font-family: var(--corpo);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.travado { overflow: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--creme); outline-offset: 3px; }
body[data-tema="creme"] :focus-visible { outline-color: var(--vermelho); }

/* ----- camadas fixas ----- */
/* lvh: o 3D não muda de tamanho quando a barra do navegador do celular aparece/some */
#cena { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; display: block; z-index: 0; touch-action: pan-y; }
/* rolagem suave (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth .lightbox iframe { pointer-events: auto; }
#cena.apontando { cursor: pointer; }
.vinheta {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 60% 45%, transparent 45%, rgba(10, 2, 1, .55) 100%);
  transition: opacity .6s;
}
body[data-tema="creme"] .vinheta { opacity: .35; }
/* granulado de filme: camada parada e sem mix-blend-mode (não obriga o navegador a recompor o 3D a cada quadro) */
.grao {
  position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ----- carregando ----- */
#carregando {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center;
  background: var(--vermelho); transition: opacity .8s ease, visibility .8s;
}
#carregando.saiu { opacity: 0; visibility: hidden; }
.carregando-miolo { width: min(340px, 80vw); text-align: center; }
.carregando-nome { font-family: var(--titulo); font-size: 44px; line-height: 1; text-transform: uppercase; margin: 0 0 22px; letter-spacing: .01em; }
.carregando-nome b { font-weight: 400; }
.carregando-barra { height: 2px; background: rgba(251, 241, 220, .25); overflow: hidden; }
.carregando-barra span { display: block; height: 100%; width: 0; background: var(--creme); transition: width .3s; }
.carregando-texto { margin: 12px 0 0; font-size: 13px; letter-spacing: .08em; text-transform: lowercase; color: var(--texto-suave); }

/* ----- topo ----- */
.topo {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20; height: var(--topo-h);
  display: flex; align-items: center; gap: 24px; padding: 0 var(--lateral);
  padding-top: env(safe-area-inset-top);
  color: var(--texto); transition: color .5s;
}
.topo::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(20, 4, 3, .45), transparent);
  transition: opacity .5s;
}
body[data-tema="creme"] .topo::before { opacity: 0; }
.marca { font-family: var(--titulo); font-size: 22px; text-transform: uppercase; text-decoration: none; letter-spacing: .02em; white-space: nowrap; }
.marca b { font-weight: 400; }
.menu { display: flex; gap: 2px; margin-left: auto; }
.menu a {
  text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: lowercase;
  padding: 8px 10px; border-radius: 99px; color: var(--texto-suave); transition: color .2s, background .2s;
  white-space: nowrap;
}
/* muitas seções: menu mais justo em telas médias (abaixo de 1760 vira o botão de menu) */
@media (max-width: 1960px) { .menu a { padding: 8px 6px; font-size: 12px; letter-spacing: .02em; } }
.menu a:hover { color: var(--texto); }
.menu a[aria-current="true"] { color: var(--texto); background: rgba(251, 241, 220, .12); }
body[data-tema="creme"] .menu a[aria-current="true"] { background: rgba(163, 23, 12, .1); }
.topo-acoes { display: flex; align-items: center; gap: 8px; }
.botao-ver-tudo {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px;
  border: 1px solid var(--linha); border-radius: 99px; background: transparent;
  font-size: 13px; font-weight: 600; letter-spacing: .03em; transition: background .2s, border-color .2s;
}
.botao-ver-tudo svg { width: 14px; height: 14px; fill: currentColor; }
.botao-ver-tudo:hover { background: rgba(251, 241, 220, .12); border-color: var(--texto); }
.botao-menu {
  display: none; align-items: center; gap: 9px; height: 38px; padding: 0 16px 0 12px;
  border: 1px solid var(--texto); border-radius: 99px; background: var(--texto); color: var(--fundo-botao, #a3170c);
  font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; cursor: pointer;
}
body[data-tema="escuro"] .botao-menu { --fundo-botao: #1d0705; }
body[data-tema="creme"] .botao-menu { --fundo-botao: #fbf1dc; }
.bm-icone { position: relative; width: 18px; height: 14px; display: block; }
.bm-icone span { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s, top .3s; }
.bm-icone span:first-child { top: 3px; }
.bm-icone span:last-child { top: 9px; }
.bm-texto { font-weight: 700; }
.botao-menu[aria-expanded="true"] .bm-icone span:first-child { top: 6px; transform: rotate(45deg); }
.botao-menu[aria-expanded="true"] .bm-icone span:last-child { top: 6px; transform: rotate(-45deg); }

/* trilha lateral (desktop) */
.trilha {
  position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 15;
  display: flex; flex-direction: column; gap: 10px; color: var(--texto);
}
.trilha a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; text-decoration: none; height: 14px; }
.trilha a i { display: block; width: 14px; height: 2px; background: currentColor; opacity: .35; transition: width .3s, opacity .3s; }
.trilha a span { font-size: 11px; letter-spacing: .06em; text-transform: lowercase; opacity: 0; transform: translateX(6px); transition: opacity .25s, transform .25s; white-space: nowrap; }
.trilha a:hover span, .trilha a[aria-current="true"] span { opacity: .9; transform: none; }
.trilha a[aria-current="true"] i { width: 28px; opacity: 1; }
/* setas: seção anterior / próxima */
.setas { position: fixed; right: 20px; bottom: 22px; z-index: 16; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; color: var(--texto); }
.seta-secao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 46px; height: 46px; padding: 0 12px;
  border-radius: 99px; border: 1px solid var(--linha); background: rgba(20, 4, 3, .28);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .2s, border-color .2s, opacity .3s, transform .2s;
}
body[data-tema="creme"] .seta-secao { background: rgba(251, 241, 220, .6); }
.seta-secao:hover { border-color: var(--texto); transform: translateY(-1px); }
.seta-secao svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.seta-secao:disabled { opacity: 0; pointer-events: none; }
.seta-rotulo { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: lowercase; white-space: nowrap; padding-left: 4px; }
.seta-rotulo:empty { display: none; }
.progresso { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 21; pointer-events: none; }
.progresso span { display: block; height: 100%; width: 100%; background: var(--texto); transform-origin: 0 50%; transform: scaleX(0); }

/* ----- seções ----- */
#paginas { position: relative; z-index: 5; pointer-events: none; }
.secao { position: relative; height: calc((1 + var(--hold, .6)) * 100vh); height: calc((1 + var(--hold, .6)) * 100svh); }
.palco {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; align-items: center; padding: calc(var(--topo-h) + 16px) var(--lateral) 40px;
  color: var(--texto);
}
.painel { pointer-events: auto; width: min(470px, 40vw); }
.painel.compacto { align-self: flex-start; width: min(420px, 34vw); margin-top: 1vh; }
/* seções de vídeo no computador: véu à esquerda para o texto não brigar com os celulares que já passaram */
@media (min-width: 761px) {
  .secao.tipo-reels .palco::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: min(46vw, 640px); pointer-events: none;
    background: linear-gradient(to right, var(--fundo-painel, rgba(80, 10, 6, .9)) 45%, transparent);
  }
  body[data-tema="escuro"] .secao.tipo-reels .palco::before { --fundo-painel: rgba(18, 4, 3, .9); }
  .secao.tipo-reels .painel { position: relative; }
}
.painel > * { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.secao.visivel .painel > * { opacity: 1; transform: none; }
.secao.visivel .painel > *:nth-child(2) { transition-delay: .08s; }
.secao.visivel .painel > *:nth-child(3) { transition-delay: .16s; }
.secao.visivel .painel > *:nth-child(4) { transition-delay: .24s; }
.secao.visivel .painel > *:nth-child(5) { transition-delay: .32s; }

.titulo {
  font-family: var(--titulo); font-weight: 400; text-transform: uppercase;
  font-size: clamp(56px, 7.6vw, 132px); line-height: .9; letter-spacing: .005em; margin: 0 0 18px;
  text-wrap: balance;
}
.compacto .titulo { font-size: clamp(48px, 6vw, 104px); margin-bottom: 10px; }
.subtitulo { display: block; font-family: var(--corpo); font-weight: 300; font-size: .26em; letter-spacing: .06em; text-transform: lowercase; line-height: 1.2; margin-top: .35em; }
.texto { margin: 0 0 16px; font-size: 16px; color: var(--texto-suave); max-width: 48ch; text-wrap: pretty; }
.texto-forte { color: var(--texto); }
.dica {
  display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 0;
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--texto);
}
.dica::before { content: ""; width: 26px; height: 1px; background: currentColor; }

.etiquetas { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 26px; font-size: 13px; letter-spacing: .05em; text-transform: lowercase; color: var(--texto-suave); }

/* abertura */
.nome { margin: 0 0 22px; text-transform: uppercase; }
.nome-fino { display: block; font-family: var(--corpo); font-weight: 300; font-size: clamp(38px, 5vw, 84px); letter-spacing: .01em; line-height: 1; margin-bottom: .38em; }
.nome-grosso { display: block; font-family: var(--titulo); font-weight: 400; font-size: clamp(84px, 11.5vw, 200px); letter-spacing: .005em; line-height: 1.04; }
.chamada { font-size: clamp(16px, 1.35vw, 19px); margin: 0 0 28px; max-width: 34ch; color: var(--texto); text-wrap: balance; }
.botoes { display: flex; flex-wrap: wrap; gap: 10px; }
.botao {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px;
  border-radius: 99px; text-decoration: none; font-weight: 600; font-size: 15px;
  background: var(--creme); color: var(--vermelho); border: 1px solid var(--creme);
  transition: transform .2s, background .2s, color .2s;
}
.botao:hover { transform: translateY(-2px); }
.botao.vazado { background: transparent; color: var(--texto); border-color: var(--linha); }
.botao.vazado:hover { border-color: var(--texto); }
body[data-tema="creme"] .botao { background: var(--vermelho); color: var(--creme); border-color: var(--vermelho); }
.role { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--texto-suave); pointer-events: none; transition: opacity .4s; }
.role i { width: 1px; height: 38px; background: linear-gradient(var(--creme), transparent); animation: role 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes role { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
body.rolou .role { opacity: 0; }

/* trajetória */
.linha-tempo { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 14px; }
.linha-tempo li { position: relative; padding: 0 0 0 20px; border-left: 1px solid var(--linha); }
.linha-tempo li::before { content: ""; position: absolute; left: -4px; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--texto); }
.lt-cabeca { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.lt-cargo { font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: .02em; }
.lt-quando { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--texto-suave); }
.lt-onde { font-size: 14px; color: var(--texto-suave); }
.lt-detalhes { margin: 4px 0 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--texto-suave); line-height: 1.45; }
.lt-detalhes li { border: 0; padding: 0 0 0 12px; position: relative; }
.lt-detalhes li::before { content: "·"; position: absolute; left: 2px; top: 0; width: auto; height: auto; background: none; }

/* destaque e extras */
.destaque { display: flex; align-items: baseline; gap: 12px; margin: 4px 0 14px; }
.destaque b { font-family: var(--titulo); font-weight: 400; font-size: clamp(44px, 4.6vw, 72px); line-height: 1; }
.destaque span { font-size: 14px; color: var(--texto-suave); max-width: 14ch; line-height: 1.3; }
.link-extra { display: inline-flex; gap: 6px; font-size: 14px; font-weight: 600; text-underline-offset: 4px; }

/* serviços */
.lista-servicos { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.lista-servicos li { font-family: var(--titulo); font-size: clamp(26px, 2.4vw, 38px); line-height: 1.15; text-transform: uppercase; }
.lista-servicos li::before { content: "• "; }

/* contato */
.contatos { display: grid; gap: 10px; margin: 0 0 26px; }
.contatos a { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: clamp(16px, 1.4vw, 20px); font-weight: 500; width: fit-content; }
.contatos a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.contatos svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; }
.frase { margin: 0 0 22px; font-weight: 600; font-size: 14px; letter-spacing: .03em; text-transform: uppercase; line-height: 1.5; max-width: 46ch; color: var(--texto); }
.rodape { font-size: 12px; color: var(--texto-suave); margin: 0; }

/* ----- lightbox ----- */
.lightbox {
  position: fixed; inset: 0; z-index: 60; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center;
  background: rgba(16, 3, 2, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  animation: aparece .25s ease;
}
.lightbox[hidden] { display: none; }
@keyframes aparece { from { opacity: 0; } }
.lb-miolo { grid-column: 2; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-height: 100svh; padding: 56px 0 24px; }
.lb-midia { display: grid; place-items: center; max-width: 100%; }
.lb-midia img { max-width: min(100%, 1400px); max-height: calc(100svh - 150px); object-fit: contain; display: block; border: 6px solid var(--creme); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lb-midia img.sem-borda { border: 0; border-radius: 12px; }
/* capa que abre o vídeo no Instagram/Globoplay (sem embed, que quebrava) */
.lb-capa { position: relative; display: block; color: inherit; text-decoration: none; }
.lb-capa img { max-height: calc(100svh - 170px); }
.lb-assistir {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px; border-radius: 50%;
  background: rgba(251, 241, 220, .94) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 5l8 5-8 5z' fill='%23a3170c'/%3E%3C/svg%3E") 56% 50%/32px no-repeat;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45); transition: transform .25s;
}
.lb-capa:hover .lb-assistir, .lb-capa:focus-visible .lb-assistir { transform: scale(1.1); }
.lb-video { width: min(400px, 88vw); aspect-ratio: 9 / 16; max-height: calc(100svh - 170px); background: #000; border-radius: 16px; overflow: hidden; position: relative; }
.lb-video iframe { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
.lb-video.yt { width: min(1000px, 92vw); aspect-ratio: 16 / 9; max-height: calc(100svh - 170px); }
.lb-video.yt iframe { background: #000; }
.lb-legenda { text-align: center; font-size: 14px; color: var(--texto-suave); display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; align-items: center; padding: 0 12px; }
.lb-legenda b { color: var(--creme); font-weight: 600; }
.lb-legenda a { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border-radius: 99px; background: var(--creme); color: var(--vermelho); text-decoration: none; font-weight: 600; font-size: 13px; }
.lb-fechar { position: absolute; top: 10px; right: 12px; width: 48px; height: 48px; border: 0; background: transparent; font-size: 36px; line-height: 1; color: var(--creme); z-index: 2; }
.lb-seta { width: 52px; height: 52px; margin: 0 auto; border-radius: 50%; border: 1px solid rgba(251, 241, 220, .3); background: transparent; color: var(--creme); font-size: 30px; line-height: 1; padding-bottom: 4px; }
.lb-seta:hover { background: rgba(251, 241, 220, .1); }
.lb-seta[hidden] { visibility: hidden; display: block; }

/* ----- ver tudo ----- */
.grade {
  position: fixed; inset: 0; z-index: 40; overflow-y: auto; overscroll-behavior: contain;
  background: var(--creme); color: var(--vermelho); animation: aparece .25s ease;
}
.grade[hidden] { display: none; }
.grade-topo { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 12px var(--lateral); background: var(--creme); border-bottom: 1px solid rgba(163, 23, 12, .15); }
.grade-titulo { font-family: var(--titulo); font-size: 22px; text-transform: uppercase; margin: 0; }
.grade-fechar { width: 44px; height: 44px; border: 0; background: transparent; font-size: 34px; line-height: 1; color: var(--vermelho); }
.grade-conteudo { padding: 0 var(--lateral) 96px; max-width: 1480px; margin: 0 auto; --gap: 10px; --linha-h: 260px; }

/* atalhos das categorias (grudam embaixo do topo) */
.gt-atalhos {
  position: sticky; top: 69px; z-index: 1; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--lateral) * -1); padding: 12px var(--lateral);
  background: linear-gradient(var(--creme) 75%, rgba(251, 241, 220, 0));
}
.gt-atalhos::-webkit-scrollbar { display: none; }
.gt-atalhos a {
  flex: none; height: 34px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 99px;
  border: 1px solid rgba(163, 23, 12, .28); text-decoration: none; font-size: 13px; font-weight: 600; white-space: nowrap;
  transition: background .2s, color .2s;
}
.gt-atalhos a:hover { background: var(--vermelho); color: var(--creme); border-color: var(--vermelho); }

.grade-bloco { margin-top: 40px; scroll-margin-top: 130px; }
.gt-cabeca { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; border-bottom: 1px solid rgba(163, 23, 12, .2); padding-bottom: 8px; margin-bottom: 10px; }
.gt-cabeca h3 { font-family: var(--titulo); font-weight: 400; font-size: clamp(34px, 4.6vw, 64px); line-height: 1; text-transform: uppercase; margin: 0; }
.gt-cabeca small { font: 300 .36em var(--corpo); text-transform: lowercase; letter-spacing: .04em; }
.gt-conta { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: lowercase; color: rgba(120, 18, 10, .7); }
.gt-texto { margin: 0 0 14px; color: rgba(120, 18, 10, .78); font-size: 14px; max-width: 70ch; }
.gt-destaque { margin: -4px 0 14px; font-size: 14px; color: rgba(120, 18, 10, .78); }
.gt-destaque b { font-family: var(--titulo); font-weight: 400; font-size: 30px; color: var(--vermelho); margin-right: 4px; }

.grade-conteudo button { padding: 0; border: 0; background: var(--creme-2); position: relative; overflow: hidden; display: block; text-align: left; color: var(--creme); }
.grade-conteudo img { display: block; width: 100%; opacity: 0; transition: opacity .5s, transform .5s cubic-bezier(.2, .7, .2, 1); }
.grade-conteudo img.ok { opacity: 1; }

/* fotos: fileiras justificadas — todas com a mesma altura, cada foto na sua proporção */
.gt-justificado { display: flex; flex-wrap: wrap; gap: var(--gap); }
.gt-justificado::after { content: ""; flex-grow: 1e4; }
.gt-foto { flex: calc(var(--p) * 1000) 1 calc(var(--p) * var(--linha-h)); border-radius: 4px; }
.gt-foto img { aspect-ratio: var(--p); height: auto; }
.gt-foto:hover img { transform: scale(1.04); }
.gt-legenda {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: 13px; font-weight: 600; line-height: 1.25;
  background: linear-gradient(transparent, rgba(16, 3, 2, .72)); opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s;
}
.gt-foto:hover .gt-legenda, .gt-foto:focus-visible .gt-legenda { opacity: 1; transform: none; }

/* vídeos: cartões iguais no formato do Reels; foto larga ocupa dois */
.gt-reels { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: var(--gap); max-width: calc(var(--cols) * 250px); }
.gt-reel { aspect-ratio: 9 / 16; border-radius: 12px; }
.gt-reel.larga { grid-column: span 2; aspect-ratio: 16 / 9; place-self: stretch; } /* numa fileira com cartões em pé, estica até a altura deles */
.gt-reel img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.gt-reel.fmt-texto img { object-position: top; }
.gt-reel:hover img { transform: scale(1.05); }
.gt-reel::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(16, 3, 2, .82)); pointer-events: none; }
.gt-titulo { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1; font-size: 13px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-wrap: balance; }
.gt-views { position: absolute; left: 8px; top: 8px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 99px; background: rgba(16, 3, 2, .62); font-size: 12px; font-weight: 600; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.gt-views svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.gt-play {
  position: absolute; left: 50%; top: 46%; z-index: 1; width: 46px; height: 46px; margin: -23px; border-radius: 50%;
  background: rgba(251, 241, 220, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 5l8 5-8 5z' fill='%23a3170c'/%3E%3C/svg%3E") 55% 50%/20px no-repeat;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3); transition: transform .25s;
}
.gt-reel:hover .gt-play { transform: scale(1.12); }
/* vídeo de TV: play vira selo no canto, para não cobrir rosto nem texto da capa */
.gt-reel.fmt-tv .gt-play { left: 12px; top: 12px; margin: 0; width: 38px; height: 38px; background-size: 16px; }

/* feedbacks: colunas, cada print no tamanho natural */
.gt-feedbacks { columns: 3 300px; column-gap: var(--gap); }
.gt-feedback { width: 100%; margin: 0 0 var(--gap); break-inside: avoid; border-radius: 12px; background: #1c1c1c; }
.gt-feedback img { height: auto; }
.gt-feedback:hover img { transform: scale(1.02); }

@media (max-width: 1000px) {
  .grade-conteudo { --linha-h: 190px; }
  .gt-reels { grid-template-columns: repeat(var(--cols-t), minmax(0, 1fr)); max-width: calc(var(--cols-t) * 250px); }
}
@media (max-width: 600px) {
  .grade-conteudo { --gap: 6px; --linha-h: 128px; }
  .gt-atalhos { top: 65px; }
  .gt-reels { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  .gt-reel.larga { aspect-ratio: 16 / 9; }
  .gt-reel { border-radius: 10px; }
  .gt-play { width: 40px; height: 40px; margin: -20px; background-size: 17px; }
  .gt-cabeca { margin-bottom: 8px; }
  .grade-bloco { margin-top: 30px; }
}

/* ----- sem 3D (navegador sem WebGL) ----- */
body.sem-3d #cena, body.sem-3d .trilha, body.sem-3d .role { display: none; }
body.sem-3d .secao { height: auto; }
body.sem-3d .palco { position: relative; height: auto; min-height: 60svh; }
body.sem-3d .painel, body.sem-3d .painel.compacto { width: min(640px, 100%); }
body.sem-3d .painel > * { opacity: 1; transform: none; }
body.sem-3d #grade-inline { position: relative; z-index: 5; background: var(--creme); color: var(--vermelho); }

/* ----- telas médias ----- */
@media (min-width: 0px) { /* 25 seções: o menu fica sempre no botão (lista em tela cheia) */
  .menu { display: none; }
  .botao-menu { display: inline-flex; }
  .menu.aberto {
    display: flex; flex-direction: column; position: fixed; inset: 0; z-index: -1; padding: calc(var(--topo-h) + 24px) var(--lateral) 32px;
    background: var(--vermelho); gap: 0; overflow-y: auto;
  }
  .menu.aberto a { font-family: var(--titulo); font-size: clamp(34px, 8vw, 56px); text-transform: uppercase; color: var(--creme); padding: 4px 0; border-radius: 0; background: none; letter-spacing: .01em; line-height: 1.15; }
  .menu.aberto a[aria-current="true"] { background: none; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
  .trilha { display: none; }
}

/* ----- celular (retrato): 3D em cima, texto embaixo ----- */
@media (max-width: 760px) {
  :root { --topo-h: 56px; }
  .marca { font-size: 19px; }
  .botao-ver-tudo { height: 36px; padding: 0 13px; }
  .palco { align-items: flex-end; padding: calc(var(--topo-h) + 8px) 16px 22px; }
  .palco::before {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 62%; pointer-events: none;
    background: linear-gradient(to top, var(--fundo-painel, rgba(70, 9, 5, .92)) 30%, transparent);
  }
  body[data-tema="escuro"] .palco::before { --fundo-painel: rgba(18, 4, 3, .94); }
  body[data-tema="creme"] .palco::before { --fundo-painel: rgba(241, 228, 200, .96); }
  .painel, .painel.compacto { width: 100%; position: relative; }
  .painel.compacto { align-self: flex-start; margin-top: 0; }
  .titulo { font-size: clamp(46px, 14vw, 72px); margin-bottom: 10px; }
  .compacto .titulo { font-size: clamp(40px, 12vw, 60px); }
  .texto { font-size: 14.5px; margin-bottom: 10px; }
  .nome-fino { font-size: 34px; }
  .nome-grosso { font-size: clamp(74px, 23vw, 120px); }
  .nome { margin-bottom: 14px; }
  .chamada { font-size: 15px; margin-bottom: 18px; }
  .etiquetas { margin-bottom: 14px; font-size: 12px; gap: 4px 14px; }
  .botao { height: 44px; padding: 0 18px; font-size: 14px; }
  .role { display: none; }
  .linha-tempo { gap: 9px; }
  .lt-detalhes { display: none; }
  .lt-cargo { font-size: 14px; }
  .lt-onde { font-size: 13px; }
  .lista-servicos { grid-template-columns: 1fr 1fr; gap: 0 12px; }
  .lista-servicos li { font-size: 21px; }
  .destaque { margin: 0 0 8px; }
  .destaque b { font-size: 40px; }
  .frase { font-size: 12px; margin-bottom: 14px; }
  .contatos { margin-bottom: 16px; gap: 8px; }
  /* no celular o texto fica embaixo: setas no meio da lateral direita, só o ícone */
  .setas { right: 10px; bottom: auto; top: 46%; transform: translateY(-50%); gap: 6px; }
  .seta-secao { min-width: 40px; height: 40px; padding: 0; }
  .seta-rotulo { display: none; }
  .lightbox { grid-template-columns: 0 1fr 0; }
  .lb-seta { position: absolute; bottom: 18px; width: 46px; height: 46px; }
  .lb-ant { left: 18px; }
  .lb-prox { right: 18px; }
  .lb-miolo { padding: 60px 12px 80px; }
  .lb-midia img { max-height: calc(100svh - 190px); border-width: 4px; }
}
/* telas baixas no computador: trajetória mais enxuta */
@media (min-width: 761px) and (max-height: 760px) {
  .lt-detalhes { display: none; }
  .titulo { font-size: clamp(48px, 6.4vw, 104px); }
}
/* faixa escura atrás do título nas seções de passeio (celular) */
@media (max-width: 760px) {
  .secao.compacta .palco::before { top: 0; bottom: auto; height: 46%; background: linear-gradient(to bottom, var(--fundo-painel, rgba(70, 9, 5, .9)) 40%, transparent); }
}

@media (prefers-reduced-motion: reduce) {
  .role i { animation: none; }
  .painel > * { transition: none; }
}


/* menu aberto: grupos com título, em colunas no computador */
.menu-intro { display: none; }
.menu.aberto .menu-intro { display: block; grid-column: 1 / -1; margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(251, 241, 220, .7); }
.menu-grupo { display: contents; }
.menu.aberto .menu-grupo { display: flex; flex-direction: column; margin-bottom: 26px; break-inside: avoid; }
.menu-grupo-nome { display: none; }
.menu.aberto .menu-grupo-nome { display: block; margin: 0 0 8px; padding-bottom: 6px; border-bottom: 1px solid rgba(251, 241, 220, .35); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(251, 241, 220, .75); }
@media (min-width: 900px) {
  .menu.aberto { display: block; column-count: 3; column-gap: 48px; }
  .menu.aberto a { font-size: clamp(22px, 2.1vw, 34px); }
}
@media (max-width: 760px) {

  .botao-menu { padding: 0 12px 0 10px; gap: 7px; font-size: 12px; }
}

/* ----- "Ver tudo": grupos com título ----- */
.gt-atalho-grupo { flex: none; display: inline-flex; align-items: center; gap: 6px; padding-right: 14px; margin-right: 6px; border-right: 1px solid rgba(163, 23, 12, .22); }
.gt-atalho-grupo:last-child { border-right: 0; }
.gt-atalho-grupo b { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--vermelho); white-space: nowrap; margin-right: 2px; }
.gt-grupo {
  margin: 64px 0 0; padding: 18px 22px; border-radius: 14px; background: var(--vermelho); color: var(--creme);
  font-family: var(--titulo); font-weight: 400; font-size: clamp(28px, 3.6vw, 52px); line-height: 1; text-transform: uppercase;
  scroll-margin-top: 130px;
}
.gt-grupo + .grade-bloco { margin-top: 26px; }
.gt-reel.fmt-texto .gt-titulo { font-size: 15px; -webkit-line-clamp: 3; }

/* ----- "Ver tudo": cartões de matéria ----- */
.gt-materias { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.grade-conteudo .gt-materia { background: #fff; color: #1d0705; border-radius: 12px; display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(163, 23, 12, .12); transition: transform .3s, box-shadow .3s; }
.gt-materia:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(29, 7, 5, .18); }
.gt-materia-foto { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--creme-2); }
.gt-materia-foto img { height: 100%; object-fit: cover; }
.gt-materia-texto { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; }
.gt-materia-texto small { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--vermelho); }
.gt-materia-texto b { font-size: 19px; line-height: 1.25; font-weight: 700; text-wrap: balance; }
.gt-materia-texto em { font-style: normal; font-size: 13px; color: #6b5446; }
@media (max-width: 600px) {
  .gt-materias { grid-template-columns: 1fr; gap: 12px; }
  .gt-materia-texto b { font-size: 17px; }
  .gt-grupo { margin-top: 44px; padding: 14px 16px; }
}
