/* =========================================================
   DUALSHOT FOTOGRAFIA • site institucional
   ========================================================= */
:root {
  --tinta: #111111;
  --carvao: #1A1A1A;
  --grafite: #242424;
  --papel: #ECE8E1;
  --papel-2: #E2DDD4;
  --texto: #ECE8E1;
  --texto-2: #A7A29A;
  --escuro-2: #5E5A54;
  --vermelho: #D7262B;
  --vermelho-2: #B81D22;
  --ambar: #E9A13B;
  --verde-af: #46E08A;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);      /* entradas, respostas */
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1); /* movimento na tela, cortinas */
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);  /* painéis e gavetas (iOS) */
  --suave: var(--ease-out);
  --rapida: var(--ease-in-out);
  --lado: clamp(20px, 5vw, 72px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--tinta); color: var(--texto);
  font-family: var(--sans); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.carregando, body.travado { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: 0; }
::selection { background: var(--vermelho); color: #fff; }
:focus-visible { outline: 2px solid var(--vermelho); outline-offset: 3px; }

/* grão de filme */
.grao {
  position: fixed; inset: -10%; z-index: 90; 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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grao 1.2s steps(6) infinite;
}
@keyframes grao {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ================= BOTÕES ================= */
.btn {
  --cor: var(--texto);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1em 1.7em; border-radius: 999px; font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  overflow: hidden; isolation: isolate; transition: color .4s var(--suave), border-color .4s, transform 160ms var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--suave);
}
@media (hover: hover) and (pointer: fine) { .btn:hover::before { transform: translateY(0); } }
.btn:active { transform: scale(.97); }
.btn-p { padding: .8em 1.3em; font-size: .7rem; }
.btn-vermelho { background: var(--vermelho); color: #fff; }
.btn-vermelho::before { background: #fff; }
@media (hover: hover) and (pointer: fine) { .btn-vermelho:hover { color: var(--tinta); } }
.btn-claro { background: var(--papel); color: var(--tinta); }
.btn-claro::before { background: var(--vermelho); }
@media (hover: hover) and (pointer: fine) { .btn-claro:hover { color: #fff; } }
.btn-linha { border: 1px solid rgba(236, 232, 225, .35); color: var(--texto); }
.btn-linha::before { background: var(--papel); }
@media (hover: hover) and (pointer: fine) { .btn-linha:hover { color: var(--tinta); border-color: var(--papel); } }
.btn-escuro { background: var(--tinta); color: var(--papel); }
.btn-escuro::before { background: var(--vermelho); }
.btn-linha-escura { border: 1px solid rgba(17, 17, 17, .25); color: var(--tinta); }
.btn-linha-escura::before { background: var(--tinta); }
@media (hover: hover) and (pointer: fine) { .btn-linha-escura:hover { color: var(--papel); border-color: var(--tinta); } }
.seta {
  display: inline-block; width: 14px; height: 1.5px; background: currentColor; position: relative;
  transition: transform .4s var(--suave);
}
.seta::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 7px; height: 7px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translateY(-50%) rotate(45deg);
}
.seta.esq { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) { .btn:hover .seta, a:hover > .seta { transform: translateX(4px); } }
.ic-p { width: 17px; height: 17px; fill: currentColor; flex: none; }
.ic-linha { fill: none; stroke: currentColor; stroke-width: 1.8; }

/* ================= ABERTURA ================= */
#abertura {
  position: fixed; inset: 0; z-index: 200; background: #0b0b0b;
  display: grid; place-items: center; overflow: hidden;
}
.ab-visor { position: relative; width: min(64vw, 340px); aspect-ratio: 3 / 2; display: grid; place-items: center; }
.ab-canto { position: absolute; width: 26px; height: 26px; border: 0 solid rgba(236, 232, 225, .85); animation: abCanto 1.1s var(--suave) both; }
.ab-canto.c1 { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; --x: -40px; --y: -30px; }
.ab-canto.c2 { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; --x: 40px; --y: -30px; }
.ab-canto.c3 { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; --x: -40px; --y: 30px; }
.ab-canto.c4 { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; --x: 40px; --y: 30px; }
@keyframes abCanto { from { transform: translate(var(--x), var(--y)); opacity: 0; } to { transform: none; opacity: 1; } }
.ab-af {
  position: absolute; width: 54px; height: 54px; border: 1.5px solid rgba(236, 232, 225, .6); border-radius: 2px;
  animation: abAf 1.6s .5s var(--rapida) both;
}
@keyframes abAf {
  0% { transform: scale(1.8); opacity: 0; } 30% { opacity: 1; } 55% { transform: scale(.9); }
  70% { transform: scale(1.05); } 85%, 100% { transform: scale(1); border-color: var(--verde-af); opacity: 1; }
}
.ab-logo { width: 62%; filter: blur(14px); opacity: .25; transform: scale(1.06); animation: abFoco 1.7s .35s var(--rapida) both; }
@keyframes abFoco {
  0% { filter: blur(14px); opacity: .2; transform: scale(1.08); }
  40% { filter: blur(3px); opacity: .9; } 55% { filter: blur(7px); }
  80%, 100% { filter: blur(0); opacity: 1; transform: scale(1); }
}
.ab-exif {
  position: absolute; bottom: clamp(28px, 8vh, 70px); left: 0; right: 0; display: flex; justify-content: center; gap: 18px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: rgba(236, 232, 225, .55);
  animation: abSurge .8s .3s both;
}
.ab-ponto { width: 7px; height: 7px; border-radius: 50%; background: var(--vermelho); align-self: center; animation: pisca 1s steps(2) infinite; }
@keyframes abSurge { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pisca { 50% { opacity: 0; } }
.ab-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.ab-cortina { position: absolute; inset: 0; background: #0b0b0b; transform: scaleY(0); transform-origin: top; }
#abertura.disparou .ab-flash { animation: flash .55s ease-out; }
#abertura.saindo { animation: abSai 800ms ease forwards; pointer-events: none; }
@keyframes flash { 0% { opacity: 0; } 12% { opacity: .55; } 100% { opacity: 0; } }
@keyframes abSai { to { opacity: 0; } }
#abertura.fim { display: none; }

/* flash ao clicar em foto */
#flash-tela { position: fixed; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 180; }
#flash-tela.ativo { animation: flash .5s ease-out; }

/* ================= CURSOR DE FOCO ================= */
#cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  #cursor {
    display: block; position: fixed; left: 0; top: 0; width: 34px; height: 34px; z-index: 300; pointer-events: none;
    transition: width .35s var(--suave), height .35s var(--suave), opacity .3s; mix-blend-mode: difference; opacity: 0;
  }
  #cursor.visivel { opacity: 1; }
  .cu-c { position: absolute; width: 9px; height: 9px; border: 0 solid #fff; transition: border-color .3s; }
  .cu-c.a { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
  .cu-c.b { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
  .cu-c.c { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
  .cu-c.d { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
  .cu-txt {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.6); opacity: 0;
    font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #fff;
    transition: opacity .3s, transform .3s var(--suave);
  }
  #cursor.foco { width: 76px; height: 76px; mix-blend-mode: normal; }
  #cursor.foco .cu-c { border-color: var(--verde-af); width: 14px; height: 14px; }
  #cursor.foco .cu-txt { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  #cursor.link { width: 18px; height: 18px; }
}

/* ================= MENU ================= */
#topo {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; gap: 28px;
  padding: 18px var(--lado); transition: transform .5s var(--suave), background .4s, padding .4s;
}
#topo.solido { background: rgba(17, 17, 17, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 10px; padding-bottom: 10px; }
#topo.escondido { transform: translateY(-110%); }
.marca img { width: 108px; height: auto; transform-origin: left center; transition: transform .4s var(--ease-out); }
#topo.solido .marca img { transform: scale(.852); }
.menu { display: flex; gap: 34px; margin-left: auto; }
.menu a {
  position: relative; text-decoration: none; font-size: .78rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--texto-2); transition: color .3s;
}
.menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: var(--vermelho);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--suave);
}
.menu a.ativo { color: var(--texto); }
.menu a.ativo::after { transform: scaleX(1); transform-origin: left; }
@media (hover: hover) and (pointer: fine) { .menu a:hover { color: var(--texto); } }
@media (hover: hover) and (pointer: fine) { .menu a:hover::after { transform: scaleX(1); transform-origin: left; } }
.hamburguer { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.hamburguer span { position: absolute; left: 11px; right: 11px; top: 21.5px; height: 1.5px; background: var(--texto); transition: transform 300ms var(--ease-out); }
.hamburguer span:first-child { transform: translateY(-3.5px); }
.hamburguer span:last-child { transform: translateY(3.5px); }
.hamburguer[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.hamburguer[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

#menu-celular {
  position: fixed; inset: 0; z-index: 99; background: var(--tinta); display: flex; flex-direction: column;
  justify-content: center; gap: 32px; padding: 90px var(--lado) 40px;
  clip-path: circle(0 at calc(100% - 42px) 40px); transition: clip-path 350ms var(--ease-in-out), visibility 0s 350ms; visibility: hidden;
}
#menu-celular.aberto { clip-path: circle(150% at calc(100% - 42px) 40px); visibility: visible; transition: clip-path 500ms var(--ease-in-out), visibility 0s; }
#menu-celular nav { display: flex; flex-direction: column; }
#menu-celular nav a {
  display: flex; align-items: baseline; gap: 16px; text-decoration: none; font-family: var(--serif);
  font-size: clamp(2.4rem, 11vw, 3.4rem); line-height: 1.15; opacity: 0; transform: translateY(30px);
  transition: opacity 200ms ease, transform 200ms var(--ease-out);
}
#menu-celular.aberto nav a { transition: opacity 500ms ease, transform 600ms var(--ease-out); }
#menu-celular nav a small { font-family: var(--mono); font-size: .75rem; color: var(--vermelho); }
#menu-celular.aberto nav a { opacity: 1; transform: none; }
#menu-celular.aberto nav a:nth-child(1) { transition-delay: .12s; }
#menu-celular.aberto nav a:nth-child(2) { transition-delay: .17s; }
#menu-celular.aberto nav a:nth-child(3) { transition-delay: .21s; }
#menu-celular.aberto nav a:nth-child(4) { transition-delay: .24s; }
#menu-celular.aberto nav a:nth-child(5) { transition-delay: .26s; }
#menu-celular.aberto nav a:nth-child(6) { transition-delay: .28s; }
#menu-celular .btn { align-self: flex-start; }
.mc-redes { display: flex; gap: 24px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--texto-2); }
.mc-redes a { text-decoration: none; }

/* ================= TIPOGRAFIA COMUM ================= */
.secao { position: relative; padding: clamp(90px, 13vw, 170px) var(--lado); }
.clara { background: var(--papel); color: var(--tinta); }
.rotulo {
  margin: 0 0 18px; font-family: var(--mono); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--vermelho);
}
.titulo {
  margin: 0 0 28px; font-weight: 700; font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.02; letter-spacing: -.035em;
}
.titulo em { font-size: 1.08em; font-weight: 400; letter-spacing: -.01em; }
.clara .titulo em { color: var(--vermelho-2); }
.cabeca { max-width: 880px; margin-bottom: clamp(40px, 6vw, 70px); }

/* animação ao aparecer */
.surge { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--suave), transform 1.1s var(--suave); }
.surge.visto { opacity: 1; transform: none; }
/* revelação de laboratório: foto sai superexposta e desfocada */
.revela {
  filter: brightness(1.9) saturate(0) contrast(.8); opacity: .35; transform: scale(1.1);
  transition: filter 1.3s var(--ease-out), opacity .9s ease, transform 1.6s var(--ease-out);
}
.revela.visto { filter: none; opacity: 1; transform: scale(1); }

/* ================= HERO ================= */
.hero {
  position: relative; min-height: 100svh; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center;
  gap: clamp(30px, 5vw, 80px); padding: 120px var(--lado) 80px; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 78% 50%, rgba(215, 38, 43, .12), transparent 70%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(233, 161, 59, .06), transparent 70%),
    var(--tinta);
}
.sobretitulo {
  display: flex; align-items: center; gap: 10px; margin: 0 0 26px; font-family: var(--mono); font-size: .74rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--texto-2);
}
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--vermelho); box-shadow: 0 0 0 4px rgba(215, 38, 43, .2); animation: pisca 1.4s steps(2) infinite; }
.hero-titulo {
  margin: 0 0 30px; font-weight: 800; font-size: clamp(3rem, 7.4vw, 7.2rem); line-height: .94; letter-spacing: -.05em;
}
.hero-titulo em { display: inline-block; font-size: 1.12em; font-weight: 400; color: var(--vermelho); letter-spacing: -.02em; padding-right: .06em; }
.linha { display: block; overflow: hidden; padding-bottom: .06em; }
.linha > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--suave); }
.mostrar .linha > span { transform: none; }
.mostrar .linha:nth-child(2) > span { transition-delay: .1s; }
.mostrar .linha:nth-child(3) > span { transition-delay: .2s; }
.hero-sub { max-width: 470px; margin: 0 0 38px; color: var(--texto-2); font-size: 1.05rem; }
.hero-botoes { display: flex; flex-wrap: wrap; gap: 14px; }
.entra { opacity: 0; transform: translateY(20px); transition: opacity 1s .45s, transform 1s .45s var(--suave); }
.mostrar .entra, .mostrar.entra { opacity: 1; transform: none; }
.hero-sub.entra { transition-delay: .55s; }
.hero-botoes.entra { transition-delay: .7s; }

.hero-camera { position: relative; display: grid; place-items: center; height: min(78vh, 720px); }
.visor {
  position: relative; margin: 0; height: 100%; aspect-ratio: 4 / 5.4; max-width: 100%; border-radius: 6px; overflow: hidden;
  background: #000; box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06);
  opacity: 0; transform: scale(.94) rotate(-1deg); transition: opacity 1.2s .2s, transform 1.6s .2s var(--suave);
}
.mostrar .visor { opacity: 1; transform: none; }
.vs-fotos { position: absolute; inset: 0; }
.vs-fotos img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0;
  transform: scale(1.12); transition: opacity .01s .25s;
}
.vs-fotos img.atual { opacity: 1; animation: kenburns 7s linear forwards; }
@keyframes kenburns { from { transform: scale(1.14) translate(1%, 1%); } to { transform: scale(1.02) translate(-1%, -1%); } }
/* obturador de plano focal: duas cortinas */
.vs-obturador { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.vs-obturador span { position: absolute; left: 0; right: 0; height: 50.5%; background: #050505; transform: scaleY(0); }
.vs-obturador span:first-child { top: 0; transform-origin: top; }
.vs-obturador span:last-child { bottom: 0; transform-origin: bottom; }
.visor.clique .vs-obturador span { animation: cortina .5s var(--rapida); }
@keyframes cortina { 0% { transform: scaleY(0); } 45%, 55% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
.visor.clique::after {
  content: ""; position: absolute; inset: 0; z-index: 4; background: #fff; pointer-events: none; animation: flash .6s .25s ease-out both;
}
.vs-grade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .35;
  background:
    linear-gradient(to right, transparent calc(33.33% - .5px), rgba(255, 255, 255, .35) calc(33.33% - .5px), rgba(255, 255, 255, .35) calc(33.33% + .5px), transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), rgba(255, 255, 255, .35) calc(66.66% - .5px), rgba(255, 255, 255, .35) calc(66.66% + .5px), transparent calc(66.66% + .5px)),
    linear-gradient(to bottom, transparent calc(33.33% - .5px), rgba(255, 255, 255, .35) calc(33.33% - .5px), rgba(255, 255, 255, .35) calc(33.33% + .5px), transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), rgba(255, 255, 255, .35) calc(66.66% - .5px), rgba(255, 255, 255, .35) calc(66.66% + .5px), transparent calc(66.66% + .5px));
}
.vs-hud { position: absolute; inset: 0; z-index: 2; pointer-events: none; font-family: var(--mono); font-size: 11px; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.vs-hud::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, .45), transparent 18%, transparent 80%, rgba(0, 0, 0, .55)); }
.vs-topo { position: absolute; top: 16px; left: 18px; right: 18px; display: flex; gap: 14px; align-items: center; letter-spacing: .1em; }
.vs-modo { padding: 1px 6px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 2px; }
.vs-bat { margin-left: auto; width: 24px; height: 11px; border: 1px solid #fff; border-radius: 2px; padding: 1px; position: relative; }
.vs-bat::after { content: ""; position: absolute; right: -4px; top: 3px; width: 2px; height: 4px; background: #fff; }
.vs-bat i { display: block; height: 100%; width: 75%; background: #fff; }
.vs-canto { position: absolute; width: 22px; height: 22px; border: 0 solid rgba(255, 255, 255, .85); }
.vs-canto.t1 { top: 46px; left: 18px; border-top-width: 1.5px; border-left-width: 1.5px; }
.vs-canto.t2 { top: 46px; right: 18px; border-top-width: 1.5px; border-right-width: 1.5px; }
.vs-canto.t3 { bottom: 46px; left: 18px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.vs-canto.t4 { bottom: 46px; right: 18px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.vs-af {
  position: absolute; width: 64px; height: 64px; left: 0; top: 0; transform: translate(-50%, -50%);
  border: 1.5px solid rgba(255, 255, 255, .9); transition: translate .6s var(--ease-out);
}
.vs-af::before, .vs-af::after { content: ""; position: absolute; background: inherit; }
.visor.focando .vs-af { animation: afCaca .7s var(--rapida); }
.visor.focado .vs-af { border-color: var(--verde-af); }
@keyframes afCaca { 0% { transform: translate(-50%, -50%) scale(1.5); } 50% { transform: translate(-50%, -50%) scale(.85); } 100% { transform: translate(-50%, -50%) scale(1); } }
.vs-base { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; align-items: center; gap: 16px; letter-spacing: .08em; }
.vs-ok { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .35); transition: background .2s; }
.visor.focado .vs-ok { background: var(--verde-af); box-shadow: 0 0 8px var(--verde-af); }
.vs-cont { margin-left: auto; }
.vs-legenda {
  position: absolute; z-index: 5; left: 50%; bottom: 52px; transform: translateX(-50%); font-family: var(--serif);
  font-style: italic; font-size: 1.5rem; color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, .6); white-space: nowrap;
  transition: opacity .4s;
}
.copia {
  position: absolute; width: 38%; aspect-ratio: 4 / 5; padding: 8px 8px 30px; background: #f4f1ea; border-radius: 3px;
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, .7); opacity: 0; transition: opacity 1.2s .8s, transform 1.6s .8s var(--suave);
}
.copia img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.c-esq { left: -6%; bottom: 6%; transform: rotate(-14deg) translate(40px, 40px); }
.c-dir { right: -4%; top: 4%; transform: rotate(11deg) translate(-40px, -30px); }
.mostrar .c-esq { opacity: 1; transform: rotate(-9deg) translate(var(--mx, 0), var(--my, 0)); }
.mostrar .c-dir { opacity: 1; transform: rotate(7deg) translate(calc(var(--mx, 0) * -1), calc(var(--my, 0) * -1)); }
.copia { transition: opacity 1.2s .8s, transform .9s var(--suave); }

.rolar { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid rgba(236, 232, 225, .3); border-radius: 14px; }
.rolar span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--texto); animation: rolar 1.8s var(--suave) infinite; }
@keyframes rolar { 0% { transform: translateY(0); opacity: 1; } 80%, 100% { transform: translateY(14px); opacity: 0; } }

/* ================= FAIXA ================= */
.faixa { overflow: hidden; background: var(--vermelho); color: #fff; padding: 18px 0; transform: rotate(-1.2deg) scale(1.02); margin: -10px 0 -14px; position: relative; z-index: 2; }
.faixa-trilho { display: flex; gap: 34px; width: max-content; animation: faixa 32s linear infinite; font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.3rem); white-space: nowrap; align-items: center; }
.faixa-trilho b { font-size: .55em; font-weight: 400; opacity: .7; }
@keyframes faixa { to { transform: translateX(-50%); } }

/* ================= SOBRE ================= */
.sobre-grade { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; max-width: 1320px; margin: 0 auto; }
.sobre-texto > p:not(.rotulo) { font-size: 1.08rem; color: #3b3833; max-width: 520px; }
.numeros { display: flex; gap: clamp(20px, 4vw, 54px); margin: 40px 0 44px; padding-top: 30px; border-top: 1px solid rgba(17, 17, 17, .14); }
.numeros div { display: flex; flex-direction: column; }
.numeros strong { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.numeros span:not([data-conta]) { margin-top: 8px; font-size: .78rem; color: var(--escuro-2); letter-spacing: .04em; }
.equipe { display: grid; gap: 34px; }
.pessoa { display: grid; grid-template-columns: 190px 1fr; gap: 30px; align-items: center; }
.pessoa:nth-child(2) { grid-template-columns: 1fr 190px; }
.pessoa:nth-child(2) .polaroid { order: 2; }
.polaroid {
  position: relative; padding: 10px 10px 42px; background: #fff; border-radius: 2px; transform: rotate(var(--giro));
  box-shadow: 0 25px 50px -20px rgba(0, 0, 0, .45); transition: transform .7s var(--suave);
}
@media (hover: hover) and (pointer: fine) { .polaroid:hover { transform: rotate(0) scale(1.04); } }
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 22%; }
.pol-nome { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: #333; }
.pessoa-info h3 { margin: 0 0 8px; font-size: 1.15rem; letter-spacing: -.01em; }
.pessoa-info p { margin: 0; font-size: .93rem; color: #4a4741; }

/* ================= ROLO DE FILME ================= */
.rolo { position: relative; height: 320vh; background: var(--carvao); }
.rolo-fixo { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 4vh; }
.rolo-cabeca { padding: 0 var(--lado); }
.rolo-cabeca .titulo { margin: 0; }
.filme {
  position: relative; padding: 34px 0; background: #0d0d0d;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
}
.filme::before, .filme::after {
  content: ""; position: absolute; left: 0; right: 0; height: 14px;
  background: repeating-linear-gradient(to right, transparent 0 14px, #2c2a27 14px 30px);
  -webkit-mask: linear-gradient(#000, #000); mask: linear-gradient(#000, #000);
}
.filme::before { top: 10px; }
.filme::after { bottom: 10px; }
.filme-trilho { display: flex; gap: 14px; width: max-content; padding: 0 var(--lado); will-change: transform; }
.quadro { position: relative; flex: none; height: min(46vh, 420px); aspect-ratio: 3 / 2; overflow: hidden; border-radius: 3px; background: #000; }
.quadro.vert { aspect-ratio: 2 / 3; }
.quadro img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform .8s var(--suave); }
@media (hover: hover) and (pointer: fine) { .quadro:hover img { transform: scale(1.22); } }
.quadro .borda {
  position: absolute; left: 6px; bottom: -28px; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--ambar); opacity: .85;
}
.filme-trilho .marca-filme { position: absolute; top: 12px; font-family: var(--mono); font-size: 9px; color: var(--ambar); letter-spacing: .2em; opacity: .6; }

/* ================= PORTFÓLIO ================= */
.portfolio { background: var(--tinta); }
.filtros {
  position: relative; display: inline-flex; gap: 4px; padding: 5px; margin-bottom: 44px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08);
}
.filtros button {
  position: relative; z-index: 1; padding: .75em 1.4em; border-radius: 999px; font-size: .74rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--texto-2); transition: color .4s;
}
.filtros button.ativo { color: var(--tinta); }
.filtro-marca { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: var(--papel); transition: clip-path 300ms var(--ease-in-out); }
.galeria { columns: 4 240px; column-gap: 14px; }
.foto {
  position: relative; display: block; width: 100%; margin: 0 0 14px; break-inside: avoid; overflow: hidden; border-radius: 4px;
  cursor: zoom-in; background: #1c1c1c; transition: opacity .5s, transform .6s var(--suave);
}
.foto img { width: 100%; height: auto; transition: transform 1.1s var(--suave), filter .6s; }
@media (hover: hover) and (pointer: fine) { .foto:hover img { transform: scale(1.06); } }
.foto::after {
  content: attr(data-rotulo); position: absolute; left: 14px; bottom: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: #fff; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s var(--suave);
}
.foto::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent 40%); opacity: 0; transition: opacity .4s; }
@media (hover: hover) and (pointer: fine) { .foto:hover::before, .foto:hover::after { opacity: 1; transform: none; } }
.foto::after { z-index: 2; }
.foto.some { opacity: 0; transform: scale(.94); }
.foto.oculta { display: none; }
.galeria-cta { margin: 50px 0 0; text-align: center; color: var(--texto-2); }
.galeria-cta a { color: var(--texto); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--vermelho); padding-bottom: 3px; display: inline-flex; align-items: center; gap: 10px; }

/* ================= EXPERIÊNCIA ================= */
.exp-grade { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: center; max-width: 1320px; margin: 0 auto; }
.exp-texto > p:not(.rotulo) { font-size: 1.06rem; color: #3b3833; max-width: 520px; }
.recursos { list-style: none; margin: 34px 0 40px; padding: 0; display: grid; gap: 22px; }
.recursos li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; }
.recursos .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--tinta); display: grid; place-items: center; }
.recursos svg { width: 22px; height: 22px; fill: none; stroke: var(--papel); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.recursos h3 { margin: 2px 0 2px; font-size: 1rem; }
.recursos p { margin: 0; font-size: .92rem; color: #55514a; }
.aparelhos { position: relative; aspect-ratio: 1.25; }
.notebook { position: absolute; left: 0; right: 6%; top: 10%; }
.nb-tela { position: relative; border: 10px solid #1b1b1b; border-bottom-width: 14px; border-radius: 14px 14px 4px 4px; background: #fff; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); aspect-ratio: 16 / 10; }
.nb-barra { height: 18px; background: #f2f2f2; display: flex; gap: 5px; align-items: center; padding: 0 8px; border-bottom: 1px solid #e3e3e3; }
.nb-barra i { width: 7px; height: 7px; border-radius: 50%; background: #d4d4d4; }
.nb-tela img { width: 100%; height: calc(100% - 18px); object-fit: cover; object-position: top; animation: nbRola 12s ease-in-out infinite alternate; }
@keyframes nbRola { 0%, 15% { object-position: top; } 85%, 100% { object-position: bottom; } }
.nb-base { height: 14px; margin: 0 -7%; background: linear-gradient(#cfcfcf, #9d9d9d); border-radius: 0 0 14px 14px; position: relative; }
.nb-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 5px; transform: translateX(-50%); background: #b6b6b6; border-radius: 0 0 6px 6px; }
.celular { position: absolute; right: 0; bottom: 0; width: 30%; aspect-ratio: 9 / 19.5; border-radius: 30px; padding: 8px; background: #111; box-shadow: 0 40px 70px -20px rgba(0, 0, 0, .6), inset 0 0 0 2px #333; }
.cel-tela { width: 100%; height: 100%; border-radius: 23px; overflow: hidden; }
.cel-tela img { width: 100%; height: 100%; object-fit: cover; }

/* ================= SERVIÇOS ================= */
.servicos { background: var(--tinta); }
.cartoes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cartao {
  position: relative; min-height: 520px; border-radius: 6px; overflow: hidden; isolation: isolate;
  border: 1px solid rgba(255, 255, 255, .1); background: var(--carvao); display: flex; align-items: flex-end;
}
.cartao img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.15); filter: grayscale(1); transition: opacity .8s var(--suave), transform 1.4s var(--suave), filter 1s;
}
.cartao::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10, 10, 10, .95) 25%, rgba(10, 10, 10, .2)); }
@media (hover: hover) and (pointer: fine) { .cartao:hover img { opacity: 1; transform: scale(1); filter: grayscale(0); } }
.ct-corpo { padding: 34px; width: 100%; }
.ct-num { position: absolute; top: 26px; right: 30px; font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--texto-2); }
.ct-ic { width: 56px; height: 56px; margin-bottom: 26px; fill: none; stroke: var(--ambar); stroke-width: 1.5; stroke-linecap: round; transition: transform .7s var(--suave); }
@media (hover: hover) and (pointer: fine) { .cartao:hover .ct-ic { transform: translateY(-6px) rotate(-6deg); } }
.cartao h3 { margin: 0 0 10px; font-size: 1.9rem; letter-spacing: -.03em; }
.cartao p { margin: 0; color: var(--texto-2); font-size: .95rem; }
.cartao .preco { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); color: var(--texto); font-size: 1.35rem; font-weight: 700; }
.preco small { display: block; font-family: var(--mono); font-size: .66rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--texto-2); }

.processo { position: relative; margin-top: clamp(80px, 10vw, 130px); }
.passos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.passos li { position: relative; padding-top: 34px; }
.passos li span { font-family: var(--mono); font-size: .8rem; color: var(--vermelho); }
.passos li::before { content: ""; position: absolute; top: -6px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--tinta); border: 2px solid var(--vermelho); z-index: 1; }
.passos h3 { margin: 6px 0 8px; font-size: 1.2rem; }
.passos p { margin: 0; color: var(--texto-2); font-size: .92rem; }
.passos-linha { position: absolute; left: 0; right: 0; top: calc(18px + 1.65em + 0px); height: 1px; background: rgba(255, 255, 255, .1); }
.passos-linha i { position: absolute; inset: 0; background: var(--vermelho); transform: scaleX(var(--prog, 0)); transform-origin: left; }

/* ================= CONTATO ================= */
.ctt-grade { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 7vw, 110px); align-items: center; max-width: 1320px; margin: 0 auto; }
.ctt-titulo { margin: 0 0 30px; font-size: clamp(3rem, 7.5vw, 6.8rem); font-weight: 800; line-height: .95; letter-spacing: -.05em; }
.ctt-titulo em { font-size: 1.1em; font-weight: 400; color: var(--vermelho-2); }
.ctt-texto > p:not(.rotulo) { max-width: 540px; font-size: 1.08rem; color: #3b3833; }
.ctt-botoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.ctt-foto { position: relative; }
.copia-grande { padding: 14px 14px 64px; background: #fff; transform: rotate(3deg); box-shadow: 0 50px 80px -30px rgba(0, 0, 0, .45); overflow: hidden; transition: transform .8s var(--suave); }
@media (hover: hover) and (pointer: fine) { .ctt-foto:hover .copia-grande { transform: rotate(0); } }
.copia-grande img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.fita { position: absolute; top: -16px; left: 50%; width: 120px; height: 34px; transform: translateX(-50%) rotate(-4deg); background: rgba(233, 161, 59, .55); backdrop-filter: blur(2px); }

/* ================= RODAPÉ ================= */
.rodape { padding: 70px var(--lado) 50px; text-align: center; background: var(--tinta); border-top: 1px solid rgba(255, 255, 255, .06); }
.rodape img { width: 120px; height: auto; margin: 0 auto 26px; }
.rodape nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 26px; margin-bottom: 26px; }
.rodape nav a { text-decoration: none; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--texto-2); }
@media (hover: hover) and (pointer: fine) { .rodape nav a:hover { color: var(--texto); } }
.rodape p { margin: 0; font-size: .8rem; color: #6d6962; }

/* WhatsApp */
.zap {
  position: fixed; right: 22px; bottom: 22px; z-index: 95; width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .55);
  opacity: 0; transform: scale(.9); pointer-events: none; transition: transform 400ms var(--ease-out), opacity 300ms ease;
}
.zap.ver { opacity: 1; transform: scale(1); pointer-events: auto; }
.zap svg { width: 30px; height: 30px; fill: #fff; }
.zap::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; opacity: 0; }
.zap.ver::before { animation: pulso 2.4s ease-out .6s 3; }
@keyframes pulso { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ================= PAINEL HISTÓRIA ================= */
.painel { position: fixed; inset: 0; z-index: 150; display: flex; justify-content: flex-end; }
.painel[hidden] { display: none; }
.painel-fundo { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); backdrop-filter: blur(6px); opacity: 0; transition: opacity 300ms ease; }
.painel-corpo {
  position: relative; width: min(680px, 100%); height: 100%; overflow-y: auto; overscroll-behavior: contain;
  background: var(--papel); color: var(--tinta); padding: clamp(60px, 8vw, 90px) clamp(24px, 6vw, 70px) 60px;
  transform: translateX(100%); transition: transform 350ms var(--ease-drawer);
}
.painel.aberto .painel-fundo { opacity: 1; transition-duration: 400ms; }
.painel.aberto .painel-corpo { transform: none; transition-duration: 500ms; }
.painel-corpo p { color: #3b3833; font-size: 1.04rem; }
.capitular::first-letter { float: left; font-family: var(--serif); font-size: 4.6em; line-height: .8; padding: 6px 10px 0 0; color: var(--vermelho-2); }
.painel blockquote { margin: 34px 0; padding-left: 22px; border-left: 2px solid var(--vermelho); font-family: var(--serif); font-style: italic; font-size: 1.6rem; line-height: 1.3; }
.linha-tempo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 40px 0; padding: 26px 0; border-top: 1px solid rgba(0, 0, 0, .12); border-bottom: 1px solid rgba(0, 0, 0, .12); }
.linha-tempo strong { display: block; font-size: 1.6rem; letter-spacing: -.03em; }
.linha-tempo span { font-size: .82rem; color: var(--escuro-2); line-height: 1.4; display: block; }
.fechar { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; font-size: 1.8rem; line-height: 1; border: 1px solid rgba(0, 0, 0, .15); transition: transform .4s var(--suave), background .3s; }
@media (hover: hover) and (pointer: fine) { .fechar:hover { transform: rotate(90deg); background: var(--tinta); color: var(--papel); } }

/* ================= LIGHTBOX ================= */
.lb {
  position: fixed; inset: 0; z-index: 160; background: rgba(8, 8, 8, .97); display: grid;
  grid-template-rows: auto 1fr auto; grid-template-columns: 70px 1fr 70px;
  clip-path: circle(0 at var(--ox, 50%) var(--oy, 50%)); transition: clip-path 400ms var(--ease-in-out);
}
.lb[hidden] { display: none; }
.lb.aberto { clip-path: circle(150% at var(--ox, 50%) var(--oy, 50%)); transition-duration: 550ms; }
.lb-topo { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; padding: 16px 20px 6px; font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--texto-2); }
.lb-cat { color: var(--vermelho); }
.lb-fechar { margin-left: auto; width: 46px; height: 46px; font-size: 2rem; line-height: 1; border-radius: 50%; transition: transform .4s var(--suave); }
@media (hover: hover) and (pointer: fine) { .lb-fechar:hover { transform: rotate(90deg); } }
.lb-palco { grid-column: 2; margin: 0; display: grid; place-items: center; min-height: 0; padding: 10px 0; touch-action: pan-y; }
.lb-palco img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 3px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); transition: opacity 250ms ease, transform 450ms var(--ease-out); }
.lb-palco img.trocando { opacity: 0; transform: scale(.97); }
.lb-nav { align-self: center; justify-self: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); display: grid; place-items: center; transition: background .3s; }
@media (hover: hover) and (pointer: fine) { .lb-nav:hover { background: rgba(255, 255, 255, .1); } }
.lb-tiras { grid-column: 1 / -1; display: flex; gap: 6px; padding: 12px 20px 18px; overflow-x: auto; scrollbar-width: none; justify-content: safe center; }
.lb-tiras::-webkit-scrollbar { display: none; }
.lb-tiras button { flex: none; width: 48px; height: 64px; border-radius: 3px; overflow: hidden; opacity: .35; transition: opacity .3s, transform .3s; outline-offset: 2px; }
.lb-tiras button.ativo { opacity: 1; outline: 1.5px solid var(--papel); }
.lb-tiras img { width: 100%; height: 100%; object-fit: cover; }

/* ================= RESPONSIVO ================= */
@media (max-width: 1080px) {
  .menu, .topo-cta { display: none; }
  .hamburguer { display: block; }
  .cartoes { grid-template-columns: 1fr; }
  .cartao { min-height: 380px; }
  .cartao img { opacity: .45; filter: grayscale(.3); transform: scale(1); }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 100px; padding-bottom: 90px; gap: 44px; text-align: left; }
  .hero-camera { height: auto; width: 100%; max-width: 440px; margin: 0 auto; }
  .visor { height: auto; width: 82%; }
  .copia { width: 34%; }
  .rolar { display: none; }
  .sobre-grade, .exp-grade, .ctt-grade { grid-template-columns: 1fr; }
  .passos { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .passos-linha { display: none; }
  .aparelhos { max-width: 560px; width: 100%; margin: 0 auto; }
  .ctt-foto { max-width: 420px; margin: 20px auto 0; width: 88%; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .hero-titulo { font-size: clamp(2.9rem, 15vw, 4.2rem); }
  .hero-botoes .btn { flex: 1 1 100%; }
  .pessoa, .pessoa:nth-child(2) { grid-template-columns: 120px 1fr; gap: 20px; }
  .pessoa:nth-child(2) .polaroid { order: 0; }
  .polaroid { padding: 7px 7px 30px; }
  .pol-nome { font-size: 1rem; bottom: 4px; }
  .numeros { gap: 18px; }
  .numeros strong { font-size: 1.9rem; }
  .filtros { display: flex; width: 100%; overflow-x: auto; scrollbar-width: none; }
  .filtros button { flex: 1; padding: .75em .9em; font-size: .68rem; letter-spacing: .08em; }
  .galeria { columns: 2; column-gap: 8px; }
  .foto { margin-bottom: 8px; }
  .passos { grid-template-columns: 1fr; }
  .quadro { height: 38vh; }
  .ctt-botoes .btn { flex: 1 1 calc(50% - 6px); padding-left: 1em; padding-right: 1em; }
  .ctt-botoes .btn-vermelho { flex-basis: 100%; }
  .lb { grid-template-columns: 1fr; }
  .lb-nav { display: none; }
  .lb-palco { grid-column: 1; padding: 0 10px; }
  .linha-tempo { grid-template-columns: 1fr; }
  .zap { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}

/* menos movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: 150ms !important; scroll-behavior: auto !important; }
  .grao { display: none; }
  .surge, .revela, .entra, .linha > span, .visor, .copia { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ================= INTERAÇÕES ================= */
/* foco seletivo na galeria: as outras fotos saem de foco */
.galeria.focando .foto:not(.no-foco) img { filter: blur(5px) brightness(.55) saturate(.6); transform: scale(1.01); }
.galeria .foto img.visto { transition: transform 1.1s var(--suave), filter .5s var(--suave), opacity .9s ease; }
/* luz que acompanha o mouse nos cartões */
.cartao::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle at var(--lx, 50%) var(--ly, 50%), rgba(255, 255, 255, .14), transparent 45%);
}
@media (hover: hover) and (pointer: fine) { .cartao:hover::after { opacity: 1; } }
.cartao.visto, .polaroid, .copia-grande { transition: transform .45s var(--suave), opacity 1s var(--suave); }
.mostrar .visor { transition: opacity 1.2s .2s, transform .6s var(--suave); }
.visor { cursor: pointer; transform-style: preserve-3d; }
.quadro img { transition: transform .25s linear; }
.foto img { width: 100%; height: 100%; object-fit: cover; }
.quadro, .copia-grande img, .polaroid img { background: #1c1c1c; }
.cel-tela video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
/* cartões de serviço: foto sempre presente, ganha cor e brilho ao passar o mouse */
@media (min-width: 1081px) {
  .cartao img { opacity: .32; transform: scale(1.06); filter: grayscale(1) brightness(.8); }
  @media (hover: hover) and (pointer: fine) { .cartao:hover img { opacity: 1; transform: scale(1); filter: none; } }
}
/* lightbox: a foto sempre cabe inteira na tela */
.lb { height: 100vh; height: 100dvh; background: #0a0a0a; grid-template-rows: 64px minmax(0, 1fr) 96px; }
.lb-palco { position: relative; min-height: 0; height: 100%; overflow: hidden; padding: 8px 0; }
.lb-palco img { width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 176px); max-height: calc(100dvh - 176px); }
@media (max-width: 560px) {
  .lb { grid-template-rows: 58px minmax(0, 1fr) 88px; }
  .lb-palco img { max-height: calc(100dvh - 162px); }
}
.ver-mais { display: flex; margin: 34px auto 0; }
.ver-mais[hidden] { display: none; }
.ver-mais .seta { transform: rotate(90deg); }
@media (hover: hover) and (pointer: fine) { .ver-mais:hover .seta { transform: rotate(90deg) translateX(3px); } }

/* ===== rolo de filme v2: sem travar a rolagem ===== */
.rolo { height: auto; padding: clamp(80px, 10vw, 130px) 0; }
.rolo-fixo { position: static; height: auto; gap: clamp(30px, 4vw, 50px); overflow: visible; }
.filme { overflow: hidden; }
.filme-trilho { padding: 0; gap: 14px; animation: filmeCorre 70s linear infinite; animation-play-state: paused; }
.filme-trilho.rodando { animation-play-state: running; }
@media (hover: hover) and (pointer: fine) { .filme:hover .filme-trilho { animation-play-state: paused; } }
@keyframes filmeCorre { to { transform: translate3d(calc(-50% - 7px), 0, 0); } }
.quadro { height: clamp(220px, 34vw, 380px); }
.quadro img { transform: scale(1.04); transition: transform .8s var(--suave), filter .5s; }
@media (hover: hover) and (pointer: fine) { .quadro:hover img { transform: scale(1.12); } }
@media (hover: hover) and (pointer: fine) { .filme:hover .quadro:not(:hover) img { filter: brightness(.55) saturate(.7); } }
@media (max-width: 560px) { .quadro { height: 260px; } .filme-trilho { animation-duration: 50s; } }
@media (prefers-reduced-motion: reduce) { .filme { overflow-x: auto; } .filme-trilho { animation: none; } }

/* =========================================================
   V3 • depoimentos, dúvidas e novas transições
   ========================================================= */
/* barra de progresso da leitura */
#progresso { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
#progresso i { display: block; height: 100%; background: var(--vermelho); transform: scaleX(var(--p, 0)); transform-origin: left; }

/* seções como "folhas" que sobem uma sobre a outra */
.secao, .rolo { border-radius: 34px 34px 0 0; margin-top: -34px; position: relative; }
#sobre { border-radius: 0; margin-top: 0; }
.rodape { position: relative; border-radius: 34px 34px 0 0; margin-top: -34px; }
.contato { padding-bottom: calc(clamp(90px, 13vw, 170px) + 34px); }
@media (max-width: 560px) { .secao, .rolo, .rodape { border-radius: 22px 22px 0 0; margin-top: -22px; } #sobre { border-radius: 0; margin-top: 0; } }

/* títulos: palavras sobem de trás de uma máscara */
.pal { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .16em .04em .1em; margin: -.16em -.04em -.1em; }
.pal > span { display: inline-block; transform: translateY(110%) rotate(5deg); transform-origin: left bottom; transition: transform 1s var(--suave); transition-delay: calc(var(--i) * 70ms); }
.visto .pal > span, .mostrar .pal > span { transform: none; }
.titulo.dividido { opacity: 1; transform: none; }

/* rótulo com traço que se desenha */
.rotulo.surge { display: flex; align-items: center; gap: 12px; }
.rotulo.surge::before { content: ""; width: 34px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .9s .2s var(--suave); }
.rotulo.surge.visto::before { transform: scaleX(1); }

/* fotos da galeria: cortina + revelação */
.foto { clip-path: inset(0 0 100% 0); }
.foto.entrou { clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--suave), opacity .5s, transform .6s var(--suave); }

/* ---------- depoimentos ---------- */
.depo-grade { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 22px; align-items: center; max-width: 1320px; margin: 0 auto; }
.depo {
  position: relative; margin: 0; padding: 38px 32px 30px; background: #fff; border-radius: 6px; transform: rotate(var(--giro));
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35); transition: transform .5s var(--suave), opacity 1s var(--suave), box-shadow .5s;
}
.depo.visto { transform: rotate(var(--giro)); }
@media (hover: hover) and (pointer: fine) { .depo:hover { box-shadow: 0 40px 70px -28px rgba(0, 0, 0, .45); } }
.depo-destaque { background: var(--tinta); color: var(--papel); padding: 48px 40px 36px; }
.depo-aspas { position: absolute; top: -6px; left: 24px; font-family: var(--serif); font-size: 6.5rem; line-height: 1; color: var(--vermelho); }
.depo-texto { margin: 22px 0 26px; font-family: var(--serif); font-size: 1.42rem; line-height: 1.32; font-style: italic; }
.depo-destaque .depo-texto { font-size: 1.5rem; }
.depo-texto .pl { opacity: .12; transition: opacity .6s; transition-delay: calc(var(--i) * 28ms); }
.depo.visto .depo-texto .pl { opacity: 1; }
.depo figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid rgba(0, 0, 0, .1); }
.depo-destaque figcaption { border-color: rgba(255, 255, 255, .14); }
.depo-inicial { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--vermelho); color: #fff; font-weight: 800; flex: none; }
.depo figcaption strong { display: block; font-size: .98rem; }
.depo figcaption small { font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--escuro-2); }
.depo-destaque figcaption small { color: var(--texto-2); }
.depo-estrelas { margin-top: 18px; display: flex; gap: 4px; color: var(--ambar); font-size: 1.15rem; }
.depo-estrelas i { font-style: normal; opacity: 0; transform: scale(.85) rotate(-25deg); transition: transform .6s var(--ease-out), opacity .4s ease; transition-delay: calc(.5s + var(--i, 0) * 70ms); }
.depo.visto .depo-estrelas i { opacity: 1; transform: none; }
.depo-estrelas i:nth-child(2) { --i: 1; } .depo-estrelas i:nth-child(3) { --i: 2; } .depo-estrelas i:nth-child(4) { --i: 3; } .depo-estrelas i:nth-child(5) { --i: 4; }

/* ---------- dúvidas ---------- */
.duvidas { background: var(--tinta); }
.duv-grade { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 100px); max-width: 1320px; margin: 0 auto; align-items: start; }
.duv-grade .cabeca { position: sticky; top: 110px; margin: 0; }
.duv-sub { color: var(--texto-2); }
.duv-sub a { color: var(--texto); text-decoration: none; border-bottom: 1px solid var(--vermelho); }
.faq details { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.faq details:first-child { border-top: 1px solid rgba(255, 255, 255, .12); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; transition: color .3s, transform .4s var(--ease-out);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2);
  background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  transition: transform .5s var(--suave), background-color .3s, border-color .3s;
}
@media (hover: hover) and (pointer: fine) { .faq summary:hover { transform: translateX(10px); } .faq summary:hover::after { transform: translateX(-10px); } .faq details[open] summary:hover::after { transform: translateX(-10px) rotate(135deg); } }
.faq details[open] summary { color: #fff; }
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--vermelho); border-color: var(--vermelho); }
.faq details > div { overflow: hidden; }
.faq details p { margin: 0; padding: 0 60px 26px 0; color: var(--texto-2); max-width: 640px; }

@media (max-width: 1080px) {
  .depo-grade { grid-template-columns: 1fr; max-width: 620px; gap: 26px; }
  .duv-grade { grid-template-columns: 1fr; }
  .duv-grade .cabeca { position: static; margin-bottom: 30px; }
}
@media (max-width: 560px) {
  .depo { padding: 34px 24px 24px; } .depo-destaque { padding: 40px 26px 28px; }
  .depo-texto, .depo-destaque .depo-texto { font-size: 1.28rem; }
  .faq summary { font-size: 1.02rem; padding: 20px 0; }
  .faq details p { padding-right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .pal > span, .depo-texto .pl, .depo-estrelas i { transform: none !important; opacity: 1 !important; }
  .foto { clip-path: none !important; }
}
/* correção: a cortina fica na imagem, não no botão */
.foto, .foto.entrou { clip-path: none; }
.foto img { clip-path: inset(0 0 100% 0); }
.foto.entrou img { clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--suave), filter 1.3s var(--ease-out), opacity .9s ease, transform 1.6s var(--ease-out); }
.galeria.focando .foto.entrou:not(.no-foco) img { transition: clip-path 1.1s var(--suave), filter .5s var(--suave), transform 1.1s var(--suave); }
@media (prefers-reduced-motion: reduce) { .foto img { clip-path: none !important; } }
.foto img { object-position: center 30%; }
/* galeria sem cortina (mais confiável em todos os navegadores) */
.foto img, .foto.entrou img { clip-path: none !important; }
/* o foco seletivo só desfoca fotos já reveladas */
.galeria.focando .foto:not(.entrou) img { filter: brightness(1.9) saturate(0) contrast(.8); }

/* WebP com reserva em JPEG: o <picture> não interfere no layout */
picture { display: contents; }

/* =========================================================
   V4 • acabamento com as skills do Emil Kowalski
   ========================================================= */
/* celular com cara de app: sem flash ao tocar, toque sem atraso, texto de botão não seleciona */
html { -webkit-tap-highlight-color: transparent; }
a, button, summary, [role="button"], [role="tab"] { touch-action: manipulation; }
button, .btn, summary, .filtros button, .lb-tiras button { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.btn { touch-action: manipulation; }
/* botão magnético: só o conteúdo é puxado; a caixa nunca sai do lugar */
.btn-conteudo { display: inline-flex; align-items: center; justify-content: center; gap: .6em; will-change: transform; }
/* elementos inclinados pelo mouse: a mola (JS) manda no movimento, sem transição brigando */
.inclinando { transition: opacity .3s ease, box-shadow .5s ease !important; }
/* fotos que deslizam até o novo lugar ao trocar o filtro */
.foto.deslizando { transition: transform 600ms var(--ease-in-out), opacity .3s ease !important; }
.foto.some { transition: opacity 250ms ease, transform 300ms var(--ease-out); }

/* ---- performance (skill animation-performance) ---- */
/* luz dos cartões: variáveis que não se espalham pelos filhos a cada quadro */
@property --lx { syntax: '<percentage>'; inherits: false; initial-value: 50%; }
@property --ly { syntax: '<percentage>'; inherits: false; initial-value: 50%; }
/* celular: grão parado (camada enorme animando sem parar) e topo sem desfoque refeito a cada rolagem */
@media (hover: none), (pointer: coarse) {
  .grao { animation: none; inset: 0; }
  #topo.solido { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(17, 17, 17, .94); }
}
/* ---- áreas seguras do iPhone (skill mobile-native) ---- */
#topo { padding-left: max(var(--lado), env(safe-area-inset-left, 0px)); padding-right: max(var(--lado), env(safe-area-inset-right, 0px)); }
.zap { bottom: calc(22px + env(safe-area-inset-bottom, 0px)); right: calc(22px + env(safe-area-inset-right, 0px)); }
@media (max-width: 560px) { .zap { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); right: calc(16px + env(safe-area-inset-right, 0px)); } }

/* =========================================================
   V5 • animações novas e trocadas (skills find-animation-opportunities + choreograph)
   cada elemento tem um dono de movimento só
   ========================================================= */
/* equipe: a polaroide "cai na mesa" girando até o ângulo; o texto vem depois */
.pessoa.surge { opacity: 1; transform: none; }
.pessoa.surge .polaroid { opacity: 0; transform: translateY(-40px) rotate(calc(var(--giro) * -3)) scale(1.08); }
.pessoa.surge.visto .polaroid { opacity: 1; transform: rotate(var(--giro)); transition: transform 1.1s var(--ease-out), opacity .5s ease; transition-delay: var(--atraso, 0s); }
.pessoa.surge .pessoa-info { opacity: 0; transform: translateY(16px); }
.pessoa.surge.visto .pessoa-info { opacity: 1; transform: none; transition: opacity .8s ease, transform .9s var(--ease-out); transition-delay: calc(var(--atraso, 0s) + .25s); }

/* depoimentos: entram como cartas sendo distribuídas */
.depo.surge:not(.visto) { transform: translateY(60px) rotate(calc(var(--giro) * 5)); }
.depo.surge.visto { transition: transform 1.1s var(--ease-out), opacity .8s ease, box-shadow .5s ease; }

/* serviços: o cartão abre em cortina e o conteúdo sobe depois */
.cartao.surge { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round 6px); }
.cartao.surge.visto { clip-path: inset(0 0 0 0 round 6px); transition: clip-path 1.1s var(--ease-in-out), transform .45s var(--ease-out); }
.cartao.surge .ct-corpo { opacity: 0; transform: translateY(24px); }
.cartao.surge.visto .ct-corpo { opacity: 1; transform: none; transition: opacity .7s ease, transform .9s var(--ease-out); transition-delay: calc(var(--atraso, 0s) + .45s); }

/* como funciona: cada etapa acende quando a linha chega nela */
.passos li::before { transition: background-color .4s ease, box-shadow .6s var(--ease-out), transform .5s var(--ease-out); }
.passos li span { transition: color .4s ease; }
.passos li.ativo::before { background: var(--vermelho); box-shadow: 0 0 0 6px rgba(215, 38, 43, .18); transform: scale(1.15); }
.passos li.ativo span { color: #fff; }
@media (max-width: 900px) {
  .passos li.visto::before { background: var(--vermelho); box-shadow: 0 0 0 6px rgba(215, 38, 43, .18); transition-delay: calc(var(--atraso, 0s) + .4s); }
}

/* painel "nossa história": o texto entra em sequência depois da gaveta */
.painel-corpo > :not(.fechar) { opacity: 0; transform: translateY(18px); transition: opacity 150ms ease, transform 150ms ease; }
.painel.aberto .painel-corpo > :not(.fechar) { opacity: 1; transform: none; transition: opacity 600ms ease, transform 700ms var(--ease-out); transition-delay: var(--d, 0ms); }

/* ampliação: as miniaturas sobem em sequência ao abrir */
.lb.aberto .lb-tiras button { animation: tira-entra 500ms var(--ease-out) backwards; animation-delay: calc(200ms + var(--i, 0) * 30ms); }
@keyframes tira-entra { from { opacity: 0; transform: translateY(16px); } }

/* contato: a fita adesiva "cola" depois que a foto aparece */
.ctt-foto.surge .fita { opacity: 0; transform: translateX(-50%) rotate(-12deg) scaleX(.5); }
.ctt-foto.surge.visto .fita { opacity: 1; transform: translateX(-50%) rotate(-4deg); transition: opacity .3s ease .7s, transform .6s var(--ease-out) .7s; }


@media (prefers-reduced-motion: reduce) {
  .pessoa.surge .polaroid, .pessoa.surge .pessoa-info, .cartao.surge .ct-corpo, .painel-corpo > :not(.fechar), .ctt-foto.surge .fita { opacity: 1 !important; }
  .pessoa.surge .pessoa-info, .cartao.surge .ct-corpo, .painel-corpo > :not(.fechar) { transform: none !important; }
  .pessoa.surge .polaroid { transform: rotate(var(--giro)) !important; }
  .depo.surge:not(.visto) { transform: rotate(var(--giro)) !important; }
  .ctt-foto.surge .fita { transform: translateX(-50%) rotate(-4deg) !important; }
  .cartao.surge { clip-path: none !important; }
}
/* a faixa vermelha inclinada não alarga mais a página no celular */
html, body { overflow-x: clip; }

/* =========================================================
   V6 • menos travadas: os mesmos efeitos, só com opacity/transform
   ========================================================= */
/* galeria: a foto surge (fade + leve zoom) sem filtro redesenhado a cada quadro */
.galeria .foto img.revela { filter: none; }
.galeria.focando .foto:not(.entrou) img { filter: none; }
/* foco seletivo: as outras fotos escurecem (antes: desfoque em ~11 fotos ao mesmo tempo) */
.galeria.focando .foto:not(.no-foco) img { filter: none; transform: none; opacity: .35; }
.galeria.focando .foto.entrou:not(.no-foco) img { transition: opacity .35s ease, transform 1.1s var(--ease-out); }
.galeria .foto img.revela:not(.visto) { opacity: 0; transform: scale(1.08); }
/* rolo de filme: as outras fotos escurecem sem filtro */
.quadro img { transition: transform .8s var(--suave), opacity .4s ease; }
@media (hover: hover) and (pointer: fine) { .filme:hover .quadro:not(:hover) img { filter: none; opacity: .45; } }
