/* ==========================================================
   PRETTO EMPREENDIMENTOS — Apple-Style + Faithful Layout
   Paleta: #0a2732 (primary) · #ad805e (accent) · #e4e0de (bg)
   Fontes: Advent Pro (titulos) + Raleway (corpo)
   ========================================================== */

@property --gradient-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@property --shimmer-x {
  syntax: "<percentage>";
  initial-value: -100%;
  inherits: false;
}

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --c-primary:       #0a2732;
  --c-primary-deep:  #060f14;
  --c-accent:        #ad805e;
  --c-accent-light:  #c49872;
  --c-accent-glow:   rgba(173, 128, 94, 0.15);
  --c-bg:            #f5f3f1;
  --c-bg-alt:        #eae7e4;
  --c-surface:       #ffffff;
  --c-text:          #0a2732;
  --c-text-muted:    #5a6a6e;
  --c-white:         #ffffff;
  --gradient-bronze:  linear-gradient(135deg, #8c6240, #c49872, #8c6240);

  --f-display:       'Advent Pro', system-ui, sans-serif;
  --f-body:          'Raleway', system-ui, sans-serif;

  --header-h:        80px;
  --container:       1200px;
  --radius:          2px;
  --ease-out-expo:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart:  cubic-bezier(0.25, 1, 0.5, 1);
  --duration:        0.7s;
}

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

/* ── Layout ─────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-light { background: var(--c-bg); }
.section-dark { background: var(--c-primary); }
.section-white { background: var(--c-surface); }
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }

/* ── Reveal System ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity var(--duration) var(--ease-out-expo),
    transform var(--duration) var(--ease-out-expo);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Shared Typography ──────────────────────────────────── */
.tag {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 16px;
}
.tag-light { color: var(--c-accent-light); }

.headline {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--c-primary);
}
.headline-light { color: var(--c-white); }

.body-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--c-text-muted);
  margin-bottom: 16px;
}
.body-text:last-child { margin-bottom: 0; }
.body-text-emphasis {
  font-style: italic;
  color: var(--c-accent);
  font-weight: 500;
  margin-top: 8px;
}
.body-text-light { color: rgba(255, 255, 255, 0.55); }
.body-text-center { text-align: center; max-width: 560px; margin-left: auto; margin-right: auto; }

.divider {
  width: 48px;
  height: 2px;
  background: var(--gradient-bronze);
  margin: 20px 0;
  border-radius: 1px;
}
.divider-center { margin: 20px auto; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--f-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.4s var(--ease-out-expo);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--c-white);
  background: transparent;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--c-white);
  transform: translateY(-2px);
}

.btn-bronze {
  background: var(--gradient-bronze);
  color: var(--c-white);
  border: none;
  box-shadow: 0 4px 20px rgba(173, 128, 94, 0.35);
}
.btn-bronze::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: translateX(var(--shimmer-x));
  animation: shimmer 3s ease-in-out infinite;
}
.btn-bronze:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(173, 128, 94, 0.45);
}

.btn-outline-light {
  border: 1px solid rgba(173, 128, 94, 0.5);
  color: var(--c-accent-light);
  background: transparent;
}
.btn-outline-light:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
  background: rgba(173, 128, 94, 0.06);
  transform: translateY(-2px);
}

@keyframes shimmer {
  0%   { --shimmer-x: -100%; }
  50%  { --shimmer-x: 100%; }
  100% { --shimmer-x: 100%; }
}

/* ==========================================================
   HEADER — Glassmorphism
   ========================================================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: all 0.5s var(--ease-out-expo);
  background: transparent;
}
#header.scrolled {
  background: rgba(10, 39, 50, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: block; flex-shrink: 0; }
.logo-img {
  display: block;
  height: auto;
  width: auto;
  max-height: 22px;
  max-width: clamp(200px, 30vw, 380px);
  transition: opacity 0.3s ease;
}
.logo:hover .logo-img { opacity: 0.8; }

.nav-links { display: flex; align-items: center; gap: 36px; flex-shrink: 0; }
.nav-link {
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--c-accent);
  transition: width 0.4s var(--ease-out-expo);
}
.nav-link:hover, .nav-link.active { color: var(--c-white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-cta {
  padding: 10px 24px;
  border: 1px solid rgba(173, 128, 94, 0.6);
  border-radius: var(--radius);
  color: var(--c-accent-light) !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: rgba(173, 128, 94, 0.1);
  border-color: var(--c-accent);
  color: var(--c-accent) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 101;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--c-white);
  transition: all 0.4s var(--ease-out-expo);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ==========================================================
   HERO CAROUSEL
   ========================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.carousel-track { position: relative; width: 100%; height: 100%; }

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 1;
}
.slide.active { opacity: 1; z-index: 2; }

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 8s ease-out;
}
.slide.active .slide-bg { transform: scale(1); }

.slide-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.slide[data-index="0"] .slide-bg {
  background-color: #0d2f3d;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 60%, rgba(26, 85, 104, 0.4) 0%, transparent 70%),
    linear-gradient(180deg, #071820 0%, #0d3040 50%, #0a2732 100%);
}
.slide[data-index="1"] .slide-bg {
  background-color: #1a0e05;
  background-image:
    radial-gradient(ellipse 60% 50% at 40% 55%, rgba(173, 128, 94, 0.2) 0%, transparent 60%),
    linear-gradient(180deg, #0d0805 0%, #1a1008 50%, #0a0604 100%);
}
.slide[data-index="2"] .slide-bg {
  background-color: #071820;
  background-image:
    radial-gradient(ellipse 90% 70% at 60% 50%, rgba(13, 48, 64, 0.5) 0%, transparent 70%),
    linear-gradient(180deg, #040f14 0%, #0d3040 50%, #071820 100%);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 39, 50, 0.3) 0%,
    rgba(10, 39, 50, 0.45) 50%,
    rgba(10, 39, 50, 0.7) 100%
  );
}

.slide-content {
  position: absolute;
  bottom: 18%;
  left: 50%;
  width: 100%;
  max-width: var(--container);
  padding: 0 24px;
  color: var(--c-white);
  opacity: 0;
  transform: translateX(-50%) translateY(24px);
  transition: opacity 0.8s ease 0.3s, transform 0.8s var(--ease-out-expo) 0.3s;
}
.slide.active .slide-content {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.slide-tag {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-accent-light);
  margin-bottom: 16px;
}

.slide-content h1 {
  font-family: var(--f-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.slide-content p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
  margin-bottom: 36px;
}

/* Carousel controls */
.carousel-controls {
  position: absolute;
  bottom: 7%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
}

.carousel-prev, .carousel-next {
  color: rgba(255, 255, 255, 0.6);
  padding: 8px;
  transition: all 0.3s ease;
}
.carousel-prev:hover, .carousel-next:hover {
  color: var(--c-white);
  transform: scale(1.1);
}

.carousel-dots { display: flex; gap: 10px; }
.dot {
  width: 28px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.4s var(--ease-out-expo);
}
.dot.active {
  background: var(--c-accent);
  width: 48px;
}

.carousel-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 10;
}
.carousel-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gradient-bronze);
  transition: width 0.1s linear;
}

/* ==========================================================
   QUEM SOMOS
   ========================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}

.about-text .headline { margin-bottom: 4px; }
.about-text .body-text:first-of-type { margin-top: 4px; }

/* About image */
.about-image { position: relative; }

.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(10, 39, 50, 0.12);
  transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s var(--ease-out-expo);
}
.image-frame::after {
  content: '';
  position: absolute;
  top: 20px;
  right: -16px;
  bottom: -16px;
  left: 16px;
  border: 1px solid var(--c-accent);
  z-index: -1;
  pointer-events: none;
  transition: all 0.6s var(--ease-out-expo);
}
.image-frame img {
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
}
.image-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 80px rgba(10, 39, 50, 0.18);
}
.image-frame:hover::after {
  top: 16px;
  right: -20px;
  bottom: -20px;
  left: 20px;
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 48px;
  border-top: 1px solid rgba(10, 39, 50, 0.08);
}

.pillar { text-align: center; }

.pillar-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-accent);
  border-radius: 50%;
  color: var(--c-accent);
  transition: all 0.4s var(--ease-out-expo);
}
.pillar-icon svg { width: 24px; height: 24px; }
.pillar:hover .pillar-icon {
  background: var(--c-accent-glow);
  border-color: var(--c-accent-light);
  transform: scale(1.08);
}

.pillar h3 {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--c-primary);
  margin-bottom: 12px;
}

.pillar p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--c-text-muted);
}

/* ==========================================================
   LANCAMENTO — Split horizontal
   ========================================================== */
.lancamento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
}

.lancamento-image {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #040f14 0%, #0a2732 100%);
}
.lancamento-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}
.lancamento-image:hover img {
  transform: scale(1.04);
}

.lancamento-content {
  background: var(--c-primary);
  display: flex;
  align-items: center;
}

.lancamento-inner {
  padding: 80px 64px;
  color: var(--c-white);
}

.lancamento-inner .headline {
  font-size: clamp(2.5rem, 4vw, 4rem);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.lancamento-tagline {
  font-size: 1rem;
  font-style: italic;
  color: var(--c-accent-light);
  margin-bottom: 24px;
}

.lancamento-inner > .body-text { margin-bottom: 40px; }

/* Stats */
.stats-row {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 28px;
}
.stat { display: flex; flex-direction: column; gap: 4px; text-align: center; }
.stat strong {
  font-family: var(--f-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--c-accent-light);
  line-height: 1;
}
.stat span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
}

/* Type badges */
.types-row {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
}
.type-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  transition: all 0.3s ease;
}
.type-badge:hover {
  border-color: var(--c-accent);
  color: var(--c-accent-light);
  background: rgba(173, 128, 94, 0.06);
}

/* Highlights */
.highlights {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}
.highlight {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.highlight svg {
  flex-shrink: 0;
  color: var(--c-accent-light);
  margin-top: 2px;
}
.highlight strong {
  display: block;
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-white);
  margin-bottom: 4px;
}
.highlight p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

.lancamento-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================
   RESIDENCIAS — Card grid
   ========================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  overflow: hidden;
  border-radius: var(--radius);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(10, 39, 50, 0.14);
}

.card-visual {
  position: relative;
  padding-top: 130%;
  overflow: hidden;
}

.card-gradient {
  position: absolute;
  inset: 0;
  transition: transform 0.8s var(--ease-out-expo);
}
.project-card:hover .card-gradient { transform: scale(1.06); }

.card-gradient.g1 { background: linear-gradient(135deg, #0d3040 0%, #1a5568 30%, #0a3a4a 60%, #0d2f3d 100%); }
.card-gradient.g2 { background: linear-gradient(135deg, #0a2732 0%, #145060 30%, #1a6070 60%, #0d3040 100%); }
.card-gradient.g3 { background: linear-gradient(135deg, #0d2f3d 0%, #0f4050 30%, #0a3545 60%, #071820 100%); }
.card-gradient.g4 { background: linear-gradient(135deg, #071820 0%, #0d3545 30%, #1a5060 60%, #0a2732 100%); }

.card-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.6s var(--ease-out-expo);
}
.project-card:hover .card-visual img { transform: scale(1.06); }

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 16px 16px;
  background: linear-gradient(to top, rgba(10, 39, 50, 0.85) 0%, transparent 100%);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-expo);
}
.project-card:hover .card-overlay { opacity: 1; }

.card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.card-body {
  padding: 20px 16px;
  background: var(--c-surface);
  border: 1px solid rgba(10, 39, 50, 0.06);
  border-top: none;
}
.card-body h3 {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-primary);
  margin-bottom: 4px;
}
.card-body p {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  letter-spacing: 0.05em;
}

/* ── Card gallery button ────────────────────────────────── */
.card-gallery-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
  cursor: pointer;
  transition: all 0.3s ease;
}
.card-gallery-btn:hover {
  color: var(--c-accent-light);
  transform: translateX(2px);
}
.card-gallery-btn svg {
  transition: transform 0.3s var(--ease-out-expo);
}
.card-gallery-btn:hover svg {
  transform: scale(1.1);
}

/* ==========================================================
   LIGHTBOX
   ========================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out-expo), visibility 0.4s;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 15, 20, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 10;
  color: rgba(255, 255, 255, 0.6);
  padding: 8px;
  transition: all 0.3s ease;
}
.lightbox-close:hover {
  color: var(--c-white);
  transform: scale(1.1);
}

.lightbox-header {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 10;
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.lightbox-title {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--c-white);
}
.lightbox-counter {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
}

.lightbox-stage {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 1000px;
  padding: 0 24px;
  flex: 1;
}

.lightbox-prev,
.lightbox-next {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.5);
  padding: 12px;
  transition: all 0.3s ease;
}
.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--c-white);
  transform: scale(1.15);
}

.lightbox-image-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 75vh;
  overflow: hidden;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s var(--ease-out-expo);
}
.lightbox-img.loaded {
  opacity: 1;
  transform: scale(1);
}

.lightbox-thumbs {
  position: relative;
  z-index: 5;
  display: flex;
  gap: 8px;
  padding: 20px 24px 28px;
  justify-content: center;
}
.lightbox-thumb {
  width: 56px;
  height: 56px;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.5;
  cursor: pointer;
  transition: all 0.3s ease;
}
.lightbox-thumb.active {
  border-color: var(--c-accent);
  opacity: 1;
}
.lightbox-thumb:hover {
  opacity: 0.85;
}
.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================
   CONTATO
   ========================================================== */
.section-dark .section-header h2 {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
}

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

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  transition: all 0.4s var(--ease-out-expo);
  color: var(--c-white);
}
.contact-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(173, 128, 94, 0.3);
  transform: translateX(4px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-out-expo);
}
.contact-card:hover .contact-icon { transform: scale(1.08); }

.ci-whatsapp { background: rgba(37, 211, 102, 0.1); color: #25d366; }
.ci-email { background: rgba(173, 128, 94, 0.1); color: var(--c-accent-light); }
.ci-instagram { background: rgba(193, 53, 132, 0.1); color: #e1306c; }

.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.contact-name {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.contact-role {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-value {
  font-size: 0.875rem;
  color: var(--c-accent-light);
  margin-top: 4px;
  word-break: break-all;
}

.contact-arrow {
  color: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  transition: all 0.4s var(--ease-out-expo);
}
.contact-card:hover .contact-arrow {
  color: var(--c-accent);
  transform: translateX(4px);
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  background: var(--c-primary-deep);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo-img {
  display: block;
  width: 160px;
  height: auto;
  max-width: 100%;
  margin-bottom: 20px;
}
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.7;
  max-width: 280px;
}

.footer-nav h4, .footer-contact h4 {
  font-family: var(--f-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 20px;
}

.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease;
}
.footer-nav a:hover { color: var(--c-white); }

.footer-contact p { margin-bottom: 10px; }
.footer-contact a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease;
}
.footer-contact a:hover { color: var(--c-accent-light); }

.footer-bottom { padding-top: 28px; text-align: center; }
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.18);
  letter-spacing: 0.05em;
}

/* ==========================================================
   WHATSAPP FAB
   ========================================================== */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.4s var(--ease-out-expo);
  animation: fabPulse 3s ease-in-out infinite;
}
.whatsapp-fab:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
  animation: none;
}
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35); }
  50%      { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35), 0 0 0 12px rgba(37, 211, 102, 0.06); }
}

/* ==========================================================
   RESPONSIVE — Tablet (<=1024px)
   ========================================================== */
@media (max-width: 1024px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .lancamento { grid-template-columns: 1fr; }
  .lancamento-image { height: 400px; }
  .lancamento-inner { padding: 64px 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image { max-width: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .logo-img { max-width: calc(100vw - 88px); max-height: 20px; }

  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(10, 39, 50, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out-expo);
    z-index: 99;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { font-size: 1rem; }
  .nav-cta { border: none; padding: 0; color: var(--c-accent-light) !important; }
  .hamburger { display: flex; }
}

/* ==========================================================
   RESPONSIVE — Mobile (<=768px)
   ========================================================== */
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .section { padding: 72px 0; }

  .logo-img { max-height: 16px; }

  .slide-content h1 { font-size: 2.4rem; }
  .slide-content p { font-size: 0.9rem; }
  .carousel-controls { bottom: 6%; gap: 16px; }

  .pillars { grid-template-columns: 1fr; gap: 32px; }
  .image-frame::after { display: none; }

  .lancamento-inner { padding: 48px 24px; }
  .stats-row { gap: 20px; }
  .stat strong { font-size: 1.6rem; }
  .lancamento-ctas { flex-direction: column; }
  .lancamento-ctas .btn { justify-content: center; }

  .projects-grid { grid-template-columns: 1fr; gap: 16px; }
  .card-visual { padding-top: 80%; }
  .card-overlay { opacity: 1; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 20px 24px; }

  /* Lightbox mobile */
  .lightbox-prev, .lightbox-next { padding: 8px; }
  .lightbox-prev svg, .lightbox-next svg { width: 22px; height: 22px; }
  .lightbox-header { top: 16px; left: 16px; }
  .lightbox-close { top: 12px; right: 16px; }
  .lightbox-thumb { width: 44px; height: 44px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
}

@media (max-width: 480px) {
  .slide-content { bottom: 16%; }
  .slide-content h1 { font-size: 2rem; }
  .btn { padding: 12px 24px; font-size: 0.75rem; }
  .types-row { flex-wrap: wrap; }
  .stats-row { flex-direction: column; gap: 16px; }
  .stat-divider { width: 48px; height: 1px; }
}
