/* ============================================================
   KOCH CONSTRUTORA — JHSF HYBRID v6 PREMIUM
   Sistema de Design Global
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Inter:wght@200;300;400;500;600;700&family=Montserrat:wght@200;300;400;500;600;700&display=swap');

/* ————————————————————————————————
   CSS CUSTOM PROPERTIES
———————————————————————————————— */
:root {
  /* Cores primárias */
  --black:       #0a0a0a;
  --black-deep:  #050505;
  --off-black:   #111111;
  --charcoal:    #1a1a1a;
  --graphite:    #242424;
  --dark-mid:    #2e2e2e;

  /* Cinzas */
  --gray-900:    #1c1c1c;
  --gray-800:    #2a2a2a;
  --gray-700:    #3a3a3a;
  --gray-600:    #555555;
  --gray-500:    #777777;
  --gray-400:    #999999;
  --gray-300:    #bbbbbb;
  --gray-200:    #d4d4d4;
  --gray-100:    #e8e8e8;
  --gray-50:     #f4f4f2;

  /* Branco */
  --white:       #ffffff;
  --off-white:   #faf9f7;
  --cream:       #f5f3ef;
  --ivory:       #eee9e0;

  /* Dourado — acento premium */
  --gold:        #c9a96e;
  --gold-light:  #d4b97f;
  --gold-pale:   #e8d5b0;
  --gold-dark:   #9e7c42;
  --gold-muted:  #b8976055;

  /* Tipografia */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-label:   'Montserrat', system-ui, sans-serif;

  /* Tamanhos */
  --text-xs:    0.625rem;   /* 10px */
  --text-sm:    0.75rem;    /* 12px */
  --text-base:  0.875rem;   /* 14px */
  --text-md:    1rem;       /* 16px */
  --text-lg:    1.125rem;   /* 18px */
  --text-xl:    1.25rem;    /* 20px */
  --text-2xl:   1.5rem;     /* 24px */
  --text-3xl:   2rem;       /* 32px */
  --text-4xl:   2.75rem;    /* 44px */
  --text-5xl:   3.75rem;    /* 60px */
  --text-6xl:   5rem;       /* 80px */
  --text-7xl:   6.5rem;     /* 104px */
  --text-hero:  clamp(3.5rem, 8vw, 7rem);

  /* Espaçamento */
  --space-1:    0.25rem;
  --space-2:    0.5rem;
  --space-3:    0.75rem;
  --space-4:    1rem;
  --space-5:    1.25rem;
  --space-6:    1.5rem;
  --space-8:    2rem;
  --space-10:   2.5rem;
  --space-12:   3rem;
  --space-16:   4rem;
  --space-20:   5rem;
  --space-24:   6rem;
  --space-32:   8rem;
  --space-40:   10rem;
  --space-48:   12rem;

  /* Layout */
  --max-width:  1440px;
  --container:  1240px;
  --gutter:     clamp(1.5rem, 5vw, 5rem);

  /* Transições */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:    cubic-bezier(0.4, 0, 1, 1);
  --ease-inout: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast:   200ms;
  --duration-mid:    400ms;
  --duration-slow:   700ms;
  --duration-xslow:  1100ms;

  /* Sombras */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.15), 0 2px 6px rgba(0,0,0,0.1);
  --shadow-lg:  0 10px 40px rgba(0,0,0,0.25), 0 4px 12px rgba(0,0,0,0.15);
  --shadow-xl:  0 20px 60px rgba(0,0,0,0.35), 0 8px 24px rgba(0,0,0,0.2);
  --shadow-gold: 0 0 0 1px var(--gold);

  /* Border radius */
  --radius-sm:  2px;
  --radius-md:  4px;
  --radius-lg:  8px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-md);
  line-height: 1.7;
  color: var(--gray-800);
  background-color: var(--off-white);
  overflow-x: hidden;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ————————————————————————————————
   TIPOGRAFIA GLOBAL
———————————————————————————————— */
.display-serif {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.display-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
}

.label-track {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.overline {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ————————————————————————————————
   LAYOUT UTILITÁRIOS
———————————————————————————————— */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.container--wide {
  max-width: var(--max-width);
}

.section {
  padding-top: clamp(var(--space-20), 8vw, var(--space-40));
  padding-bottom: clamp(var(--space-20), 8vw, var(--space-40));
}

.section--dark {
  background-color: var(--charcoal);
  color: var(--off-white);
}

.section--black {
  background-color: var(--black);
  color: var(--off-white);
}

.section--cream {
  background-color: var(--cream);
}

/* ————————————————————————————————
   HEADER GLOBAL
———————————————————————————————— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  display: flex;
  align-items: center;
  transition: background var(--duration-mid) var(--ease-inout),
              border-bottom var(--duration-mid) var(--ease-inout);
}

.site-header.scrolled {
  background: var(--black);
  border-bottom: 1px solid rgba(201, 169, 110, 0.2);
}

.site-header.light-header {
  background: var(--black);
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Nav esquerda */
.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex: 1;
}

.header-nav a {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color var(--duration-fast) var(--ease-out);
  padding: var(--space-2) 0;
  position: relative;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--duration-mid) var(--ease-out);
}

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

.header-nav a:hover::after {
  width: 100%;
}

/* Logo central */
.header-logo {
  flex: 0 0 auto;
  text-align: center;
}

.header-logo a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.logo-wordmark {
  font-family: var(--font-label);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
}

.logo-tagline {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--gold);
  line-height: 1;
}

/* Nav direita */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex: 1;
  justify-content: flex-end;
}

.header-actions .btn-ghost {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color var(--duration-fast);
}

.header-actions .btn-ghost:hover {
  color: var(--white);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: var(--space-3) var(--space-5);
  transition: background var(--duration-fast), transform var(--duration-fast);
}

.header-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-3);
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: all var(--duration-mid) var(--ease-out);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--black-deep);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-mid) var(--ease-out);
}

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

.mobile-nav a {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 300;
  color: var(--off-white);
  transition: color var(--duration-fast);
}

.mobile-nav a:hover {
  color: var(--gold);
}

/* ————————————————————————————————
   HERO GLOBAL
———————————————————————————————— */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5,5,5,0.1) 0%,
    rgba(5,5,5,0.3) 40%,
    rgba(5,5,5,0.75) 80%,
    rgba(5,5,5,0.95) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(var(--space-16), 8vh, var(--space-32));
}

.hero-pretitle {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.hero-pretitle::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 300;
  color: var(--white);
  line-height: 1.0;
  letter-spacing: -0.02em;
  max-width: 14ch;
  margin-bottom: var(--space-8);
}

.hero-title em {
  font-style: italic;
  color: var(--gold-pale);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  max-width: 52ch;
  line-height: 1.65;
  margin-bottom: var(--space-10);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--space-8);
  right: var(--gutter);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.45);
}

.hero-scroll span {
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-lr;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.45), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ————————————————————————————————
   BOTÕES
———————————————————————————————— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: var(--space-4) var(--space-8);
  transition: all var(--duration-mid) var(--ease-out);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border: 1px solid rgba(0,0,0,0.35);
}

.btn-outline-dark:hover {
  border-color: var(--gold-dark);
  color: var(--gold-dark);
}

.btn-text {
  background: transparent;
  color: var(--gold);
  padding: 0;
  letter-spacing: 0.15em;
  position: relative;
}

.btn-text::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--duration-mid) var(--ease-out);
}

.btn-text:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  font-size: 1.2rem;
  transition: all var(--duration-fast);
}

.btn-icon:hover {
  background: var(--gold-light);
  transform: scale(1.05);
}

/* ————————————————————————————————
   SECTION HEADERS
———————————————————————————————— */
.section-header {
  margin-bottom: clamp(var(--space-12), 5vw, var(--space-20));
}

.section-header--center {
  text-align: center;
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}

.section-overline {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.section-overline--center {
  justify-content: center;
}

.section-overline::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.section-overline--center::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4.5vw, var(--text-5xl));
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: inherit;
}

.section-title em {
  font-style: italic;
}

.section-desc {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--gray-600);
  max-width: 52ch;
  line-height: 1.7;
  margin-top: var(--space-4);
}

.section-desc--light {
  color: rgba(255,255,255,0.6);
}

/* ————————————————————————————————
   CARDS DE EMPREENDIMENTO
———————————————————————————————— */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-4);
}

.project-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--gray-900);
}

.project-card--featured {
  grid-column: span 7;
  aspect-ratio: 7/5;
}

.project-card--secondary {
  grid-column: span 5;
  aspect-ratio: 5/4;
}

.project-card--standard {
  grid-column: span 4;
  aspect-ratio: 4/5;
}

.project-card-media {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-xslow) var(--ease-out);
}

.project-card:hover .project-card-media img {
  transform: scale(1.06);
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5,5,5,0.92) 0%,
    rgba(5,5,5,0.4) 45%,
    transparent 100%
  );
  transition: background var(--duration-mid);
}

.project-card:hover .project-card-overlay {
  background: linear-gradient(
    to top,
    rgba(5,5,5,0.96) 0%,
    rgba(5,5,5,0.55) 55%,
    rgba(5,5,5,0.1) 100%
  );
}

.project-card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-8);
}

.project-status {
  position: absolute;
  top: var(--space-5);
  left: var(--space-5);
  font-family: var(--font-label);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,169,110,0.4);
  padding: 4px 10px;
  background: rgba(5,5,5,0.6);
  backdrop-filter: blur(4px);
}

.project-location {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  margin-bottom: var(--space-2);
}

.project-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: var(--space-4);
}

.project-meta {
  display: flex;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}

.project-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.project-meta-value {
  font-family: var(--font-label);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--white);
}

.project-meta-label {
  font-family: var(--font-label);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.project-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(8px);
  opacity: 0;
  transition: all var(--duration-mid) var(--ease-out);
}

.project-card:hover .project-card-action {
  transform: translateY(0);
  opacity: 1;
}

.project-card-link {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.project-card-link svg {
  transition: transform var(--duration-fast);
}

.project-card-link:hover svg {
  transform: translateX(4px);
}

/* ————————————————————————————————
   STATS / NÚMEROS
———————————————————————————————— */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(201,169,110,0.15);
}

.stat-item {
  padding: var(--space-12) var(--space-8);
  background: var(--charcoal);
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-number span {
  color: var(--gold);
}

.stat-label {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
}

/* ————————————————————————————————
   FOOTER
———————————————————————————————— */
.site-footer {
  background: var(--black-deep);
  color: var(--off-white);
  border-top: 1px solid rgba(201,169,110,0.12);
}

.footer-top {
  padding: clamp(var(--space-20), 7vw, var(--space-32)) 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.footer-brand {}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--space-6);
}

.footer-logo-name {
  font-family: var(--font-label);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
}

.footer-logo-sub {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.footer-brand-desc {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--gray-500);
  line-height: 1.8;
  max-width: 34ch;
  margin-bottom: var(--space-8);
}

.footer-socials {
  display: flex;
  gap: var(--space-4);
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.85rem;
  transition: all var(--duration-fast);
}

.footer-social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-col-title {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(201,169,110,0.2);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-links a {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--gray-500);
  transition: color var(--duration-fast);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.footer-contact-label {
  font-family: var(--font-label);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-contact-value {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--gray-300);
}

.footer-bottom {
  padding: var(--space-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.footer-bottom-text {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 300;
  color: var(--gray-600);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-6);
}

.footer-bottom-links a {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 300;
  color: var(--gray-600);
  transition: color var(--duration-fast);
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

/* ————————————————————————————————
   WHATSAPP FLOAT
———————————————————————————————— */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  z-index: 900;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.whatsapp-float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--duration-fast);
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-float-btn svg {
  width: 26px;
  height: 26px;
  fill: white;
}

.whatsapp-float-label {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-4);
  border: 1px solid rgba(255,255,255,0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: all var(--duration-fast);
}

.whatsapp-float:hover .whatsapp-float-label {
  opacity: 1;
  transform: translateX(0);
}

/* ————————————————————————————————
   SEPARADORES / DIVIDERS
———————————————————————————————— */
.divider {
  width: 100%;
  height: 1px;
  background: rgba(0,0,0,0.08);
}

.divider--gold {
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  height: 1px;
}

.divider--dark {
  background: rgba(255,255,255,0.06);
}

/* ————————————————————————————————
   ANIMAÇÕES DE ENTRADA
———————————————————————————————— */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 100ms; }
[data-reveal-delay="2"] { transition-delay: 200ms; }
[data-reveal-delay="3"] { transition-delay: 300ms; }
[data-reveal-delay="4"] { transition-delay: 400ms; }
[data-reveal-delay="5"] { transition-delay: 500ms; }

/* ————————————————————————————————
   BREADCRUMB
———————————————————————————————— */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--gray-500);
  margin-bottom: var(--space-12);
}

.breadcrumb a {
  transition: color var(--duration-fast);
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb-sep {
  color: var(--gray-300);
}

/* ————————————————————————————————
   FORMULÁRIOS
———————————————————————————————— */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-700);
}

.form-input {
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: 300;
  color: var(--black);
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.15);
  padding: var(--space-4);
  width: 100%;
  transition: border-color var(--duration-fast);
  outline: none;
}

.form-input:focus {
  border-color: var(--gold);
}

.form-input::placeholder {
  color: var(--gray-400);
}

.form-select {
  appearance: none;
  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 1L6 6L11 1' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

/* ————————————————————————————————
   RESPONSIVE
———————————————————————————————— */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .project-card--featured {
    grid-column: span 6;
  }
  .project-card--secondary {
    grid-column: span 3;
  }
  .project-card--standard {
    grid-column: span 3;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
  }
}

@media (max-width: 768px) {
  .header-nav,
  .header-actions {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mobile-nav {
    display: flex;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .project-card--featured,
  .project-card--secondary,
  .project-card--standard {
    grid-column: span 1;
    aspect-ratio: 4/3;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .hero-title {
    font-size: clamp(2.5rem, 10vw, 4.5rem);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .whatsapp-float {
    bottom: var(--space-6);
    right: var(--space-5);
  }
}

/* ————————————————————————————————
   LIGHTBOX
———————————————————————————————— */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,5,5,0.97);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-mid) var(--ease-out);
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  top: var(--space-6);
  right: var(--space-6);
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--duration-fast);
}

.lightbox-close:hover {
  color: var(--gold);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all var(--duration-fast);
}

.lightbox-nav:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.lightbox-prev { left: var(--space-6); }
.lightbox-next { right: var(--space-6); }

/* ————————————————————————————————
   PAGE HERO (subpáginas)
———————————————————————————————— */
.page-hero {
  position: relative;
  height: 70vh;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: 72px;
}

.page-hero--short {
  height: 50vh;
  min-height: 400px;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5,5,5,0.25) 0%,
    rgba(5,5,5,0.65) 60%,
    rgba(5,5,5,0.9) 100%
  );
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter) var(--space-16);
}

/* ————————————————————————————————
   GALERIA
———————————————————————————————— */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.gallery-item {
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--gray-100);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

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

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

/* ————————————————————————————————
   LOADING OVERLAY
———————————————————————————————— */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--black-deep);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-6);
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  font-family: var(--font-label);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--white);
}

.loader-line {
  width: 60px;
  height: 1px;
  background: var(--gold);
  animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { width: 40px; opacity: 0.4; }
  50% { width: 80px; opacity: 1; }
}

/* ————————————————————————————————
   TAGS / BADGES
———————————————————————————————— */
.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-label);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 10px;
}

.tag--gold {
  color: var(--gold);
  border: 1px solid rgba(201,169,110,0.4);
  background: rgba(201,169,110,0.08);
}

.tag--white {
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
}

.tag--dark {
  color: var(--gray-300);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.3);
}

/* ===== Performance & mobile stability patch ===== */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
}
@media (max-width: 768px) {
  .hero-actions,
  .page-hero .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn,
  .page-hero .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-content,
  .page-hero-content,
  .container,
  .container--wide {
    width: 100%;
    max-width: 100%;
  }
}


/* ===== Layout refinement patch ===== */
.hero {
  min-height: clamp(560px, 88vh, 820px);
}
.hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(5,5,5,0.08) 0%,
    rgba(5,5,5,0.24) 35%,
    rgba(5,5,5,0.58) 72%,
    rgba(5,5,5,0.82) 100%
  );
}
.hero-content {
  padding-bottom: clamp(48px, 7vh, 120px);
}
.page-hero {
  height: min(62vh, 620px);
  min-height: 420px;
}
.page-hero--short {
  height: min(46vh, 480px);
  min-height: 320px;
}
.page-hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(5,5,5,0.18) 0%,
    rgba(5,5,5,0.48) 58%,
    rgba(5,5,5,0.78) 100%
  );
}
.page-hero-content {
  padding-bottom: clamp(32px, 5vh, 72px);
}
.social-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.social-link-card {
  min-width: 0;
  justify-content: center;
  text-align: center;
  white-space: normal;
}
@media (max-width: 1024px) {
  .hero { min-height: 620px; }
  .page-hero { min-height: 380px; }
}
@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 540px;
    align-items: flex-end;
  }
  .hero-content {
    padding-bottom: 40px;
  }
  .hero-title,
  .page-hero .hero-title {
    max-width: 10ch;
    line-height: 1.02;
  }
  .hero-subtitle {
    max-width: 100%;
    color: rgba(255,255,255,0.82);
  }
  .hero-scroll {
    display: none;
  }
  .page-hero {
    height: auto;
    min-height: 340px;
    padding-top: 84px;
  }
  .page-hero--short {
    min-height: 300px;
  }
  .page-hero-content {
    padding-bottom: 28px;
  }
  .contact-layout {
    gap: 24px !important;
  }
  .contact-form-card,
  .contact-info-block {
    min-width: 0;
  }
  .social-links {
    grid-template-columns: 1fr;
  }
  .social-link-card,
  .contact-info-card {
    width: 100%;
    box-sizing: border-box;
  }
}
@media (max-width: 480px) {
  .hero {
    min-height: 500px;
  }
  .hero-pretitle::before {
    width: 24px;
  }
  .hero-title,
  .page-hero .hero-title {
    font-size: clamp(2.5rem, 11vw, 3.4rem);
    max-width: 9ch;
  }
  .hero-subtitle,
  .page-hero .hero-subtitle {
    font-size: 1rem;
    line-height: 1.55;
  }
  .page-hero,
  .page-hero--short {
    min-height: 280px;
  }
}


/* ===== Loader hardening patch ===== */
.page-loader {
  transition: opacity 0.22s ease-out, visibility 0.22s ease-out;
}
@media (max-width: 768px) {
  .page-loader {
    display: none !important;
  }
}


/* ===== Visibility stability patch ===== */
[data-reveal] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
@media (max-width: 768px) {
  .whatsapp-float-label {
    display: none !important;
  }
  .whatsapp-float {
    right: 12px;
    bottom: 12px;
  }
}


/* Footer refinement patch — alignment, spacing, legibility */
.site-footer {
  position: relative;
}

.footer-top {
  padding: clamp(72px, 6vw, 112px) 0 56px;
}

.footer-grid {
  grid-template-columns: minmax(0, 1.7fr) minmax(180px, 1fr) minmax(160px, 0.9fr) minmax(220px, 1.15fr);
  gap: clamp(28px, 3vw, 56px);
}

.footer-brand {
  max-width: 420px;
}

.footer-logo {
  gap: 8px;
  margin-bottom: 18px;
}

.footer-logo-sub {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.footer-brand-desc {
  font-size: 1rem;
  color: var(--gray-400);
  line-height: 1.9;
  max-width: 32ch;
  margin-bottom: 24px;
}

.footer-socials {
  flex-wrap: wrap;
  gap: 12px;
}

.footer-social-link {
  width: 42px;
  height: 42px;
  font-size: 0.95rem;
}

.footer-col-title {
  margin-bottom: 18px;
  padding-bottom: 12px;
}

.footer-links {
  gap: 14px;
}

.footer-links a,
.footer-contact-value {
  font-size: 0.98rem;
  line-height: 1.75;
}

.footer-contact-item {
  margin-bottom: 18px;
}

.footer-bottom {
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom-text,
.footer-bottom-links a {
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 28px 32px;
  }
  .footer-brand {
    max-width: none;
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer-top {
    padding: 52px 0 34px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-brand,
  .site-footer .container,
  .footer-col,
  .footer-contact-item {
    text-align: left;
  }
  .footer-logo {
    margin-bottom: 14px;
  }
  .footer-logo-sub {
    font-size: 0.82rem;
  }
  .footer-brand-desc {
    max-width: none;
    margin-bottom: 20px;
    line-height: 1.8;
  }
  .footer-col-title {
    margin-bottom: 14px;
  }
  .footer-links {
    gap: 12px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 10px;
    padding: 16px 0 92px;
  }
  .footer-bottom-links {
    flex-wrap: wrap;
    gap: 10px 18px;
  }
}

@media (max-width: 480px) {
  .footer-logo-name {
    font-size: 1.02rem;
    letter-spacing: 0.26em;
  }
  .footer-logo-sub {
    font-size: 0.78rem;
  }
  .footer-brand-desc,
  .footer-links a,
  .footer-contact-value {
    font-size: 0.95rem;
  }
  .footer-social-link {
    width: 40px;
    height: 40px;
  }
}


/* Contact + branding refinement patch */
.contact-main-section {
  padding-bottom: clamp(40px, 4vw, 64px);
}

.contact-map-section {
  height: clamp(220px, 28vw, 320px);
  margin-top: 0;
}

.contact-map-section iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.whatsapp-float {
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  gap: 10px;
}

.whatsapp-float-btn {
  width: 50px;
  height: 50px;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.30);
}

.whatsapp-float-btn svg {
  width: 24px;
  height: 24px;
}

.whatsapp-float-label {
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 10px;
}

@media (min-width: 1280px) {
  .whatsapp-float {
    right: 28px;
    bottom: 24px;
  }
}

@media (max-width: 1024px) {
  .whatsapp-float {
    right: 18px;
    bottom: 18px;
  }
  .whatsapp-float-btn {
    width: 48px;
    height: 48px;
  }
  .contact-map-section {
    height: 260px;
  }
}

@media (max-width: 768px) {
  .contact-main-section {
    padding-bottom: 28px;
  }
  .contact-map-section {
    height: 220px;
  }
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
  }
  .whatsapp-float-btn {
    width: 46px;
    height: 46px;
  }
  .whatsapp-float-btn svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 480px) {
  .contact-map-section {
    height: 200px;
  }
  .whatsapp-float {
    right: 12px;
    bottom: 12px;
  }
  .whatsapp-float-btn {
    width: 44px;
    height: 44px;
  }
}
