/* =================================================================
   ATMOSFERA — Design System CSS
   Premium Interior Design & Psychoarchitecture Studio, Brasília
   Version: 1.0 | June 2026
================================================================= */

/* --- Custom Properties --- */
:root {
  /* Brand */
  --brand:       #B89A6A;
  --brand-dark:  #8A7048;
  --accent:      #9B8B7E;

  /* Dark palette */
  --dark-950: #0F0D0A;
  --dark-900: #1C1814;
  --dark-800: #2A2018;
  --dark-700: #38302A;
  --dark-600: #4A4038;

  /* Light palette */
  --light-50:  #FDFCF9;
  --light-100: #FAF8F4;
  --light-200: #F2EDE6;
  --light-300: #E5DDD4;
  --light-400: #CEC4BA;

  /* Text */
  --text-dark:        #FAF8F4;
  --text-dark-muted:  rgba(250, 248, 244, 0.52);
  --text-light:       #1C1814;
  --text-light-muted: #7A6E64;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;

  /* Spacing */
  --section-y:  clamp(90px, 11vw, 160px);
  --container:  1200px;
  --gutter:     clamp(24px, 4vw, 72px);

  /* Motion */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --trans: 0.4s var(--ease);

  /* Borders */
  --border-dark:  rgba(250, 248, 244, 0.09);
  --border-light: rgba(28, 24, 20, 0.10);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--dark-900);
  color: var(--text-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* --- Grain Texture Overlay --- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 300px;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 1000;
  transition: background 0.6s var(--ease), border-color 0.6s;
  border-bottom: 1px solid transparent;
}

/* Inner container — alinha o conteúdo do nav com o grid da página */
.nav-inner {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding: 26px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.5s var(--ease);
}

.nav.is-scrolled {
  background: rgba(28, 24, 20, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border-dark);
}

.nav.is-scrolled .nav-inner {
  padding-block: 16px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dark);
  transition: opacity var(--trans);
}

.nav-logo em {
  color: var(--brand);
  font-style: normal;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  list-style: none;
}

.nav-link {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dark-muted);
  position: relative;
  transition: color var(--trans);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brand);
  transition: width 0.45s var(--ease);
}

.nav-link:hover { color: var(--text-dark); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dark-900);
  background: var(--brand);
  padding: 11px 24px;
  transition: background var(--trans), transform 0.2s;
}

.nav-cta:hover { background: var(--brand-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 1px;
  background: var(--text-dark);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--dark-900);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.nav-mobile.is-open {
  opacity: 1;
  pointer-events: all;
}

.nav-mobile-link {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 300;
  color: var(--text-dark-muted);
  transition: color var(--trans);
}

.nav-mobile-link:hover { color: var(--brand); }

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
}

.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--brand);
  flex-shrink: 0;
}

/* --- Typography Classes --- */
.t-display-xl {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8.5vw, 9.5rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.025em;
}

.t-display-lg {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 6.5rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.02em;
}

.t-display-md {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.t-heading {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 2.2rem);
  font-weight: 400;
  line-height: 1.25;
}

.t-body {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.8;
  font-weight: 300;
}

.t-small {
  font-size: clamp(0.8rem, 0.95vw, 0.9rem);
  line-height: 1.65;
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: var(--trans);
}

.btn-primary {
  color: var(--dark-900);
  background: var(--brand);
  padding: 16px 36px;
}

.btn-primary:hover {
  background: var(--brand-dark);
  gap: 18px;
}

.btn-outline {
  color: var(--text-dark);
  border: 1px solid var(--brand);
  padding: 14px 32px;
}

.btn-outline:hover {
  background: rgba(184, 154, 106, 0.08);
  gap: 18px;
}

.btn-ghost {
  color: var(--text-dark-muted);
  border-bottom: 1px solid rgba(184, 154, 106, 0.4);
  padding-bottom: 3px;
}

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

.btn svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  background: var(--dark-900);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  will-change: transform;
  transition: transform 0.1s linear;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(28, 24, 20, 0.80) 0%,
    rgba(28, 24, 20, 0.45) 55%,
    rgba(28, 24, 20, 0.30) 100%
  );
}

.hero-overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(28, 24, 20, 0.9), transparent);
}

/* Container wrapper — alinha o conteúdo do hero com o grid da página */
.hero-body {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-bottom: clamp(60px, 8vw, 100px);
}

.hero-content {
  max-width: min(860px, 100%);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 2.5rem;
  opacity: 0;
}

.hero-eyebrow-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--brand);
}

.hero-title {
  margin-bottom: 2.5rem;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  line-height: 0.96;
}

.hero-title .line-inner {
  display: block;
  transform: translateY(105%);
}

.hero-title .italic { font-style: italic; color: var(--brand); }

.hero-sub {
  color: var(--text-dark-muted);
  max-width: 440px;
  margin-bottom: 3.5rem;
  opacity: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  opacity: 0;
}

.hero-scroll-hint {
  position: absolute;
  bottom: clamp(24px, 4vw, 48px);
  right: var(--gutter);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
}

.hero-scroll-hint span {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dark-muted);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 56px;
  overflow: hidden;
  position: relative;
  background: rgba(184, 154, 106, 0.2);
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--brand);
  animation: scrollDrop 2.4s ease-in-out infinite 1s;
}

@keyframes scrollDrop {
  0%   { top: -100%; }
  45%  { top: 100%; }
  46%  { top: -100%; }
  100% { top: -100%; }
}

/* --- Diferenciais --- */
.diferenciais {
  background: var(--light-100);
  color: var(--text-light);
  padding-block: var(--section-y);
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(50px, 7vw, 90px);
  border: 1px solid var(--border-light);
  gap: 1px;
  background: var(--border-light);
}

.diferencial {
  background: var(--light-100);
  padding: clamp(40px, 5vw, 65px) clamp(28px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: background var(--trans);
}

.diferencial:hover { background: var(--light-200); }

.diferencial-icon {
  width: 44px;
  height: 44px;
  color: var(--brand);
}

.diferencial-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1;
}

.diferencial-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  font-weight: 400;
  color: var(--text-light);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.diferencial-text {
  font-size: clamp(0.88rem, 1.05vw, 1rem);
  color: var(--text-light-muted);
  line-height: 1.75;
  font-weight: 300;
}

/* --- Sobre --- */
.sobre {
  background: var(--light-100);
  color: var(--text-light);
  padding-block: var(--section-y);
  border-top: 1px solid var(--border-light);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(50px, 7vw, 110px);
  align-items: center;
}

.sobre-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.sobre-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(184, 154, 106, 0.15);
  pointer-events: none;
  z-index: 1;
}

.sobre-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.9s var(--ease);
}

.sobre-image-wrap:hover .sobre-image { transform: scale(1.04); }

.sobre-text {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.sobre-body {
  color: var(--text-light-muted);
  max-width: 480px;
}

.sobre-divider {
  width: 40px;
  height: 1px;
  background: var(--brand);
}

.sobre-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 200;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light-muted);
}

/* --- Psicoarquitetura --- */
.psicoarq {
  position: relative;
  background: var(--dark-800);
  color: var(--text-dark);
  padding-block: var(--section-y);
  overflow: hidden;
}

.psicoarq-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('../images/psicoarq-bg.jpg');
  background-size: cover;
  background-position: center 40%;
  opacity: 0.18;
}

.psicoarq-content {
  position: relative;
  z-index: 1;
}

.psicoarq-header {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(60px, 8vw, 100px);
}

.psicoarq-title { font-style: italic; margin-top: 2rem; margin-bottom: 2.5rem; }

.psicoarq-body {
  color: var(--text-dark-muted);
  max-width: 580px;
  margin-inline: auto;
}

.psicoarq-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-dark);
  border: 1px solid var(--border-dark);
  margin-top: clamp(50px, 7vw, 80px);
}

.pillar {
  background: rgba(15, 13, 10, 0.5);
  backdrop-filter: blur(8px);
  padding: clamp(36px, 4.5vw, 56px) clamp(28px, 3.5vw, 46px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition: background var(--trans);
}

.pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.pillar:hover { background: rgba(184, 154, 106, 0.06); }
.pillar:hover::before { transform: scaleX(1); }

.pillar-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 200;
  color: var(--brand);
  opacity: 0.3;
  line-height: 1;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.15;
}

.pillar-text {
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  color: var(--text-dark-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* --- Fundadoras --- */
.fundadoras {
  background: var(--light-200);
  color: var(--text-light);
  padding-block: var(--section-y);
}

.fundadoras-header {
  margin-bottom: clamp(50px, 7vw, 90px);
}

.fundadoras-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(36px, 5vw, 80px);
}

.fundadora {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.fundadora-img-wrap {
  overflow: hidden;
  aspect-ratio: 3/4;
  position: relative;
}

.fundadora-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(184, 154, 106, 0.12);
  pointer-events: none;
  z-index: 1;
}

.fundadora-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(15%) contrast(1.02);
  transition: transform 0.9s var(--ease), filter 0.5s var(--ease);
}

.fundadora-img-wrap:hover .fundadora-img {
  transform: scale(1.04);
  filter: grayscale(0%) contrast(1);
}

.fundadora-meta { display: flex; flex-direction: column; gap: 10px; }

.fundadora-role {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
}

.fundadora-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 400;
  color: var(--text-light);
  line-height: 1.1;
}

.fundadora-bio {
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  color: var(--text-light-muted);
  line-height: 1.75;
  font-weight: 300;
  max-width: 440px;
}

.fundadora-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  border: 1px solid rgba(28, 24, 20, 0.15);
  padding: 6px 14px;
}

/* --- Projetos --- */
.projetos {
  background: var(--light-100);
  color: var(--text-light);
  padding-block: var(--section-y);
  border-top: 1px solid var(--border-light);
}

.projetos-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 6vw, 70px);
}

.projetos-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 1.1fr;
  gap: 14px;
}

.proj {
  position: relative;
  overflow: hidden;
  background: var(--light-300);
}

.proj:nth-child(1) { grid-row: span 2; height: 580px; }
.proj:nth-child(2) { aspect-ratio: 4/3; }
.proj:nth-child(3) { grid-column: 3; grid-row: span 2; height: 580px; }
.proj:nth-child(4) { aspect-ratio: 4/3; }
/* Linha 3: varanda ocupa as duas primeiras colunas; home-office na terceira */
.proj:nth-child(5) { grid-column: 1 / 3; aspect-ratio: 16/6; }
.proj:nth-child(6) { grid-column: 3; aspect-ratio: 16/9; }

/* Imagem com position absolute garante preenchimento correto em qualquer tamanho */
.proj-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s var(--ease);
}

.proj-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 24, 20, 0.85) 0%, rgba(28, 24, 20, 0.1) 55%, transparent 100%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}

.proj:hover .proj-img { transform: scale(1.06); }
.proj:hover .proj-overlay { opacity: 1; }

.proj-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 22px;
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}

.proj:hover .proj-info { transform: translateY(0); opacity: 1; }

.proj-cat {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 6px;
}

.proj-name {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  font-weight: 300;
  color: var(--light-100);
  line-height: 1.2;
}

.projetos-coming {
  text-align: center;
  padding: clamp(36px, 5vw, 56px) 40px;
  border: 1px solid var(--border-light);
  background: var(--light-200);
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.projetos-coming p {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  font-style: italic;
  color: var(--text-light-muted);
  font-weight: 300;
}

/* --- Processo --- */
.processo {
  background: var(--dark-900);
  color: var(--text-dark);
  padding-block: var(--section-y);
}

.processo-header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  margin-bottom: clamp(60px, 8vw, 100px);
}

.processo-intro { max-width: 520px; }

.processo-intro .t-display-md { margin-block: 1.5rem 1.5rem; }

.processo-intro .t-body { color: var(--text-dark-muted); }

.processo-visual {
  position: relative;
  overflow: hidden;
}

.processo-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  filter: brightness(0.88) saturate(0.9);
  transition: filter 0.5s var(--ease), transform 0.6s var(--ease);
}

.processo-visual:hover .processo-img {
  filter: brightness(0.96) saturate(1);
  transform: scale(1.02);
}

.processo-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Sem background: o container é transparente — evita o retângulo vazio quando steps estão invisíveis */
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.step {
  background: var(--dark-900);
  padding: clamp(40px, 5vw, 62px) clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  transition: background var(--trans);
  border-right: 1px solid var(--border-dark);
}

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

.step::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.step:hover { background: var(--dark-800); }
.step:hover::after { transform: scaleX(1); }

.step-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 4.5vw, 5rem);
  font-weight: 200;
  color: var(--brand);
  opacity: 0.22;
  line-height: 1;
}

.step-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.2;
}

.step-text {
  font-size: clamp(0.88rem, 1.05vw, 1rem);
  color: var(--text-dark-muted);
  line-height: 1.75;
  font-weight: 300;
}

/* --- Contato --- */
.contato {
  background: var(--dark-800);
  color: var(--text-dark);
  padding-block: var(--section-y);
  border-top: 1px solid var(--border-dark);
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(50px, 7vw, 110px);
  align-items: start;
}

.contato-text { display: flex; flex-direction: column; gap: 2rem; }

.contato-title { font-style: italic; }

.contato-body { color: var(--text-dark-muted); max-width: 400px; }

.contato-channels { display: flex; flex-direction: column; gap: 12px; margin-top: 1rem; }

.channel-link {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--border-dark);
  transition: background var(--trans), border-color var(--trans);
}

.channel-link:hover {
  background: rgba(184, 154, 106, 0.07);
  border-color: rgba(184, 154, 106, 0.4);
}

.channel-icon {
  width: 20px;
  height: 20px;
  color: var(--brand);
  flex-shrink: 0;
}

.channel-icon svg { width: 100%; height: 100%; stroke-width: 1.5; }

.channel-meta { display: flex; flex-direction: column; gap: 3px; }

.channel-type {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dark-muted);
}

.channel-value {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 300;
  color: var(--text-dark);
}

.contato-aside {
  background: var(--dark-700);
  border: 1px solid var(--border-dark);
  padding: clamp(40px, 5vw, 64px) clamp(32px, 4.5vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contato-aside-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.3;
}

.contato-aside-text { color: var(--text-dark-muted); font-size: clamp(0.9rem, 1.1vw, 1rem); }

/* --- Footer --- */
.footer {
  background: var(--dark-950);
  color: var(--text-dark);
  padding-block: 60px 36px;
  border-top: 1px solid var(--border-dark);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 36px;
}

.footer-brand { display: flex; flex-direction: column; gap: 6px; }

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.footer-logo em { color: var(--brand); font-style: normal; }

.footer-tagline {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-dark-muted);
  font-weight: 300;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dark-muted);
  transition: color var(--trans);
}

.footer-nav a:hover { color: var(--brand); }

.footer-social {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.footer-social-link {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark-muted);
  transition: border-color var(--trans), color var(--trans);
}

.footer-social-link:hover { border-color: var(--brand); color: var(--brand); }
.footer-social-link svg { width: 14px; height: 14px; stroke-width: 1.5; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copy, .footer-credit {
  font-size: 0.68rem;
  color: var(--text-dark-muted);
  letter-spacing: 0.06em;
}

.footer-credit a { color: var(--brand); }
.footer-credit a:hover { color: var(--text-dark); }

/* --- GSAP Reveal Targets (initial states) --- */
.reveal-up    { opacity: 0; transform: translateY(44px); }
.reveal-left  { opacity: 0; transform: translateX(-44px); }
.reveal-right { opacity: 0; transform: translateX(44px); }
.reveal-scale { opacity: 0; transform: scale(0.94); }
.reveal-fade  { opacity: 0; }

/* --- Responsiveness --- */
@media (max-width: 1100px) {
  .diferenciais-grid      { grid-template-columns: 1fr; }
  .psicoarq-pillars       { grid-template-columns: 1fr; }
  .processo-steps         { grid-template-columns: 1fr; }
  .processo-header-grid   { grid-template-columns: 1fr; }
  .processo-visual        { max-width: 640px; }
  .projetos-grid {
    grid-template-columns: 1fr 1fr;
  }
  .proj:nth-child(1)  { grid-row: auto; height: auto; aspect-ratio: 4/3; }
  .proj:nth-child(2)  { aspect-ratio: 4/3; }
  .proj:nth-child(3)  { grid-column: auto; grid-row: auto; height: auto; aspect-ratio: 4/3; }
  .proj:nth-child(4)  { aspect-ratio: 4/3; }
  .proj:nth-child(5)  { grid-column: auto; aspect-ratio: 4/3; }
  .proj:nth-child(6)  { grid-column: auto; aspect-ratio: 4/3; }
}

@media (max-width: 900px) {
  .sobre-grid       { grid-template-columns: 1fr; }
  .sobre-image-wrap { aspect-ratio: 16/9; }
  .fundadoras-grid  { grid-template-columns: 1fr; max-width: 520px; }
  .contato-grid     { grid-template-columns: 1fr; }
  .footer-top       { grid-template-columns: 1fr; text-align: center; }
  .footer-social    { justify-content: center; }
  .footer-bottom    { flex-direction: column; align-items: center; text-align: center; }
}

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

  .hero-actions { flex-direction: column; align-items: flex-start; gap: 1.5rem; }

  .projetos-grid       { grid-template-columns: 1fr; }
  .projetos-header     { flex-direction: column; align-items: flex-start; }

  .footer-nav { gap: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
