/* =========================================================
   TOKENS
========================================================= */
:root {
  --bone: #f5f1ea;
  --bone-2: #ece6db;
  --paper: #fbf8f3;
  --ink: #1a1815;
  --ink-2: #2a2722;
  --muted: #7a7468;
  --line: #d8d0c2;
  --terra: #b85c3c;
  --terra-d: #8e4329;
  --moss: #5a6149;
  --gold: #c9a86a;
  --transition: 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  --transition-fast: 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
  --serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

/* =========================================================
   BASE
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}
@media (max-width: 900px) {
  body {
    cursor: auto;
  }
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}
ul {
  list-style: none;
}
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 700px) {
  .container {
    padding: 0 20px;
  }
}
section {
  padding: 140px 0;
  position: relative;
}
@media (max-width: 700px) {
  section {
    padding: 90px 0;
  }
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--terra);
}
h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}
.section-title {
  font-size: clamp(40px, 6vw, 72px);
  margin-bottom: 24px;
}
.section-title em {
  font-style: italic;
  color: var(--terra);
  font-weight: 300;
}
.section-lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.6;
}

/* slides do fundo */
.hero-bg .hero-slide {
  position: absolute;
  inset: -5%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.55) saturate(0.9);
  opacity: 0;
  transition: opacity 1.4s ease;
  will-change: opacity;
}
.hero-bg .hero-slide.active {
  opacity: 1;
}

/* conteúdo (cartola+título+blurb+stats) por slide, empilhado com fade */
.hero-content {
  position: relative;
}
.hero-slide-content {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 32px 80px;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
.hero-slide-content.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  position: relative;
  padding: 0 32px 80px;
}

/* dots */
.hero-slide-nav {
  position: absolute;
  bottom: 32px;
  right: 32px;
  z-index: 4;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: rgba(245, 241, 234, 0.3);
  transition:
    background 0.3s,
    width 0.3s;
  cursor: pointer;
}
.hero-dot.active {
  background: var(--terra);
  width: 44px;
}

/* caption sobreposta — troca com o slide */
.hero-slide-caption {
  position: relative;
  min-height: 1px;
  margin-top: 24px;
}
.hsc-item {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hsc-item.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  position: relative;
}
.hsc-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.7);
  margin-bottom: 12px;
}
.hsc-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.hsc-text {
  color: rgba(245, 241, 234, 0.8);
  max-width: 480px;
  margin-bottom: 20px;
}
.hsc-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--bone);
  border-radius: 999px;
  color: var(--bone);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition:
    background 0.3s,
    color 0.3s;
}
.hsc-btn:hover {
  background: var(--bone);
  color: var(--ink);
}

/* projects grid: quando filtrar, deixar reflow natural */
.projects-grid:has(.project.is-hidden) .project {
  grid-column: span 4;
  grid-row: span 2;
}

/* =========================================================
   CURSOR
========================================================= */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition:
    width 0.12s ease,
    height 0.12s ease,
    background 0.12s ease;
  mix-blend-mode: difference;
}
.cursor.expand {
  width: 80px;
  height: 80px;
  background: var(--bone);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cursor::after {
  content: attr(data-label);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.1s ease;
  color: var(--ink);
  mix-blend-mode: normal;
}
.cursor.expand::after {
  opacity: 1;
}
@media (max-width: 900px) {
  .cursor {
    display: none;
  }
}

/* =========================================================
   PRELOADER
========================================================= */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s cubic-bezier(0.7, 0, 0.3, 1) 0.12s;
}
#preloader.done {
  transform: translateY(-100%);
}
.pre-logo {
  font-family: var(--serif);
  color: var(--bone);
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 300;
  letter-spacing: -0.02em;
  display: flex;
  gap: 0.05em;
  overflow: hidden;
}
.pre-logo span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 0.75s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.pre-logo-accent {
  font-style: italic;
  color: var(--terra);
}
@keyframes rise {
  to {
    transform: translateY(0);
  }
}
.pre-meta {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 40px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.5);
  opacity: 0;
  animation: fadeIn 0.5s 0.45s forwards;
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
.pre-counter {
  font-variant-numeric: tabular-nums;
}

/* =========================================================
   PROGRESS BAR
========================================================= */
#progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--terra);
  z-index: 1000;
}

/* =========================================================
   NAV
========================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  background: rgba(251, 248, 243, 0);
  border-bottom: 1px solid transparent;
  color: var(--ink);
  transition:
    transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    background 0.25s ease,
    padding 0.25s ease,
    border-color 0.25s ease;
  will-change: transform, background;
}
.nav.scrolled {
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding: 14px 0;
}
/* Quando rola, ou em páginas sem hero escuro, tudo escurece */
.nav.scrolled .nav-logo,
.nav.scrolled .nav-links a,
.nav.scrolled .nav-cta,
.nav--light .nav-logo,
.nav--light .nav-links a,
.nav--light .nav-cta {
  color: var(--ink);
}
.nav--light {
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav--light .hamburger span { background: var(--ink); }
.nav.hidden {
  transform: translate3d(0, -110%, 0);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  color: #fff;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.nav-logo em {
  font-style: italic;
  color: var(--terra);
  font-weight: 300;
}
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--transition);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-cta {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 12px 22px;
  border: 1px solid currentColor;
  border-radius: 999px;
  transition:
    background var(--transition-fast),
    color var(--transition-fast);
}
.nav-cta:hover {
  background: var(--terra);
  border-color: var(--terra);
  color: var(--bone);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition:
    transform var(--transition-fast),
    opacity var(--transition-fast);
}
.hamburger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* =========================================================
   FOOTER
========================================================= */
footer {
  background: var(--ink);
  color: var(--bone);
  padding: 100px 0 32px;
}
.foot-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(245, 241, 234, 0.15);
}
@media (max-width: 900px) {
  .foot-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
@media (max-width: 560px) {
  .foot-top {
    grid-template-columns: 1fr;
  }
}
.foot-brand h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.foot-brand h3 em {
  font-style: italic;
  color: var(--terra);
}
.foot-brand p {
  color: rgba(245, 241, 234, 0.7);
  max-width: 360px;
}
.foot-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.6);
  margin-bottom: 20px;
  font-weight: 400;
}
.foot-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot-col a {
  font-family: var(--serif);
  font-size: 18px;
  transition: color var(--transition-fast);
}
.foot-col a:hover {
  color: var(--terra);
}
.foot-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.5);
}
.foot-socials {
  display: flex;
  gap: 12px;
}
.foot-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(245, 241, 234, 0.2);
  color: rgba(245, 241, 234, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}
.foot-socials a:hover {
  background: var(--terra);
  border-color: var(--terra);
}
.back-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: color var(--transition-fast);
}
.back-top:hover {
  color: var(--terra);
}

@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    color: var(--ink);
    padding: 16px 24px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.mobile-open a {
    color: var(--ink);
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.mobile-open a.active {
    color: var(--terra);
  }
  .nav-links.mobile-open a::after {
    display: none;
  }
  .nav-links.mobile-open a:last-child {
    border-bottom: 0;
  }
  .hamburger {
    display: flex;
    color: var(--ink);
  }
  /* Home com hero escuro: traços do menu legíveis até rolar */
  body.page-home .nav:not(.scrolled):not(.nav--light) .hamburger {
    color: var(--bone);
  }
  .nav-inner {
    position: relative;
    z-index: 5;
  }
  .nav-links.mobile-open {
    z-index: 200;
    max-height: min(70vh, 520px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* =========================================================
   PAGE HEADER (compartilhado entre páginas internas)
========================================================= */
.page-hero {
  padding: 200px 0 100px;
  background: var(--ink);
  color: var(--bone);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(
      --page-hero-img,
      url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1920&q=80")
    )
    center/cover;
  opacity: 0.35;
  filter: grayscale(0.3);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 24, 21, 0.4) 0%,
    rgba(26, 24, 21, 0.85) 100%
  );
}
.page-hero .container {
  position: relative;
  z-index: 2;
}
/* Ficha de serviço (/servico/slug): respiro só abaixo do hero. */
body.servico-ficha .page-hero {
  margin-bottom: clamp(28px, 5vw, 56px);
}
.page-hero .crumbs {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.55);
  margin-bottom: 32px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.page-hero .crumbs a {
  color: rgba(245, 241, 234, 0.8);
  transition: color var(--transition-fast);
}
.page-hero .crumbs a:hover {
  color: var(--terra);
}
.page-hero .crumbs span:not(.sep) {
  color: var(--bone);
}
.page-hero h1 {
  font-size: clamp(56px, 9vw, 120px);
  line-height: 0.95;
  margin-bottom: 28px;
  font-weight: 300;
  letter-spacing: -0.03em;
}
.page-hero h1 em {
  font-style: italic;
  color: var(--terra);
  font-weight: 300;
}
/* Legado: título salvo com <p> no Tiny — não quebrar escala do h1 */
.page-hero h1 p,
.page-hero .eyebrow p {
  margin: 0;
  font: inherit;
  color: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}
body.page-servicos .page-hero {
  --page-hero-img: url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?w=1920&q=80");
}
.page-hero .lead {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 300;
  max-width: 640px;
  color: rgba(245, 241, 234, 0.75);
  line-height: 1.4;
}

/* =========================================================
   WHATSAPP FAB
========================================================= */
.fab-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  z-index: 95;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}
.fab-wa::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: waPulse 2s ease-out infinite;
}
@keyframes waPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}
.fab-wa:hover {
  transform: scale(1.08);
}
.fab-wa svg {
  width: 28px;
  height: 28px;
}
.fab-wa .tip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  color: var(--bone);
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  font-family: var(--sans);
  letter-spacing: 0;
}
.fab-wa:hover .tip {
  opacity: 1;
}
@media (max-width: 700px) {
  .fab-wa {
    width: 54px;
    height: 54px;
    bottom: 20px;
    right: 20px;
  }
  .fab-wa .tip {
    display: none;
  }
}

/* =========================================================
   FADE-UP REVEAL
========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* =========================================================
   BTN VARIANTS
========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast);
  border: 1px solid currentColor;
}
.btn-primary {
  background: var(--terra);
  border-color: var(--terra);
  color: var(--bone);
}
.btn-primary:hover {
  background: var(--terra-d);
  border-color: var(--terra-d);
}
.btn-ghost {
  background: transparent;
}
.btn-ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bone);
}
.btn-ghost.on-dark:hover {
  background: var(--bone);
  border-color: var(--bone);
  color: var(--ink);
}

/* ======================================================
   HOME (from index.html)
====================================================== */
/* =========================================================
   HERO
========================================================= */
.hero {
  min-height: 100vh;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--bone);
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(26, 24, 21, 0.3) 0%,
    rgba(26, 24, 21, 0.1) 40%,
    rgba(26, 24, 21, 0.85) 100%
  );
}
.hero-img {
  position: absolute;
  inset: -5%;
  background-image: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=2000&q=80");
  background-size: cover;
  background-position: center;
  will-change: transform;
  filter: brightness(0.65) saturate(0.9);
}
.hero-light {
  position: absolute;
  bottom: -10%;
  left: 50%;
  width: 120%;
  height: 80%;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center,
    rgba(201, 168, 106, 0.15) 0%,
    transparent 60%
  );
  filter: blur(40px);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 32px 80px;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
.hero-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0.7;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeInUp 0.9s 0.8s forwards;
}
.hero-tag::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--terra);
}
.hero-title {
  font-size: clamp(56px, 11vw, 168px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
/*
 * Editor pode gravar font-size/line-height inline — isso quebrava o clamp (~65px visual).
 * Descendentes herdam sempre a escala do bloco .hero-title (cores/ênfase do Tiny seguem válidas).
 */
.hero-title :where(*) {
  font-size: inherit !important;
  line-height: inherit !important;
}
/* Novo: uma linha por <p> (TinyMCE) */
.hero-title > p {
  display: block;
  overflow: hidden;
  margin: 0;
  padding-bottom: 0.05em;
  opacity: 0;
  transform: translateY(110%);
  animation: heroTitleRise 1s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.hero-title > p:nth-child(1) {
  animation-delay: 0.3s;
}
.hero-title > p:nth-child(2) {
  animation-delay: 0.45s;
}
.hero-title > p:nth-child(3) {
  animation-delay: 0.6s;
}
.hero-title > p:nth-child(4) {
  animation-delay: 0.75s;
}
.hero-title > p:nth-child(n + 5) {
  animation-delay: 0.9s;
}
@keyframes heroTitleRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Legado: <span class="line">…</span> (vários por título) */
.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.05em;
}
.hero-title .line span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.hero-title .line:nth-child(1) span {
  animation-delay: 0.3s;
}
.hero-title .line:nth-child(2) span {
  animation-delay: 0.45s;
}
.hero-title .line:nth-child(3) span {
  animation-delay: 0.6s;
}
.hero-title .line:nth-child(4) span {
  animation-delay: 0.75s;
}
.hero-title .line:nth-child(n + 5) span {
  animation-delay: 0.9s;
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--terra);
}
.hero-meta {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 40px;
  align-items: end;
  margin-top: 60px;
  opacity: 0;
  animation: fadeInUp 0.9s 1.2s forwards;
}
.hero-blurb {
  max-width: 360px;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(245, 241, 234, 0.8);
}
.hero-blurb p {
  margin: 0 0 0.65em;
}
.hero-blurb p:last-child {
  margin-bottom: 0;
}
.hero-stat {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-stat-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.6);
  margin-top: 8px;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 32px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.6);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-scroll-line {
  width: 60px;
  height: 1px;
  background: rgba(245, 241, 234, 0.3);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--terra);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0% {
    left: -100%;
  }
  60% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Marquee under hero */
.marquee {
  background: var(--ink);
  color: var(--bone);
  border-top: 1px solid rgba(245, 241, 234, 0.1);
  border-bottom: 1px solid rgba(245, 241, 234, 0.1);
  overflow: hidden;
  padding: 18px 0;
}
.marquee-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: scrollX 30s linear infinite;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -0.01em;
}
.marquee-track em {
  font-style: italic;
  color: var(--terra);
}
.marquee-track span {
  display: flex;
  align-items: center;
  gap: 60px;
}
.marquee-track span::after {
  content: "✦";
  color: var(--gold);
  font-size: 14px;
}
@keyframes scrollX {
  to {
    transform: translateX(-50%);
  }
}

/* =========================================================
   SOBRE / FILOSOFIA (split com parallax)
========================================================= */
.philosophy {
  background: var(--paper);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
  padding: 0;
}
@media (max-width: 900px) {
  .philosophy {
    grid-template-columns: 1fr;
  }
}
.philo-img {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  background: #5a4a3a;
}
.philo-img-inner {
  position: absolute;
  inset: -8%;
  background-image: url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?w=1600&q=80");
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.philo-img::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(26, 24, 21, 0.1) 0%,
    rgba(26, 24, 21, 0.55) 100%
  );
  pointer-events: none;
}
.philo-tag {
  z-index: 2;
}
.philo-tag {
  position: absolute;
  bottom: 32px;
  left: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.85);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.philo-tag span:first-child {
  color: var(--gold);
}
.philo-text {
  padding: 120px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 900px) {
  .philo-img {
    min-height: 60vh;
  }
  .philo-text {
    padding: 60px 24px;
  }
}
.philo-quote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
  text-wrap: balance;
}
.philo-quote em {
  font-style: italic;
  color: var(--terra);
}
.philo-text p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 16px;
  max-width: 480px;
}
.philo-sign {
  margin-top: 32px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 16px;
}
.philo-sign::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--terra);
}

/* =========================================================
   SERVIÇOS — accordion expansível horizontal
========================================================= */
.services {
  background: var(--bone);
  border-top: 1px solid var(--line);
}
.services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 80px;
}
@media (max-width: 900px) {
  .services-head {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.services-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 8px;
  height: 540px;
  transition: grid-template-columns 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.services-row:hover {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
@media (max-width: 900px) {
  .services-row {
    grid-template-columns: 1fr;
    height: auto;
    gap: 12px;
  }
  .services-row:hover {
    grid-template-columns: 1fr;
  }
}
.service-panel {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  transition: flex var(--transition);
  background: var(--ink);
  color: var(--bone);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  isolation: isolate;
}
a.service-panel {
  text-decoration: none;
  color: var(--bone);
}
@media (max-width: 900px) {
  .service-panel {
    height: 320px;
    padding: 24px;
  }
}
.services-row:has(.service-panel:hover) .service-panel:not(:hover) {
  opacity: 0.7;
}
.service-panel:hover {
  opacity: 1 !important;
}
.services-row:hover .service-panel:hover {
  flex: 2;
}
.service-panel .bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  transition: transform var(--transition);
}
.service-panel:hover .bg {
  transform: scale(1.06);
}
.service-panel .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 24, 21, 0.1) 0%,
    rgba(26, 24, 21, 0.85) 100%
  );
}
.service-panel .bg {
  background-size: cover;
  background-position: center;
  filter: brightness(0.85) saturate(0.9);
}
.service-panel:nth-child(1) .bg {
  background-image: url("https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=1400&q=80");
}
.service-panel:nth-child(2) .bg {
  background-image: url("https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?w=1400&q=80");
}
.service-panel:nth-child(3) .bg {
  background-image: url("https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?w=1400&q=80");
}
.service-panel:nth-child(4) .bg {
  background-image: url("https://images.unsplash.com/photo-1497366216548-37526070297c?w=1400&q=80");
}
.service-panel .bg .pattern {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent 0 30px,
    rgba(255, 255, 255, 0.04) 30px 31px
  );
}
.service-num {
  position: absolute;
  top: 32px;
  left: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: rgba(245, 241, 234, 0.6);
}
.service-panel h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.05;
}
.service-panel h3 em {
  font-style: italic;
  font-weight: 300;
}
.service-desc {
  max-width: 380px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(245, 241, 234, 0.75);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height var(--transition),
    opacity var(--transition);
}
.service-panel:hover .service-desc {
  max-height: 200px;
  opacity: 1;
}
@media (max-width: 900px) {
  .service-desc {
    max-height: none;
    opacity: 1;
  }
}
.service-meta {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.55);
}
.service-arrow {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(245, 241, 234, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}
.service-panel:hover .service-arrow {
  background: var(--terra);
  border-color: var(--terra);
  transform: rotate(-45deg);
}
.service-arrow svg {
  width: 14px;
  height: 14px;
  stroke: var(--bone);
}

/* =========================================================
   PÁGINA SERVIÇOS (listagem) — grid moderno
========================================================= */
.svc-intro {
  padding: 0 0 80px;
  background: var(--bone);
  border-bottom: 1px solid var(--line);
}
.svc-intro-inner {
  max-width: 720px;
}
.svc-intro .section-title {
  margin-bottom: 20px;
}
.svc-intro-text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0;
}
.svc-catalog {
  padding: 100px 0 120px;
  background: var(--paper);
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.svc-card {
  grid-column: span 6;
  min-height: 0;
}
.svc-card:nth-child(4n + 1) {
  grid-column: span 7;
}
.svc-card:nth-child(4n + 2) {
  grid-column: span 5;
}
.svc-card:nth-child(4n + 3) {
  grid-column: span 5;
}
.svc-card:nth-child(4n) {
  grid-column: span 7;
}
.svc-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bone);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease;
}
.svc-card-link:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(26, 24, 21, 0.12);
  border-color: rgba(26, 24, 21, 0.12);
}
.svc-card--home .svc-card-link {
  border-color: rgba(184, 120, 74, 0.35);
  box-shadow: 0 8px 32px rgba(184, 120, 74, 0.08);
}
.svc-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--ink);
  background-size: cover;
  background-position: center;
}
.svc-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(26, 24, 21, 0.55) 100%);
  pointer-events: none;
}
.svc-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--terra);
  color: var(--bone);
}
.svc-card-ix {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 2;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 300;
  color: rgba(245, 241, 234, 0.95);
  line-height: 1;
  letter-spacing: -0.03em;
}
.svc-card-body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.svc-card-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 10px;
}
.svc-card-title {
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 12px;
  color: var(--ink);
}
.svc-card-title em {
  font-style: italic;
  color: var(--terra);
  font-weight: 300;
}
.svc-card-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 20px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.svc-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.svc-card-tags span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.svc-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: auto;
}
.svc-card-link:hover .svc-card-cta {
  color: var(--terra);
}
@media (max-width: 900px) {
  .svc-intro {
    padding: 0 0 56px;
  }
  .svc-catalog {
    padding: 64px 0 88px;
  }
  .svc-card,
  .svc-card:nth-child(n) {
    grid-column: 1 / -1;
  }
  .svc-card-media {
    aspect-ratio: 16 / 11;
  }
}

/* =========================================================
   PROJETOS — grid com hover reveal + lightbox
========================================================= */
.projects {
  background: var(--paper);
}
.projects-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast);
}
.filter-btn:hover {
  color: var(--ink);
  border-color: var(--ink);
}
.filter-btn.active {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
}
.project {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}
.project.is-hidden {
  display: none !important;
}
.projects-grid {
  grid-auto-flow: dense;
}
.project:nth-child(1) {
  grid-column: span 7;
  grid-row: span 2;
}
.project:nth-child(2) {
  grid-column: span 5;
  grid-row: span 2;
}
.project:nth-child(3) {
  grid-column: span 4;
  grid-row: span 2;
}
.project:nth-child(4) {
  grid-column: span 4;
  grid-row: span 2;
}
.project:nth-child(5) {
  grid-column: span 4;
  grid-row: span 2;
}
.project:nth-child(6) {
  grid-column: span 6;
  grid-row: span 2;
}
.project:nth-child(7) {
  grid-column: span 6;
  grid-row: span 2;
}
@media (max-width: 900px) {
  .project,
  .project:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .project:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }
}
.project-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition:
    transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.6s ease;
  filter: saturate(0.95) brightness(0.92);
}
.project:hover .project-img {
  transform: scale(1.06);
  filter: saturate(1.1) brightness(1);
}
.project-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.6) 100%);
}
.project:nth-child(1) .project-img {
  background-image: url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=1600&q=80");
}
.project:nth-child(2) .project-img {
  background-image: url("https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?w=1200&q=80");
}
.project:nth-child(3) .project-img {
  background-image: url("https://images.unsplash.com/photo-1559329007-40df8a9345d8?w=1200&q=80");
}
.project:nth-child(4) .project-img {
  background-image: url("https://images.unsplash.com/photo-1567538096630-e0c55bd6374c?w=1200&q=80");
}
.project:nth-child(5) .project-img {
  background-image: url("https://images.unsplash.com/photo-1600210491892-03d54c0aaf87?w=1200&q=80");
}
.project:nth-child(6) .project-img {
  background-image: url("https://images.unsplash.com/photo-1600585154526-990dced4db0d?w=1400&q=80");
}
.project:nth-child(7) .project-img {
  background-image: url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?w=1400&q=80");
}
.project-meta {
  position: absolute;
  left: 24px;
  bottom: 24px;
  right: 24px;
  z-index: 2;
  color: var(--bone);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}
.project-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.75);
  margin-bottom: 8px;
}
.project-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.project-title em {
  font-style: italic;
}
.project-loc {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.7);
  white-space: nowrap;
}

/* =========================================================
   LIGHTBOX
========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 13, 11, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 40px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}
/* Filho direto: fora de .lb-inner para não ser afetado por transform (mobile). */
.lightbox > .lb-close {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  z-index: 260;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  transition:
    background var(--transition-fast),
    transform var(--transition-fast),
    color var(--transition-fast);
}
.lightbox > .lb-close:hover {
  background: var(--terra);
  color: var(--bone);
  transform: scale(1.06);
}
.lightbox .lb-inner {
  width: 100%;
  max-width: 920px;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
  max-height: min(82vh, 900px);
  transform: scale(0.96);
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  background: var(--paper);
  border-radius: 8px;
  overflow: hidden;
}
.lightbox.active .lb-inner {
  transform: scale(1);
}
.lb-image {
  background: var(--ink);
  position: relative;
  min-height: 480px;
  background-size: cover;
  background-position: center;
  transition: background-image 0.4s ease;
}
@media (max-width: 900px) {
  .lightbox .lb-inner {
    grid-template-columns: 1fr;
    max-height: min(86vh, calc(100dvh - 56px));
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    border-radius: 6px;
  }
  .lightbox {
    padding: 10px;
    padding-top: max(56px, env(safe-area-inset-top), 10px);
    align-items: flex-start;
  }
  .lightbox > .lb-close {
    top: max(10px, env(safe-area-inset-top));
  }
  .lb-image {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}
.lb-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.4) 100%);
}
.lb-image-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.6);
}
.lb-image .gallery-dots {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  gap: 6px;
}
.lb-image .gallery-dots span {
  width: 24px;
  height: 2px;
  background: rgba(245, 241, 234, 0.3);
  border-radius: 2px;
}
.lb-image .gallery-dots span.active {
  background: var(--bone);
}
.lb-content {
  position: relative;
  padding: 40px 36px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
@media (max-width: 900px) {
  .lb-content {
    padding: 22px 20px 28px;
    max-width: none;
  }
}
.lb-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 12px;
}
.lb-content h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.12;
}
.lb-content h3 em {
  font-style: italic;
  color: var(--terra);
}
.lb-content p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
  margin-bottom: 12px;
}
.lb-specs {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
}
.lb-specs dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.lb-specs dd {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: -0.01em;
}

/* =========================================================
   PROCESSO — vertical stepper
========================================================= */
.process {
  background: var(--ink);
  color: var(--bone);
}
.process .eyebrow {
  color: rgba(245, 241, 234, 0.6);
}
.process .eyebrow::before {
  background: var(--gold);
}
.process-head {
  margin-bottom: 80px;
  max-width: 760px;
}
.process-head .section-title {
  color: var(--bone);
}
.process-head .section-title em {
  color: var(--gold);
}
.process-list {
  border-top: 1px solid rgba(245, 241, 234, 0.15);
}
.process-step {
  padding: 40px 0;
  border-bottom: 1px solid rgba(245, 241, 234, 0.15);
  display: grid;
  grid-template-columns: 80px 1fr 2fr 60px;
  gap: 32px;
  align-items: start;
  position: relative;
  transition: padding var(--transition);
}
.process-step:hover {
  padding-left: 24px;
}
@media (max-width: 900px) {
  .process-step {
    grid-template-columns: 60px 1fr;
    gap: 16px;
  }
  .process-step .step-detail {
    grid-column: 1 / -1;
    padding-top: 12px;
  }
  .process-step .step-arrow {
    display: none;
  }
}
.step-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.step-title {
  font-family: var(--serif);
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.step-title em {
  font-style: italic;
}
.step-detail {
  font-size: 15px;
  color: rgba(245, 241, 234, 0.7);
  line-height: 1.6;
  max-width: 480px;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height var(--transition),
    padding var(--transition),
    opacity var(--transition);
  opacity: 0;
}
.process-step.open .step-detail,
.process-step:hover .step-detail {
  max-height: 200px;
  opacity: 1;
  padding-top: 12px;
}
.step-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(245, 241, 234, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}
.process-step:hover .step-arrow {
  background: var(--gold);
  border-color: var(--gold);
  transform: rotate(45deg);
}
.step-arrow svg {
  stroke: var(--bone);
  width: 14px;
  height: 14px;
}
.process-step:hover .step-arrow svg {
  stroke: var(--ink);
}

/* =========================================================
   DEPOIMENTOS
========================================================= */
.testi {
  background: var(--bone);
  position: relative;
  overflow: hidden;
}
.testi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

section.testi {
  padding: 110px 0;
}
.testi .services-head {
  margin-bottom: 48px;
}
.testi .section-title {
  margin-bottom: 16px;
}
.testi .eyebrow {
  margin-bottom: 12px;
}

@media (max-width: 900px) {
  .testi-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  section.testi {
    padding: 64px 0;
  }
  .testi .services-head {
    margin-bottom: 28px;
  }
  .testi-stage {
    min-height: 220px;
  }
  .testi-quote {
    font-size: clamp(22px, 5.5vw, 34px);
    line-height: 1.28;
  }
  .testi-author {
    padding: 14px 0;
  }
}
@media (max-width: 700px) {
  section.testi {
    padding: 48px 0;
  }
}
.testi-stage {
  position: relative;
  min-height: 320px;
}
.testi-quote {
  position: absolute;
  inset: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  pointer-events: none;
}
.testi-quote.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.testi-quote em {
  font-style: italic;
  color: var(--terra);
}
.testi-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
  transition:
    padding var(--transition-fast),
    opacity var(--transition-fast);
  opacity: 0.4;
}
.testi-author:last-child {
  border-bottom: 1px solid var(--line);
}
.testi-author.active {
  opacity: 1;
  padding-left: 16px;
}
.testi-author:hover {
  opacity: 1;
}
.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bone);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  flex-shrink: 0;
}
.testi-author.active .testi-avatar {
  background: var(--terra);
}
.testi-author-info {
  flex: 1;
}
.testi-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
}
.testi-role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

/* =========================================================
   FAQ
========================================================= */
.faq {
  background: var(--paper);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
}
@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.faq-list {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-top: 1px solid var(--line);
}
.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  padding: 28px 0;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: color var(--transition-fast);
}
.faq-q:hover {
  color: var(--terra);
}
.faq-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  border-radius: 1px;
}
.faq-icon::before {
  width: 12px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}
.faq-icon::after {
  width: 1.5px;
  height: 12px;
  transform: translate(-50%, -50%);
  transition: transform var(--transition);
}
.faq-item.open .faq-icon {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bone);
  transform: rotate(180deg);
}
.faq-item.open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.faq-item.open .faq-a {
  max-height: 600px;
}
.faq-a-inner {
  padding: 0 0 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  max-width: 540px;
}

/* =========================================================
   CTA
========================================================= */
.cta {
  background: var(--terra);
  color: var(--bone);
  text-align: center;
  padding: 160px 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(255, 224, 180, 0.15),
      transparent 50%
    ),
    radial-gradient(circle at 80% 70%, rgba(90, 97, 73, 0.2), transparent 50%);
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent 0 60px,
    rgba(255, 255, 255, 0.025) 60px 61px
  );
}
.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 32px;
}
.cta h2 {
  font-family: var(--serif);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 32px;
}
.cta h2 em {
  font-style: italic;
  color: var(--bone-2);
}
.cta p {
  font-size: 18px;
  color: rgba(245, 241, 234, 0.85);
  margin-bottom: 48px;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 22px 40px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bone);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition:
    transform var(--transition-fast),
    background var(--transition-fast);
}
.cta-btn:hover {
  transform: translateY(-2px);
  background: var(--paper);
  color: var(--ink);
}
.cta-btn svg {
  transition: transform var(--transition-fast);
}
.cta-btn:hover svg {
  transform: translateX(4px);
}
.cta-meta {
  margin-top: 48px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.7);
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ======================================================
   SOBRE (from sobre.html)
====================================================== */
.page-hero {
  --page-hero-img: url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?w=1920&q=80");
}

/* MANIFESTO */
.manifesto {
  padding: 140px 0;
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}
@media (max-width: 900px) {
  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}
.manifesto-col-quote {
  display: flex;
  flex-direction: column;
  gap: 48px;
  min-width: 0;
}
/* Com imagem abaixo da citação: sticky faria a foto subir por cima do texto ao rolar */
.manifesto-col-quote--has-figure .manifesto-quote {
  position: static;
  top: auto;
}
.manifesto-figure {
  margin: 0;
  position: relative;
  z-index: 0;
}
.manifesto-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}
.manifesto-quote {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
  position: sticky;
  top: 140px;
  z-index: 1;
}
.manifesto-quote em {
  font-style: italic;
  color: var(--terra);
}
.manifesto-body p {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.75;
  margin-bottom: 24px;
}
.manifesto-body p:first-child::first-letter {
  font-family: var(--serif);
  font-size: 64px;
  float: left;
  line-height: 0.75;
  margin: 8px 12px 0 0;
  color: var(--terra);
  font-weight: 300;
}

/* TIMELINE */
.timeline {
  padding: 140px 0;
  background: var(--bone);
  border-top: 1px solid var(--line);
}
.tl-head {
  margin-bottom: 80px;
}
.tl-head h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.tl-head h2 em {
  font-style: italic;
  color: var(--terra);
}
.tl-track {
  position: relative;
  padding-left: 60px;
}
.tl-track::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.tl-item {
  position: relative;
  padding-bottom: 60px;
}
.tl-item:last-child {
  padding-bottom: 0;
}
.tl-dot {
  position: absolute;
  left: -48px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--terra);
  background: var(--bone);
  z-index: 2;
  transition:
    background 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.tl-item.is-active .tl-dot {
  background: var(--terra);
  transform: scale(1.12);
  box-shadow: 0 0 0 3px rgba(184, 92, 60, 0.22);
}
.tl-year {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 10px;
}
.tl-item h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.tl-item h3 em {
  font-style: italic;
}
.tl-item p {
  color: var(--muted);
  line-height: 1.65;
  max-width: 560px;
}
.tl-item .tl-desc {
  color: var(--muted);
  line-height: 1.65;
  max-width: 560px;
}

/* FOUNDERS */
.founders {
  padding: 140px 0;
}
.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
@media (max-width: 900px) {
  .founders-grid {
    grid-template-columns: 1fr;
  }
}
.founder {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 700px) {
  .founder {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.founder-img {
  aspect-ratio: 3/4;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: var(--bone-2);
}
.founder-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.4) saturate(0.8);
  transition: filter 0.6s ease;
}
.founder:hover .founder-img img {
  filter: grayscale(0) saturate(1);
}
.founder-name {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.founder-role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 20px;
}
.founder-bio p {
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: 14px;
}
.founder-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.founder-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.founder-links a:hover {
  background: var(--terra);
  border-color: var(--terra);
  color: var(--bone);
}

/* TEAM */
.team {
  padding: 100px 0 140px;
  background: var(--ink);
  color: var(--bone);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 60px;
}
@media (max-width: 1000px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.team-member {
  text-align: center;
}
.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  background: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--bone);
  border: 2px solid rgba(245, 241, 234, 0.15);
}
.team-member h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 4px;
}
.team-member p {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.55);
}

/* VALUES */
.values {
  padding: 140px 0;
  background: var(--bone);
  border-top: 1px solid var(--line);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}
@media (max-width: 900px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}
.value-card {
  padding: 40px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition:
    transform var(--transition),
    border-color var(--transition);
}
.value-card:hover {
  transform: translateY(-6px);
  border-color: var(--terra);
}
.value-num {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 300;
  color: var(--terra);
  line-height: 1;
  margin-bottom: 20px;
}
.value-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.value-card h3 em {
  font-style: italic;
}
.value-card p {
  color: var(--muted);
  line-height: 1.6;
}

/* AWARDS */
.awards {
  padding: 100px 0;
}
.awards-list {
  margin-top: 50px;
}
.award {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: padding var(--transition-fast);
}
.award:hover {
  padding-left: 16px;
}
.award:first-child {
  border-top: 1px solid var(--line);
}
.award-year {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--terra);
}
.award h4 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
}
.award-org {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 700px) {
  .award {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* CTA */
.about-cta {
  padding: 160px 0;
  text-align: center;
  background: var(--terra);
  color: var(--bone);
  position: relative;
  overflow: hidden;
}
.about-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 224, 180, 0.12),
    transparent 60%
  );
}
.about-cta .container {
  position: relative;
}
.about-cta h2 {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 36px;
}
.about-cta h2 em {
  font-style: italic;
}

/* ======================================================
   PORTFOLIO (from portfolio.html)
====================================================== */
/* ===== PORTFOLIO HERO override ===== */
.page-hero {
  --page-hero-img: url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?w=1920&q=80");
}

/* ===== FILTERS ===== */
.filters-wrap {
  padding: 70px 0 30px;
}
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}
.filter {
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--mono);
  transition: all var(--transition-fast);
  color: var(--ink);
}
.filter:hover {
  border-color: var(--ink);
}
.filter.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bone);
}
.filter .count {
  opacity: 0.5;
  margin-left: 6px;
  font-size: 10px;
}

/* ===== MASONRY GRID ===== */
.masonry {
  columns: 3;
  column-gap: 24px;
  padding-top: 30px;
}
@media (max-width: 1100px) {
  .masonry {
    columns: 2;
  }
}
@media (max-width: 640px) {
  .masonry {
    columns: 1;
  }
}
.pcard {
  break-inside: avoid;
  margin-bottom: 24px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bone-2);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.pcard.is-hidden {
  display: none !important;
}
.pcard img {
  width: 100%;
  height: auto;
  display: block;
  transition:
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.5s ease;
  filter: saturate(0.95);
}
.pcard:hover img {
  transform: scale(1.04);
  filter: saturate(1.1);
}
.pcard-info {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(26, 24, 21, 0.85) 60%
  );
  color: var(--bone);
  transform: translateY(20px);
  opacity: 0;
  transition:
    opacity var(--transition),
    transform var(--transition);
}
.pcard:hover .pcard-info {
  opacity: 1;
  transform: none;
}
.pcard-info .meta {
  display: flex;
  gap: 14px;
  align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.7);
  margin-bottom: 10px;
}
.pcard-info h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.pcard-info p {
  font-size: 13px;
  color: rgba(245, 241, 234, 0.75);
  line-height: 1.5;
}
.pcard .tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(8px);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
}

/* ===== FEATURED PROJECT ===== */
.featured {
  margin-top: 80px;
  padding: 100px 0;
  background: var(--bone);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.featured-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--terra);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.featured-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--terra);
}
.featured h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 12px;
}
.featured h2 em {
  font-style: italic;
  color: var(--terra);
  font-weight: 300;
}
.featured-loc {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 60px;
}
.featured-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) {
  .featured-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.featured-slider {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bone-2);
}
.featured-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.featured-slider img.active {
  opacity: 1;
}
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.slider-dots button {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: rgba(245, 241, 234, 0.4);
  transition: background var(--transition-fast);
}
.slider-dots button.active {
  background: var(--bone);
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(251, 248, 243, 0.9);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  font-size: 20px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.featured-slider:hover .slider-arrow {
  opacity: 1;
}
.slider-arrow.prev {
  left: 16px;
}
.slider-arrow.next {
  right: 16px;
}

.featured-body p {
  font-size: 16px;
  color: var(--ink-2);
  margin-bottom: 28px;
  line-height: 1.7;
}
.spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.spec h5 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 6px;
}
.spec p {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  margin: 0;
}
.testimony {
  margin-top: 36px;
  padding: 28px;
  background: var(--paper);
  border-left: 2px solid var(--terra);
  border-radius: 0 4px 4px 0;
}
.testimony p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 12px;
}
.testimony cite {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: normal;
}

/* ===== STATS ===== */
.stats {
  padding: 120px 0;
  background: var(--ink);
  color: var(--bone);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 50%,
    rgba(184, 92, 60, 0.18),
    transparent 50%
  );
}
.stats .container {
  position: relative;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
}
@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
.stat .num {
  font-family: var(--serif);
  font-size: clamp(60px, 8vw, 110px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--bone);
  display: block;
  margin-bottom: 8px;
}
.stat .num em {
  font-style: italic;
  color: var(--terra);
  font-weight: 300;
}
.stat .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.6);
}

/* ===== CTA ===== */
.ptf-cta {
  padding: 140px 0;
  text-align: center;
  background: var(--terra);
  color: var(--bone);
}
.ptf-cta h2 {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 36px;
}
.ptf-cta h2 em {
  font-style: italic;
  font-weight: 300;
}

/* ===== LIGHTBOX (reuses pattern) ===== */
.lb {
  position: fixed;
  inset: 0;
  background: rgba(26, 24, 21, 0.96);
  z-index: 9990;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lb.active {
  display: flex;
}
/* ===== LIGHTBOX legado (.lb) — escopado para não colidir com #lightbox .lb-inner ===== */
.lb .lb-inner {
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  background: var(--paper);
  max-height: 85vh;
  overflow: hidden;
}
@media (max-width: 900px) {
  .lb .lb-inner {
    grid-template-columns: 1fr;
    max-height: 100vh;
    height: 100vh;
    overflow-y: auto;
  }
  .lb {
    padding: 0;
  }
}
.lb-img {
  aspect-ratio: 4/3;
  background: var(--ink);
}
.lb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lb-info {
  padding: 50px;
  overflow-y: auto;
}
.lb-info .meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.lb-info h3 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.lb-info p {
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ======================================================
   VIDEOS (from videos.html)
====================================================== */
.page-hero {
  --page-hero-img: url("https://images.unsplash.com/photo-1505691938895-1758d7feb511?w=1920&q=80");
}

/* HERO VIDEO */
.hero-video-wrap {
  padding: 80px 0 60px;
}
button.hero-video {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: inherit;
  cursor: pointer;
}
.hero-video {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
  background: var(--ink);
  cursor: pointer;
}
.hero-video--has-poster {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-video--placeholder {
  background-color: var(--ink);
  background-image:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(184, 92, 60, 0.14) 0%, transparent 72%),
    linear-gradient(165deg, #2a2620 0%, var(--ink) 45%, #12100e 100%);
}
.hero-video--placeholder::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  z-index: 0;
  opacity: 0.22;
  pointer-events: none;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5f1ea' stroke-width='1.15'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M10 9l6 3-6 3z' fill='%23f5f1ea' stroke='none'/%3E%3C/svg%3E");
}
.hero-video-overlay .hv-play {
  position: relative;
  z-index: 1;
}
.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 24, 21, 0.1) 0%,
    rgba(26, 24, 21, 0.7) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bone);
  transition: opacity var(--transition);
}
.hero-video.playing .hero-video-overlay {
  opacity: 0;
  pointer-events: none;
}
.hv-play {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(251, 248, 243, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(245, 241, 234, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform var(--transition-fast),
    background var(--transition-fast);
}
.hero-video:hover .hv-play {
  transform: scale(1.08);
  background: rgba(251, 248, 243, 0.25);
}
.hv-play::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 22px solid var(--bone);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}
.hv-meta {
  position: absolute;
  bottom: 32px;
  left: 32px;
  color: var(--bone);
  pointer-events: none;
}
.hv-meta .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hv-meta .label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terra);
}
.hv-meta h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: -0.02em;
}

/* GRID */
.vgrid-section {
  padding: 60px 0 120px;
}
.vgrid-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 50px;
  border-bottom: 1px solid var(--line);
}
.vtab {
  padding: 18px 28px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  transition: color var(--transition-fast);
}
.vtab.active {
  color: var(--ink);
}
.vtab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--terra);
}
.vtab .count {
  background: var(--bone-2);
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 10px;
  margin-left: 8px;
}

.vgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 1000px) {
  .vgrid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .vgrid {
    grid-template-columns: 1fr;
  }
}
.vgrid > * {
  transition:
    opacity 0.4s,
    transform 0.4s;
}
.vgrid > .is-hidden {
  display: none !important;
}

button.vcard {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.vcard {
  cursor: pointer;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bone-2);
}
.vcard-thumb {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  background: var(--bone-2);
}
.vcard-thumb--placeholder {
  background-color: var(--ink);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5f1ea' stroke-width='1.15' opacity='0.28'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M10 9l6 3-6 3z' fill='%23f5f1ea' stroke='none' opacity='0.28'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(184, 92, 60, 0.12) 0%, transparent 72%),
    linear-gradient(165deg, #2a2620 0%, var(--ink) 45%, #12100e 100%);
  background-position: center, center, center;
  background-size: 52px auto, cover, cover;
  background-repeat: no-repeat;
}
.vcard-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.vcard:hover .vcard-thumb img {
  transform: scale(1.06);
}
.vcard-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.5) 100%);
}
.vcard-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.94);
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
  z-index: 3;
  pointer-events: none;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}
.vcard:hover .vcard-play {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.35);
}
.vcard-play::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--ink);
}
.vcard-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(26, 24, 21, 0.85);
  color: var(--bone);
  padding: 4px 10px;
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  z-index: 4;
}
.vcard-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(184, 92, 60, 0.9);
  color: var(--bone);
  padding: 4px 10px;
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 4;
}
.vcard-body {
  padding: 22px 24px 26px;
}
.vcard-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.vcard h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  line-height: 1.2;
}
.vcard p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* TOUR 360 SECTION */
.tour {
  padding: 120px 0;
  background: var(--bone);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tour-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) {
  .tour-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}
.tour-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--terra);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.tour-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--terra);
}
.tour h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 24px;
}
.tour h2 em {
  font-style: italic;
  color: var(--terra);
  font-weight: 300;
}
.tour-body p {
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 18px;
}
.tour-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
.tour-feature h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 6px;
}
.tour-feature p {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
}

.tour-frame {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 6px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 30px 80px rgba(26, 24, 21, 0.2);
}
.tour-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.tour-frame::after {
  content: "360° INTERATIVO";
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(184, 92, 60, 0.95);
  color: var(--bone);
  padding: 6px 14px;
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  pointer-events: none;
  z-index: 5;
}

/* MODAL */
.vmodal {
  position: fixed;
  inset: 0;
  background: rgba(26, 24, 21, 0.96);
  z-index: 9990;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.vmodal.active {
  display: flex;
}
.vmodal-inner {
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 16/9;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
}
.vmodal-inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.vmodal-inner video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.vmodal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bone);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  z-index: 10;
}

/* CTA */
.videos-cta {
  padding: 140px 0;
  background: var(--ink);
  color: var(--bone);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.videos-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(184, 92, 60, 0.15),
    transparent 60%
  );
}
.videos-cta .container {
  position: relative;
}
.videos-cta h2 {
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 36px;
}
.videos-cta h2 em {
  font-style: italic;
  color: var(--terra);
  font-weight: 300;
}

/* ======================================================
   CONTATO (from contato.html)
====================================================== */
.page-hero {
  --page-hero-img: url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?w=1920&q=80");
}

.ct-section {
  padding: 100px 0 140px;
}
.ct-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 1000px) {
  .ct-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

/* FORM */
.ct-form {
  background: var(--bone);
  padding: 50px;
  border-radius: 6px;
  border: 1px solid var(--line);
}
@media (max-width: 700px) {
  .ct-form {
    padding: 32px 24px;
  }
}
.ct-form h2 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.ct-form > p {
  color: var(--muted);
  margin-bottom: 36px;
}

.field {
  margin-bottom: 28px;
  position: relative;
}
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.field label .req {
  color: var(--terra);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  border-radius: 4px;
  transition:
    border-color var(--transition-fast),
    background var(--transition-fast);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--terra);
  background: #fff;
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
.field .hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  font-style: italic;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 600px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chips input {
  display: none;
}
.chips label {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  margin-bottom: 0;
  transition: all var(--transition-fast);
}
.chips input:checked + label {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}

.budget-slider {
  margin-top: 8px;
}
.budget-slider input[type="range"] {
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  height: 4px;
  -webkit-appearance: none;
}
.budget-slider input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: var(--line);
  border-radius: 2px;
}
.budget-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--terra);
  margin-top: -9px;
  cursor: pointer;
}
.budget-slider input[type="range"]::-moz-range-track {
  height: 4px;
  background: var(--line);
  border-radius: 2px;
}
.budget-slider input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--terra);
  border: 0;
  cursor: pointer;
}
.budget-display {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.budget-display strong {
  color: var(--terra);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 12px;
}
.submit-row .btn {
  padding: 18px 38px;
}
.submit-row .privacy {
  font-size: 12px;
  color: var(--muted);
  flex: 1 1 240px;
  line-height: 1.5;
}

.toast {
  position: fixed;
  bottom: 100px;
  right: 28px;
  background: var(--ink);
  color: var(--bone);
  padding: 18px 24px;
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(26, 24, 21, 0.3);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 200;
  max-width: 320px;
  font-family: var(--sans);
  font-size: 14px;
  border-left: 3px solid var(--terra);
}
.toast.show {
  transform: none;
  opacity: 1;
}
.toast strong {
  font-family: var(--serif);
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

/* INFO COLUMN */
.ct-info {
  padding: 16px 0;
}
.info-block {
  margin-bottom: 50px;
}
.info-block h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 14px;
}
.info-block .big {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink);
}
.info-block .big a {
  transition: color var(--transition-fast);
}
.info-block .big a:hover {
  color: var(--terra);
}
.info-block p {
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.6;
}

.hours {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}
.hours div {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-family: var(--sans);
  font-size: 14px;
}
.hours div span:first-child {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hours div span:last-child {
  color: var(--ink);
  font-weight: 500;
}

.socials-big {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}
.socials-big a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.socials-big a:hover {
  background: var(--terra);
  border-color: var(--terra);
  color: var(--bone);
}

/* MAP */
.map-section {
  padding: 0 0 140px;
}
.map-wrap {
  position: relative;
  aspect-ratio: 21/9;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bone-2);
  border: 1px solid var(--line);
}
@media (max-width: 700px) {
  .map-wrap {
    aspect-ratio: 4/3;
  }
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.5) saturate(0.85);
}
.map-pin {
  position: absolute;
  left: 32%;
  top: 50%;
  transform: translate(-50%, -100%);
  background: var(--terra);
  color: var(--bone);
  padding: 12px 20px;
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(184, 92, 60, 0.4);
  z-index: 2;
}
.map-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--terra);
}

/* FAQ MINI */
.faq-mini {
  padding: 0 0 140px;
  background: var(--bone);
}
.faq-mini-inner {
  padding: 100px 0;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
}
@media (max-width: 900px) {
  .faq-mini-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.faq-mini h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.faq-mini h2 em {
  font-style: italic;
  color: var(--terra);
}
.faq-mini .faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-mini .faq-q {
  padding: 24px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  transition: color var(--transition-fast);
}
.faq-mini .faq-q:hover {
  color: var(--terra);
}
.faq-mini .faq-q::after {
  content: "+";
  font-family: var(--mono);
  font-size: 28px;
  color: var(--terra);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-mini .faq-item.open .faq-q::after {
  transform: rotate(45deg);
}
.faq-mini .faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.faq-mini .faq-a-inner {
  padding: 0 0 28px;
  color: var(--ink-2);
  line-height: 1.7;
}

/* =========================================================
   TWIG PORT FIXES
========================================================= */
body.page-sobre .page-hero,
body.page-portfolio .page-hero {
  --page-hero-img: url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?w=1920&q=80");
}

body.page-videos .page-hero {
  --page-hero-img: url("https://images.unsplash.com/photo-1505691938895-1758d7feb511?w=1920&q=80");
}

body.page-contato .page-hero {
  --page-hero-img: url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?w=1920&q=80");
}

/* =========================================================
   MOBILE — revisão global (≤900px; desktop inalterado)
   Ajusta sobreposição, toque, wrap e áreas seguras.
========================================================= */
@media (max-width: 900px) {
  /* Sobre: citação sticky cobria o texto em coluna única */
  .manifesto-quote {
    position: static;
    top: auto;
    margin: 0 0 8px;
    max-width: none;
  }
  .manifesto-body {
    display: flow-root;
    min-width: 0;
  }
  .manifesto-body p:first-child::first-letter {
    font-size: clamp(40px, 12vw, 52px);
    line-height: 0.85;
    margin: 4px 10px 0 0;
  }
  .manifesto-col-quote {
    gap: 32px;
  }
  .manifesto {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  /* Timeline: trilha mais estreita em telas pequenas */
  .tl-track {
    padding-left: 44px;
  }
  .tl-track::before {
    left: 14px;
  }
  .tl-dot {
    left: -38px;
    top: 8px;
  }
  .tl-item h3 {
    font-size: clamp(22px, 5.5vw, 28px);
    line-height: 1.15;
  }

  /* Grade equipe / fundadores: texto longo */
  .founder-name {
    font-size: clamp(26px, 7vw, 32px);
    word-break: break-word;
  }
  .team .reveal h2 {
    max-width: 100%;
    word-break: break-word;
    hyphens: manual;
  }
  .team-member p {
    letter-spacing: 0.12em;
  }

  /* Home hero — só ≤900px: largura útil, blurb cheio, stats em coluna */
  .hero-content {
    padding: 0 clamp(20px, 4vw, 56px) max(64px, env(safe-area-inset-bottom), 72px);
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
    max-width: none;
    margin: 0;
  }
  .hero-slide-content {
    padding: 0 0 max(40px, env(safe-area-inset-bottom));
    max-width: none;
    margin: 0;
    transform: translateY(10px);
  }
  .hero-slide-content.active {
    padding: 0 0 max(40px, env(safe-area-inset-bottom));
    max-width: none;
    margin: 0;
  }
  .hero-title {
    max-width: none;
    text-wrap: balance;
  }
  .hero-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-top: 40px;
  }
  .hero-meta > div {
    flex: 0 0 auto;
  }
  .hero-blurb {
    max-width: none;
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.55;
    color: rgba(245, 241, 234, 0.85);
  }
  .hero-stat {
    font-size: clamp(36px, 10vw, 48px);
  }
  .hero-slide-nav {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
  }
  .hero-scroll {
    left: max(16px, env(safe-area-inset-left));
    bottom: max(16px, env(safe-area-inset-bottom));
  }

  /* Projetos home: meta e título sem overflow */
  .project-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
  .project-loc {
    white-space: normal;
    text-align: left;
  }
  .project-title {
    font-size: clamp(18px, 4.6vw, 22px);
  }

  /* Portfólio: ficha visível sem hover (toque) */
  .pcard-info {
    opacity: 1;
    transform: none;
    padding: 18px 16px 20px;
  }
  .pcard-info p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .filters {
    gap: 8px;
    padding-bottom: 16px;
  }
  .filter {
    padding: 8px 14px;
    font-size: 11px;
  }

  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .foot-socials {
    flex-shrink: 0;
  }

  .about-cta {
    padding: 88px 0;
  }
  .about-cta h2 {
    font-size: clamp(34px, 9vw, 72px);
    line-height: 1.05;
  }

  /* Lightbox: specs empilhadas */
  .lb-specs {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .featured-slider .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  /* Serviços: sem “sumir” painéis em toque */
  .services-row:has(.service-panel:hover) .service-panel:not(:hover) {
    opacity: 1;
  }

  .faq-mini .faq-q {
    font-size: clamp(17px, 4.5vw, 22px);
    gap: 12px;
  }

  .vgrid-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .vtab {
    flex: 0 0 auto;
    padding: 14px 18px;
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .fab-wa {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 900px) and (hover: hover) {
  .services-row:has(.service-panel:hover) .service-panel:not(:hover) {
    opacity: 0.7;
  }
}

@media (max-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(200px, auto);
    gap: 12px;
  }
  .projects-grid .project:nth-child(n) {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }
  .page-hero {
    padding: 120px 0 64px;
  }
  .page-hero h1 {
    font-size: clamp(36px, 11vw, 64px);
  }
  .page-hero .lead {
    font-size: clamp(17px, 4.2vw, 22px);
  }
}

.project.is-hidden,
.pcard.is-hidden {
  display: none !important;
}

.nav-links a.active::after {
  width: 100%;
}

/* Conteúdo rico vindo do TinyMCE no admin */
.rich-text > p {
  margin: 0 0 0.65em;
}
.rich-text > p:last-child {
  margin-bottom: 0;
}
