/* paginas.css — molde editorial das páginas internas (empreendimentos + guia)
   Identidade: Fraunces/Inter/JetBrains Mono · papel #F4EFE6 · laranja #ED4A1F
   Atmosfera: blueprint de planta + grão de papel. */

:root {
  --accent: #ed4a1f;
  --accent-deep: #c13c16;
  --accent-soft: #f7b89e;
  --paper: #f4efe6;
  --paper-2: #efe7d8;
  --ink: #1a1612;
  --ink-soft: #5c5247;
  --rule: rgba(26, 22, 18, 0.14);
  --rule-strong: rgba(26, 22, 18, 0.3);
  --maxw: 1180px;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --serif: "Fraunces", "Times New Roman", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* grão de papel — tira o "flat" de IA */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * {
  position: relative;
  z-index: 2;
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
a {
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-deep);
}

/* header */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(244, 239, 230, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.site-head img {
  height: 28px;
  width: auto;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  padding: 11px 22px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: 0.18s;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px -12px var(--accent);
}
.btn-primary:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}
.btn-ghost {
  border-color: var(--rule-strong);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-lg {
  font-size: 17px;
  padding: 15px 30px;
}
.btn svg {
  flex: none;
}

/* breadcrumb */
.crumb {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  padding: 24px 0 0;
}
.crumb a {
  text-decoration: none;
  color: var(--ink-soft);
}
.crumb a:hover {
  color: var(--accent-deep);
}
.crumb span {
  color: var(--rule-strong);
  margin: 0 9px;
}

/* HERO */
.hero {
  position: relative;
  padding: 38px 0 40px;
  overflow: hidden;
}
.hero-bp {
  position: absolute;
  top: -40px;
  right: -90px;
  width: min(56%, 640px);
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to left, #000 35%, transparent 88%);
  mask-image: linear-gradient(to left, #000 35%, transparent 88%);
}
.hero > .hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-deep);
  border: 1px solid var(--accent-soft);
  background: rgba(247, 184, 158, 0.28);
  padding: 7px 13px;
  border-radius: 7px;
  margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 7.5vw, 76px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent-deep);
}
.hero .loc {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 30px;
}

/* faixa de fatos — editorial, sem caixas */
.metastrip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 32px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.metastrip .m {
  padding: 16px 26px 16px 0;
  margin-right: 26px;
  border-right: 1px solid var(--rule);
}
.metastrip .m:last-child {
  border-right: 0;
  margin-right: 0;
}
.metastrip .k {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}
.metastrip .v {
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.12;
  margin-top: 5px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* FACHADA — banner inteiro, sem corte */
.facade {
  margin: 8px 0 0;
}
.facade-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow: 0 36px 70px -38px rgba(26, 22, 18, 0.55);
  background: var(--paper-2);
}
.facade-frame img {
  width: 100%;
  height: auto;
  display: block;
}
.facade figcaption {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  margin-top: 12px;
}

/* seções */
section.block {
  padding: 56px 0;
  border-top: 1px solid var(--rule);
}
section.block:first-of-type {
  border-top: 0;
}
.block h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 8px 0 10px;
}
.block h2 em {
  font-style: italic;
  color: var(--accent-deep);
}
.block .lead {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 30px;
}

/* galeria editorial */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 12px;
}
.gallery a {
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper-2);
  aspect-ratio: 4/3;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery a:hover img {
  transform: scale(1.05);
}
.gallery .big {
  grid-column: span 2;
  grid-row: span 2;
}

/* ficha técnica */
.twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.spec {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  border-top: 1px solid var(--rule-strong);
}
.spec li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--rule);
}
.spec .k {
  color: var(--ink-soft);
}
.spec .v {
  font-weight: 600;
  text-align: right;
}

/* BENEFÍCIOS — lista editorial (sem grade de cards) */
.benefits {
  border-top: 1px solid var(--rule-strong);
  margin-top: 14px;
}
.brow {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(16px, 4vw, 48px);
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.brow h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.1;
  margin: 0;
  color: var(--accent-deep);
}
.brow p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
}

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--rule);
  padding: 20px 0;
}
.faq summary {
  font-family: var(--serif);
  font-size: 21px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--accent-deep);
  font-family: var(--sans);
  font-weight: 400;
}
.faq details[open] summary::after {
  content: "–";
}
.faq p {
  color: var(--ink-soft);
  margin: 14px 0 0;
  max-width: 70ch;
}

/* CTA final — bloco escuro com logo fantasma */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  border-radius: 26px;
  padding: clamp(38px, 7vw, 76px) clamp(24px, 5vw, 56px);
  text-align: center;
  margin: 56px 0;
}
.cta-ghost {
  position: absolute;
  right: clamp(-30px, -2vw, 0px);
  bottom: -18px;
  width: min(42%, 360px);
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}
.cta > :not(.cta-ghost) {
  position: relative;
  z-index: 1;
}
.cta h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 5vw, 50px);
  color: var(--paper);
  margin: 0 0 14px;
  border: 0;
  letter-spacing: -0.015em;
}
.cta h2 em {
  font-style: italic;
}
.cta p {
  color: rgba(244, 239, 230, 0.72);
  max-width: 50ch;
  margin: 0 auto 30px;
  font-size: 19px;
}

/* artigo / guia */
.prose {
  max-width: 70ch;
  margin: 0 auto;
}
.prose .pill {
  display: inline-block;
  background: rgba(247, 184, 158, 0.28);
  border: 1px solid var(--accent-soft);
  color: var(--accent-deep);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 7px 13px;
  border-radius: 7px;
  margin-bottom: 20px;
}
.prose h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 40px);
  margin: 52px 0 14px;
  letter-spacing: -0.015em;
}
.prose h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  margin: 34px 0 8px;
}
.prose p,
.prose li {
  font-size: 18px;
  color: #2a241d;
}
.prose ul {
  padding-left: 22px;
}
.prose li {
  margin: 9px 0;
}

/* footer */
.site-foot {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: rgba(244, 239, 230, 0.72);
  margin-top: 24px;
  padding: 60px 0 40px;
}
.site-foot img {
  height: 30px;
  margin-bottom: 20px;
}
.site-foot .fgrid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}
.site-foot a {
  color: rgba(244, 239, 230, 0.72);
  text-decoration: none;
}
.site-foot a:hover {
  color: var(--paper);
}
.site-foot .fh {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(244, 239, 230, 0.45);
  margin-bottom: 14px;
}
.site-foot ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-foot li {
  margin: 9px 0;
}
.site-foot .addr {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.8;
  color: rgba(244, 239, 230, 0.5);
}
.foot-legal {
  border-top: 1px solid rgba(244, 239, 230, 0.14);
  margin-top: 40px;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(244, 239, 230, 0.45);
}

/* reveal de carregamento */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.d1 {
  animation-delay: 0.05s;
}
.d2 {
  animation-delay: 0.15s;
}
.d3 {
  animation-delay: 0.25s;
}
.d4 {
  animation-delay: 0.35s;
}
.d5 {
  animation-delay: 0.45s;
}
@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 820px) {
  .twocol {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .brow {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 20px 0;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-bp {
    width: 88%;
    right: -30px;
    top: 10px;
    opacity: 0.1;
  }
}
@media (max-width: 520px) {
  body {
    font-size: 16px;
  }
  .gallery .big {
    grid-column: span 2;
    grid-row: auto;
  }
  .metastrip .m {
    padding-right: 18px;
    margin-right: 18px;
  }
  .site-foot .fgrid {
    grid-template-columns: 1fr 1fr;
  }
}
