/* ============================================
   VERT — Construtora e Incorporadora
   Design System
   ============================================ */

:root {
  /* Cores institucionais VERT */
  --charcoal: #414042;
  --charcoal-deep: #0f0f10;
  --charcoal-800: #1a1a1c;
  --charcoal-700: #232326;
  --charcoal-600: #2c2c30;
  --gray-medium: #58595B;
  --gray-light: #bfc1c4;
  --gray-softer: #e6e7e8;
  --white: #ffffff;

  /* Acento metálico (silver gradient do logo) */
  --metal-1: #cfd1d4;
  --metal-2: #8a8b8f;
  --metal-3: #5c5d60;
  --accent: #c9ccd0;

  /* Tipografia */
  --font-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 2px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.7s;
}

/* ============================================
   RESET
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-softer);
  background: var(--charcoal-deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
input, textarea, select, button { font: inherit; }

::selection { background: var(--gray-light); color: var(--charcoal-deep); }

/* ============================================
   UTILITIES
   ============================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 24px;
}

.serif-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.01em;
}

.accent {
  background: linear-gradient(135deg, var(--metal-1) 0%, var(--white) 50%, var(--metal-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
}

.section__title {
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.03em;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn svg { transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  background: var(--white);
  color: var(--charcoal-deep);
}
.btn--primary:hover { background: var(--gray-softer); transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(255,255,255,0.15); }

.btn--outline {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}
.btn--outline:hover { border-color: var(--white); background: rgba(255,255,255,0.05); }

.btn--ghost {
  color: var(--white);
  border-color: rgba(255,255,255,0.15);
}
.btn--ghost:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.35); }

.btn--sm { padding: 12px 22px; font-size: 11px; }
.btn--block { width: 100%; }

/* ============================================
   SCROLL PROGRESS
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--metal-2), var(--white), var(--metal-2));
  z-index: 200;
  transition: width 0.1s linear;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), padding 0.4s var(--ease);
}
.header.is-scrolled {
  background: rgba(15, 15, 16, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header__logo img {
  height: 38px;
  width: auto;
  transition: transform 0.4s var(--ease);
}
.header__logo:hover img { transform: scale(1.04); }

.nav {
  display: flex;
  gap: 34px;
}
.nav a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--gray-softer);
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width 0.4s var(--ease);
}
.nav a:hover { color: var(--white); }
.nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 110;
}
.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.35s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  inset: 0;
  background: rgba(15,15,16,0.96);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 80px 24px 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
  z-index: 90;
}
.nav-mobile.is-open { opacity: 1; pointer-events: auto; }
.nav-mobile a {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  color: var(--white);
}
.nav-mobile .btn { margin-top: 20px; font-family: var(--font-sans); font-size: 12px; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  color: var(--white);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: heroZoom 14s var(--ease-out) forwards;
  filter: brightness(0.55) saturate(0.8);
}
@keyframes heroZoom {
  to { transform: scale(1); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(15,15,16,0.85) 0%, rgba(15,15,16,0.4) 60%, rgba(15,15,16,0.7) 100%),
    linear-gradient(to bottom, rgba(15,15,16,0.3) 0%, rgba(15,15,16,0.1) 40%, rgba(15,15,16,0.95) 100%);
}
.hero__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.06;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero__content { position: relative; z-index: 1; max-width: 980px; }
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeIn 1s var(--ease) 0.3s forwards;
}
.hero__eyebrow .line {
  width: 60px;
  height: 1px;
  background: var(--gray-light);
}

.hero__title {
  font-size: clamp(44px, 8.5vw, 132px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 32px;
}
.hero__title span { display: block; }
.hero__title .serif-italic {
  font-weight: 300;
  font-style: italic;
  background: linear-gradient(135deg, var(--metal-1) 0%, #ffffff 50%, var(--metal-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__lead {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 300;
  line-height: 1.5;
  max-width: 580px;
  margin-bottom: 44px;
  color: var(--gray-softer);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--gray-light);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  z-index: 1;
  opacity: 0;
  animation: fadeIn 1s var(--ease) 1.2s forwards;
}
.hero__scroll svg { animation: scrollBounce 2.2s ease-in-out infinite; }
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: 0.5; }
}
@keyframes fadeIn { to { opacity: 1; } }

/* ============================================
   TICKER
   ============================================ */
.ticker {
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  background: var(--charcoal-deep);
}
.ticker__track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: tickerMove 40s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 300;
  font-style: italic;
  color: var(--gray-medium);
}
.ticker__track span:nth-child(even) { color: var(--metal-2); }
@keyframes tickerMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
}
.section--dark { background: var(--charcoal-800); }
.section__head {
  max-width: 960px;
  margin: 0 auto 64px;
  text-align: center;
}
.section__head--split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: end;
  max-width: 100%;
  text-align: left;
  margin-bottom: 80px;
}
.section__desc {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--gray-light);
  line-height: 1.7;
  max-width: 500px;
}

/* ============================================
   MANIFESTO
   ============================================ */
.manifesto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 80px auto 0;
}
.manifesto__text {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 300;
  line-height: 1.45;
  color: var(--gray-softer);
  letter-spacing: -0.01em;
}
.manifesto__text em {
  font-style: italic;
  color: var(--white);
}

/* ============================================
   PILLARS
   ============================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.pillar {
  padding: 56px 32px;
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: background 0.5s var(--ease), transform 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}
.pillar:last-child { border-right: 0; }
.pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,204,208,0.04), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.pillar:hover { background: rgba(255,255,255,0.02); }
.pillar:hover::before { opacity: 1; }
.pillar:hover .pillar__icon { color: var(--white); transform: translateY(-4px); }

.pillar__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 14px;
  color: var(--metal-2);
  margin-bottom: 40px;
  letter-spacing: 0.1em;
}
.pillar__icon {
  width: 52px;
  height: 52px;
  color: var(--metal-1);
  margin-bottom: 28px;
  transition: color 0.5s var(--ease), transform 0.5s var(--ease);
}
.pillar h3 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 14px;
  color: var(--white);
}
.pillar p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-light);
}

/* ============================================
   NUMBERS
   ============================================ */
.section--numbers {
  padding: clamp(70px, 8vw, 110px) 0;
  background:
    radial-gradient(ellipse at top, rgba(191,193,196,0.04), transparent 60%),
    var(--charcoal-deep);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.number-item__value {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 86px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--metal-1) 0%, #ffffff 50%, var(--metal-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.number-item__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-light);
  line-height: 1.6;
}

/* ============================================
   SERVIÇOS
   ============================================ */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service {
  padding: 44px 36px 40px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), transform 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}
.service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(201,204,208,0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.service:hover {
  background: rgba(255,255,255,0.035);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}
.service:hover::before { opacity: 1; }
.service:hover .service__icon { color: var(--white); transform: translateY(-2px); }

.service__icon {
  width: 48px;
  height: 48px;
  color: var(--metal-1);
  margin-bottom: 12px;
  transition: color 0.4s var(--ease), transform 0.4s var(--ease);
}
.service__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--metal-2);
}
.service h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.service p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-light);
  margin-bottom: 6px;
}
.service__tags {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: auto;
}
.service__tags li {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gray-softer);
  padding-left: 18px;
  position: relative;
}
.service__tags li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 1px;
  background: var(--metal-1);
}

/* ============================================
   NUMBERS INTRO
   ============================================ */
.numbers-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}
.numbers-intro__title {
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}

/* ============================================
   TIMELINE
   ============================================ */
.section--timeline {
  padding: clamp(80px, 11vw, 140px) 0;
  background: var(--charcoal-deep);
}
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  padding-top: 30px;
}
.timeline__line {
  position: absolute;
  top: 56px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right,
    transparent,
    rgba(255,255,255,0.18) 8%,
    rgba(255,255,255,0.18) 92%,
    transparent
  );
}
.milestone {
  position: relative;
  padding-top: 72px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.milestone__dot {
  position: absolute;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--charcoal-deep);
  border: 1px solid var(--metal-2);
  transition: all 0.4s var(--ease);
}
.milestone--highlight .milestone__dot {
  background: var(--white);
  border-color: var(--white);
  box-shadow: 0 0 0 6px rgba(255,255,255,0.08);
}
.milestone:hover .milestone__dot {
  background: var(--white);
  border-color: var(--white);
  box-shadow: 0 0 0 6px rgba(255,255,255,0.1);
}
.milestone__year {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 3vw, 42px);
  color: var(--metal-1);
  letter-spacing: -0.02em;
  line-height: 1;
  text-align: center;
}
.milestone--highlight .milestone__year {
  background: linear-gradient(135deg, var(--metal-1) 0%, #ffffff 50%, var(--metal-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.milestone__content {
  text-align: center;
  padding: 4px 6px;
}
.milestone__content h3 {
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.milestone__content p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray-light);
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.project {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--charcoal-700);
  cursor: pointer;
  transition: transform 0.6s var(--ease);
}
.project--featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: stretch;
  min-height: 480px;
}
.project__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.project--featured .project__image { aspect-ratio: auto; height: 100%; min-height: 480px; }
.project__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out), filter 0.6s var(--ease);
  filter: brightness(0.82) saturate(0.9);
}
.project:hover .project__image img { transform: scale(1.06); filter: brightness(0.95) saturate(1); }

.project__info {
  padding: 36px 34px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
}
.project--featured .project__info {
  padding: 56px 48px;
  background: var(--charcoal-700);
}
.project__tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--metal-1);
}
.project h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--white);
}
.project p {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.7;
}
.project__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 24px;
  margin-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.project__meta span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--gray-softer);
}
.project__meta strong {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-medium);
}

/* Gallery inside featured project */
.project--gallery.project--featured { min-height: auto; }
.project--gallery .project__image {
  aspect-ratio: auto;
  min-height: 0;
  height: auto;
  display: flex;
  flex-direction: column;
  background: var(--charcoal-deep);
}
.gallery__main {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  max-height: 420px;
  background: var(--charcoal-800);
}
.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: galleryFade 0.6s var(--ease-out);
  filter: brightness(0.95) saturate(1.05) contrast(1.03);
  transition: filter 0.6s var(--ease);
}
@keyframes galleryFade {
  from { opacity: 0; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}
.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.08);
  padding: 2px;
}
.gallery__thumb {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: var(--charcoal-800);
  transition: transform 0.3s var(--ease);
}
.gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: opacity 0.3s var(--ease), transform 0.6s var(--ease-out);
  filter: brightness(0.9);
}
.gallery__thumb:hover img { opacity: 0.85; transform: scale(1.06); }
.gallery__thumb.is-active img { opacity: 1; filter: brightness(1); }
.gallery__thumb.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--white);
  pointer-events: none;
}

/* Coming soon / Em prospecção */
.project--coming {
  min-height: 480px;
  background: linear-gradient(135deg, var(--charcoal-800) 0%, var(--charcoal-700) 100%);
  border: 1px solid rgba(255,255,255,0.08);
}
.project__image--placeholder {
  aspect-ratio: auto;
  height: 100%;
  min-height: 480px;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0 2px, transparent 2px 18px),
    linear-gradient(135deg, rgba(201,204,208,0.05), transparent 70%),
    var(--charcoal-700);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.coming-overlay { max-width: 380px; text-align: left; display: flex; flex-direction: column; gap: 14px; }
.coming-overlay__eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--metal-2);
}
.coming-overlay__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  letter-spacing: -0.01em;
}
.coming-overlay p { font-size: 14px; color: var(--gray-light); line-height: 1.7; margin-bottom: 6px; }
.coming-overlay__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  align-self: flex-start;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.coming-overlay__link:hover { border-bottom-color: var(--white); transform: translateX(3px); }

/* ============================================
   INVESTIDORES
   ============================================ */
.section--investors {
  position: relative;
  background: var(--charcoal-deep);
  overflow: hidden;
  padding: clamp(100px, 14vw, 180px) 0;
}
.investors__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(201,204,208,0.08), transparent 55%),
    radial-gradient(ellipse at 85% 90%, rgba(138,139,143,0.06), transparent 55%);
  pointer-events: none;
}
.investors__inner { position: relative; z-index: 1; }

.investors__intro {
  max-width: 900px;
  margin-bottom: 80px;
}
.investors__lead {
  max-width: 640px;
  margin-top: 24px;
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--gray-softer);
}

.investors__manifesto {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  padding: 48px 0 72px;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 80px;
  align-items: center;
}
.investors__manifesto p {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 300;
  line-height: 1.5;
  color: var(--gray-softer);
  letter-spacing: -0.005em;
}
.investors__manifesto em {
  font-style: italic;
  color: var(--white);
}
.investors__pull {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 30px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.3;
  color: var(--white);
  letter-spacing: -0.015em;
  padding-left: 28px;
  border-left: 2px solid var(--metal-1);
}

.investors__grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-bottom: 80px;
}
.investors__block-title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--metal-1);
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.investors__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.invest-card {
  padding: 40px 32px;
  background: var(--charcoal-deep);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.4s var(--ease);
  position: relative;
}
.invest-card:hover { background: var(--charcoal-800); }
.invest-card__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 20px;
  color: var(--metal-1);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.invest-card h4 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.invest-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-light);
}

.investors__modalities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.modality {
  padding: 32px 28px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modality:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}
.modality h4 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--white);
  line-height: 1.3;
}
.modality p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray-light);
}

.investors__cta {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px 44px;
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.investors__cta::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,204,208,0.08), transparent 60%);
  pointer-events: none;
}
.investors__cta-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.015em;
}
.investors__cta-title .serif-italic { display: inline; font-weight: 400; }
.investors__disclaimer {
  font-size: 12px;
  line-height: 1.6;
  color: var(--gray-medium);
  max-width: 520px;
  letter-spacing: 0.02em;
}
.btn--investors { justify-self: end; padding: 20px 32px; }

/* ============================================
   FAQ
   ============================================ */
.faq {
  max-width: 960px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.faq__item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background 0.3s var(--ease);
}
.faq__item[open] { background: rgba(255,255,255,0.02); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 8px 28px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: padding 0.3s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item[open] summary { padding-bottom: 12px; }
.faq__item:hover summary { padding-left: 8px; }
.faq__q {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.faq__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  position: relative;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  background: var(--white);
  transform-origin: center;
  transition: transform 0.35s var(--ease);
}
.faq__icon::before { transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { border-color: var(--white); transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }

.faq__a {
  padding: 0 70px 28px 2px;
  animation: faqReveal 0.4s var(--ease-out);
}
@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.faq__a p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-light);
  max-width: 780px;
}

/* ============================================
   PROCESS
   ============================================ */
.process {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.process::before {
  content: "";
  position: absolute;
  left: 54px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.15) 10%, rgba(255,255,255,0.15) 90%, transparent);
}
.process__step {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 40px;
  padding: 34px 0;
  align-items: start;
  position: relative;
}
.process__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 42px;
  color: var(--metal-1);
  position: relative;
  padding-left: 6px;
  letter-spacing: -0.02em;
}
.process__num::before {
  content: "";
  position: absolute;
  left: 48px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--charcoal-deep);
  border: 1px solid var(--metal-2);
  transition: all 0.4s var(--ease);
}
.process__step:hover .process__num::before {
  background: var(--white);
  border-color: var(--white);
  box-shadow: 0 0 0 6px rgba(255,255,255,0.08);
}
.process__body h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--white);
}
.process__body p {
  font-size: 15px;
  color: var(--gray-light);
  line-height: 1.7;
  max-width: 620px;
}

/* ============================================
   QUOTE
   ============================================ */
.section--quote {
  padding: clamp(80px, 12vw, 140px) 0;
}
.quote {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.quote__mark {
  width: 48px;
  height: 38px;
  color: var(--metal-2);
  margin: 0 auto 32px;
  opacity: 0.6;
}
.quote p {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 300;
  line-height: 1.4;
  color: var(--white);
  letter-spacing: -0.015em;
  margin-bottom: 36px;
}
.quote footer {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-light);
}
.quote cite {
  display: block;
  font-style: normal;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 6px;
}
.quote footer span { color: var(--gray-medium); }

/* ============================================
   CONTACT
   ============================================ */
.section--contact {
  background:
    radial-gradient(ellipse at right bottom, rgba(191,193,196,0.05), transparent 50%),
    var(--charcoal-800);
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact__intro .section__title { margin-bottom: 24px; }
.contact__info {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact__info li {
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-medium);
}
.contact__info a {
  font-size: 17px;
  color: var(--white);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.3s var(--ease);
  align-self: flex-start;
}
.contact__info a:hover { border-bottom-color: var(--white); }
.contact__info li > span:last-child { font-size: 17px; color: var(--white); }

/* FORM */
.contact__form {
  background: var(--charcoal-700);
  padding: 40px 36px;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-light);
}
.field input,
.field select,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding: 12px 2px;
  color: var(--white);
  font-size: 15px;
  transition: border-color 0.3s var(--ease);
  border-radius: 0;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 8l4 4 4-4' stroke='%23bfc1c4' stroke-width='1.2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; background-size: 18px; padding-right: 28px; }
.field select option { background: var(--charcoal-700); color: var(--white); }
.field textarea { resize: vertical; min-height: 100px; font-family: inherit; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--white); }

.form-status {
  font-size: 13px;
  color: var(--metal-1);
  min-height: 20px;
  text-align: center;
}
.form-status.is-success { color: #a5e3b8; }
.form-status.is-error { color: #e8a5a5; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--charcoal-deep);
  padding: 80px 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 80px;
  padding-bottom: 60px;
}
.footer__logo { height: 44px; width: auto; margin-bottom: 24px; }
.footer__brand p { font-size: 14px; color: var(--gray-light); line-height: 1.7; max-width: 320px; }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer__cols h4 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer__cols ul { display: flex; flex-direction: column; gap: 12px; }
.footer__cols a, .footer__cols li {
  font-size: 14px;
  color: var(--gray-light);
  transition: color 0.3s var(--ease);
}
.footer__cols a:hover { color: var(--white); }

.footer__bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 12px;
  color: var(--gray-medium);
  letter-spacing: 0.05em;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============================================
   LEGAL (política de privacidade)
   ============================================ */
.legal {
  padding: 140px 0 100px;
  background: var(--charcoal-deep);
  min-height: 100vh;
}
.legal__head {
  max-width: 820px;
  margin-bottom: 70px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.legal__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: 24px 0 24px;
}
.legal__meta {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-medium);
}
.legal__body { max-width: 820px; }
.legal__body section { margin-bottom: 44px; }
.legal__body h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.legal__body p,
.legal__body li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-light);
  margin-bottom: 14px;
}
.legal__body ul {
  padding-left: 0;
  margin-bottom: 18px;
  list-style: none;
}
.legal__body li {
  padding-left: 24px;
  position: relative;
}
.legal__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 12px;
  height: 1px;
  background: var(--metal-2);
}
.legal__body strong { color: var(--white); font-weight: 500; }
.legal__body em { font-style: italic; color: var(--gray-softer); }
.legal__body a {
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 1px;
  transition: border-color 0.3s var(--ease);
}
.legal__body a:hover { border-bottom-color: var(--white); }
.legal__back { margin-top: 50px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.08); }

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  left: 18px;
  bottom: 18px;
  right: 18px;
  max-width: 480px;
  z-index: 140;
  background: rgba(15,15,16,0.96);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: 0 20px 60px -10px rgba(0,0,0,0.5);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray-softer);
  margin-bottom: 16px;
}
.cookie-banner a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(255,255,255,0.3);
  transition: text-decoration-color 0.3s var(--ease);
}
.cookie-banner a:hover { text-decoration-color: var(--white); }
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-banner__btn {
  padding: 10px 18px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: 1px solid transparent;
}
.cookie-banner__btn--primary { background: var(--white); color: var(--charcoal-deep); }
.cookie-banner__btn--primary:hover { background: var(--gray-softer); }
.cookie-banner__btn--ghost { background: transparent; color: var(--gray-light); border-color: rgba(255,255,255,0.15); }
.cookie-banner__btn--ghost:hover { color: var(--white); border-color: rgba(255,255,255,0.35); }

/* Consent checkbox inside contact form */
.field-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-top: 6px;
  cursor: pointer;
}
.field-consent input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  position: relative;
  margin-top: 1px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field-consent input[type="checkbox"]:checked {
  background: var(--white);
  border-color: var(--white);
}
.field-consent input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 10px;
  border: solid var(--charcoal-deep);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.field-consent input[type="checkbox"]:focus-visible { outline: 2px solid var(--gray-light); outline-offset: 2px; }
.field-consent__text {
  font-size: 12px;
  line-height: 1.55;
  color: var(--gray-light);
}
.field-consent__text a {
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.3);
}

/* ============================================
   WHATSAPP FLUTUANTE
   ============================================ */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px 14px 16px;
  background: #25D366;
  color: #ffffff;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  box-shadow:
    0 12px 32px -6px rgba(37,211,102,0.45),
    0 4px 14px rgba(0,0,0,0.25);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  text-decoration: none;
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: inherit;
  z-index: -1;
  animation: waPulse 2.6s ease-out infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.55; }
  70% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1.3); opacity: 0; }
}
.wa-float:hover {
  transform: translateY(-3px);
  box-shadow:
    0 18px 40px -6px rgba(37,211,102,0.6),
    0 6px 18px rgba(0,0,0,0.3);
}
.wa-float svg { flex-shrink: 0; }
.wa-float__label {
  white-space: nowrap;
  transition: max-width 0.4s var(--ease), opacity 0.3s var(--ease), margin 0.4s var(--ease);
}
@media (max-width: 640px) {
  .wa-float { padding: 14px; right: 16px; bottom: 16px; }
  .wa-float__label {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    margin: 0;
  }
}

/* ============================================
   CUSTOM CURSOR (desktop)
   ============================================ */
.cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--white);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.2s var(--ease), width 0.3s var(--ease), height 0.3s var(--ease);
  transform: translate(-50%, -50%);
  opacity: 0;
}
body.cursor-ready .cursor { opacity: 1; }
.cursor.is-hover { width: 44px; height: 44px; }

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.hero .reveal-up { animation-fill-mode: forwards; }
.hero__title .reveal-up:nth-child(1) { animation: heroReveal 1s var(--ease-out) 0.3s forwards; }
.hero__title .reveal-up:nth-child(2) { animation: heroReveal 1s var(--ease-out) 0.5s forwards; }
.hero__title .reveal-up:nth-child(3) { animation: heroReveal 1s var(--ease-out) 0.7s forwards; }
.hero__lead.reveal-up { animation: heroReveal 1s var(--ease-out) 0.9s forwards; }
.hero__actions.reveal-up { animation: heroReveal 1s var(--ease-out) 1.1s forwards; }
@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .nav, .header__cta { display: none; }
  .nav-toggle { display: flex; }
  .section__head--split { grid-template-columns: 1fr; gap: 24px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .pillar:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
  .pillar:nth-last-child(-n+2) { border-bottom: 0; }
  .numbers { grid-template-columns: repeat(2, 1fr); gap: 48px 32px; }
  .manifesto { grid-template-columns: 1fr; gap: 28px; }
  .contact { grid-template-columns: 1fr; gap: 48px; }
  .footer__inner { grid-template-columns: 1fr; gap: 48px; }
  .services { grid-template-columns: 1fr; gap: 18px; }
  .faq__a { padding-right: 8px; }
  .timeline { grid-template-columns: 1fr; gap: 8px; padding-top: 0; }
  .timeline__line {
    top: 0; bottom: 0; left: 20px; right: auto;
    width: 1px; height: auto;
    background: linear-gradient(to bottom,
      transparent, rgba(255,255,255,0.18) 4%, rgba(255,255,255,0.18) 96%, transparent);
  }
  .milestone {
    padding: 18px 0 18px 52px;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .milestone__dot { top: 30px; left: 20px; transform: translate(-50%, 0); }
  .milestone__year { text-align: left; }
  .milestone__content { text-align: left; padding: 0; }
  .investors__manifesto { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 56px; }
  .investors__grid { gap: 56px; }
  .investors__cards { grid-template-columns: 1fr; }
  .investors__modalities { grid-template-columns: 1fr 1fr; }
  .investors__cta { grid-template-columns: 1fr; gap: 28px; padding: 36px 30px; }
  .btn--investors { justify-self: start; }
}

@media (max-width: 640px) {
  .investors__modalities { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .portfolio { grid-template-columns: 1fr; gap: 20px; }
  .project--featured { grid-template-columns: 1fr; min-height: auto; }
  .project--featured .project__image { aspect-ratio: 4/3; min-height: 0; }
  .project--featured .project__info { padding: 32px 28px; }
  .project__meta { gap: 18px; }
  .project--coming, .project__image--placeholder { min-height: 340px; }
  .gallery__main { min-height: 280px; aspect-ratio: 4/3; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process__step { grid-template-columns: 70px 1fr; gap: 20px; }
  .process::before { left: 35px; }
  .process__num { font-size: 32px; padding-left: 0; }
  .process__num::before { left: 30px; }
  .hero { padding-top: 140px; }
  .cursor { display: none; }
}

@media (max-width: 480px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,0.1) !important; }
  .pillar:last-child { border-bottom: 0 !important; }
  .numbers { grid-template-columns: 1fr; gap: 36px; }
  .field-row { grid-template-columns: 1fr; }
  .contact__form { padding: 28px 22px; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__bottom-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero__img { animation: none; transform: none; }
  .reveal-up { opacity: 1; transform: none; }
}
