@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400&family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&family=Merriweather+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300&display=swap');

/* ============================================
   TOKENS & VARIABLES
   ============================================ */
:root {
  --black: #0A0A0A;
  --white: #F5F2ED;
  --red: #E8190A;
  --red-dark: #B51207;
  --grey-900: #111111;
  --grey-800: #1A1A1A;
  --grey-400: #666666;
  --grey-200: #CCCCCC;

  --font-display: 'Merriweather Sans', sans-serif;
  --font-heading: 'Merriweather Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --font-body: 'DM Sans', sans-serif;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;
  --space-16: 128px;
  --space-20: 160px;

  --border: 1px solid rgba(245, 242, 237, 0.15);
  --border-strong: 2px solid var(--white);
  --border-red: 2px solid var(--red);

  --max-width: 1280px;
  --grid-columns: 12;

  --radius-1: 4px;
  --radius-2: 8px;
  --radius-3: 12px;
  --radius-4: 16px;
}

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

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

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor {
  width: 12px;
  height: 12px;
  background: var(--red);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease, background 0.2s ease;
  mix-blend-mode: normal;
}

.cursor.expanded {
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid var(--red);
  border-radius: 0;
}

/* ============================================
   BACKGROUND TEXTURE (camada de profundidade)
   ============================================ */
.bg-texture {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.bg-texture__orb {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

/* Orb 1 — quente escuro, topo-esquerda */
.bg-texture__orb--1 {
  width: 80vw;
  height: 80vw;
  background: radial-gradient(ellipse at center,
    rgba(45, 14, 10, 1) 0%,
    rgba(26, 8, 6, 0.7) 40%,
    transparent 68%);
  filter: blur(72px);
  top: -30%;
  left: -20%;
  animation: orb-drift-1 44s ease-in-out infinite;
}

/* Orb 2 — frio escuro, fundo-direita */
.bg-texture__orb--2 {
  width: 60vw;
  height: 60vw;
  background: radial-gradient(ellipse at center,
    rgba(12, 12, 38, 1) 0%,
    rgba(8, 8, 22, 0.6) 40%,
    transparent 68%);
  filter: blur(80px);
  bottom: -20%;
  right: -15%;
  animation: orb-drift-2 37s ease-in-out infinite;
}

/* Orb 3 — cinza neutro, centro */
.bg-texture__orb--3 {
  width: 90vw;
  height: 65vw;
  background: radial-gradient(ellipse at center,
    rgba(34, 30, 28, 1) 0%,
    rgba(20, 18, 16, 0.5) 48%,
    transparent 70%);
  filter: blur(90px);
  top: 15%;
  left: 5%;
  animation: orb-drift-3 58s ease-in-out infinite;
}

/* Orb 4 — quente âmbar-escuro, topo-direita */
.bg-texture__orb--4 {
  width: 42vw;
  height: 42vw;
  background: radial-gradient(ellipse at center,
    rgba(48, 24, 6, 1) 0%,
    rgba(28, 14, 4, 0.55) 38%,
    transparent 68%);
  filter: blur(56px);
  top: -8%;
  right: -5%;
  animation: orb-drift-4 31s ease-in-out infinite;
}

/* Orb 5 — escuro profundo, fundo-esquerda */
.bg-texture__orb--5 {
  width: 50vw;
  height: 50vw;
  background: radial-gradient(ellipse at center,
    rgba(26, 22, 22, 1) 0%,
    rgba(16, 13, 13, 0.55) 44%,
    transparent 68%);
  filter: blur(68px);
  bottom: -12%;
  left: -8%;
  animation: orb-drift-5 40s ease-in-out infinite;
}

@keyframes orb-drift-1 {
  0%   { transform: translate(0, 0)        scale(1); }
  20%  { transform: translate(8vw, 14vh)   scale(1.04); }
  45%  { transform: translate(3vw, 26vh)   scale(0.96); }
  70%  { transform: translate(11vw, 9vh)   scale(1.07); }
  100% { transform: translate(0, 0)        scale(1); }
}

@keyframes orb-drift-2 {
  0%   { transform: translate(0, 0)         scale(1); }
  28%  { transform: translate(-9vw, -13vh)  scale(1.08); }
  56%  { transform: translate(-3vw, -21vh)  scale(0.92); }
  82%  { transform: translate(-13vw, -7vh)  scale(1.04); }
  100% { transform: translate(0, 0)         scale(1); }
}

@keyframes orb-drift-3 {
  0%   { transform: translate(0, 0); }
  32%  { transform: translate(5vw, -9vh); }
  62%  { transform: translate(-7vw, 7vh); }
  100% { transform: translate(0, 0); }
}

@keyframes orb-drift-4 {
  0%   { transform: translate(0, 0)        scale(1); }
  38%  { transform: translate(-7vw, 16vh)  scale(1.12); }
  68%  { transform: translate(-11vw, 7vh)  scale(0.88); }
  100% { transform: translate(0, 0)        scale(1); }
}

@keyframes orb-drift-5 {
  0%   { transform: translate(0, 0); }
  42%  { transform: translate(9vw, -7vh); }
  76%  { transform: translate(4vw, -15vh); }
  100% { transform: translate(0, 0); }
}

/* ============================================
   GRID BACKGROUND
   ============================================ */
.grid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(rgba(245, 242, 237, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 242, 237, 0.022) 1px, transparent 1px);
  background-size: 40px 40px;
}

.grid-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 25, 10, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 25, 10, 0.04) 1px, transparent 1px);
  background-size: 200px 200px;
}

.grid-bg__shapes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--white);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
  position: relative;
  z-index: 1;
}

section {
  position: relative;
  z-index: 1;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: var(--border);
  backdrop-filter: blur(12px);
  background: rgba(10, 10, 10, 0.85);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--white);
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav__logo img{
  max-width: 44px;
}

.nav__logo span {
  color: var(--red);
}

.nav__links {
  display: flex;
  gap: var(--space-5);
  list-style: none;
}

.nav__links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-400);
  transition: color 0.2s;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 0.3s ease;
}

.nav__links a:hover {
  color: var(--white);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__cta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--red);
  color: var(--red);
  transition: all 0.2s;
}

.nav__cta:hover {
  background: var(--red);
  color: var(--white);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
  padding: var(--space-1);
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: all 0.3s;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  height: 100dvh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 64px;
  border-bottom: var(--border-strong);
  overflow: hidden;
}

.hero__inner {
  padding: var(--space-10) 0 var(--space-8);
}

.hero__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.hero__label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--red);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6.5vw, 92px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: var(--space-8);
  position: relative;
}

.hero__title em {
  font-style: normal;
  color: var(--red);
}

.hero__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: end;
  padding-top: var(--space-8);
  border-top: var(--border);
}

.hero__subtitle {
  font-size: 18px;
  line-height: 1.5;
  color: var(--grey-200);
  font-weight: 300;
  max-width: 520px;
}

.hero__subtitle strong {
  color: var(--white);
  font-weight: 500;
}

.hero__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-4);
}

.hero__scroll {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-400);
}

.hero__scroll-line {
  width: 48px;
  height: 1px;
  background: var(--grey-400);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--red);
  animation: scrollLine 2s infinite ease-in-out;
}

@keyframes scrollLine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.hero__stats {
  display: flex;
  gap: var(--space-6);
}

.hero__stat {
  text-align: right;
}

.hero__stat-number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  display: block;
}

.hero__stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-400);
  display: block;
  margin-top: 4px;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-4);
  border-bottom: var(--border);
}

.section-number {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--red);
  letter-spacing: 0.1em;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: var(--space-20) 0;
  border-bottom: var(--border);
}

.about__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-12);
  align-items: start;
}

.about__image-wrap {
  position: relative;
}

.about__image-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--grey-900);
}

.about__image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.4s;
  object-position: top;
}

.about__image-frame:hover img {
  filter: grayscale(0%);
}

.about__image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 4px solid var(--red);
  border-radius: var(--radius-2);
  transform: translate(12px, 12px);
  z-index: -1;
  transition: transform 0.3s ease;
}

.about__image-frame:hover::after {
  transform: translate(8px, 8px);
}

.about__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-2);
  color: var(--grey-400);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about__image-placeholder svg {
  opacity: 0.3;
}

.about__tag {
  position: absolute;
  bottom: -1px;
  left: -1px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-2);
}

.about__content {
  padding-top: var(--space-2);
}

.about__name {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}

.about__name span {
  color: var(--red);
}

.about__text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--grey-200);
  margin-bottom: var(--space-8);
}

.about__text p + p {
  margin-top: var(--space-3);
}

.about__pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.pill {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid rgba(245, 242, 237, 0.2);
  color: var(--grey-400);
  transition: all 0.2s;
}

.pill:hover {
  border-color: var(--red);
  color: var(--white);
}

/* ============================================
   EXPERIENCE / TIMELINE
   ============================================ */
.experience {
  padding: var(--space-20) 0;
  border-bottom: var(--border);
}

.timeline {
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 180px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
  background: linear-gradient(to bottom, var(--red), rgba(245,242,237,0.1));
}

.timeline__item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0;
  position: relative;
  padding-bottom: var(--space-10);
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: 180px;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--black);
  border: 2px solid var(--red);
  transform: translateX(-50%) rotate(45deg);
  z-index: 1;
  transition: background 0.2s;
}

.timeline__item:hover::before {
  background: var(--red);
}

.timeline__year {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--grey-400);
  padding-top: 4px;
  text-transform: uppercase;
}

.timeline__content {
  padding-left: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: var(--border);
}

.timeline__item:last-child .timeline__content {
  border-bottom: none;
}

.timeline__company {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.timeline__logo {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(245, 242, 237, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  background: var(--grey-900);
  transition: border-color 0.2s;
}

.timeline__item:hover .timeline__logo {
  border-color: var(--red);
}

.timeline__company-name {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-400);
}

.timeline__role {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-2);
}

.timeline__period {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--red);
  letter-spacing: 0.1em;
}

/* ============================================
   PHILOSOPHY
   ============================================ */
.philosophy {
  padding: var(--space-20) 0;
  border-bottom: var(--border);
}

.philosophy__quote {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  position: relative;
  padding: var(--space-10) 0;
  margin-bottom: var(--space-16);
  border-bottom: var(--border);
}

.philosophy__quote::before {
  content: '"';
  position: absolute;
  top: var(--space-6);
  left: -24px;
  font-size: clamp(80px, 12vw, 80px);
  color: var(--red);
  line-height: 1;
  opacity: 0.3;
  pointer-events: none;
}

.philosophy__quote em {
  font-style: normal;
  color: var(--red);
}

.philosophy__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: var(--border-strong);
  background: var(--grey-900);
}

.philosophy__item {
  padding: var(--space-6);
  border-right: var(--border-strong);
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}

.philosophy__item:last-child {
  border-right: none;
}

.philosophy__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.philosophy__item:hover::before {
  transform: scaleX(1);
}

.philosophy__item:hover {
  background: rgba(232, 25, 10, 0.04);
}

.philosophy__item-number {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  color: rgba(245, 242, 237, 0.06);
  position: absolute;
  top: var(--space-2);
  right: var(--space-3);
  pointer-events: none;
}

.philosophy__item-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--space-3);
}

.philosophy__item-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--grey-200);
  font-weight: 300;
}

/* ============================================
   PROJECTS
   ============================================ */
.projects {
  padding: var(--space-20) 0;
  border-bottom: var(--border);
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: var(--border-strong);
  background: var(--grey-900);
}

.project-card {
  border-right: var(--border-strong);
  border-bottom: var(--border-strong);
  position: relative;
  overflow: hidden;
  cursor: none;
}

.project-card:nth-child(2n) {
  border-right: none;
}

.project-card:last-child {
  grid-column: 1 / -1;
  border-right: none;
  border-bottom: none;
}

.project-card__image {
  aspect-ratio: 16/10;
  background: var(--grey-900);
  position: relative;
  overflow: hidden;
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%);
  transition: filter 0.4s, transform 0.6s ease;
}

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

.project-card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: rgba(245, 242, 237, 0.05);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.project-card:hover .project-card__overlay {
  opacity: 1;
}

.project-card__link-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  transition: all 0.3s;
  width: 48px;
  height: 48px;
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-card:hover .project-card__link-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.project-card__body {
  padding: var(--space-4) var(--space-5);
  border-top: var(--border);
  transition: border-color 0.3s;
}

.project-card:hover .project-card__body {
  border-color: var(--red);
}

.project-card__client {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--space-1);
}

.project-card__title {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-2);
  transition: color 0.2s;
}

.project-card:hover .project-card__title {
  color: var(--white);
}

.project-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-card__year {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--grey-400);
  letter-spacing: 0.08em;
}

.project-card__arrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--grey-400);
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}

.project-card:hover .project-card__arrow {
  color: var(--red);
  transform: translateX(4px);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: var(--space-20) 0;
  border-bottom: var(--border);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.contact__heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 60px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.contact__heading span{
  font-size: 24px;
  color: var(--red);
}

.contact__heading em {
  font-style: normal;
  color: var(--white);
  display: block;
}


.contact__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: var(--border-strong);
  background-color: var(--black);
}

.contact__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  border-bottom: var(--border-strong);
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}

.contact__item:first-child {
  border-radius:  var(--radius-2) var(--radius-2) 0 0;
}

.contact__item:last-child {
  border-bottom: none;
  border-radius: 0 0 var(--radius-2) var(--radius-2);
}

.contact__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--red);
  transition: width 0.3s ease;
}

.contact__item:hover::before {
  width: 4px;
}

.contact__item:hover {
  background: rgba(232, 25, 10, 0.05);
}

.contact__item-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-400);
  width: 80px;
  flex-shrink: 0;
}

.contact__item-value {
  font-size: 15px;
  color: var(--white);
  font-weight: 400;
  flex: 1;
}

.contact__item-arrow {
  color: var(--red);
  transition: transform 0.2s;
  font-family: var(--font-mono);
}

.contact__item:hover .contact__item-arrow {
  transform: translateX(4px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: var(--space-8) 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  border-top: var(--border);
}

.footer__copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--white);
  letter-spacing: 0.06em;
}

.footer__copy span {
  color: var(--red);
}

.footer__made {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--white);
  letter-spacing: 0.06em;
}

.footer__made span {
  color: var(--red);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   BORDER RADIUS — utilidades (múltiplos de 4px)
   ============================================ */
.rounded-1 { border-radius: var(--radius-1); }
.rounded-2 { border-radius: var(--radius-2); }
.rounded-3 { border-radius: var(--radius-3); }
.rounded-4 { border-radius: var(--radius-4); }

/* ============================================
   MOBILE NAV MENU
   ============================================ */
.nav__mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--black);
  z-index: 99;
  padding: var(--space-8) var(--space-6);
  flex-direction: column;
  gap: var(--space-6);
  border-top: var(--border-red);
}

.nav__mobile-menu.open {
  display: flex;
}

.nav__mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  border-bottom: var(--border);
  padding-bottom: var(--space-4);
  transition: color 0.2s;
}

.nav__mobile-menu a:hover {
  color: var(--red);
}

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

  .philosophy__item {
    border-bottom: var(--border-strong);
  }

  .philosophy__item:nth-child(2) {
    border-right: none;
  }

  .philosophy__item:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .timeline::before {
    left: 120px;
  }

  .timeline__item {
    grid-template-columns: 120px 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --space-20: 80px;
    --space-16: 64px;
  }

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

  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { 
    display: flex;
    background-color: #0A0A0A;
    border-radius: 4px;
    border: 1px solid var(--grey-400); 
  }

  .hero__bottom {
    grid-template-columns: 1fr;
    gap: var(--space-6);

  }

  .hero__meta {
    align-items: flex-start;
    flex-direction: row;
    justify-content: space-between;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .about__image-frame {
    aspect-ratio: 4/3;
    max-width: 400px;
  }

  .timeline::before { display: none; }

  .timeline__item {
    grid-template-columns: 1fr;
    padding-bottom: var(--space-6);
  }

  .timeline__item::before { display: none; }

  .timeline__year {
    margin-bottom: var(--space-2);
  }

  .timeline__content {
    padding-left: 0;
  }

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

  .philosophy__item {
    border-right: none;
    border-bottom: var(--border-strong);
  }

  .philosophy__item:nth-last-child(-n+2) {
    border-bottom: var(--border-strong);
  }

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

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

  .project-card {
    border-right: none;
  }

  .project-card:last-child {
    grid-column: auto;
    border-bottom: none;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer__inner {
    flex-direction: column;
    gap: var(--space-2);
    text-align: center;
  }

  .section-header {
    margin-bottom: var(--space-8);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-3);
  }

  .hero__stats {
    gap: var(--space-4);
  }

  .hero__stat-number {
    font-size: 28px;
  }
}

/* ============================================
   PÁGINA DE PROJETO
   ============================================ */

/* — Hero — */
.project-hero {
  padding-top: 64px;
  border-bottom: var(--border-strong);
  overflow: hidden;
}

.project-hero__inner {
  padding: var(--space-12) 0 var(--space-10);
}

.project-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5.5vw, 80px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: var(--space-4) 0 var(--space-5);
  max-width: 860px;
}

.project-hero__tagline {
  font-size: 18px;
  line-height: 1.55;
  color: var(--grey-200);
  font-weight: 300;
  max-width: 600px;
  margin-bottom: var(--space-10);
}

.project-hero__meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: var(--border);
  padding-top: var(--space-6);
}

.project-meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 var(--space-6) 0 var(--space-4);
  border-right: var(--border);
}

.project-meta-item:first-child {
  padding-left: 0;
}

.project-meta-item:last-child {
  border-right: none;
}

.project-meta-item__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.project-meta-item__value {
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
}

.project-hero__cover {
  width: 100%;
  aspect-ratio: 21/8;
  overflow: hidden;
  border-top: var(--border);
}

.project-hero__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.6s, transform 0.8s ease;
  object-position: top;
}

.project-hero:hover .project-hero__cover img {
  filter: grayscale(0%);
  transform: scale(1.01);
}

/* — Visão Geral — */
.overview {
  padding: var(--space-20) 0;
  border-bottom: var(--border);
}

.overview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: var(--border-strong);
  background: var(--grey-900);
}

.overview__block {
  padding: var(--space-8) var(--space-6);
  border-right: var(--border-strong);
}

.overview__block:last-child {
  border-right: none;
}

.overview__block-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.overview__block-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
}

.overview__block-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--grey-200);
  font-weight: 300;
}

/* — Escopo de Atuação — */
.scope {
  padding: var(--space-20) 0;
  border-bottom: var(--border);
}

.scope__body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.scope__list {
  list-style: none;
}

.scope__list li {
  font-size: 16px;
  line-height: 1.6;
  color: var(--grey-200);
  font-weight: 300;
  padding: var(--space-3) 0 var(--space-3) var(--space-5);
  border-bottom: var(--border);
  position: relative;
  transition: color 0.2s;
}

.scope__list li:first-child {
  border-top: var(--border);
}

.scope__list li:hover {
  color: var(--white);
}

.scope__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  border: 1px solid var(--red);
  transition: background 0.2s;
}

.scope__list li:hover::before {
  background: var(--red);
}

.scope__tags {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.scope__tags .pill {
  display: block;
  text-align: center;
}

/* — Solução — */
.solution {
  padding: var(--space-20) 0;
  border-bottom: var(--border);
}

.solution__item {
  display: flex;
  gap: var(--space-12);
  align-items: center;
  padding: var(--space-12) 0;
  border-bottom: var(--border);
}

.solution__item:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.solution__item--reverse {
  flex-direction: row-reverse;
}

.solution__item-media {
  flex: 0 0 55%;
  overflow: hidden;
}

.solution__item-media img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  filter: grayscale(25%);
  transition: filter 0.4s, transform 0.6s ease;
}

.solution__item:hover .solution__item-media img {
  filter: grayscale(0%);
  transform: scale(1.02);
}

.solution__item-content {
  flex: 1;
}

.solution__item-step {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: var(--space-3);
}

.solution__item-title {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.solution__item-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--grey-200);
  font-weight: 300;
}

.solution__image-full {
  padding: var(--space-12) 0;
  border-bottom: var(--border);
}

.solution__image-full img {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.4s;
  border-radius: var(--radius-4);
}

.solution__image-full:hover img {
  filter: grayscale(0%);
}

.solution__image-full figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--grey-400);
  margin-top: var(--space-3);
}

/* — Resultados — */
.results {
  padding: var(--space-20) 0;
  border-bottom: var(--border);
}

.results__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: var(--border-strong);
  background: var(--grey-900);
}

.result-box {
  padding: var(--space-6);
  border-right: var(--border-strong);
  position: relative;
  overflow: hidden;
  cursor: none;
}

.result-box:last-child {
  border-right: none;
}

.result-box::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.result-box:hover::before {
  transform: scaleX(1);
}

.result-box__number {
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 800;
  line-height: 1;
  color: var(--white);
  display: block;
  margin-bottom: var(--space-3);
}

.result-box__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: var(--space-2);
}

.result-box__desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--grey-400);
  font-weight: 300;
}

/* — Próximo Projeto — */
.next-project {
  display: block;
  border-bottom: var(--border);
  transition: background 0.3s;
  cursor: none;
}

.next-project:hover {
  background: rgba(232, 25, 10, 0.04);
}

.next-project__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-10) 0;
  border-top: var(--border-strong);
}

.next-project__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.next-project__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.next-project__title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  transition: color 0.2s;
}

.next-project:hover .next-project__title {
  color: var(--grey-200);
}

.next-project__arrow {
  font-family: var(--font-mono);
  font-size: 32px;
  color: var(--red);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.next-project:hover .next-project__arrow {
  transform: translateX(8px);
}

/* ============================================
   PÁGINA DE PROJETO — RESPONSIVO
   ============================================ */

@media (max-width: 1024px) {
  .results__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .result-box:nth-child(2) {
    border-right: none;
  }

  .result-box:nth-child(-n+2) {
    border-bottom: var(--border-strong);
  }
}

@media (max-width: 768px) {
  .project-hero__cover {
    aspect-ratio: 16/9;
  }

  .project-hero__meta {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5) 0;
  }

  .project-meta-item:nth-child(2) {
    border-right: none;
  }

  .project-meta-item:nth-child(odd) {
    padding-left: 0;
  }

  .project-meta-item:nth-child(n+3) {
    border-top: var(--border);
    padding-top: var(--space-4);
  }

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

  .overview__block {
    border-right: none;
    border-bottom: var(--border-strong);
  }

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

  .scope__body {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .scope__tags {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .scope__tags .pill {
    display: inline-block;
  }

  .solution__item,
  .solution__item--reverse {
    flex-direction: column;
    gap: var(--space-6);
    padding: var(--space-8) 0;
  }

  .solution__item-media {
    flex: none;
    width: 100%;
  }

  .solution__image-full img {
    aspect-ratio: 16/9;
  }

  .results__grid {
    grid-template-columns: 1fr;
    border: none;
    gap: 1px;
    background: rgba(245, 242, 237, 0.15);
  }

  .result-box {
    border-right: none;
    border-bottom: none;
    background: var(--black);
  }

  .result-box:nth-child(-n+2) {
    border-bottom: none;
  }

  .next-project__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }
}
