/* =========================================================================
   viana — editor de vídeo
   Tema: luz suave, vidro e azul. Fundo claro em movimento lento, painéis
   translúcidos com desfoque, tipografia de sistema (estilo SF Pro).
   ========================================================================= */

:root {
  --white:      #ffffff;
  --bg-a:       #f3f8ff;
  --bg-b:       #e7f1fd;
  --bg-c:       #dceafd;

  --ink:        #0f1720;
  --ink-2:      #1d2733;
  --mute:       #57616f;
  --mute-2:     #8892a0;

  --accent:     #0a84ff;
  --accent-2:   #64d2ff;
  --accent-ink: #ffffff;

  --line:       rgba(15, 23, 32, 0.09);
  --line-soft:  rgba(15, 23, 32, 0.06);

  --glass:      rgba(255, 255, 255, 0.55);
  --glass-2:    rgba(255, 255, 255, 0.38);
  --glass-brd:  rgba(255, 255, 255, 0.75);
  --glass-shadow: 0 24px 60px -28px rgba(20, 60, 120, 0.28);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --pad:  clamp(1.15rem, 4.5vw, 4.5rem);
  --maxw: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

.hero, .sec { scroll-margin-top: 96px; }

body {
  margin: 0;
  background: var(--bg-a);
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(1rem, 0.3vw + 0.95rem, 1.06rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open,
body.lb-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- fundo: luz azul suave em movimento lento --------------------- */
.bg-anim {
  position: fixed; inset: -12%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(38% 32% at 18% 22%, rgba(100, 170, 255, 0.55), transparent 60%),
    radial-gradient(42% 38% at 84% 14%, rgba(140, 210, 255, 0.5), transparent 62%),
    radial-gradient(48% 44% at 30% 92%, rgba(180, 220, 255, 0.55), transparent 62%),
    radial-gradient(46% 42% at 88% 88%, rgba(210, 235, 255, 0.6), transparent 64%),
    linear-gradient(180deg, var(--bg-a), var(--bg-b) 55%, var(--bg-c));
  filter: blur(60px) saturate(115%);
}
.bg-grain {
  position: fixed; inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image: radial-gradient(rgba(255, 255, 255, 0.7) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
}

/* ---------- cursor de progresso no topo da página ------------------------- */
.scrub {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 55;
  background: transparent;
}
.scrub i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(10, 255, 10, 0.5);
}

/* =========================================================================
   BARRA DE TOPO
   ========================================================================= */
.bar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.9rem var(--pad);
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease), padding 0.45s var(--ease);
  background: rgba(255, 255, 255, 0.70);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
}
.bar.stuck {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--line);
  padding-top: 0.65rem; padding-bottom: 0.65rem;
  box-shadow: 0 8px 30px -18px rgba(20, 60, 120, 0.35);
}

.brand {
  display: flex; align-items: baseline; gap: 0.5rem;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  margin-right: auto;
  color: var(--ink);
}
.brand-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  align-self: center;
  box-shadow: 0 0 0 0 rgba(10, 132, 255, 0.55);
  animation: pulse 2.6s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(10, 132, 255, 0.45); }
  70%  { box-shadow: 0 0 0 9px rgba(10, 132, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(10, 132, 255, 0); }
}
.brand-tag {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--mute-2);
}

.nav { display: flex; gap: 1.8rem; }
.nav a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--mute);
  padding: 0.2rem 0;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

.burger {
  display: none;
  width: 42px; height: 34px;
  background: rgba(255,255,255,0.5); border: 1px solid var(--line); border-radius: 10px;
  padding: 0 9px; cursor: pointer;
}
.burger span {
  display: block; height: 2px; border-radius: 2px; background: var(--ink); margin: 5px 0;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.burger[aria-expanded='true'] span:first-child { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded='true'] span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  padding: clamp(5.5rem, 11vw, 7rem) var(--pad) clamp(3rem, 6vw, 5rem);
  isolation: isolate;
  overflow: hidden;
}

.hero-banner {
  position: absolute; top: 0; left: 0; right: 0;
  height: clamp(300px, 44vh, 430px);
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.hero-banner img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: blur(5px) saturate(112%) brightness(0.96);
  transform: scale(1.14);
  mask-image: linear-gradient(to bottom, #000 0%, #000 42%, transparent 92%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 42%, transparent 92%);
}

.hero-banner::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1%;
  backdrop-filter: blur(46px);
  -webkit-backdrop-filter: blur(46px);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 55%, #000 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 55%, #000 100%);
}

.hero-inner {
  width: 100%; max-width: 640px;
  margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}

.hero-photo {
  position: relative;
  width: clamp(126px, 17vw, 168px);
  aspect-ratio: 1;
}
.hero-photo::before {
  content: '';
  position: absolute; inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.42), rgba(100, 210, 255, 0.22) 55%, transparent 76%);
  filter: blur(20px);
  z-index: -1;
  opacity: 0.75;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 50%;
  display: block;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px -16px rgba(15, 23, 32, 0.35);
}
h1 {
  font-weight: 700;
  font-size: clamp(2.3rem, 6vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 1.4rem 0 1.1rem;
  color: var(--ink);
}
.h1-line { display: block; }
h1 em {
  font-style: normal;
  font-weight: 800;
  background: linear-gradient(120deg, #0055d4, var(--accent), #0055d4);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 18px rgba(10, 85, 212, 0.25);
  animation: shine 7s linear infinite;
}
@keyframes shine { to { background-position: -220% center; } }

.lede {
  margin: 0 auto 2.2rem;
  color: var(--mute);
  max-width: 46ch;
  font-size: 1.02rem;
}
.lede-note {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--mute-2);
}

.hero-reel {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.hero-reel .frame,
.featured-frame .frame,
#featured-stage .frame {
  aspect-ratio: 16 / 9 !important;
  max-height: none;
  width: 100%;
}

.hero-reel .frame.vertical,
#featured-stage .frame.vertical {
  aspect-ratio: 16 / 9 !important;
}

/* =========================================================================
   MARQUEE
   ========================================================================= */
.marquee {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  overflow: hidden;
  padding: 0.9rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 1.4rem;
  width: max-content;
  animation: slide 34s linear infinite;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--mute);
  white-space: nowrap;
}
.marquee-track .sep { color: var(--accent); }
@keyframes slide { to { transform: translateX(-50%); } }

/* =========================================================================
   SECÇÕES
   ========================================================================= */
.sec {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 8rem) var(--pad);
}
.sec-head { margin-bottom: clamp(1.6rem, 3.5vw, 2.6rem); max-width: 62ch; }
h2 {
  font-weight: 700;
  font-size: clamp(1.9rem, 4.6vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.sec-sub { margin: 0.8rem 0 0; color: var(--mute); max-width: 52ch; }

.sec-kicker {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.grid-label {
  margin: 0 0 1.15rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute-2);
}
.longform-label { margin-top: clamp(3rem, 6vw, 4.5rem); }

/* =========================================================================
   PLAYER / QUADRADOS DE VÍDEO
   ========================================================================= */
.frame {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  background: linear-gradient(160deg, rgba(255,255,255,0.6), rgba(220,236,255,0.45));
  border: 1px solid var(--glass-brd);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  backdrop-filter: blur(16px);
  box-shadow: var(--glass-shadow);
  transition: border-color 0.5s var(--ease), box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.frame.vertical { aspect-ratio: 9 / 16; }
.frame:hover { transform: translateY(-3px); box-shadow: 0 30px 70px -30px rgba(10, 90, 200, 0.4); }
.frame.is-empty { cursor: default; }
.frame.is-playing { cursor: default; }

.frame .corner {
  position: absolute;
  width: 14px; height: 14px;
  border: 1.5px solid rgba(15, 23, 32, 0.18);
  transition: width 0.5s var(--ease), height 0.5s var(--ease), border-color 0.5s var(--ease);
  z-index: 3;
  pointer-events: none;
}
.frame .c1 { top: 12px; left: 12px; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.frame .c2 { top: 12px; right: 12px; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.frame .c3 { bottom: 12px; left: 12px; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }
.frame .c4 { bottom: 12px; right: 12px; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }
.frame:hover .corner { width: 20px; height: 20px; border-color: var(--accent); }

.frame-body {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  gap: 0.9rem;
  text-align: center;
  padding: 1.5rem;
  z-index: 2;
  transition: opacity 0.45s var(--ease);
}
.frame.has-preview .frame-body,
.frame.has-frame .frame-body,
.frame.has-preview:hover .frame-body,
.frame.has-preview.in-view .frame-body,
.frame.has-preview.is-playing .frame-body { opacity: 0; pointer-events: none; }

.frame-cover {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.78;
  transition: opacity 0.6s var(--ease), transform 4.5s var(--ease);
  z-index: 0;
}
.frame:hover .frame-cover { opacity: 0.92; transform: scale(1.08); }

/* pré-visualização muda em loop */
.frame-preview {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  background: #0b1220;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.frame-preview::-webkit-media-controls,
.frame-preview::-webkit-media-controls-enclosure,
.frame-preview::-webkit-media-controls-start-playback-button {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.frame.has-frame .frame-preview,
.frame.has-preview.in-view .frame-preview { opacity: 1; }

/* quando não há preview, a capa “vive” sozinha */
.frame:not(.has-preview):not(.is-empty) .frame-cover {
  transform: scale(1.02);
}

.play {
  display: grid; place-items: center;
  width: clamp(52px, 6vw, 76px); aspect-ratio: 1;
  border: 1px solid var(--glass-brd);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 26px -14px rgba(20, 60, 120, 0.35);
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease), color 0.45s var(--ease), transform 0.45s var(--ease);
}
.play svg { width: 38%; height: 38%; fill: currentColor; stroke: none; margin-left: 8%; }
.frame:not(.is-empty):hover .play {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: scale(1.08);
}
.frame.is-empty .play { border-style: dashed; border-color: rgba(15, 23, 32, 0.18); color: var(--mute-2); background: rgba(255,255,255,0.35); }

.frame-note {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--mute);
  margin: 0;
}
.frame-tc {
  position: absolute; left: 1rem; bottom: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  z-index: 3;
}
.frame-badge {
  position: absolute; right: 1rem; top: 1rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  z-index: 3;
}

.frame video, .frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  background: #000;
}
.frame.vertical .inline-wrap {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: #000;
}
.frame.vertical .inline-wrap video,
.frame.vertical .inline-wrap iframe {
  position: relative;
  width: auto; height: 100%;
  aspect-ratio: 9 / 16;
}

.reel-meta {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem 1.4rem;
  margin-top: 1.3rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-soft);
}
.reel-meta h3 {
  margin: 0;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
}
.reel-meta p { margin: 0; color: var(--mute); font-size: 0.95rem; }
.reel-meta .reel-dur {
  margin-left: auto;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--mute-2);
}

/* ---------- showreel player --------------------------------------------- */
.featured-player { width: 100%; }
.fp-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #0b1220;
  border: 1px solid var(--glass-brd);
  box-shadow: var(--glass-shadow);
}
.fp-poster,
.fp-stage video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.fp-poster {
  z-index: 2;
  transition: opacity 0.35s var(--ease);
}
.featured-player.is-playing .fp-poster { opacity: 0; pointer-events: none; }
.fp-stage video { z-index: 1; background: #0b1220; }

.fp-bigplay {
  position: absolute; inset: 0;
  z-index: 3;
  display: grid; place-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: #fff;
}
.fp-bigplay svg {
  width: 64px; height: 64px;
  fill: currentColor; stroke: none;
  padding: 18px 16px 18px 22px;
  border-radius: 50%;
  background: rgba(10, 132, 255, 0.92);
  box-shadow: 0 16px 36px -14px rgba(10, 132, 255, 0.7);
}
.featured-player.is-playing .fp-bigplay { display: none; }

.fp-hint {
  position: absolute; top: 1rem; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  margin: 0;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 32, 0.62);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  pointer-events: none;
}

.fp-controls {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 5;
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.7rem 0.85rem calc(0.7rem + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(8, 14, 24, 0.78), transparent);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.fp-stage:hover .fp-controls,
.fp-controls:focus-within,
.featured-player.is-paused .fp-controls,
.featured-player.is-playing .fp-controls { opacity: 1; transform: none; }

.fp-btn {
  width: 32px; height: 32px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border: 0; border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  padding: 0;
}
.fp-btn svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }
#fp-toggle .ico-pause { display: none; }
.featured-player.is-playing #fp-toggle .ico-play { display: none; }
.featured-player.is-playing #fp-toggle .ico-pause { display: block; }
#fp-mute .ico-muted { display: none; }
.featured-player.is-muted #fp-mute .ico-vol { display: none; }
.featured-player.is-muted #fp-mute .ico-muted { display: block; }

.fp-time {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  min-width: 2.4rem;
  font-variant-numeric: tabular-nums;
}
.fp-seek, .fp-vol {
  accent-color: var(--accent);
  cursor: pointer;
  height: 4px;
}
.fp-seek { flex: 1; min-width: 0; }
.fp-vol { width: 72px; }

/* =========================================================================
   TRABALHOS
   ========================================================================= */
.work {
  min-width: 0;
  content-visibility: auto;
  contain-intrinsic-size: 420px;
}

.work-grid-vert {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.4rem, 2.6vw, 2.2rem) clamp(0.9rem, 1.8vw, 1.6rem);
  align-items: start;
}
.work-grid-horiz {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 2.6vw, 2.2rem);
  align-items: start;
}

.work-info {
  display: flex; align-items: flex-start; gap: 0.7rem;
  margin-top: 0.85rem;
}
.work-copy { min-width: 0; flex: 1; }
.work-info h3 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(0.98rem, 1.3vw, 1.12rem);
  line-height: 1.25;
  color: var(--ink);
}
.work-text {
  margin: 0.22rem 0 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--mute);
  line-height: 1.35;
}
.work-origem {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--mute-2);
  flex-shrink: 0;
  white-space: nowrap;
  padding-top: 0.15rem;
}
.work-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--mute);
  transition: color 0.3s var(--ease);
}
.work-link svg { width: 12px; height: 12px; transition: transform 0.35s var(--ease); }
.work-link:hover { color: var(--accent); }
.work-link:hover svg { transform: translate(2px, -2px); }

/* stagger extra nos cartões da grelha */
.work-grid-vert .work:nth-child(4n + 2) { transition-delay: 80ms; }
.work-grid-vert .work:nth-child(4n + 3) { transition-delay: 160ms; }
.work-grid-vert .work:nth-child(4n + 4) { transition-delay: 240ms; }

/* =========================================================================
   SOBRE
   ========================================================================= */
.about { padding-top: clamp(3.5rem, 8vw, 6.5rem); }

.about-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 4vw, 3.6rem);
  padding: clamp(2.2rem, 5vw, 3.6rem);
  border: 1px solid var(--glass-brd);
  border-radius: 32px;
  background:
    radial-gradient(90% 80% at 8% 0%, rgba(10, 132, 255, 0.12), transparent 55%),
    var(--glass);
  backdrop-filter: blur(22px);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
}

.about-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  pointer-events: none;
  opacity: 0.7;
}
.about-orb-a {
  width: 280px; height: 280px;
  top: -90px; right: -40px;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.35), transparent 70%);
}
.about-orb-b {
  width: 220px; height: 220px;
  bottom: -80px; left: 18%;
  background: radial-gradient(circle, rgba(100, 210, 255, 0.4), transparent 70%);
}

.about-copy { position: relative; z-index: 1; }
.about-copy h2 { max-width: 12ch; }
.about-copy h2 .word {
  display: inline-block;
  margin-right: 0.28em;
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  animation: wordIn 0.8s var(--ease) forwards;
}
.about-shell.in .about-copy h2 .word:nth-child(1) { animation-delay: 0.05s; }
.about-shell.in .about-copy h2 .word:nth-child(2) { animation-delay: 0.16s; }
.about-shell.in .about-copy h2 .word:nth-child(3) { animation-delay: 0.28s; }
.about-shell.in .about-copy h2 .word:nth-child(4) { animation-delay: 0.42s; }
.about-copy h2 .word.accent {
  background: linear-gradient(120deg, #0055d4, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes wordIn {
  to { opacity: 1; transform: none; filter: blur(0); }
}

.about-lead {
  margin: 1.35rem 0 0.85rem;
  color: var(--ink-2);
  font-size: 1.05rem;
  max-width: 46ch;
}
.about-body {
  margin: 0;
  color: var(--mute);
  max-width: 48ch;
}

/* =========================================================================
   PORQUÊ / SERVIÇOS
   ========================================================================= */
.why { padding-top: clamp(2.4rem, 6vw, 4.2rem); }

.why-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.why-card {
  position: relative;
  padding: 1.35rem 1.3rem 1.4rem;
  border: 1px solid var(--glass-brd);
  border-radius: 22px;
  background: var(--glass);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -28px rgba(20, 60, 120, 0.28);
  min-width: 0;
}
.why-card h3 {
  margin: 0.35rem 0 0.45rem;
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.why-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--mute);
  line-height: 1.5;
}
.why-n {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
}

/* =========================================================================
   CONTACTO / CTA
   ========================================================================= */
.contact { padding-bottom: clamp(3rem, 7vw, 6rem); }

.cta-shell {
  position: relative;
  padding: clamp(2.6rem, 6vw, 4.6rem) clamp(1.8rem, 5vw, 4rem);
  border: 1px solid var(--glass-brd);
  border-radius: 32px;
  background:
    radial-gradient(90% 120% at 92% 8%, rgba(10, 132, 255, 0.22), transparent 52%),
    radial-gradient(70% 80% at 8% 100%, rgba(100, 210, 255, 0.18), transparent 55%),
    var(--glass);
  backdrop-filter: blur(22px);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  text-align: left;
}

.cta-orb {
  position: absolute;
  width: 360px; height: 360px;
  right: -80px; top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.38), transparent 68%);
  filter: blur(24px);
  pointer-events: none;
}

.cta-frame {
  position: absolute; inset: 18px;
  pointer-events: none;
}
.cta-frame .corner {
  position: absolute;
  width: 22px; height: 22px;
  border: 1.5px solid rgba(10, 132, 255, 0.35);
}
.cta-frame .c1 { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.cta-frame .c2 { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.cta-frame .c3 { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.cta-frame .c4 { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.cta-shell.in .cta-frame .corner {
  animation: cornerGrow 1s var(--ease) both;
}
@keyframes cornerGrow {
  from { width: 8px; height: 8px; opacity: 0; }
  to   { width: 22px; height: 22px; opacity: 1; }
}

.cta-title {
  max-width: 16ch;
  margin: 0.2rem 0 1rem;
}
.cta-line { display: block; }
.cta-title em {
  font-style: normal;
  background: linear-gradient(120deg, #0055d4, var(--accent), #64d2ff);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 8s linear infinite;
}
.cta-shell.in .cta-title .cta-line {
  opacity: 0;
  transform: translateY(24px);
  animation: wordIn 0.85s var(--ease) forwards;
}
.cta-shell.in .cta-title .cta-line:nth-child(2) { animation-delay: 0.14s; }

.cta-sub {
  color: var(--mute);
  max-width: 42ch;
  margin: 0 0 2rem;
}

.cta-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.1rem;
  margin-bottom: 2.2rem;
}
.cta-btn {
  display: inline-flex; align-items: center; gap: 0.65rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 14px 30px -14px rgba(10, 132, 255, 0.7);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}
.cta-btn svg { width: 16px; height: 16px; stroke: #fff; }
.cta-btn:hover {
  transform: translateY(-2px);
  background: #0070e0;
  box-shadow: 0 20px 36px -14px rgba(10, 132, 255, 0.8);
}
.cta-btn:hover svg { transform: translateX(3px); transition: transform 0.35s var(--ease); }
.cta-ghost {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-2);
  border-bottom: 1.5px solid transparent;
  padding-bottom: 0.1rem;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.cta-ghost:hover { color: var(--accent); border-color: var(--accent); }

.contact-links {
  display: grid; gap: 0.15rem;
  border-top: 1px solid var(--line-soft);
}
.clink {
  display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap;
  padding: 1.05rem 0.2rem;
  border-bottom: 1px solid var(--line-soft);
  transition: padding-left 0.45s var(--ease), background 0.45s var(--ease);
}
.clink:hover { padding-left: 0.9rem; background: rgba(10, 132, 255, 0.05); }
.clink-k {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--mute-2);
  width: 6.5rem;
  flex-shrink: 0;
}
.clink-v {
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  color: var(--ink);
  transition: color 0.35s var(--ease);
}
.clink:hover .clink-v { color: var(--accent); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.6rem var(--pad) 2.4rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.8rem;
  color: var(--mute-2);
}

/* =========================================================================
   MODAL DE VÍDEO
   ========================================================================= */
.lb {
  position: fixed; inset: 0;
  z-index: 80;
  display: grid; place-content: center; justify-items: center;
  gap: 1rem;
  padding: clamp(1rem, 5vw, 3rem);
  background: rgba(230, 240, 255, 0.75);
  backdrop-filter: blur(20px) saturate(140%);
  animation: fade 0.4s var(--ease);
}
.lb[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lb-frame {
  width: min(1100px, 92vw);
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--glass-brd);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(10, 60, 120, 0.45);
  animation: rise 0.55s var(--ease);
  display: grid; place-items: center;
}
.lb-frame.vertical { width: min(430px, 82vw); aspect-ratio: 9 / 16; }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(0.98); } to { opacity: 1; transform: none; } }
.lb-frame iframe, .lb-frame video { width: 100%; height: 100%; border: 0; }
.lb-cap {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-2);
}
.lb-close {
  position: absolute; top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem);
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-brd);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), color 0.35s var(--ease), background 0.35s var(--ease);
}
.lb-close svg { width: 15px; height: 15px; }
.lb-close:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(90deg); }

/* =========================================================================
   REVELAÇÕES AO SCROLL
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--d, 0) * 80ms);
}
.reveal.in { opacity: 1; transform: none; }

/* =========================================================================
   RESPONSIVO
   ========================================================================= */
@media (max-width: 1100px) {
  .work-grid-vert { grid-template-columns: repeat(3, 1fr); }
  .about-shell { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .work-grid-vert { grid-template-columns: repeat(2, 1fr); }
  .work-grid-horiz { grid-template-columns: 1fr; }
  .hero-reel { max-width: min(320px, 72vw); }
  .work-origem { white-space: normal; text-align: right; max-width: 42%; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed; inset: 0 0 auto;
    flex-direction: column;
    gap: 0.5rem;
    padding: 5.5rem var(--pad) 2rem;
    background: rgba(240, 247, 255, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-100%);
    transition: transform 0.55s var(--ease);
  }
  body.menu-open .nav { transform: none; }
  .nav a { font-size: 1.5rem; font-weight: 600; color: var(--ink); padding: 0.4rem 0; }
  .burger { display: block; }

  .hero { padding-top: clamp(4.6rem, 20vw, 6rem); }
  .hero-banner { height: clamp(230px, 48vh, 340px); }
  .reel-meta { flex-direction: column; gap: 0.35rem; }
  .reel-meta .reel-dur { margin-left: 0; }
  .clink-k { width: auto; }
  .cta-title { max-width: none; }
  .cta-actions { width: 100%; }
  .cta-btn { width: 100%; justify-content: center; }
  .sec { padding-left: 1.15rem; padding-right: 1.15rem; }
  .frame { border-radius: 14px; }
  .work-info { flex-wrap: wrap; gap: 0.25rem 0.6rem; }
  .work-origem { max-width: 100%; text-align: left; padding-top: 0; }
  .foot { padding-bottom: 4.8rem; }
  .why-grid { grid-template-columns: 1fr; }
  .fp-vol { width: 52px; }
  .fp-bigplay svg { width: 54px; height: 54px; }
}

@media (max-width: 420px) {
  .work-grid-vert { grid-template-columns: repeat(2, 1fr); gap: 1rem 0.65rem; }
  .work-info h3 { font-size: 0.9rem; }
  .work-text { font-size: 0.72rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; }
  .marquee-track { animation: none; }
  .bg-anim { animation: none; }
  .hero-photo::before { animation: none; opacity: 0.7; }
  h1 em, .cta-title em { animation: none; }
  .about-copy h2 .word,
  .cta-title .cta-line { opacity: 1; transform: none; filter: none; animation: none; }
}
