/* ═══════════════════════════════════════════════
   ARBOR INCORP — Institutional Site
   Aesthetic: Architectural Editorial / Warm Luxury
   Fonts: Cormorant (display) + Sora (body)
   ═══════════════════════════════════════════════ */

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

:root {
  --bg: #f5f0ea;
  --bg-alt: #efebe4;
  --surface: #fefdfb;
  --dark: #1c1917;
  --dark-soft: #2a2622;
  --accent: #8c7851;
  --accent-light: #a8956f;
  --accent-muted: rgba(140, 120, 81, 0.12);
  --white: #fefdfb;
  --text: #3c3632;
  --text-muted: #918a82;
  --text-on-dark: rgba(255, 255, 255, 0.88);
  --text-muted-on-dark: rgba(255, 255, 255, 0.45);
  --border: rgba(28, 25, 23, 0.08);
  --border-on-dark: rgba(255, 255, 255, 0.1);
  --font-display: "Cormorant", serif;
  --font-body: "Sora", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

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

/* ── GLOBAL TYPOGRAPHY ── */

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--dark);
  max-width: 700px;
}

.section-line {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 2rem 0;
}

.section-body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 580px;
}

.section-body + .section-body {
  margin-top: 1.25rem;
}

.section-body em {
  font-family: var(--font-display);
  font-size: 1.15em;
  font-style: italic;
  color: var(--accent);
}

section {
  padding: 8rem 2rem;
}

/* ── BUTTONS ── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(140, 120, 81, 0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--text-on-dark);
  border: 1px solid var(--border-on-dark);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-light);
  color: var(--accent-light);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ── NAV ── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition:
    background 0.5s,
    padding 0.5s,
    box-shadow 0.5s;
}

.nav.scrolled {
  background: rgba(28, 25, 23, 0.96);
  padding: 0.9rem 2.5rem;
  box-shadow: 0 1px 0 var(--border-on-dark);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s;
}

.nav-logo:hover .nav-logo-img {
  opacity: 0.8;
}

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

.nav-links a {
  color: var(--text-on-dark);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease-out);
}

.nav-links a:hover {
  color: var(--accent-light);
}
.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.5rem !important;
  letter-spacing: 2px !important;
  font-weight: 500 !important;
}

.nav-cta::after {
  display: none !important;
}
.nav-cta:hover {
  background: var(--accent-light) !important;
  color: var(--white) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  z-index: 101;
}

.hamburger span {
  width: 26px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.4s var(--ease-out);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── HERO ── */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  overflow: hidden;
  padding: 8rem 2rem 4rem;
}

.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  width: 100%;
}

.hero-line {
  width: 1px;
  height: 56px;
  background: var(--accent);
  margin: 0 auto 2.5rem;
}

.hero-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.75rem;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-muted-on-dark);
  max-width: 550px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.scroll-hint-text {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted-on-dark);
}

.scroll-hint-line {
  width: 1px;
  height: 32px;
  background: var(--accent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 1;
    transform: scaleY(1);
  }
  50% {
    opacity: 0.3;
    transform: scaleY(0.5);
    transform-origin: top;
  }
}

/* ── HERO ANIMATIONS ── */

.anim-line {
  animation: lineGrow 0.8s var(--ease-out) 0.2s forwards;
  transform: scaleY(0);
  transform-origin: top;
}

@keyframes lineGrow {
  to {
    transform: scaleY(1);
  }
}

.anim-hero {
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp 0.9s var(--ease-out) forwards;
}

.anim-d1 {
  animation-delay: 0.5s;
}
.anim-d2 {
  animation-delay: 0.7s;
}
.anim-d3 {
  animation-delay: 0.9s;
}
.anim-d4 {
  animation-delay: 1.1s;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── SOBRE ── */

.sobre {
  background: var(--bg);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.sobre-image {
  position: relative;
}

.sobre-image-frame {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.sobre-image-frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 1s var(--ease-out);
}

.sobre-image:hover .sobre-image-frame img {
  transform: scale(1.03);
}

.sobre-image-accent {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--accent);
  opacity: 0.3;
  z-index: 0;
}

/* ── PROJETOS ── */

.projetos {
  background: var(--surface);
}

.projeto-destaque {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  margin-top: 3rem;
  background: var(--dark);
  overflow: hidden;
}

.projeto-destaque-img {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.projeto-destaque-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.projeto-destaque:hover .projeto-destaque-img img {
  transform: scale(1.04);
}

.projeto-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--accent-light);
  padding: 0.45rem 1.2rem;
  z-index: 2;
}

.projeto-destaque-info {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.projeto-local {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.75rem;
}

.projeto-nome {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.projeto-desc {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-muted-on-dark);
  margin-bottom: 2rem;
}

.projeto-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-on-dark);
}

.projeto-stat {
  text-align: center;
}

.projeto-stat-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.projeto-stat-label {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted-on-dark);
}

.projeto-parceiros {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.projeto-parceiro-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted-on-dark);
  margin-bottom: 0.2rem;
}

.projeto-parceiro-nome {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-on-dark);
}

.projeto-cta {
  align-self: flex-start;
}

/* Projeto Gallery */

.projeto-galeria {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.projeto-galeria-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.projeto-galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.projeto-galeria-item:hover img {
  transform: scale(1.06);
}

.projeto-galeria-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
}

.projeto-galeria-item:hover .projeto-galeria-caption {
  transform: translateY(0);
}

/* Coming Soon */

.projeto-soon {
  margin-top: 2.5rem;
  padding: 2.5rem;
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.projeto-soon-marker {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.projeto-soon-text h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.projeto-soon-text p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.projeto-soon-text a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-muted);
  transition: border-color 0.3s;
}

.projeto-soon-text a:hover {
  border-color: var(--accent);
}

/* ── ESSÊNCIA / PILARES ── */

.essencia {
  background: var(--dark);
  position: relative;
}

.essencia .section-title {
  color: var(--white);
}

.pilares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

.pilar {
  padding: 2.5rem 2rem;
  border: 1px solid var(--border-on-dark);
  position: relative;
  transition: all 0.5s var(--ease-out);
}

.pilar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.pilar:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.pilar:hover::before {
  transform: scaleX(1);
}

.pilar-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(168, 149, 111, 0.15);
  line-height: 1;
  margin-bottom: 1.5rem;
  display: block;
}

.pilar-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 1rem;
}

.pilar-desc {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-muted-on-dark);
}

/* ── CONTATO ── */

.contato {
  background: var(--bg);
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contato-whatsapp {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  color: var(--accent);
}

.contato-whatsapp a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s;
}

.contato-whatsapp a:hover {
  color: var(--accent-light);
}

.contato-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.1rem 0;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  outline: none;
  transition: border-color 0.4s;
}

.form-group label {
  position: absolute;
  top: 1.1rem;
  left: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.3s var(--ease-out);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -0.5rem;
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.contato-form .btn {
  margin-top: 0.5rem;
}

.contato-form .btn:disabled {
  opacity: 0.5;
  cursor: wait;
}

.form-msg {
  text-align: center;
  font-size: 0.88rem;
  padding: 0.5rem 0;
  display: none;
}

.form-msg.success {
  display: block;
  color: #5a9e6f;
}
.form-msg.error {
  display: block;
  color: #c0564e;
}

/* ── FOOTER ── */

.footer {
  background: #151210;
  color: var(--text-muted-on-dark);
  padding: 4rem 2rem 3rem;
}

.footer .container {
  max-width: 1200px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-on-dark);
}

.footer-logo {
  height: 42px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: 0.6;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-muted-on-dark);
  max-width: 280px;
}

.footer-nav h4,
.footer-projeto h4 {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-on-dark);
  margin-bottom: 1.25rem;
}

.footer-nav ul,
.footer-projeto ul {
  list-style: none;
}

.footer-nav li,
.footer-projeto li {
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted-on-dark);
}

.footer-nav a,
.footer-projeto a {
  color: var(--text-muted-on-dark);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav a:hover,
.footer-projeto a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer-legal-links a {
  color: var(--text-muted-on-dark);
  text-decoration: none;
  font-size: 0.75rem;
  transition: color 0.3s;
}

.footer-legal-links a:hover {
  color: var(--accent-light);
}

.footer-legal-links span {
  color: rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
}

.footer-legal {
  font-size: 0.68rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.25);
  max-width: 600px;
  text-align: right;
}

/* ── MODAL ── */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(28, 25, 23, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--surface);
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  position: relative;
  display: flex;
  flex-direction: column;
}

.modal h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--dark);
  padding: 2.5rem 2.5rem 1rem;
}

.modal-body {
  padding: 0 2.5rem 2.5rem;
  overflow-y: auto;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.modal-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin: 1.5rem 0 0.5rem;
}

.modal-body p {
  margin-bottom: 0.75rem;
}

.modal-body ul {
  margin: 0.5rem 0 1rem 1.5rem;
  list-style: disc;
}

.modal-body li {
  margin-bottom: 0.4rem;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 1.8rem;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--dark);
}

/* ── PRIVACY BAR ── */

.privacy-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(28, 25, 23, 0.97);
  padding: 1.25rem 2rem;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out);
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.privacy-bar.visible {
  transform: translateY(0);
}

.privacy-bar-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.privacy-bar-content p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-muted-on-dark);
  margin: 0;
}

.privacy-bar-link {
  color: var(--accent-light) !important;
  text-decoration: underline;
  transition: color 0.3s;
}

.privacy-bar-link:hover {
  color: var(--accent) !important;
}

.privacy-bar-btn {
  white-space: nowrap;
  padding: 0.65rem 1.8rem;
  font-size: 0.72rem;
}

/* ── WHATSAPP FLOAT ── */

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 150;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s;
}

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

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

/* ── SCROLL ANIMATIONS ── */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.d1 {
  transition-delay: 0.1s;
}
.reveal.d2 {
  transition-delay: 0.2s;
}
.reveal.d3 {
  transition-delay: 0.3s;
}
.reveal.d4 {
  transition-delay: 0.4s;
}

/* ── RESPONSIVE ── */

@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(28, 25, 23, 0.98);
    padding: 6rem 2.5rem 3rem;
    gap: 1.5rem;
    z-index: 100;
    align-items: flex-start;
  }

  .nav-links.active a {
    font-size: 1.2rem;
    letter-spacing: 3px;
  }

  .nav-links.active .nav-cta {
    margin-top: 1rem;
    font-size: 0.8rem !important;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 968px) {
  section {
    padding: 5rem 1.5rem;
  }

  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .sobre-image-accent {
    display: none;
  }

  .projeto-destaque {
    grid-template-columns: 1fr;
  }

  .projeto-destaque-img {
    min-height: 320px;
  }

  .projeto-destaque-info {
    padding: 2.5rem;
  }

  .projeto-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }

  .projeto-galeria {
    grid-template-columns: repeat(2, 1fr);
  }

  .pilares-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contato-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-legal {
    text-align: left;
  }
}

@media (max-width: 600px) {
  section {
    padding: 4rem 1.25rem;
  }

  .nav {
    padding: 1rem 1.25rem;
  }
  .nav.scrolled {
    padding: 0.8rem 1.25rem;
  }

  .hero {
    padding: 6rem 1.25rem 3rem;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .hero-subtitle {
    font-size: 0.88rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    max-width: 300px;
  }

  .scroll-hint {
    display: none;
  }

  .section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .projeto-destaque-img {
    min-height: 260px;
  }

  .projeto-destaque-info {
    padding: 2rem 1.5rem;
  }

  .projeto-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .projeto-parceiros {
    flex-direction: column;
    gap: 1rem;
  }

  .projeto-galeria {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .projeto-soon {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
    padding: 2rem 1.5rem;
  }

  .pilar {
    padding: 2rem 1.5rem;
  }

  .modal h2 {
    padding: 1.5rem 1.5rem 0.75rem;
    font-size: 1.3rem;
  }
  .modal-body {
    padding: 0 1.5rem 1.5rem;
  }

  .privacy-bar-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .privacy-bar-btn {
    width: 100%;
  }
}

/* ── SHORT VIEWPORT ── */

@media (max-height: 700px) {
  .hero {
    padding: 5rem 2rem 2.5rem;
  }

  .hero-line {
    height: 32px;
    margin-bottom: 1.5rem;
  }

  .hero-label {
    margin-bottom: 1rem;
  }
  .hero-title {
    margin-bottom: 1.25rem;
  }
  .hero-subtitle {
    margin-bottom: 1.5rem;
  }
}

/* ── LIGHTBOX ── */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(10, 8, 7, 0.98);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 1000px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.5s var(--ease-out);
}

.lightbox.active .lightbox-img {
  transform: scale(1);
}

.lightbox-caption {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: 1px;
}

.lightbox-close {
  position: absolute;
  top: -3rem;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  transition: opacity 0.3s;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.lightbox-btn {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.lightbox-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 768px) {
  .lightbox-nav {
    display: none; /* Swipe usually best for mobile but we'll stick to simple close for now */
  }
}
