/* ================================
   PERFORMANCE
================================ */
.hero-grid-lines,
.sobre-card-glow,
.contato-glow,
.card-glow-accent { will-change: transform; }

.sobre-tag-float { will-change: transform; }

.reveal { will-change: opacity, transform; }
.reveal.visible { will-change: auto; }

.cursor, .cursor-follower { will-change: left, top; }

/* Contém layout/paint em seções pesadas */
.servicos, .projetos { contain: layout style; }

/* Força GPU nos cards com hover */
.servico-card, .projeto-card {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* ================================
   VARIÁVEIS & RESET
================================ */
:root {
  --bg-base: #080808;
  --bg-surface: #0f0f0f;
  --bg-card: #141414;
  --bg-card-hover: #1a1a1a;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.15);

  --text-primary: #f0f0f0;
  --text-secondary: #888;
  --text-muted: #555;

  --accent: #c8a96e;
  --accent-dim: rgba(200,169,110,0.12);
  --accent-glow: rgba(200,169,110,0.25);

  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --radius: 12px;
  --radius-sm: 6px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  --container-max: 1200px;
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

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

/* ================================
   NOISE OVERLAY
================================ */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px;
  opacity: 0.35;
  mix-blend-mode: overlay;
}

/* ================================
   CUSTOM CURSOR
================================ */
.cursor {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, opacity 0.2s;
}

.cursor-follower {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(200,169,110,0.4);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease-out, width 0.25s, height 0.25s, opacity 0.25s;
}

body:hover .cursor { opacity: 1; }

/* ================================
   CONTAINER
================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ================================
   HEADER / NAV
================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(8,8,8,0.92);
  border-color: var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color var(--transition);
  letter-spacing: 0.02em;
}

.nav-link:hover { color: var(--text-primary); }

.nav-link--cta {
  color: var(--accent);
  border: 1px solid rgba(200,169,110,0.3);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}

.nav-link--cta:hover {
  background: var(--accent);
  color: #000;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(20px);
  padding: 2rem;
  border-bottom: 1px solid var(--border);
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.3s;
  z-index: 99;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu ul { display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-link { font-size: 1.5rem; font-family: var(--font-display); font-weight: 700; color: var(--text-secondary); }
.mobile-link:hover { color: var(--accent); }

/* ================================
   ACCENT
================================ */
.accent { color: var(--accent); }

/* ================================
   BUTTONS
================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: var(--transition);
  cursor: none;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--accent);
  color: #000;
  font-weight: 600;
}

.btn--primary:hover {
  background: #e8c980;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--accent-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--large {
  padding: 1.1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
}

/* ================================
   SECTION HELPERS
================================ */
.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.section-title em {
  font-style: normal;
  color: var(--accent);
}

.section-header {
  margin-bottom: 4rem;
}

/* ================================
   REVEAL ANIMATIONS
================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

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

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

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(200,169,110,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200,169,110,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 4rem;
  padding-bottom: 6rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2.5rem;
  letter-spacing: 0.04em;
}

.tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.hero-title .line { display: block; }
.hero-title--accent { color: var(--accent); }

.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

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

.hero-stats {
  display: flex;
  gap: 0;
  align-items: center;
}

.stat {
  display: flex;
  flex-direction: column;
  padding: 0 2.5rem;
}

.stat:first-child { padding-left: 0; }

.stat-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  letter-spacing: 0.02em;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  right: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-grow 1.8s ease-in-out infinite;
}

@keyframes scroll-grow {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ================================
   SOBRE
================================ */
.sobre {
  padding: 8rem 0;
  position: relative;
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 6rem;
  align-items: center;
}

/* Visual card */
.sobre-visual {
  position: relative;
  overflow: visible;
  /* Espaço extra para os balões que saem pra fora */
  padding: 1rem 2.5rem 1rem 1rem;
}

.sobre-card {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  max-height: 420px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
}

.sobre-foto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  z-index: 0;
}

/* Overlay escuro sobre a foto */
.sobre-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,8,8,0.05) 0%,
    rgba(8,8,8,0.2) 50%,
    rgba(8,8,8,0.65) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.sobre-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  white-space: nowrap;
}

.sobre-initials {
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.05em;
  opacity: 0.9;
}

.sobre-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.sobre-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(200,169,110,0.08) 0%, transparent 70%);
}

/* Floating tags */
.sobre-tag-float {
  position: absolute;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  white-space: nowrap;
  z-index: 10;
}

.sobre-tag-1 { top: -1rem; right: -2rem; animation: float1 4s ease-in-out infinite; }
.sobre-tag-2 { bottom: 3rem; right: -3rem; animation: float2 5s ease-in-out infinite; }
.sobre-tag-3 { bottom: -1rem; left: -1rem; animation: float3 3.5s ease-in-out infinite; }

@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes float2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }
@keyframes float3 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

/* Text side */
.sobre-text { display: flex; flex-direction: column; gap: 0; }

.sobre-p {
  color: var(--text-secondary);
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.8;
}

.sobre-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.skill-chip {
  padding: 0.45rem 1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  background: var(--bg-surface);
  transition: var(--transition);
}

.skill-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ================================
   SERVIÇOS
================================ */
.servicos {
  padding: 8rem 0;
  border-top: 1px solid var(--border);
}

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

.servico-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.servico-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.servico-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

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

.servico-card--destaque {
  border-color: rgba(200,169,110,0.2);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(200,169,110,0.04) 100%);
}

.servico-card--destaque::before { opacity: 0.5; }

.card-glow-accent {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(200,169,110,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.servico-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  border: 1px solid rgba(200,169,110,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.servico-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.servico-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.servico-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition);
}

.servico-link:hover { gap: 0.8rem; }

/* ================================
   PROJETOS
================================ */
.projetos {
  padding: 8rem 0;
  border-top: 1px solid var(--border);
}

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

.projeto-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.projeto-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}

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

.projeto-visual--1 { background: linear-gradient(135deg, #0d1117 0%, #111820 100%); }
.projeto-visual--2 { background: linear-gradient(135deg, #0f0d17 0%, #1a1120 100%); }
.projeto-visual--3 { background: linear-gradient(135deg, #0d1410 0%, #111a14 100%); }

.projeto-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,169,110,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,169,110,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}

.projeto-icon-large {
  position: relative;
  z-index: 1;
  color: rgba(200,169,110,0.4);
}

.projeto-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 2;
}

.projeto-card:hover .projeto-overlay { opacity: 1; }

.projeto-btn-ver {
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: #000;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  transition: transform var(--transition);
}

.projeto-btn-ver:hover { transform: scale(1.05); }

.projeto-info {
  padding: 1.75rem;
}

.projeto-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.projeto-tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.2rem 0.7rem;
  border-radius: 100px;
  border: 1px solid rgba(200,169,110,0.15);
}

.projeto-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.projeto-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.projeto-link {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.projeto-link:hover { color: var(--accent); }

/* ================================
   CONTATO
================================ */
.contato {
  padding: 8rem 0;
  border-top: 1px solid var(--border);
}

.contato-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 6rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contato-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.contato-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(200,169,110,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.contato-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin: 0.75rem 0 1.25rem;
}

.contato-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.contato-info {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contato-info a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.contato-info a:hover { color: var(--accent); }

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

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
}

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

.footer-wa {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-wa:hover {
  border-color: #25D366;
  color: #25D366;
}

/* ================================
   WHATSAPP FLOAT
================================ */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
  transition: transform var(--transition), box-shadow var(--transition);
}

.wa-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 14px 32px rgba(37,211,102,0.45);
}

/* ================================
   ACESSIBILIDADE & REDUCED MOTION
================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 1024px) {
  .projetos-grid { grid-template-columns: repeat(2, 1fr); }
  .sobre-grid { gap: 4rem; }
}

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

  .hero-title { font-size: clamp(2.5rem, 9vw, 4rem); }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .stat { padding: 0; }
  .stat-divider { display: none; }

  /* Sobre: coluna única, foto aparece no topo */
  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .sobre-visual {
    width: 220px;
    max-width: 220px;
    min-height: 300px;
    margin: 0 auto;
    padding: 0.5rem 1.5rem 1rem 0.5rem;
  }

  .sobre-card {
    width: 220px;
    height: 293px;
    aspect-ratio: unset;
    max-height: unset;
  }

  /* Balões reposicionados para não sair da tela */
  .sobre-tag-1 {
    top: -0.5rem;
    right: -0.75rem;
    font-size: 0.7rem;
    padding: 0.3rem 0.65rem;
  }

  .sobre-tag-2 {
    display: flex;
    top: -0.5rem;
    left: -0.75rem;
    right: auto;
    bottom: auto;
    font-size: 0.7rem;
    padding: 0.3rem 0.65rem;
  }

  .sobre-tag-3 {
    display: flex;
    bottom: -0.5rem;
    left: -0.25rem;
    font-size: 0.7rem;
    padding: 0.3rem 0.65rem;
  }

  .servicos-grid { grid-template-columns: 1fr; }

  .projetos-grid { grid-template-columns: 1fr; }

  .contato-inner { padding: 3.5rem 2rem; }

  .hero-scroll-indicator { display: none; }

  .cursor, .cursor-follower { display: none; }
  body { cursor: auto; }
  a, button { cursor: pointer; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
