/* ============================================
   AUGUSTO CUSTODIO — MAIN STYLESHEET
   High-quality typographic & animated design
   ============================================ */

/* ─── CUSTOM PROPERTIES ─────────────────── */
:root {
  --c-bg:         #0a0a0a;
  --c-bg2:        #111111;
  --c-bg3:        #161616;
  --c-surface:    #1a1a1a;
  --c-border:     rgba(255,255,255,0.08);
  --c-border-h:   rgba(255,255,255,0.18);
  --c-gold:       #c9a96e;
  --c-gold-light: #e2c99a;
  --c-gold-dark:  #9e7a44;
  --c-white:      #f5f4f0;
  --c-muted:      rgba(245,244,240,0.5);
  --c-muted2:     rgba(245,244,240,0.3);

  --f-serif:      'Cormorant Garamond', Georgia, serif;
  --f-sans:       'Inter', system-ui, -apple-system, sans-serif;
  --f-mono:       'DM Mono', 'Courier New', monospace;

  --nav-h:        72px;
  --radius:       4px;
  --radius-lg:    12px;
  --trans:        cubic-bezier(0.4, 0, 0.2, 1);
  --trans-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --trans-elegant: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --container:    1200px;
  --gap:          clamp(16px, 3vw, 32px);
  --section-pad:  clamp(80px, 10vw, 140px);
}

/* ─── RESET ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--c-bg);
  color: var(--c-white);
  font-family: var(--f-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* ─── SCROLLBAR ──────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb { background: var(--c-gold-dark); border-radius: 2px; }
::selection { background: var(--c-gold); color: var(--c-bg); }

/* ─── LOADER ─────────────────────────────── */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--c-bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s var(--trans), visibility 0.6s;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-logo-img {
  display: block;
  width: 120px;
  height: auto;
  margin: 0 auto 36px;
  animation: fadeInDown 0.8s var(--trans-elegant) both;
  object-fit: contain;
  opacity: 0.95;
}
.loader-bar {
  width: 160px; height: 1px;
  background: var(--c-border);
  margin: 0 auto;
  overflow: hidden;
}
.loader-progress {
  height: 100%;
  background: var(--c-gold);
  width: 0;
  animation: loaderFill 1.8s var(--trans-elegant) forwards;
}
@keyframes loaderFill { to { width: 100%; } }
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── CONTAINER ─────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* ─── NAVBAR ─────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  transition: background 0.4s var(--trans), box-shadow 0.4s var(--trans), height 0.3s var(--trans);
}
.navbar.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 1px 0 var(--c-border);
  height: 60px;
}
.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
  transition: opacity 0.3s;
}
.nav-logo:hover { opacity: 0.7; }
/* Logo image in navbar */
.logo-img {
  display: block;
  height: 38px;
  width: auto;
  object-fit: contain;
  opacity: 0.95;
  transition: opacity 0.3s var(--trans), height 0.3s var(--trans);
}
.nav-logo:hover .logo-img { opacity: 0.55; }
.navbar.scrolled .logo-img { height: 32px; }
.nav-center { flex: 1; display: flex; justify-content: center; }
.nav-links {
  display: flex; gap: 36px;
}
.nav-links a {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-muted);
  transition: color 0.3s var(--trans);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; width: 0; height: 1px;
  background: var(--c-gold);
  transition: width 0.3s var(--trans-elegant);
}
.nav-links a:hover,
.nav-links a.active { color: var(--c-white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }

/* Lang Switcher */
.lang-switcher { position: relative; }
.lang-current {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c-muted);
  transition: color 0.3s;
  padding: 6px 0;
}
.lang-current:hover { color: var(--c-white); }
.lang-flag { font-size: 1rem; line-height: 1; }
.lang-arrow {
  font-size: 0.55rem;
  transition: transform 0.3s var(--trans);
}
.lang-switcher.open .lang-arrow { transform: rotate(180deg); }
.lang-dropdown {
  position: absolute; top: calc(100% + 12px); right: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 8px;
  min-width: 160px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all 0.3s var(--trans-elegant);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.lang-switcher.open .lang-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.lang-option {
  width: 100%; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  font-size: 0.78rem; font-weight: 400;
  color: var(--c-muted);
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}
.lang-option:hover { background: var(--c-border); color: var(--c-white); }
.lang-option.active { color: var(--c-gold); }

/* Nav CTA */
.nav-cta {
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-bg);
  background: var(--c-gold);
  padding: 10px 22px;
  border-radius: var(--radius);
  transition: background 0.3s var(--trans), transform 0.2s var(--trans-spring);
}
.nav-cta:hover { background: var(--c-gold-light); transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  width: 28px; padding: 4px 0;
}
.hamburger span {
  display: block; height: 1px; width: 100%;
  background: var(--c-white);
  transition: all 0.3s var(--trans);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed; inset: 0; top: var(--nav-h);
  background: var(--c-bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 48px;
  opacity: 0; visibility: hidden; transform: translateY(-20px);
  transition: all 0.4s var(--trans-elegant);
  z-index: 999;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu ul { text-align: center; }
.mobile-menu ul li + li { margin-top: 28px; }
.mobile-menu ul a {
  font-family: var(--f-sans);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.01em;
  color: var(--c-muted);
  transition: color 0.3s;
}
.mobile-menu ul a:hover { color: var(--c-gold); }
.mobile-lang { display: flex; gap: 20px; }
.mobile-lang button {
  font-size: 0.78rem; letter-spacing: 0.12em;
  color: var(--c-muted); text-transform: uppercase;
  padding: 8px 12px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  transition: all 0.3s;
}
.mobile-lang button:hover { color: var(--c-gold); border-color: var(--c-gold); }

/* ─── HERO ───────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 60px) var(--gap) 80px;
  overflow: hidden;
}

/* Hero Background */
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
}

/* ── Imagem cinematográfica ── */
.hero-img-wrap {
  position: absolute; inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform-origin: center center;
  animation: kenBurns 40s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenBurns {
  0%   { transform: scale(1.00) translateX(0)      translateY(0); }
  50%  { transform: scale(1.03) translateX(-0.5%)  translateY(-0.4%); }
  100% { transform: scale(1.05) translateX(0.4%)   translateY(0.3%); }
}

/* ── Escurecimento base ── */
.hero-overlay-dark {
  position: absolute; inset: 0; z-index: 1;
  background: rgba(4, 4, 3, 0.72);
}

/* ── Gradiente direcional: escurece bordas e rodapé, preserva tons dourados do horizonte ── */
.hero-overlay-grad {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(to bottom,
      rgba(10,10,10,0.78) 0%,
      rgba(10,10,10,0.28) 30%,
      rgba(10,10,10,0.20) 55%,
      rgba(10,10,10,0.90) 100%),
    linear-gradient(to right,
      rgba(10,10,10,0.55) 0%,
      transparent 35%,
      transparent 65%,
      rgba(10,10,10,0.45) 100%);
}

/* ── Véu dourado sutil no horizonte — realça warm tones do pôr do sol ── */
.hero-overlay-gold {
  position: absolute; inset: 0; z-index: 3;
  background: radial-gradient(
    ellipse 120% 40% at 50% 62%,
    rgba(201,169,110, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-grid {
  position: absolute; inset: 0; z-index: 3;
  background-image:
    linear-gradient(rgba(201,169,110,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,169,110,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  animation: gridMove 20s linear infinite;
}
@keyframes gridMove {
  0%   { transform: translateY(0); }
  100% { transform: translateY(80px); }
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.08;
  z-index: 4;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--c-gold), transparent 70%);
  top: -200px; right: -100px;
  animation: orbFloat1 12s ease-in-out infinite;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--c-gold-light), transparent 70%);
  bottom: -100px; left: -50px;
  animation: orbFloat2 15s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(30px,-40px) scale(1.08); }
}
@keyframes orbFloat2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(-20px,30px) scale(1.05); }
}

/* Hero Content */
.hero-content {
  max-width: 820px; text-align: center;
  position: relative; z-index: 10;
}

/* Hero Signature logo */
.hero-sig {
  display: flex; justify-content: center;
  margin-bottom: 32px;
}
.hero-sig-img {
  height: 72px;
  width: auto;
  object-fit: contain;
  opacity: 0.95;
  transition: opacity 0.4s var(--trans), transform 0.4s var(--trans-spring);
}
.hero-sig:hover .hero-sig-img {
  opacity: 0.6;
  transform: scale(1.03);
}
.hero-eyebrow {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin-bottom: 40px;
  font-family: var(--f-mono);
  font-size: 0.68rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--c-gold);
}
.eyebrow-line {
  display: block; width: 40px; height: 1px;
  background: var(--c-gold); opacity: 0.5;
}
.hero-headline {
  font-family: var(--f-sans);
  font-size: clamp(1.8rem, 4vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}
.headline-serif {
  color: var(--c-white);
  font-weight: 700;
}
.headline-outlined {
  display: block;
  color: var(--c-gold);
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.03em;
}
.hero-subline {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--c-muted);
  max-width: 600px; margin: 0 auto 48px;
}
.hero-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--c-gold);
  color: var(--c-bg);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 16px 36px;
  border-radius: var(--radius);
  transition: background 0.3s var(--trans), transform 0.2s var(--trans-spring), box-shadow 0.3s;
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover { background: var(--c-gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,169,110,0.3); }
.btn-primary:hover::after { opacity: 1; }
.btn-primary.full-width { width: 100%; justify-content: center; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent;
  color: var(--c-white);
  font-size: 0.72rem; font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 16px 36px;
  border-radius: var(--radius);
  border: 1px solid var(--c-border-h);
  transition: all 0.3s var(--trans);
}
.btn-ghost:hover { border-color: var(--c-gold); color: var(--c-gold); transform: translateY(-2px); }

/* Hero Scroll Indicator */
.hero-scroll-indicator {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  z-index: 10;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--c-gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.4; transform: scaleY(1); }
  50%      { opacity: 1; transform: scaleY(1.1); }
}
.hero-scroll-indicator span {
  font-family: var(--f-mono);
  font-size: 0.58rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--c-muted2);
}

/* Hero Stats */
.hero-stats {
  position: absolute; right: 40px; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 20px;
  z-index: 2;
}
.stat-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s, transform 0.3s var(--trans-spring);
}
.stat-card:hover { border-color: var(--c-gold); transform: translateX(-4px); }
.stat-num {
  display: block;
  font-family: var(--f-sans);
  font-size: 2rem; font-weight: 300;
  color: var(--c-gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-family: var(--f-mono);
  font-size: 0.6rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--c-muted);
  line-height: 1.5;
}

/* ─── MANIFESTO BAND ────────────────────── */
.manifesto-band {
  overflow: hidden; border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 20px 0; background: var(--c-bg2);
}
.marquee-track { display: flex; overflow: hidden; }
.marquee-inner {
  display: flex; gap: 0;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-item {
  display: inline-flex; align-items: center; gap: 20px;
  padding: 0 32px;
  font-family: var(--f-mono);
  font-size: 0.65rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--c-muted2);
}
.marquee-item .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--c-gold); opacity: 0.5;
}

/* ─── SECTIONS BASE ─────────────────────── */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}
.section-label {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 60px;
  font-family: var(--f-mono);
  font-size: 0.65rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--c-muted2);
}
.label-num { color: var(--c-gold); }
.section-label::after {
  content: '';
  flex: 1; height: 1px;
  background: var(--c-border);
}
.section-title {
  font-family: var(--f-sans);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}
.section-title em {
  font-style: normal;
  font-weight: 700;
  color: var(--c-gold);
}
.section-subtitle {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-weight: 300;
  color: var(--c-muted);
  line-height: 1.8;
  max-width: 560px;
}
.body-text {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-weight: 300;
  color: var(--c-muted);
  line-height: 1.85;
  margin-bottom: 20px;
}

/* ─── ABOUT ──────────────────────────────── */
.about { background: var(--c-bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 100px);
  margin-bottom: 80px;
  align-items: start;
}
.about-right { padding-top: 8px; }
.about-signature {
  margin-top: 40px; padding-top: 28px;
  border-top: 1px solid var(--c-border);
  display: flex; flex-direction: column; gap: 4px;
}
.sig-name {
  font-family: var(--f-sans);
  font-size: 1.1rem; font-weight: 400; font-style: normal;
  color: var(--c-gold);
}
.sig-title {
  font-family: var(--f-mono);
  font-size: 0.65rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--c-muted2);
}

/* Pillars */
.pillars-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.pillar {
  background: var(--c-bg);
  padding: clamp(28px, 4vw, 48px);
  transition: background 0.3s var(--trans);
}
.pillar:hover { background: var(--c-surface); }
.pillar-icon {
  width: 44px; height: 44px;
  background: var(--c-border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  font-size: 1.1rem; color: var(--c-gold);
  transition: background 0.3s, transform 0.3s var(--trans-spring);
}
.pillar:hover .pillar-icon { background: rgba(201,169,110,0.15); transform: scale(1.1); }
.pillar h4 {
  font-family: var(--f-sans);
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 12px; color: var(--c-white);
}
.pillar p {
  font-size: 0.82rem; font-weight: 300;
  color: var(--c-muted); line-height: 1.7;
}

/* ─── MODEL ──────────────────────────────── */
.model { background: var(--c-bg2); }
.model-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--gap); margin-bottom: 70px; align-items: end;
}
.model-steps { margin-bottom: 80px; }
.model-step {
  display: grid; grid-template-columns: 80px 1fr auto;
  gap: 32px; align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--c-border);
  position: relative;
  transition: padding-left 0.4s var(--trans-elegant);
}
.model-step:first-child { border-top: 1px solid var(--c-border); }
.model-step:hover { padding-left: 8px; }
.step-number {
  font-family: var(--f-mono);
  font-size: 0.65rem; letter-spacing: 0.15em;
  color: var(--c-gold); padding-top: 4px;
  transition: opacity 0.3s;
}
.step-content h3 {
  font-family: var(--f-sans);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 500; color: var(--c-white);
  margin-bottom: 12px; letter-spacing: 0.02em;
}
.step-content p {
  font-size: 0.88rem; font-weight: 300;
  color: var(--c-muted); line-height: 1.8;
}
.step-accent {
  width: 1px; height: 0;
  background: var(--c-gold);
  align-self: stretch;
  transition: height 0.5s var(--trans-elegant);
  margin-top: 4px;
}
.model-step:hover .step-accent { height: 60px; }

/* Diagram */
.model-diagram {
  display: flex; align-items: center; justify-content: center;
  gap: 0; position: relative;
  padding: 60px 40px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.model-diagram::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,169,110,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.diagram-node {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  z-index: 2; flex: 1; max-width: 200px;
}
.node-icon {
  width: 72px; height: 72px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--c-gold);
  transition: border-color 0.3s, transform 0.3s var(--trans-spring);
}
.diagram-node:hover .node-icon { border-color: var(--c-gold); transform: scale(1.08); }
.diagram-node span {
  font-family: var(--f-mono);
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-muted);
}
.diagram-center {
  flex: 1; max-width: 160px;
  display: flex; flex-direction: column; align-items: center;
  position: relative;
}
.center-ring {
  width: 90px; height: 90px;
  border: 1px solid var(--c-gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 2;
  background: var(--c-bg);
  animation: ringPulse 3s ease-in-out infinite;
}
@keyframes ringPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(201,169,110,0.2); }
  50%      { box-shadow: 0 0 0 16px rgba(201,169,110,0); }
}
/* Logo image in diagram */
.center-logo-img {
  display: block;
  width: 54px;
  height: auto;
  object-fit: contain;
  opacity: 0.95;
}
.diagram-lines {
  position: absolute; top: 50%; left: 0; right: 0;
  height: 1px; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: space-between;
}
.line-left, .line-right {
  flex: 1; height: 1px;
  background: linear-gradient(to right, transparent, var(--c-gold));
  opacity: 0.3;
}
.line-right { background: linear-gradient(to left, transparent, var(--c-gold)); }

/* ─── SPLIT LAYOUT (ARCHITECTS / BRANDS) ─── */
.split-layout {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 100px); align-items: start;
}
.split-layout.reverse { direction: rtl; }
.split-layout.reverse > * { direction: ltr; }

/* Services List */
.services-list { margin-top: 40px; }
.service-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px 0; border-bottom: 1px solid var(--c-border);
  transition: padding-left 0.3s var(--trans-elegant);
}
.service-item:first-child { border-top: 1px solid var(--c-border); }
.service-item:hover { padding-left: 6px; }
.service-arrow {
  color: var(--c-gold); font-size: 0.75rem; padding-top: 5px;
  flex-shrink: 0;
  transition: transform 0.3s var(--trans-spring);
}
.service-item:hover .service-arrow { transform: translateX(4px); }
.service-content h4 {
  font-size: 0.88rem; font-weight: 500;
  color: var(--c-white); margin-bottom: 8px; letter-spacing: 0.02em;
}
.service-content p {
  font-size: 0.82rem; font-weight: 300;
  color: var(--c-muted); line-height: 1.75;
}

/* Feature Cards */
.feature-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 56px);
  position: sticky; top: calc(var(--nav-h) + 24px);
  transition: border-color 0.4s var(--trans);
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(201,169,110,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.feature-card:hover { border-color: var(--c-border-h); }

/* Architects Card */
.architects-card .card-quote {
  font-size: 2.5rem; color: var(--c-gold); opacity: 0.3;
  margin-bottom: 20px; line-height: 1;
}
.architects-card blockquote {
  font-family: var(--f-sans);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 300;
  font-style: normal;
  line-height: 1.5;
  color: var(--c-white);
  position: relative; z-index: 1;
}
.card-visual { margin-top: 40px; }
.visual-lines { display: flex; flex-direction: column; gap: 10px; }
.vl {
  height: 1px; background: var(--c-border);
  transition: width 1.5s var(--trans-elegant);
}
.vl-1 { width: 100%; }
.vl-2 { width: 70%; }
.vl-3 { width: 40%; }

/* Brands Card */
.brands-card .brands-visual {
  position: relative; height: 280px;
  display: flex; align-items: center; justify-content: center;
}
.bv-circle {
  position: absolute; border-radius: 50%;
  border: 1px solid var(--c-border);
  animation: circleFloat 6s ease-in-out infinite;
}
.bv-c1 { width: 240px; height: 240px; animation-duration: 7s; }
.bv-c2 { width: 160px; height: 160px; border-color: rgba(201,169,110,0.2); animation-duration: 5s; animation-delay: -2s; }
.bv-c3 { width: 80px; height: 80px; border-color: rgba(201,169,110,0.4); animation-duration: 4s; animation-delay: -1s; }
@keyframes circleFloat {
  0%,100% { transform: translate(0,0); }
  25%      { transform: translate(8px,-8px); }
  50%      { transform: translate(0,-14px); }
  75%      { transform: translate(-8px,-8px); }
}
.bv-text {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 16px;
  font-family: var(--f-mono);
  font-size: 0.7rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--c-muted);
}
.bv-text i { color: var(--c-gold); animation: arrowBounce 2s ease-in-out infinite; }
@keyframes arrowBounce {
  0%,100% { transform: scaleX(1); }
  50%      { transform: scaleX(1.3); }
}

/* ─── ARCHITECTS SECTION ─────────────────── */
.architects { background: var(--c-bg); }
.brands     { background: var(--c-bg2); }

/* ─── PORTFOLIO ──────────────────────────── */
.portfolio { background: var(--c-bg2); }

.portfolio-header {
  margin-bottom: 56px;
}

.portfolio-intro {
  font-family: var(--f-sans);
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--c-muted);
  max-width: 820px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.arch-card {
  position: relative;
  overflow: hidden;
  cursor: default;
  background: var(--c-surface);
}

/* Proporção 3:4 vertical */
.arch-card::before {
  content: '';
  display: block;
  padding-top: 133.33%;
}

.arch-photo-wrap {
  position: absolute;
  inset: 0;
}

.arch-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(1) contrast(1.05);
  transition: transform 0.7s var(--trans-elegant),
              filter 0.5s var(--trans-elegant);
}

.arch-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,10,10,0.88) 0%,
    rgba(10,10,10,0.2) 45%,
    transparent 100%
  );
  transition: background 0.5s var(--trans-elegant);
}

.arch-name {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 18px 18px;
  z-index: 2;
  transform: translateY(4px);
  transition: transform 0.4s var(--trans-elegant);
}

.arch-name span {
  display: block;
  font-family: var(--f-sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--c-white);
  line-height: 1.3;
}

/* Hover */
.arch-card:hover .arch-photo {
  transform: scale(1.05);
  filter: grayscale(1) contrast(1.1) brightness(0.85);
}

.arch-card:hover .arch-overlay {
  background: linear-gradient(
    to top,
    rgba(10,10,10,0.95) 0%,
    rgba(10,10,10,0.35) 55%,
    rgba(10,10,10,0.1) 100%
  );
}

.arch-card:hover .arch-name {
  transform: translateY(0);
}

.arch-card:hover .arch-name span {
  color: var(--c-gold);
}

/* Gold accent line on hover */
.arch-name::before {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background: var(--c-gold);
  margin-bottom: 10px;
  transition: width 0.4s var(--trans-elegant);
}

.arch-card:hover .arch-name::before {
  width: 24px;
}

/* Responsive portfolio */
@media (max-width: 1100px) {
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-header { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 1px; }
}


.differentials { background: var(--c-bg); }
.diff-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--gap); margin-bottom: 70px; align-items: end;
}
.diff-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--c-border);
  border: 1px solid var(--c-border); border-radius: var(--radius-lg);
  overflow: hidden;
}
.diff-card {
  background: var(--c-bg);
  padding: clamp(28px, 3vw, 44px);
  transition: background 0.3s var(--trans);
  position: relative; overflow: hidden;
}
.diff-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--c-gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--trans-elegant);
}
.diff-card:hover { background: var(--c-surface); }
.diff-card:hover::after { transform: scaleX(1); }
.diff-num {
  font-family: var(--f-mono);
  font-size: 0.65rem; letter-spacing: 0.15em;
  color: var(--c-gold); margin-bottom: 20px;
}
.diff-card h3 {
  font-family: var(--f-sans);
  font-size: 0.9rem; font-weight: 500;
  color: var(--c-white); margin-bottom: 14px; letter-spacing: 0.02em;
  transition: color 0.3s;
}
.diff-card:hover h3 { color: var(--c-gold); }
.diff-card p {
  font-size: 0.8rem; font-weight: 300;
  color: var(--c-muted); line-height: 1.75;
}

/* ─── POSITION BAND ─────────────────────── */
.position-band {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--c-gold);
  position: relative; overflow: hidden;
}
.position-band::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(10,10,10,0.1)'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.pos-content { text-align: center; position: relative; z-index: 1; }
.pos-headline {
  font-family: var(--f-sans);
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--c-bg);
  margin-bottom: 24px;
}
.pos-headline em {
  font-style: normal;
  font-weight: 700;
}
.pos-text {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-weight: 300; color: rgba(10,10,10,0.7);
  line-height: 1.8; max-width: 600px; margin: 0 auto;
}

/* ─── CONTACT ────────────────────────────── */
.contact { background: var(--c-bg2); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 100px); align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.contact-item {
  display: flex; align-items: center; gap: 14px;
  font-size: 0.85rem; font-weight: 300; color: var(--c-muted);
  transition: color 0.3s;
}
.contact-item:hover { color: var(--c-gold); }
.contact-item i { width: 16px; color: var(--c-gold); font-size: 0.9rem; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-family: var(--f-mono);
  font-size: 0.65rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--c-muted2);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--c-white);
  font-size: 0.88rem; font-weight: 300;
  outline: none;
  transition: border-color 0.3s var(--trans), background 0.3s;
  resize: vertical;
  appearance: none;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-group select option { background: var(--c-surface); color: var(--c-white); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--c-gold);
  background: var(--c-bg3);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--c-muted2); }
.form-success {
  display: none;
  align-items: center; gap: 12px;
  padding: 16px 20px;
  background: rgba(201,169,110,0.1);
  border: 1px solid var(--c-gold);
  border-radius: var(--radius);
  font-size: 0.85rem; color: var(--c-gold);
}
.form-success.visible { display: flex; }
.form-success i { font-size: 1rem; }

/* ─── FOOTER ─────────────────────────────── */
.footer {
  background: var(--c-bg3);
  border-top: 1px solid var(--c-border);
  padding: 60px 0 32px;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px; margin-bottom: 48px;
  padding-bottom: 48px; border-bottom: 1px solid var(--c-border);
}
/* Logo image in footer */
.footer-logo-img {
  display: block;
  height: 56px;
  width: auto;
  object-fit: contain;
  opacity: 0.88;
  margin-bottom: 20px;
  transition: opacity 0.3s var(--trans);
}
.footer-logo-img:hover { opacity: 0.5; }
.footer-brand p {
  font-size: 0.82rem; font-weight: 300;
  color: var(--c-muted); line-height: 1.7;
  max-width: 300px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a {
  font-size: 0.8rem; font-weight: 300;
  letter-spacing: 0.08em; color: var(--c-muted);
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--c-gold); }
.footer-lang {
  display: flex; flex-direction: column; gap: 10px;
}
.footer-lang-btn {
  font-size: 0.78rem; font-weight: 300;
  letter-spacing: 0.1em; color: var(--c-muted2);
  text-align: left; transition: color 0.3s;
  padding: 2px 0;
}
.footer-lang-btn:hover { color: var(--c-gold); }
.footer-lang-btn.active { color: var(--c-gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy {
  font-size: 0.75rem; font-weight: 300;
  color: var(--c-muted2); letter-spacing: 0.06em;
}
.footer-made {
  font-family: var(--f-mono);
  font-size: 0.65rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--c-muted2);
}

/* ─── REVEAL ANIMATIONS ─────────────────── */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0; transition: opacity 0.8s var(--trans-elegant), transform 0.8s var(--trans-elegant);
}
.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1; transform: translate(0);
}

/* Delays */
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

/* ─── CURSOR ─────────────────────────────── */
.custom-cursor {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--c-white);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, opacity 0.2s;
  pointer-events: none; z-index: 9998;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  transition: all 0.12s var(--trans-elegant), width 0.3s, height 0.3s, background 0.3s;
  pointer-events: none; z-index: 9997;
}
.cursor-ring.hovered {
  width: 60px; height: 60px;
  border-color: var(--c-gold);
  background: rgba(201,169,110,0.08);
}

/* ─── PROGRESS BAR ────────────────────────── */
#readingProgress {
  position: fixed; top: 0; left: 0; z-index: 1001;
  height: 2px; width: 0;
  background: linear-gradient(to right, var(--c-gold-dark), var(--c-gold), var(--c-gold-light));
  transition: width 0.1s linear;
}

/* ─── BACK TO TOP ─────────────────────────── */
#backToTop {
  position: fixed; bottom: 32px; right: 32px; z-index: 100;
  width: 44px; height: 44px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-gold); font-size: 0.8rem;
  opacity: 0; transform: translateY(16px);
  transition: all 0.3s var(--trans-spring);
  pointer-events: none;
}
#backToTop.visible {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
#backToTop:hover {
  background: var(--c-gold);
  border-color: var(--c-gold);
  color: var(--c-bg);
  transform: translateY(-2px);
}

/* ─── RESPONSIVE ─────────────────────────── */
@media (max-width: 1100px) {
  .hero-stats { display: none; }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-center { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .about-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .model-header { grid-template-columns: 1fr; }
  .split-layout { grid-template-columns: 1fr; }
  .split-layout.reverse { direction: ltr; }
  .feature-card { position: relative; top: auto; order: -1; }
  .diff-header { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .model-step { grid-template-columns: 60px 1fr; }
  .step-accent { display: none; }
}

@media (max-width: 600px) {
  :root { --nav-h: 60px; }
  .hero-headline { letter-spacing: -0.02em; }
  .hero-eyebrow { font-size: 0.6rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; max-width: 300px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  #backToTop { bottom: 20px; right: 20px; }
  .cursor-dot, .cursor-ring { display: none; }
}

@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}
