/* =========================================================
   MN FRONT — Estúdio de Webdesign & Desenvolvimento
   Paleta: Preto / Branco / Cinza
   ========================================================= */

:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #161616;
  --line: #1f1f1f;
  --line-2: #2a2a2a;
  --ink: #f5f5f5;
  --ink-2: #d6d6d6;
  --ink-3: #9a9a9a;
  --ink-4: #6b6b6b;
  --accent: #ffffff;
  --grad: linear-gradient(135deg, #ffffff 0%, #888 50%, #2a2a2a 100%);
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 60px);
  --section-pad: clamp(80px, 12vw, 180px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  cursor: none;
  position: relative;
}

@media (max-width: 900px) {
  body {
    cursor: auto;
  }
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: none;
  border: none;
  background: none;
  color: inherit;
}

@media (max-width: 900px) {
  button {
    cursor: pointer;
  }

  a {
    cursor: pointer;
  }
}

::selection {
  background: var(--ink);
  color: var(--bg);
}

/* ---------- NOISE OVERLAY ---------- */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.7 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}

/* ---------- CUSTOM CURSOR ---------- */
.cursor,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .25s ease, height .25s ease, background .25s ease, opacity .25s ease;
  mix-blend-mode: difference;
}

.cursor {
  width: 32px;
  height: 32px;
  border: 1px solid #fff;
}

.cursor-dot {
  width: 4px;
  height: 4px;
  background: #fff;
}

.cursor.grow {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, .05);
}

@media (max-width: 900px) {

  .cursor,
  .cursor-dot {
    display: none;
  }
}

/* ---------- LOADER ---------- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: grid;
  place-items: center;
  transition: opacity .8s ease, visibility .8s ease;
}

.loader.gone {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  text-align: center;
}

.loader-mark {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 64px;
  letter-spacing: -.04em;
  display: block;
  background: linear-gradient(180deg, #fff 0%, #555 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.loader-symbol {
  width: 64px;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, .12));
  animation: symbolPulse 2s ease-in-out infinite;
  transform-origin: center;
}

@keyframes symbolPulse {

  0%,
  100% {
    opacity: .85;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

.loader-bar {
  display: block;
  width: 220px;
  height: 1px;
  background: var(--line-2);
  margin: 30px auto 0;
  overflow: hidden;
  position: relative;
}

.loader-bar i {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #fff;
  animation: load 1.6s ease forwards;
}

@keyframes load {
  to {
    width: 100%;
  }
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding .35s ease, background .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav.scrolled {
  padding: 14px 0;
  background: rgba(10, 10, 10, .7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--sans);
  transition: opacity .25s ease;
}

.nav-logo:hover {
  opacity: .75;
}

.logo-img {
  height: 32px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, .08));
  transition: height .35s ease;
}

.nav.scrolled .logo-img {
  height: 26px;
}

@media (max-width: 600px) {
  .logo-img {
    height: 26px;
  }

  .nav.scrolled .logo-img {
    height: 22px;
  }
}

.logo-mark {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -.04em;
  background: linear-gradient(180deg, #fff 0%, #888 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-text {
  font-size: 11px;
  letter-spacing: .25em;
  color: var(--ink-3);
  margin-left: 2px;
  font-weight: 500;
}

.nav-menu {
  display: flex;
  gap: 36px;
}

.nav-menu a {
  font-size: 13.5px;
  color: var(--ink-2);
  position: relative;
  font-weight: 400;
  transition: color .2s ease;
}

.nav-menu a:hover {
  color: #fff;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width .3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 10px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  transition: all .25s ease;
  font-weight: 500;
}

.nav-cta:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.nav-cta svg {
  transition: transform .25s ease;
}

.nav-cta:hover svg {
  transform: translateX(3px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}

.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: #fff;
  transition: transform .3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  transform: translateY(-3px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav {
    padding: 16px 0;
  }

  .nav-menu,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav.menu-open {
    background: rgba(10, 10, 10, .95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .nav.menu-open .nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-top: 1px solid var(--line);
    padding: 30px var(--gutter) 40px;
    gap: 22px;
    animation: menuDown .35s ease forwards;
  }

  .nav.menu-open .nav-menu a {
    font-size: 22px;
    font-family: var(--sans);
  }

  @keyframes menuDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--sans);
  letter-spacing: -.01em;
  transition: all .3s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-lg {
  padding: 18px 32px;
  font-size: 15px;
}

.btn-primary {
  background: #fff;
  color: #000;
}

.btn-primary:hover {
  background: #000;
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-primary svg {
  transition: transform .3s ease;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}

.btn-ghost:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: translateY(-2px);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: clamp(90px, 11vh, 110px) var(--gutter) 60px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .06), transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, .03), transparent 50%);
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  top: -200px;
  right: -200px;
  background: radial-gradient(circle, rgba(255, 255, 255, .08), transparent 70%);
  filter: blur(60px);
  animation: float 12s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-60px, 40px);
  }
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto auto;
  gap: 22px;
}

.hero-meta {
  grid-column: 1 / 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink-3);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-family: var(--sans);
  position: relative;
  z-index: 2;
  margin: 0 auto;
}

.dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, .15);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(74, 222, 128, .15);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(74, 222, 128, .05);
  }
}

.hero-title {
  grid-column: 1 / 2;
  font-family: var(--sans);
  font-size: clamp(48px, 8.4vw, 124px);
  line-height: .96;
  letter-spacing: -.045em;
  font-weight: 500;
  color: var(--ink);
  max-width: 14ch;
  position: relative;
  z-index: 2;
  text-align: center;
  margin: 0 auto;
}

.hero-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, #fff 0%, #888 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title .line {
  display: block;
  overflow: visible;
}

.hero-sub {
  grid-column: 1 / 2;
  max-width: 580px;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--ink-2);
  font-weight: 300;
  line-height: 1.55;
  margin-top: 8px;
  position: relative;
  z-index: 2;
  text-align: center;
  margin: 8px auto 0;
}

.hero-sub strong {
  color: #fff;
  font-weight: 500;
}

.hero-actions {
  grid-column: 1 / 2;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
  position: relative;
  z-index: 2;
  justify-content: center;
}

/* Foto recortada — acima do texto, centralizada, muito grande e integrada ao fluxo com sobreposição do texto */
.hero-photo-cutout {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto -380px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  opacity: 0.95;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 1;
}

.hero-photo-cutout img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
  object-position: center;
  filter: grayscale(100%) contrast(1.05);
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
  transition: filter 0.8s ease, transform 1.2s cubic-bezier(.2, .8, .2, 1);
}

.hero:hover .hero-photo-cutout {
  opacity: 1;
}

.hero:hover .hero-photo-cutout img {
  filter: grayscale(85%) contrast(1.1) brightness(1.05);
  transform: scale(1.02);
}

.hero-bottom {
  grid-column: 1 / 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: .05em;
  position: relative;
  z-index: 2;
}

.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  transition: color .25s ease;
}

.scroll-hint:hover {
  color: #fff;
}

.scroll-hint svg {
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(4px);
  }
}

.hero-stack {
  display: flex;
  gap: 10px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.hero-stack span:nth-child(even) {
  color: var(--ink-4);
}

/* Hero responsivo */
@media (max-width: 1100px) {
  .hero-photo-cutout {
    max-width: 900px;
    margin: 0 auto -520px;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: clamp(75px, 10vh, 90px) var(--gutter) clamp(60px, 10vh, 90px);
  }

  .hero-title {
    max-width: 100%;
  }

  .hero-photo-cutout {
    max-width: 700px;
    margin: 0 auto -420px;
  }

  .hero-bottom {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .hero-photo-cutout {
    max-width: 480px;
    margin: 0 auto -320px;
  }

  .hero-stack {
    flex-wrap: wrap;
    gap: 6px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* ---------- MARQUEE (minimal) ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 14px 0;
  background: transparent;
}

.marquee-track {
  display: flex;
  gap: 28px;
  align-items: center;
  white-space: nowrap;
  animation: scroll 60s linear infinite;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.marquee-track span {
  font-style: normal;
  font-family: var(--sans);
  font-weight: 400;
}

.marquee-track i {
  color: var(--ink-4);
  font-style: normal;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---------- SECTION HEADS ---------- */
.section-head {
  max-width: var(--container);
  margin: 0 auto var(--gutter);
  padding: 0 var(--gutter);
}

.section-num {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-2);
}

.section-title {
  font-family: var(--sans);
  font-size: clamp(32px, 5.6vw, 84px);
  line-height: 1.04;
  letter-spacing: -.04em;
  font-weight: 500;
  max-width: 900px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.section-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink-3);
}

.section-sub {
  margin-top: 18px;
  max-width: 560px;
  color: var(--ink-3);
  font-size: 16px;
}

/* ---------- SOBRE ---------- */
.sobre {
  padding: var(--section-pad) 0;
  position: relative;
}

.sobre-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.sobre-photo {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.sobre-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%) contrast(1.05);
  transition: transform 1.2s cubic-bezier(.2, .8, .2, 1), filter .5s ease;
}

.sobre-photo:hover > img {
  transform: scale(1.03);
  filter: grayscale(0%) contrast(1.1);
}

.sobre-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  max-width: max-content;
}

.sobre-badge-symbol {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, .1));
}

.sobre-badge small {
  font-size: 9.5px;
  color: var(--ink-3);
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sobre-text .lead {
  font-family: var(--sans);
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.3;
  letter-spacing: -.02em;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 24px;
}

.sobre-text .lead strong {
  font-weight: 500;
}

.sobre-text p {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 540px;
}

.sobre-stats {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.stat-num {
  font-family: var(--sans);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -.04em;
  display: block;
  line-height: 1;
  background: linear-gradient(180deg, #fff 0%, #777 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-num i {
  font-style: normal;
  color: var(--ink-3);
  font-size: .6em;
  margin-left: 2px;
}

.stat-lbl {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--ink-3);
  letter-spacing: .03em;
}

@media (max-width: 900px) {
  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sobre-photo {
    max-width: 380px;
  }
}

/* ---------- SERVIÇOS ---------- */
.servicos {
  padding: var(--section-pad) 0;
  background: var(--bg-2);
}

.servicos-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.serv-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all .4s cubic-bezier(.2, .8, .2, 1);
  overflow: hidden;
}

.serv-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, .06), transparent 60%);
  opacity: 0;
  transition: opacity .4s ease;
}

.serv-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-2);
  background: #1a1a1a;
}

.serv-card:hover::before {
  opacity: 1;
}

.serv-num {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: .15em;
  margin-bottom: 28px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  display: block;
}

.serv-card h3 {
  font-family: var(--sans);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: -.02em;
  margin-bottom: 12px;
  line-height: 1.15;
}

.serv-card p {
  color: var(--ink-3);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 22px;
}

.serv-card ul {
  list-style: none;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.serv-card ul li {
  font-size: 13px;
  color: var(--ink-2);
  padding: 6px 0;
  position: relative;
  padding-left: 16px;
}

.serv-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--ink-4);
}

.serv-arrow {
  position: absolute;
  top: 28px;
  right: 28px;
  font-size: 22px;
  color: var(--ink-4);
  transition: all .4s ease;
}

.serv-card:hover .serv-arrow {
  color: #fff;
  transform: translate(4px, -4px);
}

.serv-card--dark {
  background: #0d0d0d;
  border-color: var(--line-2);
}

.serv-card--cta {
  background: #fff;
  color: #000;
  border: none;
}

.serv-card--cta::before {
  display: none;
}

.serv-card--cta:hover {
  background: #f0f0f0;
}

.serv-card--cta h3 {
  color: #000;
}

.serv-card--cta p {
  color: #444;
}

.serv-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 14px 20px;
  background: #000;
  color: #fff;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  font-family: var(--sans);
  align-self: flex-start;
  transition: all .3s ease;
}

.serv-cta-btn:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 0 0 1px #000 inset;
}

.serv-cta-btn svg {
  transition: transform .3s ease;
}

.serv-cta-btn:hover svg {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .servicos-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- PROCESSO ---------- */
.processo {
  padding: var(--section-pad) 0;
}

.processo-list {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: start;
  gap: 40px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  position: relative;
  transition: all .4s ease;
}

.step:last-child {
  border-bottom: 1px solid var(--line);
}

.step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width .8s cubic-bezier(.2, .8, .2, 1);
}

.step:hover::before {
  width: 100%;
}

.step:hover {
  padding-left: 20px;
}

.step-num {
  font-family: var(--sans);
  font-size: 18px;
  color: var(--ink-3);
  letter-spacing: -.02em;
}

.step-body h3 {
  font-family: var(--sans);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -.03em;
  margin-bottom: 8px;
  line-height: 1.1;
}

.step-body p {
  color: var(--ink-3);
  font-size: 15px;
  max-width: 560px;
}

.step-dur {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .step {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step-dur {
    justify-self: start;
  }
}

/* ---------- PORTFOLIO ---------- */
.portfolio {
  padding: var(--section-pad) 0;
  background: var(--bg-2);
}

.port-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.port-card {
  display: flex;
  flex-direction: column;
}

.port-card--lg {
  grid-column: span 2;
}

.port-img {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), border-color .4s ease;
  cursor: none;
}

.port-img--portrait {
  aspect-ratio: 10/16;
}

.port-card:hover .port-img {
  transform: translateY(-6px);
  border-color: var(--line-2);
}

.port-img--gradient-1 {
  background: linear-gradient(135deg, #2a2a2a 0%, #0a0a0a 100%);
}

.port-img--gradient-2 {
  background: linear-gradient(135deg, #1a1a1a 0%, #303030 100%);
}

.port-img--gradient-3 {
  background: linear-gradient(135deg, #0d0d0d 0%, #1f1f1f 60%, #2a2a2a 100%);
}

.port-img--gradient-4 {
  background: linear-gradient(135deg, #222 0%, #050505 100%);
}

.port-img--gradient-5 {
  background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
}

.port-img--gradient-6 {
  background: linear-gradient(135deg, #1e293b 0%, #0d0f14 100%);
}

.port-mock {
  position: absolute;
  inset: 24px;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}

.port-card:hover .port-mock {
  transform: scale(1.02);
}

.port-mock--mobile {
  position: absolute;
  inset: 24px;
  background: #000;
  border-radius: 20px;
  border: 4px solid #1f1f1f;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}

.port-card:hover .port-mock--mobile {
  transform: scale(1.02);
}

.port-project-img {
  flex: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(100%);
  transition: filter 0.5s ease, transform 0.5s cubic-bezier(.2, .8, .2, 1);
}

.port-card:hover .port-project-img {
  filter: grayscale(0%);
  transform: scale(1.02);
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #f3f3f3;
  border-bottom: 1px solid #e5e5e5;
}

.mock-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d0d0d0;
}

.mock-bar i:nth-child(2) {
  background: #ccc;
}

.mock-bar i:nth-child(3) {
  background: #c0c0c0;
}

.mock-bar span {
  margin-left: auto;
  font-size: 10px;
  color: #888;
  font-family: var(--sans);
}

.mock-hero {
  flex: 1;
  background: #fafafa;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.mock-hero h4 {
  font-family: var(--sans);
  color: #111;
  font-size: clamp(16px, 1.8vw, 22px);
  letter-spacing: -.02em;
}

.mock-hero p {
  color: #666;
  font-size: 11px;
}

.mock-btn {
  margin-top: 6px;
  background: #111;
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 500;
}

.mock-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-block {
  width: 80%;
  height: 16px;
  background: #1a1a1a;
  border-radius: 4px;
}

.mock-block.thin {
  width: 60%;
  height: 8px;
  background: #ccc;
}

.mock-block.tinier {
  width: 40%;
  height: 6px;
  background: #ddd;
}

.mock-row {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.mock-row span {
  flex: 1;
  height: 40px;
  background: #eee;
  border-radius: 4px;
}

.mock-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #1a1a1a;
}

.mock-shop {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 16px;
  background: #fafafa;
}

.shop-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 4px;
  gap: 6px;
}

.shop-item span {
  width: 100%;
  height: 30px;
  background: #ddd;
  border-radius: 3px;
}

.shop-item i {
  font-style: normal;
  font-size: 9px;
  color: #888;
  font-family: var(--sans);
}

.port-meta {
  padding: 18px 4px;
}

.port-cat {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}

.port-meta h3 {
  font-family: var(--sans);
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -.02em;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 6px;
}

.port-meta p {
  color: var(--ink-3);
  font-size: 14px;
}

@media (max-width: 900px) {
  .port-grid {
    grid-template-columns: 1fr;
  }

  .port-card--lg {
    grid-column: auto;
  }
}

/* ---------- BRIEFING ---------- */
.briefing {
  padding: var(--section-pad) 0;
}

.brief-form {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.brief-step {
  border-top: 1px solid var(--line);
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.brief-num {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.brief-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.brief-form label>span {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--ink-2);
  letter-spacing: -.01em;
}

.brief-form input,
.brief-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-2);
  padding: 14px 0;
  color: #fff;
  font-family: var(--body);
  font-size: 17px;
  width: 100%;
  outline: none;
  transition: border-color .25s ease;
  resize: vertical;
}

.brief-form input::placeholder,
.brief-form textarea::placeholder {
  color: var(--ink-4);
}

.brief-form input:focus,
.brief-form textarea:focus {
  border-color: #fff;
}

.brief-form fieldset {
  border: none;
}

.brief-form legend {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--ink-2);
  margin-bottom: 14px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  position: relative;
}

.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip span {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-2);
  transition: all .25s ease;
  cursor: none;
}

@media (max-width: 900px) {
  .chip span {
    cursor: pointer;
  }
}

.chip:hover span {
  border-color: var(--ink-3);
  color: #fff;
}

.chip input:checked+span {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.brief-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.brief-note {
  color: var(--ink-3);
  font-size: 13px;
  max-width: 380px;
}

/* ---------- CTA FINAL ---------- */
.cta {
  padding: var(--section-pad) var(--gutter);
  position: relative;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .06), transparent 70%);
  filter: blur(60px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 14s ease-in-out infinite;
}

.cta-inner {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-family: var(--sans);
  font-size: clamp(36px, 7.4vw, 104px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 500;
  margin: 20px 0 24px;
  word-wrap: break-word;
}

@media (max-width: 600px) {
  .cta-title br {
    display: none;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.cta-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, #fff 0%, #888 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta-sub {
  color: var(--ink-2);
  font-size: clamp(15px, 1.5vw, 19px);
  max-width: 560px;
  margin: 0 auto 40px;
  font-weight: 300;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #050505;
  padding: 80px var(--gutter) 30px;
  border-top: 1px solid var(--line);
}

.footer-top {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}

.footer-brand p {
  margin-top: 20px;
  color: var(--ink-3);
  font-size: 14px;
  max-width: 360px;
  line-height: 1.6;
}

.footer-logo {
  height: 44px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, .06));
  opacity: .95;
}

.logo-mark--lg {
  font-size: 56px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-cols>div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-h {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}

.footer-cols a {
  font-size: 14px;
  color: var(--ink-2);
  transition: color .2s ease;
}

.footer-cols a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: var(--container);
  margin: 30px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-4);
  letter-spacing: .03em;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 700px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- WHATSAPP FLOAT ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 99;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .35), 0 0 0 0 rgba(37, 211, 102, .5);
  transition: transform .3s ease, box-shadow .3s ease;
  animation: waPulse 2.4s ease-in-out infinite;
}

@keyframes waPulse {

  0%,
  100% {
    box-shadow: 0 10px 30px rgba(37, 211, 102, .35), 0 0 0 0 rgba(37, 211, 102, .4);
  }

  50% {
    box-shadow: 0 10px 30px rgba(37, 211, 102, .35), 0 0 0 16px rgba(37, 211, 102, 0);
  }
}

.wa-float:hover {
  transform: scale(1.08);
}

/* ---------- REVEAL ANIMATIONS ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1);
}

[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger child cards */
.servicos-grid .serv-card {
  transition-delay: 0s;
}

.servicos-grid .serv-card:nth-child(2) {
  transition-delay: .08s;
}

.servicos-grid .serv-card:nth-child(3) {
  transition-delay: .16s;
}

.servicos-grid .serv-card:nth-child(4) {
  transition-delay: .24s;
}

.servicos-grid .serv-card:nth-child(5) {
  transition-delay: .32s;
}

.servicos-grid .serv-card:nth-child(6) {
  transition-delay: .40s;
}

.port-grid .port-card:nth-child(2) {
  transition-delay: .1s;
}

.port-grid .port-card:nth-child(3) {
  transition-delay: .2s;
}

.port-grid .port-card:nth-child(4) {
  transition-delay: .3s;
}

/* Title line reveal */
.hero-title .line {
  opacity: 0;
  animation: blurSlideUp 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.hero-title .line:nth-child(1) {
  animation-delay: 1.0s;
}

.hero-title .line:nth-child(2) {
  animation-delay: 1.15s;
}

.hero-title .line:nth-child(3) {
  animation-delay: 1.3s;
}

.hero-meta {
  opacity: 0;
  animation: blurSlideUp 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: .9s;
}

.hero-sub {
  opacity: 0;
  animation: blurSlideUp 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: 1.5s;
}

.hero-actions {
  opacity: 0;
  animation: blurSlideUp 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: 1.7s;
}

.hero-photo-cutout,
.hero-bottom {
  opacity: 0;
  animation: fadeIn 1.2s ease forwards;
}

.hero-photo-cutout {
  animation-delay: 1.1s;
  animation-duration: 1.6s;
}

.hero-bottom {
  animation-delay: 1.9s;
}

@keyframes blurSlideUp {
  from {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 10100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: var(--ink-3);
  font-size: 24px;
  z-index: 10110;
  transition: color 0.25s ease, transform 0.25s ease;
}

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

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-3);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10110;
}

.lightbox-nav:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
  left: 40px;
}

.lightbox-next {
  right: 40px;
}

.lightbox-content {
  position: relative;
  max-width: 85vw;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.lightbox.active .lightbox-img {
  opacity: 1;
  transform: scale(1);
}

.lightbox-counter {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .lightbox-close {
    top: 20px;
    right: 20px;
  }
  .lightbox-nav {
    width: 44px;
    height: 44px;
  }
  .lightbox-prev {
    left: 15px;
  }
  .lightbox-next {
    right: 15px;
  }
  .lightbox-content {
    max-width: 90vw;
  }
}