/* ==========================================================================
   LBR VISUAL — DESIGN SYSTEM & ESTILOS PRINCIPAIS
   Identidade: Editorial, Cinematográfica, Sofisticada e Minimalista.
   Hero 16: Alta Fidelidade com Ondas Bézier, Horizonte Ótico e Tipografia Dinâmica.
   ========================================================================== */

:root {
  /* Paleta de Cores Oficial & Hero 16 */
  --night: #01060e;
  --night-deep: #000308;
  --petrol: #092d43;
  --petrol-mid: #0c3b51;
  --petrol-light: #155b74;
  --ink: #061426;
  --white: #f4f5f2;
  --white-pure: #ffffff;

  /* Acentos Cromáticos & Luz Hero 16 */
  --cyan-glow: #a9e6d9;
  --cyan-vibrant: #00e5ff;
  --blue-electric: #00a2ff;
  --teal-accent: #55969c;
  --azure-accent: #86b1ca;
  --sand-accent: #d7edef;
  
  /* Linhas, Bordas e Vidro Glassmórfico */
  --line: rgba(6, 20, 38, 0.14);
  --line-light: rgba(255, 255, 255, 0.15);
  --glass-bg: rgba(4, 15, 26, 0.72);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-glow: rgba(0, 162, 255, 0.28);
  --card-glass-bg: rgba(4, 23, 37, 0.58);
  
  /* Tipografia */
  --font-serif: 'Tenor Sans', Georgia, serif;
  --font-mono: 'DM Mono', monospace;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transições Base */
  --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: 0.45s var(--ease-cinematic);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--night);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
  position: relative;
}

/* Tipografia Base */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--azure-accent);
  margin-bottom: 12px;
  display: block;
}

.section-pad {
  padding: 130px 6vw;
  position: relative;
}

/* ==========================================================================
   CABEÇALHO EM CÁPSULA FLUTUANTE GLASSMÓRFICA
   ========================================================================== */
.site-header {
  position: fixed;
  top: 24px;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  pointer-events: none;
}

.nav-capsule {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 10px 24px 10px 28px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: transform var(--transition-smooth), border-color 0.3s ease, background 0.3s ease, box-shadow var(--transition-smooth);
}

.nav-capsule:hover {
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.55), 0 0 24px var(--glass-glow);
}

.wordmark {
  font-family: var(--font-serif);
  font-size: 24px;
  letter-spacing: -1px;
  text-decoration: none;
  color: #ffffff;
  line-height: 0.85;
  display: inline-block;
  transition: opacity 0.3s ease;
}

.wordmark span {
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 2px;
  display: block;
  margin-top: 4px;
  color: var(--azure-accent);
}

.wordmark:hover {
  opacity: 0.88;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  color: #d1e2e9;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
  padding: 6px 2px;
}

.nav-links a:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.nav-poetica {
  color: var(--cyan-glow) !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-poetica i {
  font-style: normal;
  font-size: 10px;
  color: var(--cyan-glow);
}

.nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.38) !important;
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 18px !important;
  border-radius: 999px;
  color: #ffffff !important;
  font-family: var(--font-mono);
  font-size: 11px !important;
  letter-spacing: 0.6px;
  transition: background 0.3s ease, border-color 0.3s ease, transform var(--transition-smooth) !important;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(0, 229, 255, 0.7) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 16px rgba(0, 229, 255, 0.25);
}

.menu-button {
  display: none;
  background: none;
  border: 0;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11px;
  cursor: pointer;
  padding: 6px 10px;
}

/* ==========================================================================
   00. HERO 16 ORIGINAL — HORIZONTE ÓTICO & CURVAS BÉZIER
   ========================================================================== */
.hero {
  min-height: 100svh;
  position: relative;
  background: var(--night);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 130px 6vw 70px;
}

/* Camada Ótica de Fundo Hero 16 */
.hero-optics-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-optics-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-horizon-beam {
  position: absolute;
  top: 50%;
  left: -25%;
  width: 150%;
  height: 400px;
  transform: translateY(-50%) rotate(-3deg);
  background: 
    radial-gradient(ellipse at 25% 50%, rgba(0, 162, 255, 0.42) 0%, rgba(0, 229, 255, 0.25) 25%, transparent 65%),
    radial-gradient(ellipse at 75% 50%, rgba(0, 162, 255, 0.42) 0%, rgba(0, 229, 255, 0.25) 25%, transparent 65%),
    radial-gradient(circle at 50% 50%, rgba(0, 229, 255, 0.35) 0%, rgba(9, 45, 67, 0.15) 45%, transparent 70%);
  filter: blur(55px);
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-center-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(85vw, 850px);
  height: min(85vw, 850px);
  background: radial-gradient(circle, rgba(0, 229, 255, 0.14) 0%, rgba(0, 162, 255, 0.08) 45%, transparent 75%);
  filter: blur(70px);
  pointer-events: none;
}

/* Palco Central do Hero */
.hero-stage {
  position: relative;
  z-index: 2;
  max-width: 1050px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-stage .eyebrow {
  margin-bottom: 24px;
  color: var(--azure-accent);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(48px, 7.8vw, 118px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 400;
  margin: 0 0 28px 0;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1em;
}

.hero-title-prefix {
  display: block;
  white-space: nowrap;
  color: #ffffff;
}

/* ==========================================================================
   DYNAMIC WORD ROLLER — DESLIZE VERTICAL DE PALAVRA INTEIRA (ZERO FLICKER)
   ========================================================================== */
.dynamic-word-stage,
.letter-swap-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  vertical-align: middle;
  color: var(--cyan-glow);
  font-style: italic;
  letter-spacing: 0.02em;
  min-width: 11ch; /* Área estável que acomoda com folga 'movimento' e 'narrativa' */
  height: 1.55em;
  line-height: 1.55em;
  text-align: center;
  text-shadow: 0 0 35px rgba(169, 230, 217, 0.55), 0 0 70px rgba(0, 162, 255, 0.3);
  cursor: pointer;
  overflow: hidden; /* Máscara vertical: saída para cima, entrada de baixo */
  padding: 0 0.5em; /* Margem lateral ampla para preservar a anatomia da fonte itálica */
  transition: transform 0.4s var(--ease-cinematic), text-shadow 0.4s ease;
  will-change: transform;
  transform-style: preserve-3d;
}

.dynamic-word-stage:hover,
.letter-swap-container:hover {
  text-shadow: 0 0 45px rgba(0, 229, 255, 0.8), 0 0 90px rgba(0, 162, 255, 0.5);
}

/* Camada da palavra inteira — espera abaixo do palco até entrar */
.word-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  will-change: transform, opacity;
  transform: translateY(108%);
  opacity: 0;
}

/* Palavra ativa repousando no centro */
.word-slide.is-active {
  position: relative;
  transform: translateY(0%);
  opacity: 1;
}

/* Palavra atual sobe e desvanece em conjunto com a entrada */
.word-slide.is-leaving {
  position: absolute;
  animation: word-roll-leave 1.18s cubic-bezier(0.33, 0.05, 0.2, 1) forwards;
}

/* Próxima palavra sobe de baixo até ao mesmo centro, em simultâneo */
.word-slide.is-entering {
  position: absolute;
  animation: word-roll-enter 1.18s cubic-bezier(0.33, 0.05, 0.2, 1) forwards;
}

@keyframes word-roll-leave {
  0% {
    transform: translateY(0%);
    opacity: 1;
  }
  42% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-108%);
    opacity: 0;
  }
}

@keyframes word-roll-enter {
  0% {
    transform: translateY(108%);
    opacity: 0;
  }
  22% {
    opacity: 0.45;
  }
  100% {
    transform: translateY(0%);
    opacity: 1;
  }
}

.hero-copy {
  max-width: 480px;
  font-size: 15px;
  line-height: 1.75;
  color: #bad3de;
  margin: 0 auto 42px;
  font-weight: 400;
}

/* Cápsula de Ação Integrada com Brilho */
.hero-action-capsule {
  display: inline-flex;
  align-items: center;
  background: rgba(6, 26, 42, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 229, 255, 0.32);
  border-radius: 999px;
  padding: 8px 10px 8px 12px;
  gap: 16px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 0 28px rgba(0, 162, 255, 0.22);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color 0.3s ease;
}

.hero-action-capsule:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 229, 255, 0.7);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 35px rgba(0, 229, 255, 0.4);
}

.capsule-showreel-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 8px 18px 8px 10px;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.capsule-showreel-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}

.play-disc {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--azure-accent);
  color: var(--night);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: bold;
  padding-left: 2px;
  box-shadow: 0 2px 10px rgba(134, 177, 202, 0.45);
}

.play-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.play-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.2px;
  font-weight: 500;
  line-height: 1;
}

.play-duration {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--cyan-glow);
  letter-spacing: 0.8px;
  margin-top: 3px;
}

.capsule-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.18);
}

.capsule-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.6px;
  padding: 10px 18px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.capsule-cta-link .arrow {
  color: var(--cyan-glow);
  font-size: 14px;
  transition: transform 0.3s ease;
}

.capsule-cta-link:hover {
  color: var(--cyan-glow);
}

.capsule-cta-link:hover .arrow {
  transform: translate(2px, 2px);
}

/* Indicador de Scroll */
.scroll-note {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: #799ea9;
}

.scroll-line {
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, var(--azure-accent), transparent);
  animation: scrollPulse 2.4s infinite ease-in-out;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.2; transform: scaleY(0.6); }
  50% { opacity: 0.9; transform: scaleY(1); }
}

/* ==========================================================================
   01. INTRODUÇÃO / A VISÃO
   ========================================================================== */
.intro {
  background: var(--white);
  color: var(--ink);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.75fr;
  gap: 8vw;
  align-items: flex-end;
}

.intro h2, .contact h2 {
  font-family: var(--font-serif);
  font-size: clamp(44px, 5.8vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  font-weight: 400;
  color: var(--ink);
}

.intro h2 em, .contact h2 em {
  font-style: italic;
  color: var(--petrol-mid);
}

.intro-copy p {
  font-size: 16px;
  line-height: 1.85;
  color: #2b4657;
  max-width: 440px;
  margin-bottom: 28px;
}

.intro-actions {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}

.text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.6px;
  transition: transform var(--transition-smooth), letter-spacing 0.3s ease, color 0.3s ease;
}

.text-link span {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.text-link:hover {
  transform: translateX(6px);
  letter-spacing: 0.9px;
  color: var(--petrol-mid);
}

.text-link:hover span {
  transform: translate(2px, 2px);
}

.text-link-secondary {
  color: var(--petrol-light);
  border-color: rgba(9, 45, 67, 0.3);
}

/* Kinetic Words Hover Effect */
.kinetic-words .word-hover {
  display: inline-block;
  transition: transform 0.4s var(--ease-cinematic), color 0.4s ease;
}

.kinetic-words:hover .word-hover {
  color: var(--petrol-light);
}

.kinetic-words:hover .word-hover:nth-child(3n+1) {
  transform: translateY(-6px) rotate(-1deg);
}

.kinetic-words:hover .word-hover:nth-child(3n+2) {
  transform: translateY(4px);
}

.kinetic-words:hover .word-hover:nth-child(3n) {
  transform: translateY(-3px) rotate(1deg);
}

/* ==========================================================================
   02. PORTFÓLIO SELECCIONADO
   ========================================================================== */
.portfolio {
  background: #dfe7e9;
  color: var(--ink);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 40px;
}

.small-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #4a6a7c;
  letter-spacing: 0.8px;
}

.work-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 20px;
}

.work {
  min-height: 340px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  color: #ffffff;
  cursor: pointer;
  background: var(--night);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.work-large {
  grid-row: span 2;
  min-height: 700px;
}

.work-backdrop {
  position: absolute;
  inset: 0;
  transition: transform 1.2s var(--ease-cinematic);
  overflow: hidden;
}

.work-backdrop video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-wedding .work-backdrop {
  background: radial-gradient(ellipse at 65% 35%, #527486 0%, #173e58 35%, #051426 80%);
}

.work-brand .work-backdrop {
  background: linear-gradient(135deg, #06172b 0%, #155b74 50%, #0a2c47 100%);
}

.work-creator .work-backdrop {
  background: radial-gradient(circle at 70% 25%, #6a91a0 0%, #194e68 40%, #071b32 85%);
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(1, 10, 20, 0.88) 0%, rgba(1, 10, 20, 0.2) 60%, transparent 100%);
  transition: opacity 0.4s ease;
}

.work-info {
  position: absolute;
  inset: auto 32px 32px;
  z-index: 2;
}

.work-category {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.4px;
  color: var(--azure-accent);
  margin-bottom: 8px;
}

.work h3 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 0.95;
  margin: 0 0 20px;
  font-weight: 400;
}

.work-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.8px;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.work:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(6, 20, 38, 0.25);
}

.work:hover .work-backdrop {
  transform: scale(1.05);
}

/* Manter o vídeo estável no hover (o transform aplica-se ao backdrop/vídeo) */
.work:hover .work-backdrop video {
  will-change: transform;
}

.work:hover .work-link {
  opacity: 1;
  transform: translateX(4px);
}

.portfolio-footer {
  margin-top: 36px;
}

/* ==========================================================================
   02-b. PORTFÓLIO — PÁGINA COMPLETA
   Continuação natural da secção "Portfólio seleccionado"; reutiliza .work-*.
   ========================================================================== */
.portfolio-page-hero {
  min-height: 72svh;
  position: relative;
  background: var(--night);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 220px 6vw 110px;
}

.portfolio-page-hero .eyebrow {
  color: var(--azure-accent);
  margin-bottom: 24px;
}

.portfolio-page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(46px, 7vw, 108px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 24px;
}

.portfolio-page-hero h1 em {
  font-style: italic;
  color: var(--cyan-glow);
}

.portfolio-page-sub {
  font-size: 16px;
  line-height: 1.8;
  color: #bad3de;
  max-width: 520px;
  margin: 0 auto;
}

.portfolio-page {
  background: #dfe7e9;
  color: var(--ink);
}

.portfolio-group {
  padding-bottom: 90px;
}

.portfolio-group + .portfolio-group {
  border-top: 1px solid rgba(9, 45, 67, 0.12);
  padding-top: 90px;
}

.portfolio-group-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 40px;
}

.portfolio-group-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 400;
  color: var(--ink);
}

.portfolio-group-head h2 em {
  font-style: italic;
  color: var(--petrol-light);
}

.portfolio-page .portfolio-footer {
  border-top: 1px solid rgba(9, 45, 67, 0.12);
  padding-top: 36px;
}

.portfolio-cta {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 20px;
}

.services {
  position: relative;
  background: var(--night);
  color: #ffffff;
  overflow: hidden;
}

.glitter-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 0;
}

/* Textura cinematográfica de fundo — página Portfólio Completo (hero) */
.portfolio-wave-canvas {
  opacity: 1;
}

/* Atmosfera metálica de fundo — Foil Drift (Originkit); atrás do conteúdo */
.foil-drift-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 0;
}

.services-content-wrapper {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 8vw;
}

.services-title .eyebrow {
  color: var(--cyan-glow);
}

.services-title h2 {
  font-family: var(--font-serif);
  font-size: clamp(45px, 5.8vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  font-weight: 400;
  color: #ffffff;
}

.services-title h2 em {
  font-style: italic;
  color: var(--azure-accent);
}

.services-subtitle {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.7;
  color: #bad3de;
  max-width: 340px;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  padding: 32px 34px;
  background: rgba(4, 23, 37, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  transition: transform var(--transition-smooth), border-color 0.35s ease, background 0.35s ease, box-shadow var(--transition-smooth);
}

.service-number {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--cyan-glow);
  padding-top: 4px;
}

.service-body h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.1;
  font-weight: 400;
  margin-bottom: 10px;
  color: #ffffff;
}

.service-body p {
  font-size: 14px;
  line-height: 1.65;
  color: #c0d8e2;
}

.service-card:hover {
  transform: translateY(-4px) translateX(4px);
  border-color: rgba(0, 229, 255, 0.45);
  background: rgba(6, 32, 51, 0.82);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3), 0 0 24px rgba(0, 229, 255, 0.18);
}

/* ==========================================================================
   04. PALAVRAS QUE FICAM / DEPOIMENTOS
   ========================================================================== */
.quote {
  background: var(--petrol-mid);
  color: var(--sand-accent);
  text-align: center;
  padding-left: 12vw;
  padding-right: 12vw;
}

.quote .eyebrow {
  color: var(--azure-accent);
}

.quote-rotator {
  min-height: 340px;
  display: grid;
  place-items: center;
  margin-top: 20px;
}

.quote-slide {
  grid-area: 1/1;
  margin: 0;
  opacity: 0;
  transform: translateY(16px);
  filter: blur(4px);
  transition: opacity 0.8s ease, transform 0.8s var(--ease-cinematic), filter 0.8s ease;
  pointer-events: none;
}

.quote-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  pointer-events: auto;
}

.quote blockquote {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.4vw, 62px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 400;
  max-width: 940px;
  margin: 0 auto 28px;
}

.quote-author {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.8px;
  color: #a1c8d4;
}

/* ==========================================================================
   05. CONTACTO / VAMOS CRIAR
   ========================================================================== */
.contact {
  background: var(--night);
  color: #ffffff;
  text-align: center;
  padding-bottom: 100px;
  overflow: hidden;
}

.contact-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(90vw, 850px);
  height: min(90vw, 850px);
  border-radius: 50%;
  border: 1px solid rgba(134, 177, 202, 0.12);
  box-shadow: 0 0 0 45px rgba(134, 177, 202, 0.025), 0 0 0 100px rgba(134, 177, 202, 0.015);
  pointer-events: none;
}

.contact .eyebrow {
  color: var(--azure-accent);
}

.contact h2 {
  color: #ffffff;
  margin-top: 24px;
}

.contact-lead {
  color: #bad3de;
  font-size: 15px;
  line-height: 1.7;
  max-width: 400px;
  margin: 20px auto 0;
}

.contact-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin: 46px 0 70px;
  flex-wrap: wrap;
}

.button-whatsapp {
  background: var(--cyan-glow);
  color: var(--night);
  border-radius: 999px;
  padding: 16px 28px;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(169, 230, 217, 0.25);
  transition: transform var(--transition-smooth), background 0.3s ease, box-shadow 0.3s ease;
}

.button-whatsapp:hover {
  transform: translateY(-4px);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(169, 230, 217, 0.4);
}

.button-whatsapp .arrow {
  font-size: 15px;
  transition: transform 0.3s ease;
}

.button-whatsapp:hover .arrow {
  transform: translate(2px, -2px);
}

.contact .text-link.light {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.contact .text-link.light:hover {
  color: var(--cyan-glow);
  border-color: var(--cyan-glow);
}

.instagram {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line-light);
  padding: 24px 0 0;
  max-width: 600px;
  margin: 0 auto;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.8px;
  transition: padding-left var(--transition-smooth), border-color 0.3s ease, color 0.3s ease;
}

.insta-handle {
  color: var(--azure-accent);
}

.instagram:hover {
  padding-left: 10px;
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--cyan-glow);
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.site-footer {
  padding: 40px 6vw;
  background: var(--night-deep);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #557588;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-poetica-link {
  color: var(--azure-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-poetica-link:hover {
  color: var(--cyan-glow);
}

.back-to-top {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.back-to-top:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   PÁGINA POÉTICA / CONTEMPLATIVA (poetica.html)
   ========================================================================== */
.page-poetica {
  background: var(--night-deep);
  color: #ffffff;
  min-height: 100vh;
}

.poetica-main {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 8vw 120px;
  overflow: hidden;
}

.poetica-ambient-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 0;
  opacity: 0.78;
}

.poetica-gradient-glow {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(85vw, 900px);
  height: min(85vw, 900px);
  background: radial-gradient(circle, rgba(21, 91, 116, 0.16) 0%, rgba(2, 11, 22, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
}

.poetica-container {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.poetica-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.poetica-divider {
  color: rgba(255, 255, 255, 0.25);
}

.poetica-theme {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.2px;
  color: var(--azure-accent);
  text-transform: uppercase;
}

.poetica-manifesto {
  margin: 0 auto 54px;
}

.manifesto-quote {
  font-family: var(--font-serif);
  font-size: clamp(38px, 6.2vw, 84px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 400;
  color: #ffffff;
}

.manifesto-line {
  display: block;
}

.manifesto-line.italic-accent {
  font-style: italic;
  color: var(--azure-accent);
}

.poetica-body {
  max-width: 580px;
  margin: 0 auto 60px;
}

.poetica-lead {
  font-size: 17px;
  line-height: 1.9;
  color: #b2ccd8;
  font-weight: 400;
  margin-bottom: 24px;
}

.poetica-footnote {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.2px;
  color: var(--cyan-glow);
}

.poetica-action {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.poetica-action .text-link {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.poetica-action .text-link:hover {
  color: var(--cyan-glow);
  border-color: var(--cyan-glow);
}

/* Trilha sonora do Manifesto — controlo discreto de áudio */
.manifesto-audio-toggle {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(4, 16, 30, 0.55);
  border: 1px solid rgba(215, 237, 239, 0.16);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #b2ccd8;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.manifesto-audio-toggle:hover {
  color: var(--cyan-glow);
  border-color: rgba(215, 237, 239, 0.32);
}

.manifesto-audio-toggle:focus-visible {
  outline: 2px solid var(--cyan-glow);
  outline-offset: 3px;
}

.manifesto-audio-toggle.is-paused {
  color: rgba(178, 204, 216, 0.55);
}

.manifesto-audio-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 11px;
}

.manifesto-audio-bars i {
  width: 2px;
  height: 4px;
  border-radius: 1px;
  background: currentColor;
}

.manifesto-audio-toggle.is-playing .manifesto-audio-bars i {
  animation: manifesto-audio-eq 1.1s ease-in-out infinite;
}

.manifesto-audio-toggle.is-playing .manifesto-audio-bars i:nth-child(2) {
  animation-delay: 0.18s;
}

.manifesto-audio-toggle.is-playing .manifesto-audio-bars i:nth-child(3) {
  animation-delay: 0.36s;
}

@keyframes manifesto-audio-eq {
  0%, 100% { height: 3px; }
  50% { height: 10px; }
}

@media (max-width: 768px) {
  .manifesto-audio-toggle {
    right: 14px;
    bottom: 16px;
    padding: 8px 13px;
  }
}

/* ==========================================================================
   ANIMAÇÕES DE ENTRADA & MOTION LIFT
   ========================================================================== */
.motion-lift {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  filter: blur(3px);
  transition: opacity 0.9s ease, transform 1.1s var(--ease-cinematic), filter 0.9s ease;
  will-change: transform, opacity, filter;
}

.motion-lift.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.delay-one {
  transition-delay: 0.15s;
}

.delay-two {
  transition-delay: 0.28s;
}

/* ==========================================================================
   RESPONSIVIDADE (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .section-pad {
    padding: 100px 5vw;
  }

  .intro-grid, .services-content-wrapper {
    gap: 6vw;
  }
}

@media (max-width: 768px) {
  .site-header {
    top: 14px;
    padding: 0 14px;
  }

  .nav-capsule {
    width: 100%;
    padding: 8px 18px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 100%;
    background: var(--night-deep);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px;
    flex-direction: column;
    gap: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  }

  .nav-links.is-open {
    display: flex;
  }

  .menu-button {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .menu-icon-bars {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .menu-icon-bars i {
    width: 16px;
    height: 1.5px;
    background: #ffffff;
    display: block;
    transition: transform 0.3s ease;
  }

  .menu-button[aria-expanded="true"] .menu-icon-bars i:first-child {
    transform: translateY(2.75px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] .menu-icon-bars i:last-child {
    transform: translateY(-2.75px) rotate(-45deg);
  }

  .hero {
    padding: 120px 5vw 60px;
  }

  .hero h1 {
    font-size: clamp(38px, 10vw, 62px);
  }

  .letter-swap-container {
    min-width: 9ch;
  }

  .hero-action-capsule {
    flex-direction: column;
    padding: 14px 18px;
    border-radius: 24px;
    gap: 12px;
    width: 100%;
    max-width: 320px;
  }

  .capsule-showreel-btn {
    width: 100%;
    justify-content: center;
  }

  .capsule-divider {
    width: 80%;
    height: 1px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .work-large {
    min-height: 380px;
    grid-row: auto;
  }

  .work {
    min-height: 300px;
  }

  .services-content-wrapper {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .quote {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .quote blockquote {
    font-size: clamp(24px, 6.2vw, 40px);
    line-height: 1.2;
  }

  .quote-rotator {
    min-height: 300px;
  }

  .site-footer {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-left {
    flex-direction: column;
    gap: 8px;
  }
}

/* ==========================================================================
   02-c. PORTFÓLIO COMPLETO — HEADER REDUZIDO (SOMENTE ESTA PÁGINA)
   Versão em pílula curta apenas na região do botão MENU, sem wordmark nem
   barra a cruzar o ecrã inteiro, para deixar o título totalmente livre.
   ========================================================================== */
.page-portfolio .site-header {
  justify-content: flex-end;
  padding: 0 24px;
}

.page-portfolio .nav-capsule {
  width: auto;
  padding: 8px 16px;
  gap: 12px;
  position: relative;
}

.page-portfolio .wordmark {
  display: none;
}

/* Links do menu viram um painel que abre sob a pílula MENU (qualquer viewport) */
.page-portfolio .nav-links {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: max-content;
  min-width: 220px;
  background: var(--night-deep);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 20px;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  z-index: 15;
}

.page-portfolio .nav-links.is-open {
  display: flex;
}

.page-portfolio .nav-links a {
  color: #d1e2e9;
}

/* Botão MENU sempre visível nesta página e em pílula */
.page-portfolio .menu-button {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-portfolio .menu-icon-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-portfolio .menu-icon-bars i {
  width: 16px;
  height: 1.5px;
  background: #ffffff;
  display: block;
  transition: transform 0.3s ease;
}

.page-portfolio .menu-button[aria-expanded="true"] .menu-icon-bars i:first-child {
  transform: translateY(2.75px) rotate(45deg);
}

.page-portfolio .menu-button[aria-expanded="true"] .menu-icon-bars i:last-child {
  transform: translateY(-2.75px) rotate(-45deg);
}

/* ==========================================================================
   REPRODUTOR PERSONALIZADO LBR VISUAL
   Overlay a ecrã inteiro integrado no site (não é popup nem janela externa).
   ========================================================================== */
.lbr-player {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: radial-gradient(120% 120% at 50% 0%, #071a2b 0%, #01060e 60%, #000308 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-cinematic);
}
.lbr-player.is-open {
  opacity: 1;
  pointer-events: auto;
}

.player-stage {
  width: 100%;
  max-width: 1440px;
  height: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.player-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.player-topbar .player-meta {
  text-align: center;
  flex: 1;
}
.player-category {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.4px;
  color: var(--azure-accent);
  text-transform: uppercase;
  margin: 0 0 4px;
}
.player-title {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.4vw, 30px);
  color: #ffffff;
  margin: 0;
  line-height: 1.1;
}
.player-wordmark {
  font-family: var(--font-serif);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.player-wordmark em {
  color: var(--azure-accent);
  font-style: normal;
}

.player-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 10px 18px;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.8px;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}
.player-back:hover {
  background: rgba(134, 177, 202, 0.14);
  border-color: rgba(134, 177, 202, 0.4);
  transform: translateX(-3px);
}
.player-back-icon {
  font-size: 16px;
  line-height: 1;
}

.player-viewport {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000308;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(0, 162, 255, 0.08);
}
/* 
   O vídeo adapta-se à proporção NATURAL de cada ficheiro (videoWidth/Height
   via --player-ar). Em vez de forçar 16:9 ou cortar, mantemos object-fit:contain
   com dimensões controladas pela própria proporção: um vídeo vertical ocupa uma
   faixa vertical; um horizontal ocupa uma faixa horizontal. Barras a preto
   (#000308) são preferíveis a qualquer crop.
*/
.player-video {
  width: auto;
  height: auto;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: var(--player-ar, 16 / 9);
  object-fit: contain;
  background: #000308;
}

/* ---------- Controles ---------- */
.player-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.player-scrub {
  display: flex;
  align-items: center;
  gap: 14px;
}
.player-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.4px;
  min-width: 38px;
}
.player-time-total {
  text-align: right;
}
.player-scrub-input {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--azure-accent) 0%, var(--azure-accent) var(--scrub, 0%), rgba(255, 255, 255, 0.18) var(--scrub, 0%));
  cursor: pointer;
  outline: none;
}
.player-scrub-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--azure-accent);
  box-shadow: 0 0 0 4px rgba(134, 177, 202, 0.15);
  transition: transform 0.2s ease;
}
.player-scrub-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
.player-scrub-input::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--azure-accent);
  cursor: pointer;
}
.player-scrub-input::-moz-range-progress {
  background: var(--azure-accent);
  height: 4px;
  border-radius: 999px;
}

.player-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}
.player-spacer {
  flex: 1;
}
.player-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
}
.player-btn:hover {
  background: rgba(134, 177, 202, 0.16);
  border-color: rgba(134, 177, 202, 0.45);
  transform: translateY(-2px);
}
.player-btn-toggle {
  width: 56px;
  height: 56px;
  font-size: 22px;
  border: 1px solid var(--azure-accent);
  box-shadow: 0 0 24px rgba(0, 162, 255, 0.18);
}
.player-btn.is-muted {
  color: rgba(255, 255, 255, 0.4);
}
.player-volume {
  -webkit-appearance: none;
  appearance: none;
  width: 90px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  outline: none;
}
.player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--azure-accent);
}
.player-volume::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--azure-accent);
}

@media (max-width: 768px) {
  .lbr-player {
    padding: 12px;
  }
  .player-stage {
    gap: 14px;
  }
  .player-wordmark {
    display: none;
  }
  .player-back-label {
    display: none;
  }
  .player-back {
    padding: 10px 14px;
  }
  .player-meta {
    flex: 1;
  }
  .player-volume {
    width: 60px;
  }
  .player-buttons {
    gap: 8px;
  }
}
@media (max-height: 560px) and (orientation: landscape) {
  .player-topbar {
    display: none;
  }
  .player-controls {
    gap: 8px;
  }
}
