/* ============================================================
   CHRISTIE — CSS Design System
   Palette: #f238a7 | #ff4733 | #a609ee | #f238a7 | #5668b0 | #ceeaee
   Fonts: Bebas Neue (display) + DM Sans (body)
   ============================================================ */

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

:root {
  --bg:       #0a0a0b;
  --surface:  #111115;
  --surface2: #18181e;
  --lime:     #f238a7;
  --red:      #ff4733;
  --purple:   #a609ee;
  --pink:     #f238a7;
  --slate:    #5668b0;
  --ice:      #ceeaee;
  --white:    #f0f0eb;
  --muted:    #5a5a62;
  --border:   rgba(255,255,255,0.07);

  --font-display: 'Bebas Neue', 'Impact', 'Arial Black', sans-serif;
  --font-body:    'DM Sans', 'Segoe UI', sans-serif;

  --radius:  12px;
  --radius-lg: 20px;
  --nav-h: 72px;
  --container: 1280px;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--lime) var(--surface);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--lime); border-radius: 3px; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* Grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 9999;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: none; border: none; background: none; font: inherit; color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
}

/* ---- DOTS ---- */
.dot { display: inline-block; border-radius: 50%; width: 8px; height: 8px; }
.dot--lime   { background: var(--lime); }
.dot--red    { background: var(--red); }
.dot--purple { background: var(--purple); }
.dot--pink   { background: var(--pink); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .02em;
  transition: transform .2s, box-shadow .2s, background .2s;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.1);
  opacity: 0;
  transition: opacity .2s;
}

.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--lime {
  background: var(--lime);
  color: #0a0a0b;
  box-shadow: 0 0 30px rgba(242,56,167,.35);
}
.btn--lime:hover { box-shadow: 0 0 40px rgba(242,56,167,.55); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.3);
}
.btn--ghost:hover { border-color: var(--white); }

.btn--dark {
  background: var(--bg);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
}
.btn--dark:hover { background: var(--surface2); }

.btn--outline-dark {
  background: transparent;
  color: var(--bg);
  border: 1.5px solid var(--bg);
}
.btn--outline-dark:hover { background: rgba(0,0,0,.08); }

.btn-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ---- SECTION LABELS ---- */
.section-label {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1rem;
}
.section-label--dark { color: var(--bg); opacity: .6; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: .01em;
  color: var(--white);
}
.section-title em {
  font-style: normal;
  color: var(--lime);
}

.section-header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

/* ============================================================
   CURSOR
   ============================================================ */
.cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: difference;
}

.cursor-ring {
  position: absolute;
  width: 40px; height: 40px;
  border: 1.5px solid var(--lime);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .3s, height .3s, opacity .3s, background .3s;
}

.cursor-dot {
  position: absolute;
  width: 6px; height: 6px;
  background: var(--lime);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform .1s;
}

.cursor.is-hovering .cursor-ring {
  width: 60px; height: 60px;
  background: rgba(242,56,167,.1);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
  transition: background .4s, backdrop-filter .4s, box-shadow .4s;
}

.nav.scrolled {
  background: rgba(10,10,11,.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 1px 0 var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  margin-right: auto;
  transition: opacity .2s;
}
.nav-logo:hover { opacity: .8; }
.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) saturate(100%) invert(32%) sepia(90%) saturate(1500%) hue-rotate(300deg) brightness(100%) contrast(100%);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  margin-right: 2.5rem;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 400;
  letter-spacing: .05em;
  color: rgba(240,240,235,.7);
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transition: transform .25s;
  transform-origin: left;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1.25rem;
  border: 1.5px solid var(--lime);
  border-radius: 100px;
  font-size: .85rem;
  color: var(--lime);
  transition: background .2s, color .2s;
}
.nav-cta:hover { background: var(--lime); color: var(--bg); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--surface);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.77,0,.175,1);
}
.mobile-menu.open { transform: none; }
.mobile-menu ul { text-align: center; }
.mobile-menu li + li { margin-top: 1.5rem; }
.mobile-link {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 10vw, 4rem);
  letter-spacing: .04em;
  color: var(--white);
  transition: color .2s;
}
.mobile-link:hover { color: var(--lime); }
.mobile-cta {
  font-size: 1.1rem;
  color: var(--lime);
  border: 1.5px solid var(--lime);
  padding: .75rem 2rem;
  border-radius: 100px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,10,11,.92) 0%,
    rgba(10,10,11,.65) 50%,
    rgba(10,10,11,.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
  max-width: var(--container);
  margin-inline: auto;
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(240,240,235,.7);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  padding: .4rem 1rem .4rem .6rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: -.1em;
  margin-bottom: 1.75rem;
}

.hero-line {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 13vw, 14rem);
  line-height: .9;
  letter-spacing: .01em;
  color: var(--white);
}
.hero-line--accent { color: var(--lime); }

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(240,240,235,.65);
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: clamp(1.5rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 1;
}
.hero-scroll-line {
  width: 60px;
  height: 1px;
  background: var(--muted);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  inset-block: 0;
  left: -100%;
  width: 100%;
  background: var(--lime);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { left: -100%; }
  50% { left: 0%; }
  100% { left: 100%; }
}

/* Floating service tags */
.hero-float {
  position: absolute;
  z-index: 2;
  background: rgba(17,17,21,.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: .5rem 1.1rem;
  font-size: .82rem;
  color: var(--white);
  font-weight: 500;
  animation: float 4s ease-in-out infinite;
}

.hero-float--1 { bottom: 30%; right: 8%; animation-delay: 0s; }
.hero-float--2 { bottom: 22%; right: 14%; animation-delay: .8s; }
.hero-float--3 { bottom: 14%; right: 6%; animation-delay: 1.6s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  animation: revealUp .7s cubic-bezier(.22,1,.36,1) both;
  animation-delay: var(--d, 0s);
}

@keyframes revealUp {
  to { opacity: 1; transform: none; }
}

/* Scroll reveals via IntersectionObserver */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.scroll-reveal.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   SOBRE
   ============================================================ */
.sobre {
  padding-block: clamp(6rem, 12vw, 10rem);
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.sobre::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(166,9,238,.12) 0%, transparent 70%);
  top: -200px; right: -200px;
  pointer-events: none;
}

.sobre-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.sobre-media {
  position: relative;
}

.sobre-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.sobre-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.sobre-img-wrap:hover img { transform: scale(1.03); }

.sobre-img-accent {
  position: absolute;
  bottom: -2px; left: -2px;
  right: 30%; top: 30%;
  border: 2px solid var(--lime);
  border-radius: var(--radius-lg);
  pointer-events: none;
  z-index: 2;
}

.sobre-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  transition: border-color .2s;
}
.stat:hover { border-color: var(--lime); }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--lime);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: .75rem;
  color: var(--muted);
  margin-top: .2rem;
}

.sobre-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: .01em;
  margin-bottom: 1.5rem;
}
.sobre-title em { font-style: normal; color: var(--pink); }

.sobre-p {
  color: rgba(240,240,235,.7);
  margin-bottom: 1rem;
}
.sobre-p strong { color: var(--white); }

.sobre-quote {
  border-left: 3px solid var(--pink);
  padding-left: 1.25rem;
  margin-block: 1.75rem;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--pink);
  line-height: 1.5;
}

.sobre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.5rem;
}

.tag {
  display: inline-block;
  padding: .35rem .9rem;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 500;
  border: 1px solid;
}
.tag--arch   { color: var(--slate); border-color: var(--slate); }
.tag--fashion { color: var(--pink); border-color: var(--pink); }
.tag--food   { color: var(--lime); border-color: var(--lime); }

/* ============================================================
   SERVIÇOS
   ============================================================ */
.servicos {
  padding-block: clamp(6rem, 12vw, 10rem);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.servicos::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(242,56,167,.07) 0%, transparent 70%);
  bottom: -100px; left: -100px;
  pointer-events: none;
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.servico-card {
  background: var(--surface);
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
  transition: background .3s;
  border-right: 1.5px solid var(--border);
}
.servico-card:last-child { border-right: none; }

.servico-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--lime);
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.77,0,.175,1);
}
.servico-card:hover::before { transform: translateY(0); }
.servico-card:hover { color: var(--bg); }
.servico-card:hover .servico-num,
.servico-card:hover .servico-icon,
.servico-card:hover h3,
.servico-card:hover p,
.servico-card:hover .servico-list li,
.servico-card:hover .servico-arrow { color: var(--bg); }

.servico-num {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: rgba(255,255,255,.06);
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  transition: color .3s;
}

.servico-icon {
  width: 56px; height: 56px;
  color: var(--lime);
  margin-bottom: 1.5rem;
  position: relative;
  transition: color .3s;
}
.servico-card:hover .servico-icon { color: var(--bg); }

.servico-card h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: .02em;
  margin-bottom: .75rem;
  position: relative;
  transition: color .3s;
}

.servico-card p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  position: relative;
  transition: color .3s;
}
.servico-card:hover p { color: rgba(10,10,11,.7); }

.servico-list {
  position: relative;
}
.servico-list li {
  font-size: .82rem;
  color: rgba(240,240,235,.5);
  padding: .35rem 0;
  border-top: 1px solid var(--border);
  transition: color .3s, border-color .3s;
}
.servico-card:hover .servico-list li { color: rgba(10,10,11,.6); border-color: rgba(10,10,11,.15); }
.servico-list li:last-child { border-bottom: 1px solid var(--border); }
.servico-card:hover .servico-list li:last-child { border-color: rgba(10,10,11,.15); }

.servico-arrow {
  position: absolute;
  bottom: 2rem; right: 2rem;
  font-size: 1.5rem;
  color: rgba(255,255,255,.2);
  transition: transform .3s, color .3s;
}
.servico-card:hover .servico-arrow { transform: translate(4px,-4px); color: var(--bg); }

/* ============================================================
   PORTFÓLIO
   ============================================================ */
.portfolio {
  padding-block: clamp(6rem, 12vw, 10rem);
  background: var(--surface);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: 12px;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
  max-width: var(--container);
  margin-inline: auto;
}

.pf-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: none;
  group: true;
}

.pf-item--wide {
  grid-column: span 2;
}

.pf-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.22,1,.36,1), filter .4s;
  filter: brightness(.9) saturate(.85);
}

.pf-item:hover img {
  transform: scale(1.07);
  filter: brightness(1) saturate(1.1);
}

.pf-item figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.25rem 1rem .9rem;
  background: linear-gradient(transparent, rgba(10,10,11,.88));
  display: flex;
  flex-direction: column;
  gap: .2rem;
  transform: translateY(12px);
  opacity: 0;
  transition: transform .35s, opacity .35s;
}

.pf-item:hover figcaption {
  transform: none;
  opacity: 1;
}

.pf-client {
  font-weight: 600;
  font-size: .9rem;
  color: var(--lime);
}

.pf-type {
  font-size: .75rem;
  color: rgba(240,240,235,.65);
  letter-spacing: .06em;
}

/* Clip-path reveal accent on hover */
.pf-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--lime);
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity .3s;
}
.pf-item:hover::after { opacity: 1; }

/* LIGHTBOX */
.lightbox {
  border: none;
  background: transparent;
  padding: 0;
  width: 100vw;
  height: 100dvh;
  max-width: 100vw;
  max-height: 100dvh;
  display: none;
  align-items: center;
  justify-content: center;
  outline: none;
  overflow: hidden;
}

.lightbox[open] {
  display: flex;
}

.lightbox::backdrop {
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox-inner {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: min(92vw, 900px);
  max-height: 90dvh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
}

.lightbox-close {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 1.2rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background .2s;
  cursor: none;
  color: var(--white);
  flex-shrink: 0;
}
.lightbox-close:hover { background: var(--red); }

.lightbox-img {
  width: 100%;
  max-height: 80dvh;
  object-fit: contain;
  display: block;
  flex-shrink: 1;
}

.lightbox-caption {
  padding: .85rem 1.5rem;
  font-size: .82rem;
  color: rgba(240,240,235,.6);
  text-align: center;
  flex-shrink: 0;
  background: var(--surface);
}

/* Portfolio blocks (preview + ver mais) */
.pf-block {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.pf-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.pf-block-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pf-block-tag {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.pf-block-client {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  letter-spacing: .02em;
  color: var(--white);
  line-height: 1;
}

.pf-block-desc {
  display: block;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .25rem;
}

.btn-ver-mais {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--lime);
  border: 1px solid rgba(242,56,167,.3);
  padding: .55rem 1.25rem;
  border-radius: 100px;
  transition: background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn-ver-mais:hover {
  background: var(--lime);
  color: var(--bg);
  border-color: var(--lime);
}
.btn-ver-count {
  background: rgba(242,56,167,.15);
  border-radius: 100px;
  padding: .1rem .5rem;
  font-size: .72rem;
}
.btn-ver-mais:hover .btn-ver-count {
  background: rgba(0,0,0,.15);
}

/* ============================================================
   MARQUEE — CLIENTES
   ============================================================ */
.clientes {
  padding-block: 2.5rem;
  background: var(--bg);
  border-block: 1px solid var(--border);
  overflow: hidden;
}

.marquee { overflow: hidden; }

.marquee-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee-scroll 20s linear infinite;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: .06em;
  color: rgba(240,240,235,.4);
}

.marquee-track span.dot {
  font-size: 1rem;
  flex-shrink: 0;
}

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

/* ============================================================
   CONTATO
   ============================================================ */
.contato {
  padding-block: clamp(6rem, 12vw, 10rem);
  background: var(--lime);
  position: relative;
  overflow: hidden;
}

.contato::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
  top: -300px; right: -200px;
  pointer-events: none;
}

.contato-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.contato-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: .95;
  letter-spacing: .01em;
  color: var(--bg);
  margin-bottom: 1.25rem;
}
.contato-title em { font-style: normal; color: var(--bg); }


.contato-sub {
  font-size: 1.05rem;
  color: rgba(10,10,11,.65);
  max-width: 420px;
  margin-bottom: 2.5rem;
}

.contato-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contato-email {
  font-size: .85rem;
  color: rgba(10,10,11,.55);
  border-bottom: 1px solid rgba(10,10,11,.25);
  padding-bottom: .1rem;
  transition: color .2s, border-color .2s;
}
.contato-email:hover { color: var(--bg); border-color: var(--bg); }

/* Images stack */
.contato-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contato-img-stack {
  position: relative;
  width: 360px;
  height: 440px;
}

.contato-img {
  width: 260px;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  position: absolute;
  border: 4px solid var(--lime);
}
.contato-img--back {
  bottom: 0; left: 0;
  transform: rotate(-6deg);
  box-shadow: -8px 8px 32px rgba(0,0,0,.25);
  border-color: var(--bg);
}
.contato-img--front {
  top: 0; right: 0;
  transform: rotate(4deg);
  box-shadow: 8px 8px 32px rgba(0,0,0,.2);
  z-index: 2;
  border-color: rgba(10,10,11,.15);
}

.contato-badge {
  position: absolute;
  bottom: 1rem;
  right: -1rem;
  background: var(--bg);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  z-index: 3;
  min-width: 140px;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
  animation: float 3s ease-in-out infinite;
}

.badge-top {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 600;
  margin-bottom: .3rem;
}
.badge-top::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242,56,167,.6); }
  50% { box-shadow: 0 0 0 6px rgba(242,56,167,0); }
}

.badge-main {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.2;
  color: var(--white);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-block: 2rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--lime);
  letter-spacing: .06em;
}

.footer-copy {
  font-size: .78rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-size: .8rem;
  color: var(--muted);
  transition: color .2s;
}
.footer-links a:hover { color: var(--lime); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .servicos-grid { grid-template-columns: 1fr; }
  .servico-card { border-right: none; border-bottom: 1.5px solid var(--border); }
  .servico-card:last-child { border-bottom: none; }

  .sobre-inner { grid-template-columns: 1fr; }
  .sobre-media { max-width: 480px; margin-inline: auto; }

  .contato-inner { grid-template-columns: 1fr; }
  .contato-visual { display: none; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }

  .hero-line { font-size: clamp(3.5rem, 16vw, 6rem); }

  .hero-float--1, .hero-float--2, .hero-float--3 { display: none; }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
  .pf-item--wide { grid-column: span 2; }

  .sobre-stats { grid-template-columns: repeat(3, 1fr); }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }

  body { cursor: auto; }
  .cursor { display: none; }
}

@media (max-width: 480px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }
  .pf-item--wide { grid-column: span 1; }

  .sobre-stats { grid-template-columns: repeat(3, 1fr); }

  .contato-actions { flex-direction: column; }
}

/* ---- Logo imagem ---- */
.footer-logo-img {
  height: 38px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: .65;
  transition: opacity .2s;
}
.footer-logo-img:hover { opacity: 1; }

/* ---- Retrato contato ---- */
.contato-portrait-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  max-width: 360px;
  margin-inline: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,.4), 0 0 0 1px rgba(0,0,0,.15);
}
.contato-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .5s ease;
}
.contato-portrait-wrap:hover .contato-portrait { transform: scale(1.04); }

/* ---- Dev credit ---- */
.dev-credit {
  background: #000;
  text-align: center;
  padding: .6rem 1rem;
  font-size: .72rem;
  color: rgba(255,255,255,.25);
  letter-spacing: .06em;
}
.dev-credit a {
  color: rgba(255,255,255,.45);
  transition: color .2s;
  font-weight: 500;
}
.dev-credit a:hover {
  color: var(--lime);
}


/* ---- Stack de fotos do ensaio no contato ---- */
.contato-ensaio-stack {
  position: relative;
  width: 340px;
  height: 420px;
  margin-inline: auto;
}

.ensaio-card {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,.35);
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.ensaio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ensaio-card--back {
  width: 240px; height: 300px;
  bottom: 0; left: 0;
  transform: rotate(-8deg) translateX(-10px);
  z-index: 1;
}
.ensaio-card--mid {
  width: 220px; height: 280px;
  top: 20px; right: 0;
  transform: rotate(5deg) translateX(10px);
  z-index: 2;
}
.ensaio-card--front {
  width: 260px; height: 320px;
  bottom: 10px; left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  z-index: 3;
}

.contato-ensaio-stack:hover .ensaio-card--back  { transform: rotate(-12deg) translateX(-20px) translateY(-10px); }
.contato-ensaio-stack:hover .ensaio-card--mid   { transform: rotate(8deg) translateX(20px) translateY(-10px); }
.contato-ensaio-stack:hover .ensaio-card--front { transform: translateX(-50%) rotate(-1deg) translateY(-8px); }

