/* ============================================================
   0. CONFIGURAÇÕES E VARIÁVEIS (:root)
   ============================================================ */
:root {
  --bg: #0a0a0a;
  --accent: #00F5D4;
  --accent2: #ff6a13;
  --text: #ffffff;
  --border: rgba(255,255,255,0.15);
  --scroll-top: 0;
  --scroll-velocity: 0;
  --scroll-percent: 0;
  --vibrant-pink: #FF006E;
  --vibrant-yellow: #FFBE0B;
  --vibrant-blue: #3A86FF;
  --vibrant-orange: #FB5607;
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

/* ============================================================
   1. RESET E ESTILOS GLOBAIS
   ============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* Grid de fundo dinâmico */
body::before {
  content: "";
  position: fixed;
  inset: -100px;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: -1;
  opacity: 0.3;
  transform: translateY(calc(var(--scroll-top) * -0.05px)) translateZ(0);
  will-change: transform;
}

/* Tipografia Base */
h1, h2 {
  font-family: 'Syne', sans-serif;
  text-transform: uppercase;
  line-height: 0.9;
}

.outline {
  color: transparent;
  -webkit-text-stroke: 1px white;
}

/* Efeitos de Camada */
.noise {
  position: fixed;
  inset: 0;
  background: url('https://grainy-gradients.vercel.app/noise.svg');
  opacity: 0.03;
  pointer-events: none;
  z-index: 1000;
}

/* Custom Cursor */
#custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1000000;
  mix-blend-mode: difference;
  transition: transform 0.1s ease-out;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  will-change: left, top, transform;
}

/* ============================================================
   2. COMPONENTES E UTILITÁRIOS
   ============================================================ */
section {
  padding: 100px 5%;
  border-top: 1px solid var(--border);
}

.section-label {
  font-size: 0.8rem;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 40px;
  display: block;
}

/* Animações de Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Marquee / Wave Text */
.wave-text {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 48px;
  text-transform: uppercase;
  fill: var(--accent2);
  letter-spacing: 5px;
}

.marquee-container {
  background: var(--accent2);
  color: white;
  padding: 30px 0;
  transform: rotate(calc(var(--scroll-percent) * -0.03deg)) scale(1.1);
  margin-top: 50px;
  position: relative;
  z-index: 2;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 0.1s linear;
}

.marquee-content {
  display: inline-block;
  font-family: 'Syne';
  font-size: 1.5rem;
  font-weight: 800;
  transform: translateX(calc(var(--scroll-top) * -0.6px));
  will-change: transform;
}

.organic-marquee svg {
  min-width: 800px;
}

/* ============================================================
   3. HEADER E NAVEGAÇÃO
   ============================================================ */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  position: relative;
  z-index: 1000;
}

.brand-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-logo {
  height: 45px;
  width: auto;
  filter: invert(1);
}

.brand {
  font-family: 'Syne';
  font-size: 1.2rem;
  font-weight: 800;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  font-size: 2rem;
  padding: 5px 12px;
  cursor: pointer;
  border-radius: 8px;
  transition: 0.2s;
  line-height: 1;
}

.mobile-menu-btn:hover {
  background: rgba(255,255,255,0.1);
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  padding: 10px 20px;
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0;
}

.nav-btn:hover {
  background: var(--accent);
  color: black;
  border-color: var(--accent);
}

.header-info {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.8rem;
  text-align: right;
}

.desktop-bureau {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  padding-left: 15px;
  border-left: 1px solid rgba(255,255,255,0.2);
  transition: color 0.2s;
}

.desktop-bureau:hover {
  color: white;
}

.bureau-mobile {
  display: none;
}

/* ============================================================
   4. SEÇÃO: WEB DEVELOPMENT (DEV GRID)
   ============================================================ */
.dev-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  transform: perspective(1000px) rotateX(calc(var(--scroll-velocity) * 0.05deg));
}

.dev-item {
  background: var(--bg);
  padding: 60px;
  transition: 0.4s;
  text-decoration: none;
  color: white;
}

.dev-item:hover {
  background: var(--accent);
  color: black;
}

.dev-item h3 {
  font-family: 'Syne';
  font-size: 3rem;
  margin-bottom: 20px;
}

.dev-tag {
  font-size: 0.7rem;
  border: 1px solid currentColor;
  padding: 4px 10px;
  border-radius: 20px;
  margin-right: 10px;
}

/* ============================================================
   5. SEÇÃO: NATURE SCRAPBOOK EDITORIAL
   ============================================================ */
#work-showcase {
  background-color: #f1ede2;
  background-image: url("https://www.transparenttextures.com/patterns/paper-fibers.png");
  color: #1c2b1e;
  padding: 160px 10%;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(28, 43, 30, 0.1);
  border-bottom: 1px solid rgba(28, 43, 30, 0.1);
}

/* Textura de caderno */
.nature-blueprint-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(28, 43, 30, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(28, 43, 30, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 1;
}

/* Linhas laterais */
.nature-frame-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(28, 43, 30, 0.06);
  z-index: 1;
}
.line-left { left: 5%; }
.line-right { right: 5%; }

/* Anotações de campo */
.field-note {
  position: absolute;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.68rem;
  line-height: 1.5;
  color: rgba(28, 43, 30, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  pointer-events: none;
  z-index: 2;
  will-change: transform;
}
.field-note span {
  font-weight: bold;
  color: rgba(28, 43, 30, 0.8);
}
.fn-1 { left: 6%; top: 25%; }
.fn-2 { right: 6%; top: 55%; text-align: right; }
.fn-3 { left: 6%; bottom: 15%; }

/* Estrutura editorial */
.nature-editorial-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 60px auto 0;
  display: flex;
  flex-direction: column;
  gap: 160px;
}
.nature-timeline-spine {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(28, 43, 30, 0.08) 10%, rgba(28, 43, 30, 0.08) 90%, transparent);
  transform: translateX(-50%);
  z-index: 1;
}
.nature-showcase-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 3;
}
.nature-showcase-row.row-reverse {
  grid-template-columns: 0.9fr 1.1fr;
  direction: rtl;
}
.nature-showcase-row.row-reverse .nature-content-left {
  direction: ltr;
}
.nature-showcase-row.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s ease;
}
.nature-showcase-row.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Polaroid */
.polaroid-frame-container {
  width: 100%;
  max-width: 400px;
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.polaroid-frame-container:hover {
  transform: scale(1.02) rotate(0deg) !important;
}
.polaroid-tech-card {
  background: #fcfbfa;
  padding: 16px 16px 70px 16px;
  box-shadow: 0px 2px 5px rgba(28, 43, 30, 0.02), 0px 15px 35px rgba(28, 43, 30, 0.07);
  border: 1px solid rgba(28, 43, 30, 0.04);
  position: relative;
}
.polaroid-tech-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.polaroid-tape {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 110px;
  height: 28px;
  background: rgba(226, 220, 203, 0.65);
  backdrop-filter: blur(1px);
  clip-path: polygon(3% 0%, 0% 100%, 97% 100%, 100% 0%);
}
.long-tape {
  transform: translateX(-50%) rotate(3deg);
  background: rgba(212, 220, 210, 0.6);
}
.polaroid-ink-stamp {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  color: rgba(92, 116, 92, 0.35);
  border: 2px dashed rgba(92, 116, 92, 0.35);
  padding: 3px 8px;
  transform: rotate(-10deg);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.registered-stamp {
  color: rgba(180, 100, 80, 0.35);
  border-color: rgba(180, 100, 80, 0.35);
  left: 20px;
  right: auto;
  transform: rotate(6deg);
}

/* Tipografia da seção */
.nature-mini-tag {
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: #5c745c;
  font-weight: 700;
  margin-bottom: 12px;
  display: inline-block;
}
.nature-project-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -2px;
  color: #1c2b1e;
  margin-bottom: 20px;
}
.nature-serif {
  font-family: 'Georgia', serif;
  font-style: italic;
  font-weight: 400;
}
.nature-project-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  line-height: 1.8;
  color: rgba(28, 43, 30, 0.85);
}

/* Elementos botânicos de fundo */
.nature-svg-leaf {
  position: absolute;
  color: rgba(28, 43, 30, 0.05);
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}
.leaf-top-left {
  width: 450px;
  height: 450px;
  left: -5%;
  top: 5%;
  transform: rotate(15deg);
}
.leaf-center-right {
  width: 380px;
  height: 380px;
  right: -2%;
  top: 40%;
  transform: rotate(-25deg);
  color: rgba(28, 43, 30, 0.04);
}
.leaf-bottom-left {
  width: 500px;
  height: 500px;
  left: -8%;
  bottom: -5%;
  transform: rotate(-10deg);
  opacity: 0.7;
}

/* Foto de fundo marca d'água */
.nature-bg-photo {
  position: absolute;
  inset: 0;
  background-image: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQUadCZCs4bGj8pKICMyHEoxhOjgt-P9qAQsA&s');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.035;
  filter: grayscale(100%) contrast(1.1);
  mix-blend-mode: luminosity;
  pointer-events: none;
  z-index: 1;
}

/* ============================================================
   6. SEÇÃO: DESIGN GALLERY (VISUAL DESIGN)
   ============================================================ */
.design-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: stretch;
}
.design-card,
.design-video-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #111;
  min-height: 320px;
  transition: transform .45s ease;
}
.design-card:hover { transform: translateY(-6px); }
.design-card::after,
.design-video-card::after {
  content: "VISUAL DESIGN";
  position: absolute;
  bottom: 18px;
  left: 18px;
  font-family: 'Syne';
  font-size: .68rem;
  letter-spacing: 2px;
  opacity: .45;
  z-index: 3;
}
.design-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.design-card:hover img { transform: scale(1.06); }

/* Layout editorial */
.design-card:nth-child(1) { grid-column: span 5; min-height: 520px; }
.design-card:nth-child(2) {
  grid-column: span 3;
  background: var(--accent);
  display: flex;
  align-items: flex-end;
  padding: 30px;
}
.design-card:nth-child(2) h3 {
  color: black;
  font-family: 'Syne';
  font-size: clamp(1.8rem, 2vw, 2.8rem);
  line-height: .95;
}
.design-card:nth-child(3) { grid-column: span 4; min-height: 520px; }
.design-card:nth-child(4) { grid-column: span 7; min-height: 380px; }
.design-card:nth-child(5) {
  grid-column: span 5;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.design-card:nth-child(5) h3 {
  color: black;
  font-family: 'Syne';
  font-size: clamp(1.5rem, 1.8vw, 2.3rem);
  text-align: center;
  line-height: 1;
}

/* Video Card */
.design-video-card { grid-column: span 12; background: #0f0f0f; }
.video-topbar {
  height: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}
.video-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}
.youtube-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: black;
}
.youtube-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.video-caption {
  padding: 18px 22px;
  font-family: 'Syne';
  font-size: .8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ============================================================
   7. SEÇÃO: BAUHAUS PLAYGROUND
   ============================================================ */
#playground {
  background: #F0EDE5;
  color: #1a1a1a;
  padding: 120px 5%;
  overflow: hidden;
  position: relative;
}
.playground-header {
  margin-bottom: 80px;
  position: relative;
  z-index: 5;
}
.playground-main-title {
  font-size: 6vw;
  letter-spacing: -5px;
}
.playground-canvas-container {
  position: relative;
  width: 100%;
}

/* Grid Bauhaus */
.bauhaus-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 0;
  border: 4px solid #1a1a1a;
  background: #1a1a1a;
  transform: rotate(calc(var(--scroll-velocity) * 0.005deg));
  transition: transform 0.2s ease-out;
}
.bauhaus-item {
  border: 2px solid #1a1a1a;
  position: relative;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.bauhaus-item:hover {
  transform: scale(0.95);
  filter: brightness(1.1);
}
.bauhaus-item.reveal {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.8s cubic-bezier(0.85, 0, 0.15, 1);
}
.bauhaus-item.reveal.active {
  clip-path: inset(0 0 0 0);
}
.bg-red { background: #E63946; }
.bg-blue { background: #457B9D; }
.bg-yellow { background: #FFB703; }
.bg-white { background: #d6d3ca; }
.bg-custom-1 { background: #031F3B !important; }
.bg-custom-2 { background: #6E4A32 !important; }
.bg-custom-5 { background: #EEC173 !important; }
.bg-custom-6 { background: #A6342A !important; }
.bg-custom-7 { background: #F0F0F2 !important; }

.bauhaus-shape {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #1a1a1a;
  transform: rotate(calc(var(--scroll-top) * 0.2deg)) scale(calc(1 + var(--scroll-velocity) * 0.001));
  transition: transform 0.1s linear;
}
.shape-triangle { clip-path: polygon(50% 0%, 0% 100%, 100% 100%); }

.img-inner-bg {
  position: absolute;
  inset: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #1a1a1a;
  background: #ffffff;
}
.bauhaus-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 25px;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: 2;
  position: relative;
}
.bauhaus-item:hover .bauhaus-img {
  transform: scale(1.1) rotate(-2deg);
}
.bauhaus-item span {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: #1a1a1a;
  color: #fff !important;
  padding: 2px 8px;
  font-size: 0.6rem !important;
  z-index: 5;
  font-family: 'monospace';
  text-transform: uppercase;
  line-height: 1;
}
.bauhaus-name-label {
  position: static !important;
  background: none !important;
  color: #1a1a1a !important;
  font-size: 1.2rem !important;
  font-weight: 800 !important;
}

/* Parallax Posters (cartazes flutuantes) */
.parallax-poster {
  position: absolute;
  background: #ffffff;
  padding: 8px;
  border: 2px solid #1a1a1a;
  box-shadow: 12px 12px 0px rgba(26, 26, 26, 0.15);
  will-change: transform;
  z-index: 10;
  transition: box-shadow 0.3s ease, transform 0.1s linear;
}
.parallax-poster img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border: 1px solid #1a1a1a;
  display: block;
}
.poster-meta {
  font-family: 'monospace';
  font-size: 0.6rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 6px;
}
.pt-1 { width: 150px; left: -40px; top: -80px; }
.pt-2 { width: 160px; right: -50px; top: 40px; }
.pt-3 { width: 140px; left: -60px; top: 380px; }
.pt-4 { width: 155px; right: -30px; top: -30px; }
.pt-5 { width: 145px; left: -50px; top: 180px; }
.pt-6 { width: 160px; right: -70px; top: 460px; }

.parallax-bg-text {
  position: absolute;
  font-family: 'Syne';
  font-weight: 800;
  font-size: 16vw;
  color: transparent;
  -webkit-text-stroke: 2px rgba(26, 26, 26, 0.05);
  white-space: nowrap;
  top: 20%;
  left: -10%;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

/* ============================================================
   8. SEÇÃO: LIDERANÇA GRÊMIO
   ============================================================ */
#leadership {
  position: relative;
  z-index: 10;
  background: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
              linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
              var(--bg);
  background-size: 50px 50px;
}
.gremio-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: center;
}
.gremio-badge {
  display: inline-flex;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 30px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
}
.gremio-content h2 {
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.82;
  letter-spacing: -5px;
  margin-bottom: 35px;
}
.gremio-description {
  max-width: 520px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
}
.gremio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.gremio-tags span {
  border: 1px solid rgba(255,255,255,0.12);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(255,255,255,0.03);
}
.gremio-img-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 240px;
  gap: 18px;
}
.gremio-img {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #111;
  transition: transform 0.5s ease, border-color 0.5s ease, filter 0.5s ease;
}
.gremio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.gremio-img.large { grid-row: span 2; }
.gremio-img.wide { grid-column: span 2; }
.gremio-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.35), transparent 60%);
}
.gremio-img:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  filter: brightness(1.05);
}
.gremio-img:hover img { transform: scale(1.06); }

/* ============================================================
   9. SEÇÃO: VIBRANT POP (LIDERANÇA & IMPACTO)
   ============================================================ */
#activism-pop {
  background: #0a0a0a;
  color: #fff;
  padding: 150px 5%;
  overflow: hidden;
  position: relative;
  border-top: 5px solid #CCFF00;
  z-index: 5;
}
.pop-grid {
  display: flex;
  flex-direction: column;
  gap: 120px;
}
.pop-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.pop-card.reveal .pop-visual {
  transform: scale(0.5) rotate(-10deg);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.pop-card.reveal.active .pop-visual {
  transform: scale(1) rotate(calc(var(--scroll-velocity) * -0.015deg));
  opacity: 1;
}
.pop-visual {
  position: relative;
  background: #FF00FF;
  padding: 15px;
  box-shadow: 20px 20px 0px #CCFF00;
  transform: rotate(calc(var(--scroll-velocity) * -0.015deg));
  transition: transform 0.2s ease-out;
  width: 100%;
  max-width: 500px;
  justify-self: center;
}
.pop-visual .img-space {
  width: 100%;
  aspect-ratio: 4/5;
  background: #111;
  border: 3px solid black;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pop-text h3 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  color: #CCFF00;
  text-shadow: 4px 4px 0px #FF00FF;
  margin-bottom: 25px;
  line-height: 0.85;
  letter-spacing: -2px;
  transform: skewX(calc(var(--scroll-velocity) * 0.1deg));
  transition: transform 0.1s;
}
.pop-tag {
  display: inline-block;
  background: white;
  color: black;
  padding: 8px 20px;
  font-weight: 900;
  text-transform: uppercase;
  transform: skewX(-15deg);
  margin-bottom: 25px;
  font-family: 'Syne';
}
.pop-text p {
  color: #eee;
  font-size: 1.2rem;
  line-height: 1.5;
  font-weight: 500;
  max-width: 500px;
}

/* ============================================================
   10. SEÇÃO: SOBRE MIM
   ============================================================ */
#about-me {
  padding: 140px 5% 120px;
  position: relative;
  overflow: hidden;
}
.about-blob {
  width: 420px;
  height: 420px;
  left: -10%;
  top: 0%;
  opacity: 0.12;
  position: absolute;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 60px;
}
.about-title {
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.9;
  letter-spacing: -4px;
  margin-bottom: 40px;
}
.about-text p {
  font-size: 1.08rem;
  line-height: 1.95;
  max-width: 720px;
  opacity: 0.82;
  font-family: 'Inter';
  margin-bottom: 24px;
}
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 45px;
}
.about-visual {
  position: relative;
}
.about-frame {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(10px);
  padding: 25px;
  transform: rotate(-2deg);
}
.about-image {
  width: 100%;
  height: 650px;
  object-fit: cover;
  display: block;
  filter: grayscale(8%);
}
.about-caption {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  font-size: 0.72rem;
  opacity: 0.55;
  letter-spacing: 1px;
}
.about-mobile-text {
  display: none;
}

/* ============================================================
   11. SEÇÃO: FOOTER
   ============================================================ */
footer {
  padding: 140px 5% 100px 5%;
  text-align: center;
  background: white;
  color: black;
  position: relative;
  z-index: 1;
  margin-top: -50px;
}
footer h2 {
  font-size: clamp(4rem, 15vw, 12rem);
  position: relative;
}
.contact-btn {
  display: inline-block;
  margin-top: 40px;
  padding: 20px 50px;
  background: black;
  color: white;
  text-decoration: none;
  font-family: 'Syne';
  font-weight: 800;
  border-radius: 50px;
  transition: 0.3s;
}
.contact-btn:hover {
  background: var(--accent);
  color: black;
}
@keyframes marquee-footer {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.footer-bg-marquee {
  animation: marquee-footer 40s linear infinite;
}

/* ============================================================
   12. MODAIS E OVERLAYS (BUREAU / BRAND)
   ============================================================ */
body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}
.brand-modal {
  position: fixed;
  inset: 0;
  background: rgba(3,3,3,0.94);
  backdrop-filter: blur(18px);
  z-index: 999999;
  opacity: 0;
  pointer-events: none;
  transition: 0.5s ease;
  overflow-y: auto;
}
.brand-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.brand-modal-content {
  width: 100%;
  min-height: 100vh;
  padding: 80px 5%;
  position: relative;
  z-index: 2;
}
.close-modal {
  position: fixed;
  top: 25px;
  right: 25px;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  background: rgba(10,10,10,0.75);
  color: white;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(20px);
  z-index: 10000000;
  transition: transform 0.35s ease, background 0.35s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.close-modal:hover {
  transform: rotate(90deg) scale(1.08);
  background: white;
  color: black;
}

/* Bureau Overlay */
.bureau-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: all 0.8s cubic-bezier(0.85, 0, 0.15, 1);
}
.bureau-overlay.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.bureau-container {
  width: 100%;
  max-width: 1200px;
}
.bureau-title {
  font-size: clamp(4rem, 12vw, 10rem);
  margin-bottom: 60px;
}
.bureau-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.doc-card {
  background: #111;
  border: 1px solid var(--border);
  padding: 40px;
  text-decoration: none;
  color: white;
  transition: 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 350px;
}
.doc-card:hover {
  background: white;
  color: black;
  transform: translateY(-10px);
}
.doc-type {
  font-family: 'Inter', monospace;
  font-size: 0.7rem;
  letter-spacing: 2px;
  opacity: 0.5;
}
.doc-info h3 {
  font-family: 'Syne';
  font-size: 2.5rem;
  margin: 20px 0;
}
.doc-action {
  font-weight: 800;
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 20px;
}
.open-bureau-btn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 999999;
  background: var(--accent);
  color: black;
  border: none;
  padding: 15px 30px;
  font-family: 'Syne';
  font-weight: 800;
  cursor: pointer;
  box-shadow: 10px 10px 0px black;
  transition: 0.3s;
}
.open-bureau-btn:hover {
  transform: translate(-5px, -5px);
  box-shadow: 15px 15px 0px black;
}
.close-bureau {
  position: absolute;
  top: 40px;
  right: 40px;
  background: none;
  border: none;
  color: white;
  font-family: 'Syne';
  font-size: 1.2rem;
  cursor: pointer;
}

/* Conteúdo editorial do Bureau */
.brand-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}
.brand-hero-left h2 {
  font-size: clamp(4rem, 10vw, 10rem);
  line-height: 0.8;
  letter-spacing: -6px;
  margin-bottom: 30px;
}
.brand-hero-left p {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.75;
  max-width: 600px;
}
.brand-mini-label {
  display: inline-block;
  margin-bottom: 25px;
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 800;
}
.brand-main-image {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
}
.brand-editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
  margin-top: 60px;
}
.brand-block {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  min-height: 240px;
  transition: 0.5s;
}
.brand-block:hover { transform: translateY(-8px); }
.brand-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.block-wide { grid-column: span 8; }
.block-vertical { grid-column: span 4; min-height: 520px; }
.block-square { grid-column: span 4; }
.block-large { grid-column: span 6; min-height: 500px; }
.brand-info-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.brand-info-card h3 {
  font-family: 'Syne';
  font-size: 2rem;
  margin-bottom: 20px;
}
.brand-info-card p {
  opacity: 0.7;
  line-height: 1.7;
}
.palette-grid {
  display: flex;
  height: 120px;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 30px;
}
.palette-grid div { flex: 1; }
.brand-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
  pointer-events: none;
}

/* ============================================================
   13. MEDIA QUERIES (RESPONSIVIDADE UNIFICADA)
   ============================================================ */
/* LAPTOPS & DESKTOPS MÉDIOS */
@media (max-width: 1100px) {
  .gremio-section {
    display: flex;
    flex-direction: column;
    gap: 70px;
  }
  .gremio-content {
    width: 100%;
  }
  .gremio-content h2 {
    font-size: clamp(3rem, 12vw, 6rem);
    line-height: 0.9;
  }
  .gremio-description {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.9;
  }
}

@media (max-width: 1024px) {
  h2 { font-size: 10vw !important; }
}

/* TABLETS */
@media (max-width: 980px) {
  #about-me {
    padding: 110px 6% 90px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .about-title {
    font-size: clamp(2.7rem, 16vw, 5rem);
    letter-spacing: -2px;
    margin-bottom: 30px;
  }
  .about-text p {
    font-size: 1rem;
    line-height: 1.9;
  }
  .about-frame {
    transform: rotate(0deg);
    padding: 18px;
  }
  .about-image {
    height: 500px;
  }
  .about-caption {
    font-size: 0.65rem;
    flex-direction: column;
    gap: 8px;
  }
  .about-tags {
    gap: 10px;
  }
}

@media (max-width: 900px) {
  #work-showcase {
    padding: 100px 6%;
  }
  .nature-showcase-row,
  .nature-showcase-row.row-reverse {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .nature-showcase-row.row-reverse {
    direction: ltr;
  }
  .nature-project-desc {
    margin: 0 auto;
  }
  .nature-timeline-spine,
  .nature-frame-line,
  .field-note {
    display: none !important;
  }
  .nature-svg-leaf {
    display: none !important;
  }
  .design-gallery {
    grid-template-columns: 1fr;
  }
  .design-card,
  .design-video-card {
    grid-column: span 1 !important;
    min-height: auto;
  }
  .design-card:nth-child(1),
  .design-card:nth-child(3) {
    min-height: 420px;
  }
  .design-card:nth-child(4) {
    min-height: 320px;
  }
  .brand-hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .brand-editorial-grid {
    grid-template-columns: 1fr;
  }
  .block-wide,
  .block-vertical,
  .block-square,
  .block-large {
    grid-column: span 1;
    min-height: 300px;
  }
  .brand-hero-left h2 {
    letter-spacing: -2px;
  }
}

/* SMARTPHONES GERAIS */
@media (max-width: 768px) {
  /* Menu mobile */
  .mobile-menu-btn {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: #0a0a0a;
    backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 12px;
    padding: 30px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1), opacity 0.3s;
    z-index: 999;
    pointer-events: none;
  }
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-btn {
    width: 100%;
    text-align: center;
    padding: 14px;
    font-size: 0.9rem;
    background: rgba(255,255,255,0.05);
  }
  .header-info {
    display: none;
  }
  .bureau-mobile {
    display: block;
  }
  header {
    padding: 15px 5%;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    text-align: left;
  }
  .brand-container {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .header-logo {
    height: 35px;
  }
  header .brand {
    font-size: 0.85rem;
    line-height: 1.1;
    letter-spacing: -0.5px;
  }
  header div[style*="text-align: right"] {
    font-size: 0.68rem !important;
    line-height: 1.3;
    opacity: 0.7;
    letter-spacing: 0.5px;
  }

  /* Conteúdo geral */
  .about-text {
    display: none;
  }
  .about-mobile-text {
    display: block;
  }
  .about-mobile-text p {
    font-size: 0.96rem;
    line-height: 1.8;
    opacity: 0.82;
    margin-bottom: 18px;
    font-family: 'Inter';
  }
  .dev-grid {
    grid-template-columns: 1fr;
  }
  .dev-item {
    padding: 40px 20px;
  }
  .dev-item h3 {
    font-size: 2rem;
  }
  #work-showcase {
    padding: 80px 5%;
  }
  .bauhaus-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  #playground h2 {
    font-size: 12vw;
  }
  #playground {
    overflow: hidden;
    padding: 80px 4% 120px;
  }
  .bauhaus-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
    position: relative;
    z-index: 2;
  }
  .parallax-poster {
    position: absolute !important;
    padding: 6px;
    box-shadow: 8px 8px 0px rgba(26, 26, 26, 0.15);
  }
  .parallax-poster img {
    height: 120px;
  }
  .pt-1 { width: 110px; left: -10px; top: -40px; }
  .pt-2 { width: 110px; right: -15px; top: 10px; }
  .pt-3 { width: 105px; left: -20px; top: 190px; }
  .pt-4 { width: 115px; right: -10px; top: 120px; }
  .pt-5 { width: 110px; left: -15px; top: 320px; }
  .pt-6 { width: 115px; right: -15px; top: 400px; }
  .parallax-bg-text {
    font-size: 24vw;
    top: 35%;
  }
  #leadership {
    padding: 110px 6% 90px;
  }
  .gremio-section {
    flex-direction: column !important;
    gap: 40px !important;
    text-align: center;
  }
  .gremio-badge {
    font-size: 0.7rem;
    letter-spacing: 1px;
  }
  .gremio-content h2 {
    font-size: 4rem !important;
    letter-spacing: -2px;
    margin-top: 20px;
    margin-bottom: 25px;
  }
  .gremio-description {
    font-size: 0.96rem;
    line-height: 1.85;
    opacity: 0.82;
  }
  .gremio-tags {
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    justify-content: center;
  }
  .gremio-tags span {
    font-size: 0.75rem;
    padding: 10px 14px;
  }
  .gremio-img-stack {
    width: 100%;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px;
  }
  .gremio-img,
  .gremio-img.large,
  .gremio-img.wide {
    width: 100%;
    height: 180px;
  }
  .gremio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .gremio-img {
    grayscale: 0;
    transform: none !important;
  }
  #activism-pop {
    padding: 80px 5% !important;
  }
  .pop-card {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    direction: ltr !important;
    text-align: center;
  }
  .pop-card:nth-child(even) .pop-text {
    direction: ltr !important;
    padding-right: 0 !important;
  }
  .pop-visual {
    max-width: 280px;
    margin: 0 auto;
    transform: rotate(-3deg) !important;
    box-shadow: 10px 10px 0px var(--accent) !important;
  }
  footer h2 {
    font-size: 18vw;
  }
  .contact-btn {
    width: 100%;
  }
  .marquee-container {
    transform: scale(1.05) rotate(-2deg);
  }
  .bureau-overlay {
    padding: 80px 5% 40px;
    align-items: flex-start;
    overflow-y: auto;
  }
  .bureau-container {
    margin-top: 20px;
  }
  .bureau-title {
    font-size: 15vw;
    line-height: 0.9;
    letter-spacing: -2px;
    margin-bottom: 40px;
  }
  .bureau-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .doc-card {
    min-height: auto;
    padding: 30px 20px;
  }
  .doc-info h3 {
    font-size: 1.8rem;
    margin: 15px 0;
  }
  .doc-info p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 20px;
  }
  .open-bureau-btn {
    bottom: 20px;
    right: 20px;
    left: 20px;
    width: calc(100% - 40px);
    text-align: center;
    padding: 12px;
    font-size: 0.9rem;
    box-shadow: 6px 6px 0px black;
  }
  .close-bureau {
    top: 20px;
    right: 20px;
    font-size: 1rem;
    background: rgba(255,255,255,0.1);
    padding: 8px 15px;
    border-radius: 50px;
  }
}

@media (min-width: 769px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* MOBILE INTERMEDIÁRIO */
@media (max-width: 600px) {
  #about-me {
    padding-top: 90px;
  }
  .about-title {
    font-size: 3rem;
    line-height: 0.95;
  }
  .about-text p {
    font-size: 0.96rem;
    line-height: 1.85;
  }
  .about-image {
    height: 420px;
  }
}

@media (max-width: 540px) {
  #leadership {
    padding: 90px 6% 80px;
  }
  .gremio-content h2 {
    font-size: 3rem;
    line-height: 0.95;
  }
  .gremio-description {
    font-size: 0.92rem;
    line-height: 1.8;
  }
  .gremio-img-stack {
    grid-template-columns: 1fr !important;
  }
  .gremio-img,
  .gremio-img.large,
  .gremio-img.wide {
    height: 240px;
  }
  .gremio-tags span {
    font-size: 0.7rem;
    padding: 9px 12px;
  }
}

/* TELAS PEQUENAS */
@media (max-width: 480px) {
  .bauhaus-grid {
    grid-auto-rows: 150px;
  }
  .nature-text-tech h3 {
    font-size: 2.5rem;
  }
}

@media (max-width: 380px) {
  .bureau-title {
    font-size: 18vw;
  }
  .doc-info h3 {
    font-size: 1.5rem;
  }
}

/* TELAS MUITO PEQUENAS (<=400px) */
@media (max-width: 400px) {
  section {
    padding: 60px 4% !important;
  }
  .section-label {
    margin-bottom: 20px;
    font-size: 0.7rem;
  }
  h1, h2, .brand-hero-left h2 {
    font-size: 2.5rem !important;
    letter-spacing: -2px !important;
  }
  .outline {
    -webkit-text-stroke: 0.5px white;
  }
  header {
    padding: 12px 4% !important;
  }
  .header-logo {
    height: 28px;
  }
  .brand {
    font-size: 0.7rem !important;
  }
  .nav-btn {
    padding: 10px;
    font-size: 0.75rem;
  }
  .dev-item {
    padding: 30px 15px !important;
  }
  .dev-item h3 {
    font-size: 1.8rem !important;
  }
  #work-showcase {
    padding: 50px 4% !important;
  }
  .nature-editorial-wrapper {
    gap: 70px !important;
  }
  .polaroid-frame-container {
    max-width: 100%;
  }
  .polaroid-tech-card {
    padding: 10px 10px 50px 10px;
  }
  .nature-project-title {
    font-size: 1.8rem !important;
    letter-spacing: -1px;
  }
  .nature-project-desc {
    font-size: 0.85rem;
    line-height: 1.6;
  }
  .field-note, .nature-frame-line, .nature-timeline-spine {
    display: none !important;
  }
  .design-gallery {
    gap: 12px;
  }
  .design-card {
    min-height: 280px !important;
  }
  .design-card:nth-child(2) h3 {
    font-size: 1.5rem !important;
  }
  .design-card:nth-child(5) h3 {
    font-size: 1.2rem !important;
  }
  .video-caption {
    font-size: 0.65rem;
    padding: 12px;
  }
  #playground {
    padding: 60px 4% 100px !important;
    overflow-x: hidden;
  }
  .bauhaus-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px !important;
  }
  .bauhaus-item {
    padding: 10px;
  }
  .bauhaus-shape {
    width: 40px;
    height: 40px;
    top: 10px;
    right: 10px;
  }
  .bauhaus-img {
    padding: 10px !important;
  }
  .bauhaus-name-label {
    font-size: 0.9rem !important;
  }
  .parallax-poster {
    width: 95px !important;
    padding: 4px;
    box-shadow: 6px 6px 0px rgba(0,0,0,0.1);
  }
  .parallax-poster img {
    height: 90px !important;
  }
  .poster-meta {
    font-size: 0.5rem;
  }
  .pt-1 { left: -5px !important; top: -30px !important; }
  .pt-2 { right: -5px !important; top: 10px !important; }
  .pt-3 { left: -10px !important; top: 160px !important; }
  .pt-4 { right: -8px !important; top: 90px !important; }
  .pt-5 { left: -8px !important; top: 280px !important; }
  .pt-6 { right: -10px !important; top: 370px !important; }
  .parallax-bg-text {
    font-size: 18vw;
    top: 30%;
    left: -20%;
  }
  #leadership {
    padding: 70px 4% !important;
  }
  .gremio-content h2 {
    font-size: 2.2rem !important;
    letter-spacing: -1px;
  }
  .gremio-description {
    font-size: 0.85rem !important;
    line-height: 1.7;
  }
  .gremio-img-stack {
    gap: 10px;
  }
  .gremio-img, .gremio-img.large, .gremio-img.wide {
    height: 150px !important;
  }
  .gremio-tags span {
    font-size: 0.65rem;
    padding: 6px 10px;
  }
  #activism-pop {
    padding: 70px 4% !important;
  }
  .pop-card {
    gap: 20px !important;
  }
  .pop-visual {
    max-width: 220px !important;
    box-shadow: 8px 8px 0px #CCFF00 !important;
    padding: 8px;
  }
  .pop-text h3 {
    font-size: 2rem !important;
    text-shadow: 2px 2px 0px #FF00FF;
  }
  .pop-text p {
    font-size: 0.9rem;
  }
  #about-me {
    padding: 70px 4% !important;
  }
  .about-title {
    font-size: 2rem !important;
  }
  .about-image {
    height: 320px !important;
  }
  .about-mobile-text p {
    font-size: 0.85rem;
    line-height: 1.7;
  }
  footer {
    padding: 80px 4% 60px !important;
  }
  footer h2 {
    font-size: 12vw !important;
  }
  .contact-btn {
    padding: 14px 20px;
    font-size: 0.9rem;
  }
  .brand-modal-content {
    padding: 60px 4% !important;
  }
  .close-modal {
    width: 44px;
    height: 44px;
    top: 15px;
    right: 15px;
  }
  .bureau-overlay {
    padding: 60px 4% 40px !important;
  }
  .bureau-title {
    font-size: 12vw !important;
    margin-bottom: 30px;
  }
  .doc-card {
    padding: 20px;
  }
  .doc-info h3 {
    font-size: 1.4rem;
  }
  .open-bureau-btn {
    bottom: 16px;
    right: 16px;
    left: 16px;
    width: calc(100% - 32px);
    padding: 10px;
    font-size: 0.8rem;
  }
}

/* AJUSTES EXTRA PARA TELAS DE 360px (ex: Galaxy S23) */
@media (max-width: 360px) {
  section {
    padding: 50px 3% !important;
  }
  .dev-item h3 {
    font-size: 1.5rem !important;
  }
  .nature-project-title {
    font-size: 1.6rem !important;
  }
  .bauhaus-grid {
    grid-auto-rows: 120px !important;
  }
  .parallax-poster {
    width: 85px !important;
  }
  .parallax-poster img {
    height: 80px !important;
  }
  .pt-1, .pt-3, .pt-5 { left: -12px !important; }
  .pt-2, .pt-4, .pt-6 { right: -12px !important; }
  .gremio-img, .gremio-img.large, .gremio-img.wide {
    height: 130px !important;
  }
  .pop-visual {
    max-width: 180px !important;
  }
  .pop-text h3 {
    font-size: 1.6rem !important;
  }
  .about-image {
    height: 260px !important;
  }
  .contact-btn {
    width: 100%;
    text-align: center;
  }
}

/* ACESSIBILIDADE E PONTEIROS */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
@media (hover: none) and (pointer: coarse) {
  #custom-cursor {
    display: none;
  }
}