:root {
  --page-bg: #f5f5f7;
  --overlay-ink: rgba(34, 84, 158, 0.48);
  --overlay-ink-strong: rgba(34, 84, 158, 0.52);
  --overlay-ink-soft: rgba(34, 84, 158, 0.68);
  --glass-stroke: rgba(255, 255, 255, 0.34);
  --glass-fill: rgba(255, 255, 255, 0.16);
  --glass-shadow: rgba(31, 90, 165, 0.18);
  --panel-radius: clamp(1.6rem, 2.4vw, 2.25rem);
  --panel-min-height: calc(100svh - clamp(1.8rem, 3.6vw, 3rem));
  --section-gap: clamp(1rem, 2vw, 1.5rem);
  --hero-padding: clamp(0.9rem, 1.8vw, 1.5rem);
  --bg-parallax-offset: 0px;
  --bg-parallax-scale: 1.1;
  --clouds-parallax-offset: 0px;
  --clouds-parallax-scale: 1;

  /* Tokens do Design System */
  --ink-primary: #0a1628;
  --ink-secondary: rgba(10, 22, 40, 0.55);
  --ink-muted: rgba(10, 22, 40, 0.35);
  --accent-blue: #245ba1;
  --surface-warm: #fafaf8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  
}

body {
  margin: 0;
  min-height: 100vh;
  
  background: #0b1220; /* Dark for preloader/footer */
  color: var(--ink-primary);
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.is-loading {
  overflow: hidden;
}

.site-wrapper {
  position: relative;
  z-index: 2;
  background: var(--page-bg);
  /* Create the gap at the bottom equal to the fixed footer height */
  margin-bottom: min(90vh, 800px); 
  border-bottom-left-radius: clamp(20px, 4vw, 60px);
  border-bottom-right-radius: clamp(20px, 4vw, 60px);
  box-shadow: 0 40px 100px rgba(0,0,0,0.8);
}

.page {
  width: 100%;
  max-width: 1440px;
  padding: var(--hero-padding);
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
  margin: 0 auto;
  
}

/* ─── HERO ──────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: var(--panel-min-height);
  overflow: hidden;
  border-radius: var(--panel-radius);
  background: #79b8f1;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: blur(7px);
  transform: translate3d(0, var(--bg-parallax-offset), 0) scale(var(--bg-parallax-scale));
  will-change: transform;
}

.hero__image--bottom {
  left: 50%;
  right: auto;
  bottom: -9%;
  top: auto;
  width: 122%;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  opacity: 0.28;
  mix-blend-mode: screen;
  filter: blur(10px);
  transform: translate3d(-50%, var(--clouds-parallax-offset), 0) scale(var(--clouds-parallax-scale));
  transform-origin: center bottom;
  will-change: transform;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 26%, #000 48%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 26%, #000 48%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.14), transparent 72%);
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── HERO NAV (Dynamic Island) ──────────────────── */

.hero__nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  pointer-events: none;
  /* Centering the island exactly relative to viewport */
  display: flex;
  justify-content: center;
  /* Aligning top padding exactly with the hero wrapper padding */
  padding-top: clamp(0.9rem, 1.8vw, 1.5rem);
}

.dynamic-island {
  position: relative;
  isolation: isolate;
  background: var(--ink-primary);
  border-radius: 999px;
  overflow: hidden;
  pointer-events: auto;
  
  /* Constant Base Dimensions */
  width: 140px;
  height: 48px;
  
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 0 20px rgba(255,255,255,0.02);
  
  transition: 
    width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
    height 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-radius 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.5s ease;
  will-change: width, height, border-radius;
}

/* ──────────────────── THE EXPANDED WIDGET STATE ──────────────────── */
.dynamic-island.is-open {
  width: min(90vw, 340px);
  height: 380px; /* Expande verticalmente para abrigar o menu */
  border-radius: 36px; /* Bordas ficam mais relaxadas como um card ios */
  background: rgba(14, 20, 28, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ──────────────────── FACE FRONTAL (NOTCH) ──────────────────── */
.dynamic-island__notch {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
  outline: none;
}

.dynamic-island__logo-text {
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  transform-origin: left center;
  transition: opacity 0.3s ease;
  line-height: 1;
}

.dynamic-island__menu-icon {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

/* Quando expandido, some a logo e o icone suavemente para dar espaço ao Header interno */
.dynamic-island.is-open .dynamic-island__logo-text,
.dynamic-island.is-open .dynamic-island__menu-icon {
  opacity: 0;
  pointer-events: none;
}
.dynamic-island.is-open .dynamic-island__notch {
  pointer-events: none; /* Desativa pra clicar no widget */
}

/* ──────────────────── WIDGET BODY ──────────────────── */
.dynamic-island__widget {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.dynamic-island.is-open .dynamic-island__widget {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.6s ease;
  transition-delay: 0.2s; /* Espera abrir um pouco a mola pra dar fade in */
}

/* Close Button */
.widget-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  padding: 0;
}

.widget-close:hover {
  color: #fff;
  transform: rotate(90deg);
}

/* WIDGET HEADER */
.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.widget-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.widget-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #2ab25e;
  box-shadow: 0 0 10px #2ab25e;
  animation: pulse-dot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(42, 178, 94, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(42, 178, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(42, 178, 94, 0); }
}

.widget-status-text {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
}

.widget-clock {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}

/* WIDGET MENU */
.widget-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  flex: 1;
}

.widget-menu a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(10px);
  opacity: 0;
}

.widget-menu a span {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255,255,255,0.4);
  margin-top: 0.2rem;
}

/* Efeito de hover nos links */
.widget-menu a:hover {
  opacity: 0.7;
}

/* Escadinha de revelação dos links usando o delay */
.dynamic-island.is-open .widget-menu li:nth-child(1) a {
  transform: translateY(0); opacity: 1; transition-delay: 0.3s;
}
.dynamic-island.is-open .widget-menu li:nth-child(2) a {
  transform: translateY(0); opacity: 1; transition-delay: 0.35s;
}
.dynamic-island.is-open .widget-menu li:nth-child(3) a {
  transform: translateY(0); opacity: 1; transition-delay: 0.4s;
}

/* WIDGET CTA */
.widget-footer {
  margin-top: auto;
}

.dynamic-island__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 100%;
  background: #fff;
  color: var(--ink-primary);
  border: none;
  border-radius: 99px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
  
  opacity: 0;
  transform: translateY(20px);
}

.dynamic-island.is-open .dynamic-island__cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.45s;
}

.dynamic-island__cta:hover {
  transform: scale(1.02);
}

.hero__animated-char {
  display: inline-block;
}

.hero__animated-char--space {
  width: 0.36em;
}

.hero__bottom-note {
  position: absolute;
  left: 50%;
  bottom: clamp(1.2rem, 2.4vw, 1.8rem);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
  margin: 0;
  padding-inline: 0.75rem;
  max-width: calc(100% - 1.5rem);
  color: rgba(16, 57, 109, 0.9);
  font-size: clamp(0.92rem, 1.08vw, 1.04rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  text-align: center;
  white-space: nowrap;
  transform: translateX(-50%);
}

.hero__bottom-note-prefix {
  opacity: 0.72;
}

.hero__bottom-note-word {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 9ch;
}

/* ─── HERO CONTENT ──────────────────────────────── */

.hero__content {
  position: relative;
  z-index: 1;
  min-height: inherit;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    clamp(5.6rem, 9vw, 7.1rem)
    clamp(1.35rem, 2.6vw, 2rem)
    clamp(4.2rem, 6.2vw, 5rem);
  text-align: center;
}

.hero__stage {
  position: relative;
  z-index: 2;
  width: min(100%, 60rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.65rem, 1.2vw, 0.95rem);
}

.hero__headline {
  margin: 0;
  display: flex;
  flex-direction: column;
  color: rgba(16, 57, 109, 0.96);
  font-size: clamp(2.2rem, 5.2vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  font-weight: 700;
  text-align: center;
}

.hero__headline-row {
  display: block;
}

.hero__headline-row--alt {
  color: rgba(16, 57, 109, 0.65);
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-style: italic;
  padding-left: clamp(1rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  font-size: 1.08em;
}

.hero__eyebrow {
  margin: 0 0 0.5rem 0;
  color: rgba(16, 57, 109, 0.55);
  font-size: clamp(0.7rem, 0.82vw, 0.82rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
}

.hero__subhead {
  margin: 1.5rem 0 0 0;
  max-width: 25rem;
  color: rgba(16, 57, 109, 0.7);
  font-size: clamp(0.92rem, 1.1vw, 1.05rem);
  line-height: 1.5;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

/* ─── HERO BADGE ────────────────────────────────── */

.hero__badge-container {
  position: absolute;
  right: clamp(2rem, 8vw, 6rem);
  bottom: clamp(6rem, 12vw, 10rem);
  z-index: 5;
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__badge {
  position: relative;
  width: clamp(6rem, 10vw, 8.5rem);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__badge-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: rotate-badge 20s linear infinite;
}

.hero__badge-text {
  fill: rgba(16, 57, 109, 0.4);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__badge-icon {
  width: 40%;
  opacity: 0.75;
  filter: contrast(1.1) brightness(0.9);
}

.hero__badge-icon img {
  width: 100%;
  height: auto;
}

@keyframes rotate-badge {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero__watermark {
  position: absolute;
  top: 47%;
  left: 50%;
  z-index: 1;
  margin: 0;
  color: rgba(34, 84, 158, 0.14);
  font-size: clamp(7rem, 24vw, 20rem);
  line-height: 0.82;
  letter-spacing: -0.08em;
  font-weight: 700;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
}

@keyframes hero-nav-orbit {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}

/* ═══════════════════════════════════════════════════
   SEÇÃO DE SERVIÇOS
   ═══════════════════════════════════════════════════ */

.services {
  background: transparent;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 5rem);
}

.services__container {
  width: min(100%, 82rem);
  margin: 0 auto;
}

.services__eyebrow {
  margin: 0 0 clamp(2rem, 4vw, 3.5rem) 0;
  color: var(--ink-muted);
  font-size: clamp(0.7rem, 0.82vw, 0.82rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
}

.services__list {
  display: flex;
  flex-direction: column;
}

.services__item {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.5vw, 2rem);
  text-decoration: none;
  color: var(--ink-primary);
  padding: clamp(1.6rem, 3vw, 2.6rem) 0;
  border-top: 1px solid rgba(10, 22, 40, 0.08);
  position: relative;

  /* Blur animation */
  opacity: 0.15;
  filter: blur(6px);
  transform: translateY(12px);
  transition:
    filter 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: filter, opacity, transform;
}

.services__item:last-child {
  border-bottom: 1px solid rgba(10, 22, 40, 0.08);
}

.services__item.is-focused {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.services__item-index {
  flex-shrink: 0;
  font-size: clamp(0.7rem, 0.82vw, 0.82rem);
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.services__item-title {
  margin: 0;
  flex: 1;
  font-family: "Inter", sans-serif;
  font-size: clamp(1.8rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  transition: color 0.35s ease;
}

.services__item-title em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.services__item-arrow {
  flex-shrink: 0;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--ink-muted);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.35s ease, transform 0.35s ease, color 0.35s ease;
}

.services__item:hover .services__item-title {
  color: var(--accent-blue);
}

.services__item:hover .services__item-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent-blue);
}

/* ═══════════════════════════════════════════════════
   THE PIPELINE (Como Funciona)
   ═══════════════════════════════════════════════════ */

.pipeline {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 5vw, 5rem);
  margin-inline: clamp(0.5rem, 2vw, 1.5rem);
  border-radius: clamp(1.6rem, 3vw, 2.8rem);
  background:
    radial-gradient(circle at 30% 50%, rgba(36, 91, 161, 0.12), transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.08), transparent 55%),
    #0b1220;
  color: #fff;
  overflow: hidden;
}

/* Noise overlay matching Instagram showcase */
.pipeline::after {
  content: "";
  position: absolute;
  inset: -50%;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.08;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.pipeline > * {
  position: relative;
  z-index: 2;
}

.pipeline__header {
  text-align: center;
  margin-bottom: clamp(4rem, 8vw, 6rem);
}

.pipeline__eyebrow {
  margin: 0 0 1rem 0;
  font-size: clamp(0.7rem, 0.82vw, 0.82rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.45);
}

.pipeline__heading {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: #fff;
}

/* Track Container */
.pipeline__track {
  position: relative;
  max-width: 64rem;
  margin: 0 auto;
  display: grid;
  gap: 0;
}

/* Glowing Vertical Line */
.pipeline__line {
  position: absolute;
  left: 2rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
}

.pipeline__line-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, #2ab25e, rgba(42, 178, 94, 0.2));
  border-radius: 2px;
  box-shadow: 0 0 16px rgba(42, 178, 94, 0.4);
  transition: height 0.1s linear;
}

/* Individual Step */
.pipeline__step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  padding-left: 5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  
  /* Scroll reveal */
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.pipeline__step:last-child {
  border-bottom: none;
}

.pipeline__step.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Watermark Number */
.pipeline__number {
  position: absolute;
  left: -1rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  user-select: none;
}

/* Step dot on the line */
.pipeline__step::before {
  content: "";
  position: absolute;
  left: calc(2rem - 5px);
  top: clamp(3rem, 5.5vw, 4rem);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0b1220;
  border: 2px solid rgba(255, 255, 255, 0.15);
  z-index: 3;
  transition: border-color 0.5s ease, box-shadow 0.5s ease, background 0.5s ease;
}

.pipeline__step.is-revealed::before {
  border-color: #2ab25e;
  background: #2ab25e;
  box-shadow: 0 0 12px rgba(42, 178, 94, 0.5);
}

/* Content */
.pipeline__step-title {
  margin: 0 0 0.5rem 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.pipeline__step-desc {
  margin: 0;
  font-size: clamp(0.85rem, 1vw, 1rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
  max-width: 38ch;
}

/* CTA */
.pipeline__cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: clamp(3rem, 6vw, 5rem);
}

.pipeline__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #0b1220;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 1.25rem 3.5rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  will-change: transform;
}

.pipeline__cta:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.15);
}

/* ─── MOBILE: Pipeline ─── */
@media (max-width: 768px) {
  .pipeline__line {
    left: 1rem;
  }
  .pipeline__step {
    padding-left: 3.5rem;
  }
  .pipeline__step::before {
    left: calc(1rem - 5px);
  }
  .pipeline__number {
    left: -0.5rem;
    font-size: clamp(4rem, 18vw, 6rem);
  }
}

/* ═══════════════════════════════════════════════════
   PORTFÓLIO BENTO GRID
   ═══════════════════════════════════════════════════ */

.portfolio {
  padding: 0 0 var(--hero-padding) 0;
}

.portfolio__header {
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3.5rem) 0;
}

.portfolio__eyebrow {
  margin: 0 0 0.75rem 0;
  color: var(--ink-muted);
  font-size: clamp(0.7rem, 0.82vw, 0.82rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
}

.portfolio__heading {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--ink-primary);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.5rem, 1vw, 0.75rem);
  padding-inline: var(--hero-padding);
}

.portfolio__item {
  position: relative;
  background: #1a1a2e;
  border-radius: clamp(1rem, 1.5vw, 1.5rem);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 9;

  /* Stagger reveal */
  opacity: 0;
  transform: translateY(60px) scale(0.96);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--stagger, 0) * 0.12s);
}

.portfolio__item.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ─── Instagram Showcase ─────────────────────────── */

.instagram-showcase {
  position: relative;
  margin: clamp(4rem, 8vw, 6rem) 0 0 0;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 6rem);
  background:
    radial-gradient(circle at 10% 20%, rgba(36, 91, 161, 0.25), transparent 60%),
    radial-gradient(circle at 80% 0%, rgba(124, 58, 237, 0.18), transparent 55%),
    linear-gradient(135deg, #0d1222, #0b1b33 55%, #0e1322);
  border-radius: clamp(1.6rem, 3vw, 2.8rem);
  overflow: hidden;
  color: #f7f7fb;
  box-shadow: 0 24px 50px rgba(0,0,0,0.15);
}

.instagram-showcase::after {
  content: "";
  position: absolute;
  inset: -50%;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.12;
  mix-blend-mode: overlay;
  pointer-events: none;
  animation: film-grain 6s steps(10) infinite;
}

@keyframes film-grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -5%); }
  20% { transform: translate(-10%, 5%); }
  30% { transform: translate(5%, -10%); }
  40% { transform: translate(-5%, 15%); }
  50% { transform: translate(-10%, 5%); }
  60% { transform: translate(15%, 0); }
  70% { transform: translate(0, 10%); }
  80% { transform: translate(3%, 5%); }
  90% { transform: translate(-10%, 10%); }
}

.instagram-showcase__glow {
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.instagram-showcase__header {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.instagram-showcase__eyebrow {
  margin: 0 0 0.8rem 0;
  font-size: clamp(0.7rem, 0.82vw, 0.82rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.65);
}

.instagram-showcase__title {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.shimmer-text {
  font-style: italic;
  display: inline-block;
  background: linear-gradient(120deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.9) 20%, rgba(180,210,255,1) 40%, #fff 50%, rgba(180,210,255,1) 60%, rgba(255,255,255,0.9) 80%, rgba(255,255,255,0.6) 100%);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shine 5s linear infinite;
}

@keyframes shine {
  to { background-position: 200% center; }
}

.instagram-showcase__lead {
  margin: 1.2rem auto 0;
  font-size: clamp(0.88rem, 1.1vw, 1.05rem);
  color: rgba(255, 255, 255, 0.68);
  max-width: 32rem;
}

.instagram-showcase__stage {
  position: relative;
  z-index: 2;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.instagram-showcase__ribbon {
  display: flex;
  font-size: clamp(0.82rem, 1vw, 0.95rem);
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: rgba(255, 255, 255, 0.2);
  white-space: nowrap;
  overflow: visible;
  width: max-content;
  margin-bottom: 1.5rem;
  padding: 0.5rem 0;
  animation: ig-ribbon 18s linear infinite;
}

.instagram-showcase__ribbon span {
  padding-right: 2rem;
}

.instagram-showcase__deck {
  margin-top: clamp(1.5rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: center;
  width: 100%;
}

@media (min-width: 800px) {
  .instagram-showcase__deck {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    justify-items: center;
  }
}

.instagram-showcase__card {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  height: clamp(380px, 50vw, 520px);
  border-radius: clamp(1.6rem, 2.5vw, 2.4rem);
  background: #0a0f1f;
  background-image: var(--ig-image);
  background-size: cover;
  background-position: center top;
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  text-decoration: none;
  overflow: hidden;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --base-transform: translateY(0);
  transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) var(--base-transform);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease, opacity 0.6s ease, box-shadow 0.6s ease;
}

@media (min-width: 800px) {
  .instagram-showcase__card {
    height: clamp(320px, 44vw, 520px);
    max-width: 280px;
    --base-transform: translateY(0) rotate(-2deg);
    box-shadow:
      0 35px 90px rgba(3, 8, 18, 0.6),
      inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    /* Depth of field - default for side cards is slightly blurred */
    filter: blur(4px) brightness(0.7);
    opacity: 0.8;
  }
  .instagram-showcase__card--left {
    --base-transform: translateY(0) rotate(-2deg);
    filter: blur(0px) brightness(0.9);
    opacity: 0.95;
    z-index: 2;
  }
  .instagram-showcase__card--right {
    --base-transform: translateY(18px) rotate(2.5deg);
    filter: blur(0px) brightness(0.9);
    opacity: 0.95;
    z-index: 2;
  }

  /* When hovering ANY card, the entire deck adjusts */
  .instagram-showcase__deck:hover .instagram-showcase__card {
    filter: blur(6px) brightness(0.6);
    opacity: 0.6;
    z-index: 1;
  }

  /* Specific hovered card becomes sharp */
  .instagram-showcase__deck .instagram-showcase__card:hover {
    --base-transform: translateY(-15px) scale(1.05); /* straightens */
    filter: blur(0) brightness(1.1);
    opacity: 1;
    z-index: 10;
    box-shadow:
      0 45px 120px rgba(3, 8, 18, 0.75),
      inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  }
}

.instagram-showcase__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(5, 8, 16, 0.9), rgba(5, 8, 16, 0.1) 55%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.18), transparent 45%);
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.instagram-showcase__handle {
  position: relative;
  z-index: 2;
  margin-bottom: 1.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fdfdff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.3s ease, transform 0.3s ease;
}

.instagram-showcase__card:hover .instagram-showcase__handle {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

@keyframes ig-ribbon {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Image & video containers */
.portfolio__media-container,
.portfolio__video-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.portfolio__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio__item:hover .portfolio__image {
  transform: scale(1.06);
}

.portfolio__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio__item:hover .portfolio__video {
  opacity: 1;
  transform: scale(1.05);
}

.portfolio__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: clamp(1.2rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(
    170deg,
    transparent 30%,
    rgba(0, 0, 0, 0.55) 100%
  );
  transition: background 0.5s ease;
}

.portfolio__item:hover .portfolio__overlay {
  background: linear-gradient(
    170deg,
    transparent 10%,
    rgba(0, 0, 0, 0.72) 100%
  );
}

.portfolio__tag {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
  width: fit-content;
  transition: background 0.3s ease;
}

.portfolio__item:hover .portfolio__tag {
  background: rgba(255, 255, 255, 0.18);
}

.portfolio__title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.3rem, 2.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.portfolio__desc {
  margin: 0.4rem 0 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: clamp(0.78rem, 0.9vw, 0.88rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.portfolio__item:hover .portfolio__desc {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════
   SOBRE NÓS
   ═══════════════════════════════════════════════════ */

.about {
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
}

/* ─── Manifesto ─────────────────────────────────── */

.about__manifesto {
  padding: 0 clamp(1.5rem, 5vw, 5rem);
  max-width: 1100px;
  margin: 0 auto;
}

.about__eyebrow {
  font-size: clamp(0.7rem, 0.82vw, 0.82rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--ink-tertiary);
  margin: 0 0 2.5rem 0;
}

.about__statement {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(2rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--ink-primary);
}

.about__statement em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.about__word {
  display: inline-block;
  opacity: 0.12;
  filter: blur(6px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about__word.is-visible {
  opacity: 1;
  filter: blur(0);
}

/* ─── Marquee ───────────────────────────────────── */

.about__marquee {
  margin: clamp(2.5rem, 5vw, 4rem) 0;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 1.1rem 0;
}

.about__marquee-track {
  display: flex;
  gap: 1.5rem;
  white-space: nowrap;
  animation: marquee-scroll 20s linear infinite;
  width: max-content;
}

.about__marquee-track span {
  font-family: "Inter", sans-serif;
  font-size: clamp(0.78rem, 0.9vw, 0.92rem);
  font-weight: 500;
  color: var(--ink-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Stats ─────────────────────────────────────── */

.about__stats {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 5vw, 5rem);
  max-width: 1000px;
  margin: 0 auto;
}

.about__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.about__stat-number {
  font-family: "Inter", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--ink-primary);
  line-height: 1;
}

.about__stat-label {
  font-size: clamp(0.68rem, 0.8vw, 0.82rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-tertiary);
  text-align: center;
}

/* ─── Team ──────────────────────────────────────── */

.about__team {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 5rem) 0;
  max-width: 1100px;
  margin: 0 auto;
}

.about__team-intro {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.about__team-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.about__member {
  flex: 1;
  max-width: 420px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: clamp(1.2rem, 2vw, 1.8rem);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
  will-change: transform;
  transform-style: preserve-3d;
  perspective: 800px;
}

.about__member:hover {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.1);
}

.about__member-visual {
  position: relative;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__member-gradient {
  position: absolute;
  inset: 0;
}

.about__member-gradient--andre {
  background: linear-gradient(135deg, #0f1724 0%, #1a2a4a 40%, #3a5a8a 100%);
}

.about__member-gradient--dany {
  background: linear-gradient(135deg, #2a1a2e 0%, #4a2a5a 40%, #8a4a7a 100%);
}

.about__member-initial {
  position: relative;
  z-index: 1;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(5rem, 8vw, 7rem);
  font-style: italic;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
  user-select: none;
  transition: color 0.4s ease, transform 0.4s ease;
}

.about__member:hover .about__member-initial {
  color: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.about__member-info {
  padding: clamp(1.2rem, 2vw, 1.8rem);
}

.about__member-name {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(1.2rem, 1.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink-primary);
}

.about__member-role {
  margin: 0.25rem 0 0 0;
  font-size: clamp(0.72rem, 0.8vw, 0.82rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-blue, #3a5a8a);
}

.about__member-bio {
  margin: 0.8rem 0 0 0;
  font-size: clamp(0.85rem, 0.95vw, 0.95rem);
  color: var(--ink-secondary);
  line-height: 1.55;
}

.about__member-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.about__member-skills span {
  padding: 0.25rem 0.6rem;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-tertiary);
  transition: background 0.2s ease, color 0.2s ease;
}

.about__member:hover .about__member-skills span {
  background: rgba(0, 0, 0, 0.08);
  color: var(--ink-secondary);
}

/* Ampersand */
.about__ampersand {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(3rem, 5vw, 5rem);
  font-style: italic;
  color: var(--ink-tertiary);
  opacity: 0.2;
  flex-shrink: 0;
  animation: ampersand-float 4s ease-in-out infinite;
  user-select: none;
}

@keyframes ampersand-float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}

/* ═══════════════════════════════════════════════════
   CINEMATIC VIDEO REEL (Lights Out Effect)
   ═══════════════════════════════════════════════════ */

.video-reel {
  position: relative;
  margin: clamp(4rem, 8vw, 6rem) 0 0 0;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.video-reel__header {
  padding: 0 clamp(1.5rem, 5vw, 6rem);
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  position: relative;
  z-index: 2;
  transition: opacity 0.5s ease;
}

.video-reel__eyebrow {
  margin: 0 0 0.5rem 0;
  color: var(--ink-muted);
  font-size: clamp(0.7rem, 0.82vw, 0.82rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
}

.video-reel__title {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.04em;
  color: var(--ink-primary);
}

/* Horizontal Track */
.video-reel__track-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Hide scrollbar Firefox */
  position: relative;
  z-index: 5;
  cursor: grab;
  scroll-snap-type: x mandatory;
}

.video-reel__track-wrap::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari */
}

.video-reel__track-wrap:active {
  cursor: grabbing;
}

.video-reel__track {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
  padding: 0 clamp(1.5rem, 5vw, 6rem);
  width: max-content;
  will-change: transform;
}

/* Video Items */
.video-reel__item {
  position: relative;
  width: clamp(260px, 30vw, 360px);
  /* vertical ratio 9:16 ~ 1.77 */
  aspect-ratio: 9 / 16;
  border-radius: clamp(1.2rem, 2vw, 1.5rem);
  background: var(--surface-primary);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-radius 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
  scroll-snap-align: center;
}

.video-reel__media {
  width: 100%;
  height: 100%;
  position: relative;
}

.video-reel__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.video-reel__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 1;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

/* Expandable Clone Effect Structure */
.video-modal-overlay {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 13, 0.7); /* Blackout background */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.video-modal-clone {
  position: fixed;
  z-index: 9999;
  border-radius: clamp(1.2rem, 2vw, 1.5rem);
  background: #000;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.video-modal-clone.is-expanded {
  top: 50% !important;
  left: 50% !important;
  width: clamp(280px, 80vh * 0.5625, 420px) !important; /* Keep 9:16 aspect ratio bounds relative to 80vh height */
  height: 80vh !important;
  transform: translate(-50%, -50%) !important;
  border-radius: clamp(0.5rem, 1vw, 1rem); /* Sharpens in center */
  box-shadow: 0 45px 100px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.1);
}

.video-modal-clone video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-modal-mute {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease 0.3s, background 0.3s ease;
}

.video-modal-clone.is-expanded .video-modal-mute {
  opacity: 1;
}

.video-modal-mute:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ═══════════════════════════════════════════════════
   TESTIMONIALS (Cinematic Scroll Experience)
   ═══════════════════════════════════════════════════ */

.testimonials-track {
  position: relative;
  height: 400vh;
  margin-top: clamp(5rem, 10vw, 10rem);
  padding: 0;
  width: 100vw;
  margin-left: max(-50vw + 50%, -100vw);
  margin-right: max(-50vw + 50%, -100vw);
}

.t-cinema {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
  cursor: none;
}

.t-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: clamp(1.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 1.2s;
  z-index: 1;
}

.t-scene::after {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: 5;
  pointer-events: none;
  background: radial-gradient(circle 50vw at var(--mouse-x, 50%) var(--mouse-y, 50%), transparent 0%, rgba(0, 0, 0, 0.85) 100%);
}

.t-scene.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 3;
}

.t-scene__bg {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  filter: blur(15px) brightness(0.6);
  z-index: -1;
  transform: scale(1.05);
  transition: transform 3s cubic-bezier(0.16, 1, 0.3, 1);
}

.t-scene.is-active .t-scene__bg {
  transform: scale(1);
}

.t-scene__content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  transform: translateY(60px);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.t-scene.is-active .t-scene__content {
  transform: translateY(0);
}

.t-scene__eyebrow {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: clamp(0.75rem, 0.8vw, 0.85rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.t-scene__quote {
  margin: 0 0 2.5rem 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(2.8rem, 6.5vw, 5.8rem);
  font-style: italic;
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

.t-scene__quote em {
  font-style: italic;
  color: #a4c5ff;
}

.t-scene__role {
  margin: 0;
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
}

.t-cinema__progress {
  position: absolute;
  bottom: clamp(2rem, 5vw, 4rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: min(80%, 260px);
}

.t-cinema__progress-track {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

.t-cinema__progress-bar {
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* ═══════════════════════════════════════════════════
   CURSOR PERSONALIZADO
   ═══════════════════════════════════════════════════ */

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 90px;
  height: 90px;
  pointer-events: none;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* ═══════════════════════════════════════════════════
   PRELOADER
   ═══════════════════════════════════════════════════ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0b1220;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}

body:not(.is-loading) .preloader {
  transform: translateY(-100%);
  pointer-events: none;
}

.preloader__counter {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(6rem, 15vw, 15rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  display: flex;
  align-items: flex-start;
}

.preloader__percent {
  font-size: 0.3em;
  margin-top: 0.15em;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

.preloader__logo {
  position: absolute;
  bottom: clamp(2rem, 5vw, 3rem);
  font-size: 0.9rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* ═══════════════════════════════════════════════════
   FAQ — OBJECTION KILLER
   ═══════════════════════════════════════════════════ */

.faq {
  padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 5vw, 5rem);
  background: var(--surface-primary);
}

.faq__container {
  max-width: 52rem;
  margin: 0 auto;
}

.faq__header {
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.faq__eyebrow {
  margin: 0 0 1rem 0;
  font-size: clamp(0.7rem, 0.82vw, 0.82rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--ink-tertiary);
}

.faq__heading {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--ink-primary);
}

.faq__heading em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

/* Accordion List */
.faq__list {
  display: flex;
  flex-direction: column;
}

.faq__item {
  border-top: 1px solid rgba(10, 22, 40, 0.08);
}

.faq__item:last-child {
  border-bottom: 1px solid rgba(10, 22, 40, 0.08);
}

/* Question (Summary) */
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.4rem, 2.5vw, 2rem) 0;
  cursor: pointer;
  list-style: none;
  font-family: "Inter", sans-serif;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
  transition: color 0.3s ease;
  -webkit-user-select: none;
  user-select: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question:hover {
  color: var(--ink-secondary);
}

/* Plus icon */
.faq__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid rgba(10, 22, 40, 0.12);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--ink-muted);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-color 0.3s ease;
}

.faq__item[open] .faq__icon {
  transform: rotate(45deg);
  background: var(--ink-primary);
  color: #fff;
  border-color: var(--ink-primary);
}

/* Answer */
.faq__answer {
  overflow: hidden;
  padding: 0 0 clamp(1.4rem, 2.5vw, 2rem) 0;
}

.faq__answer p {
  margin: 0;
  font-size: clamp(0.88rem, 1vw, 1rem);
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 55ch;
}

/* ═══════════════════════════════════════════════════
   CURTAIN FOOTER
   ═══════════════════════════════════════════════════ */
.curtain-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: min(90vh, 800px);
  z-index: 1;
  background: #0b1220;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 5vw, 5rem) clamp(1.5rem, 3vw, 3rem);
}

.curtain-footer__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.curtain-footer__eyebrow {
  margin: 0 0 1rem 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(0.7rem, 0.9vw, 0.85rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.5);
}

.curtain-footer__heading {
  margin: 0 0 3rem 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(4rem, 10vw, 8rem);
  font-style: italic;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #fff;
}

.curtain-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #0b1220;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 1.25rem 3.5rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  will-change: transform;
}

.curtain-footer__cta:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(255,255,255,0.15);
}

.curtain-footer__bottom {
  width: 100%;
  max-width: 1100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  margin-top: auto;
}

.curtain-footer__local {
  display: flex;
  gap: 1rem;
}

.curtain-footer__links {
  display: flex;
  gap: 2.5rem;
}

.curtain-footer__links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.curtain-footer__links a:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .curtain-footer__bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}


/* Esconde cursor nativo em telas não touch */
@media (pointer: fine) {
  body.cursor-active {
    cursor: none;
  }
  body.cursor-active a,
  body.cursor-active button,
  body.cursor-active .hero__nav {
    cursor: none;
  }
}

.custom-cursor__img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  pointer-events: none;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.custom-cursor.is-image-reveal {
  mix-blend-mode: normal;
}

.custom-cursor.is-image-reveal .custom-cursor__img {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.custom-cursor.is-image-reveal .custom-cursor__text-ring {
  opacity: 0;
  transform: scale(1.6);
}

.custom-cursor.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.15);
}

.custom-cursor__text-ring {
  width: 100%;
  height: 100%;
  fill: #fff;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  animation: cursor-spin 8s linear infinite;
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.custom-cursor__text {
  fill: #fff;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.custom-cursor__dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

@keyframes rotate-cursor {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Hide custom cursor on touch/mobile */
@media (hover: none), (max-width: 720px) {
  .custom-cursor { display: none; }
}

/* Hide default cursor on portfolio items (desktop) */
@media (hover: hover) {
  .portfolio__item { cursor: none; }
}

/* ═══════════════════════════════════════════════════
   MODAL NETFLIX-STYLE
   ═══════════════════════════════════════════════════ */

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-modal.is-open {
  pointer-events: auto;
  opacity: 1;
}

.project-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.project-modal__container {
  position: relative;
  width: min(92vw, 720px);
  max-height: 90vh;
  overflow-y: auto;
  background: #111;
  border-radius: clamp(1rem, 2vw, 1.5rem);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: scale(0.92) translateY(30px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Custom Scrollbar */
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
}

.project-modal__container::-webkit-scrollbar {
  width: 6px;
}
.project-modal__container::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
}

.project-modal.is-open .project-modal__container {
  transform: scale(1) translateY(0);
}

.project-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.project-modal__close:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(90deg);
}

/* Hero area (video + gradient) */
.project-modal__hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: clamp(1rem, 2vw, 1.5rem) clamp(1rem, 2vw, 1.5rem) 0 0;
}

.project-modal__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-modal__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: none;
}

.project-modal__hero-image.is-active {
  display: block;
}

.project-modal__video.is-hidden {
  display: none;
}

.project-modal__hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 20%,
    rgba(17, 17, 17, 0.4) 50%,
    rgba(17, 17, 17, 0.85) 75%,
    #111 100%
  );
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Content area */
.project-modal__content {
  padding: 0 clamp(1.5rem, 4vw, 2.5rem) clamp(2rem, 5vw, 3rem);
  margin-top: -3rem;
  position: relative;
  z-index: 2;
}

.project-modal__tag {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.project-modal__title {
  margin: 0 0 1rem 0;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.project-modal__desc {
  margin: 0 0 2rem 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  line-height: 1.65;
  max-width: 540px;
}

.project-modal__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.project-modal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.project-modal__btn--primary {
  background: #fff;
  color: #111;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.project-modal__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.project-modal__btn--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.project-modal__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Body lock when modal is open */
body.modal-open {
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — TABLET
   ═══════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .project-modal__container {
    width: min(95vw, 640px);
  }

  .phone-mockup {
    width: clamp(180px, 28vw, 240px);
  }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — MOBILE
   ═══════════════════════════════════════════════════ */

@media (max-width: 720px) {
  .page {
    padding: 0.75rem;
  }

  .hero {
    min-height: calc(100svh - 1.5rem);
    border-radius: 1.35rem;
  }

  .hero__nav {
    top: 0.65rem;
    padding-inline: 0.75rem;
  }

  .hero__nav-shell {
    gap: 0.45rem;
    padding: 0.3rem;
  }

  .hero__nav-brand-mark {
    width: 3rem;
  }

  .hero__nav-label {
    max-width: calc(100% - 10.5rem);
    font-size: 0.62rem;
    padding: 0.22rem 0.5rem;
    gap: 0.3rem;
  }

  .hero__nav-status-dot {
    width: 4px;
    height: 4px;
  }

  .hero__nav-cta {
    min-height: 2.45rem;
    padding-inline: 0.95rem;
    font-size: 0.8rem;
  }

  .hero__headline {
    font-size: clamp(1.8rem, 9.5vw, 3.4rem);
    max-width: 100%;
  }

  .hero__headline-row--alt {
    padding-left: 1.5rem;
  }

  .hero__eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
  }

  .hero__subhead {
    max-width: 18rem;
    font-size: 0.88rem;
    margin-top: 1rem;
  }

  .hero__badge-container {
    display: none;
  }

  .hero__watermark {
    top: 46%;
    font-size: clamp(5rem, 32vw, 8.6rem);
  }

  .hero__image {
    filter: blur(5px);
  }

  .hero__image--bottom {
    width: 145%;
    bottom: -4%;
    opacity: 0.24;
    filter: blur(8px);
  }

  .hero__bottom-note {
    bottom: 0.95rem;
    gap: 0.12rem;
    font-size: 0.78rem;
    padding-inline: 0.45rem;
    white-space: normal;
    justify-content: center;
  }

  .hero__bottom-note-word {
    min-width: 7.2ch;
  }

  .hero__content {
    width: 100%;
    padding:
      clamp(5rem, 16vw, 6rem)
      1rem
      4.1rem;
  }

  .hero__stage {
    gap: 0.68rem;
  }

  /* Services mobile */
  .services {
    padding: clamp(3rem, 8vw, 5rem) 1.25rem;
  }

  .services__eyebrow {
    margin-bottom: 2rem;
  }

  .services__item {
    gap: 0.8rem;
    padding: 1.2rem 0;
  }

  .services__item-title {
    font-size: clamp(1.4rem, 6.5vw, 2.2rem);
  }

  .services__item-arrow {
    font-size: 1.2rem;
    opacity: 0.4;
    transform: translateX(0);
  }

  /* Portfolio mobile */
  .portfolio__grid {
    grid-template-columns: 1fr;
    padding-inline: 0;
  }

  .portfolio__item {
    border-radius: 1.35rem;
    aspect-ratio: 16 / 10;
  }

  .portfolio__desc {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stagger is faster on mobile */
  .portfolio__item {
    transition-delay: calc(var(--stagger, 0) * 0.08s);
  }

  .portfolio__header {
    padding: 3rem 0 2rem 0;
  }

  .portfolio__heading {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  /* Instagram showcase mobile */
  .instagram-showcase {
    margin: clamp(3rem, 10vw, 4rem) calc(50% - 50vw) 0;
    padding: clamp(3.5rem, 10vw, 5rem) 1.25rem;
    border-radius: 1.5rem;
  }

  .instagram-showcase__header {
    max-width: 100%;
  }

  .instagram-showcase__deck {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .instagram-showcase__card {
    height: 360px;
    transform: none;
  }

  .instagram-showcase__card--center,
  .instagram-showcase__card--right {
    transform: none;
  }

  /* Modal mobile — full width, bottom aligned */
  .project-modal {
    align-items: flex-end;
  }

  .project-modal__container {
    width: 100%;
    max-height: 92vh;
    border-radius: 1.5rem 1.5rem 0 0;
    transform: scale(1) translateY(100%);
  }

  .project-modal.is-open .project-modal__container {
    transform: scale(1) translateY(0);
  }

  .project-modal__hero {
    border-radius: 1.5rem 1.5rem 0 0;
    aspect-ratio: 16 / 10;
  }

  .project-modal__content {
    padding: 0 1.25rem 2rem;
  }

  .project-modal__title {
    font-size: 1.8rem;
  }

  .project-modal__desc {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .project-modal__actions {
    flex-direction: column;
  }

  .project-modal__btn {
    width: 100%;
    justify-content: center;
  }

  /* About mobile */
  .about {
    padding: clamp(4rem, 8vw, 6rem) 0 3rem;
  }

  .about__statement {
    font-size: clamp(1.6rem, 7.5vw, 2.5rem);
  }

  .about__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }

  .about__team-grid {
    flex-direction: column;
    gap: 1.5rem;
  }

  .about__ampersand {
    font-size: 2.5rem;
  }

  .about__member {
    max-width: 100%;
  }

  .about__member-visual {
    height: 160px;
  }

  /* Testimonials mobile */
  .testimonials {
    padding: clamp(3.5rem, 10vw, 5rem) 1.25rem;
  }

  .testimonials__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .testimonials__title {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonials__card {
    min-height: 0;
  }

  .testimonials__media {
    height: 140px;
  }
}

/* ═══════════════════════════════════════════════════
   MOBILE REFINEMENTS (DNA STUDIO)
   ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* 1. Portfolio Grid to Single Column */
  .portfolio__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-inline: clamp(1rem, 4vw, 1.5rem);
  }

  .portfolio__overlay {
    padding: 1.5rem;
  }
  
  .portfolio__title {
    font-size: 1.8rem;
  }

  /* 2. Services Adjustments */
  .services {
    padding: clamp(4rem, 8vw, 6rem) clamp(1rem, 4vw, 1.5rem);
  }
  
  .services__item {
    padding: 1.5rem 0;
    gap: 1rem;
  }
  
  .services__item-index {
    font-size: 0.7rem;
  }

  .services__item-title {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }

  /* 3. Hero Badge Sizing */
  .hero__badge-container {
    right: 1.5rem;
    bottom: 5rem;
  }

  .hero__badge {
    width: clamp(5rem, 15vw, 6rem);
  }

  /* 4. The DNA Widget constraints */
  .dynamic-island.is-open {
    height: 360px;
    border-radius: 28px;
  }
  .dynamic-island__widget {
    padding: 1.25rem;
  }
  .widget-header {
    margin-bottom: 1.2rem;
  }
  .widget-menu {
    gap: 1rem;
  }
  .widget-menu a {
    font-size: 1.15rem;
  }

  /* 5. Curtain Footer Wrap */
  .curtain-footer {
    padding: clamp(3rem, 6vw, 4rem) 1.5rem 2rem;
  }
  
  .curtain-footer__bottom {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
  }
  
  .curtain-footer__links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  /* 6. Ultra-Small Screen Typography Rescues (320-375px bounds) */
  .hero__bottom-note {
    font-size: clamp(0.65rem, 3.5vw, 0.85rem);
    white-space: normal;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
  }
  .hero__bottom-note-prefix {
    white-space: nowrap; /* Previne a quebra doentia no meio da frase */
  }
  .hero__headline-row--alt {
    padding-left: 1rem;
    font-size: 1.05em;
  }
  .hero__subhead {
    font-size: 0.85rem;
    padding: 0 1rem;
  }
}

/* ═══════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  .hero__nav-orbit-light {
    animation: none;
    offset-distance: 12%;
  }

  .hero__nav-cta {
    transition: none;
  }

  .services__item {
    filter: blur(0);
    opacity: 1;
    transform: translateY(0);
    transition: none;
  }

  .hero__badge-svg {
    animation: none;
  }

  .portfolio__item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .testimonials__card {
    filter: none;
  }

  .project-modal__container {
    transition: none;
  }

  .custom-cursor__text-ring {
    animation: none;
  }

  .about__word {
    opacity: 1;
    filter: blur(0);
    transition: none;
  }

  .about__marquee-track {
    animation: none;
  }

  .instagram-showcase__ribbon span {
    animation: none;
  }

  .about__ampersand {
    animation: none;
  }
}
