/* O Olhar Cinematográfico — base compartilhada (mesma identidade do portfólio moraezvisual) */
:root {
  --obsidian: #050407;
  --charcoal: #141218;
  --surface: #201D25;
  --camel: #C68F67;
  --bronze: #B27456;
  --sky: #798B9A;
  --ivory: #F5F2ED;
  --ivory-80: rgba(245, 242, 237, .8);
  --ivory-70: rgba(245, 242, 237, .7);
  --ivory-45: rgba(245, 242, 237, .45);
  --line: rgba(245, 242, 237, .12);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
* { -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--obsidian); color: var(--ivory);
  font-family: var(--sans); font-weight: 300; line-height: 1.6;
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
::selection { background: var(--camel); color: var(--obsidian); }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
em { font-style: italic; }
[hidden] { display: none !important; }
.mono { font-family: var(--mono); font-weight: 400; letter-spacing: .14em; text-transform: uppercase; font-size: 11px; }
.ouro { color: var(--camel); }

.glass {
  background: linear-gradient(135deg, rgba(245, 242, 237, .09), rgba(245, 242, 237, .025));
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(245, 242, 237, .13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 24px 60px -20px rgba(0, 0, 0, .55);
}
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06;
  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: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0,0); } 25% { transform: translate(-3%,2%); } 50% { transform: translate(2%,-3%); } 75% { transform: translate(3%,3%); } }
@media (hover: none), (pointer: coarse) { .grain { animation: none; opacity: .04; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 18px 28px; border-radius: 999px; border: 0;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s, transform .3s var(--ease-out);
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-gold { background: var(--camel); color: var(--obsidian); }
.btn-gold:hover { background: var(--ivory); }
.btn-ghost { color: var(--ivory); }
.btn-ghost:hover { color: var(--camel); border-color: var(--camel); }

.vf { position: absolute; width: 16px; height: 16px; border: 0 solid rgba(198, 143, 103, .85); pointer-events: none; }
.vf-tl { top: 14px; left: 14px; border-top-width: 2px; border-left-width: 2px; }
.vf-tr { top: 14px; right: 14px; border-top-width: 2px; border-right-width: 2px; }
.vf-bl { bottom: 14px; left: 14px; border-bottom-width: 2px; border-left-width: 2px; }
.vf-br { bottom: 14px; right: 14px; border-bottom-width: 2px; border-right-width: 2px; }

.marca-m {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-family: var(--serif); font-size: 22px; color: var(--camel); border: 1px solid rgba(198, 143, 103, .45);
}
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } }
