/* EPC Empreendimentos — editorial site
   Design language taken from "Revista Vintage": light high-contrast serif display,
   humanist sans body, script accents, <kicker> labels, drop caps, generous white space. */

:root {
  --paper: #f6f2ea;
  --paper-2: #efe9dc;
  --sage: #e4e2cb;        /* the club band in the magazine */
  --ink: #23211d;
  --ink-2: #4a463f;
  --muted: #7d776c;
  --line: #d9d1c1;
  --wine: #8a2433;        /* the "g" in the Vintage mark */
  --ochre: #c4862a;       /* "Estilo VINTAGE" headline */
  --graphite: #2f2e29;

  --f-display: "Cormorant Garamond", "Times New Roman", serif;
  --f-body: "Nunito Sans", "Avenir Next", Avenir, system-ui, sans-serif;
  --f-script: "Allura", "Snell Roundhand", cursive;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 300 17px/1.7 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--wine); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }

/* ---------- Type ---------- */
.display {
  font: 300 clamp(2.6rem, 6vw, 5.2rem)/1.02 var(--f-display);
  letter-spacing: -.01em;
  margin: .1em 0 .35em;
}
.display .thin { font-weight: 300; font-size: .78em; }
.display.ochre { color: var(--ochre); }
.caps { text-transform: uppercase; letter-spacing: .02em; }
.script { font-family: var(--f-script); font-weight: 400; }
.kicker {
  font: 400 .95rem/1 var(--f-body);
  letter-spacing: .04em;
  color: var(--muted);
  margin: 0 0 1.2rem;
}
.kicker.light { color: rgba(255,255,255,.85); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.65; color: var(--ink-2); max-width: 46ch; }
.subhead {
  font: 400 clamp(1.5rem, 2.4vw, 2rem)/1.2 var(--f-display);
  font-style: italic;
  margin: 0 0 1.2rem;
}
.muted { color: var(--muted); }

.columns { column-count: 2; column-gap: 2.6rem; }
.columns p { margin: 0 0 1em; break-inside: avoid-column; }
.dropcap::first-letter {
  float: left;
  font: 400 4.6em/.78 var(--f-display);
  margin: .06em .1em 0 0;
  color: var(--ink);
}
.dropcap-inline { float: left; font: 400 4.2em/.78 var(--f-display); margin: .08em .1em 0 0; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.8em;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  font: 600 .78rem/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; }
.link-light { color: #fff; text-decoration: none; font-size: .95rem; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 2px; }
.link-light:hover { border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), padding .5s var(--ease);
  padding: 22px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { position: relative; display: block; width: 150px; }
.logo { width: 150px; height: auto; transition: opacity .4s; }
.logo-ink { position: absolute; inset: 0; opacity: 0; }
.nav { display: flex; gap: clamp(16px, 2.2vw, 34px); align-items: center; }
.nav a {
  color: #fff; text-decoration: none;
  font: 400 .8rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase;
  position: relative; padding: 6px 0;
}
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right .4s var(--ease); }
.nav a:hover::after, .nav a.active::after { right: 0; }
.nav .nav-cta { border: 1px solid rgba(255,255,255,.6); padding: 10px 16px; }
.nav .nav-cta::after { display: none; }

.site-header.scrolled { background: rgba(246,242,234,.94); backdrop-filter: saturate(1.2) blur(8px); -webkit-backdrop-filter: saturate(1.2) blur(8px); box-shadow: 0 1px 0 var(--line); padding: 12px 0; }
.site-header.scrolled .logo-white { opacity: 0; }
.site-header.scrolled .logo-ink { opacity: 1; }
.site-header.scrolled .nav a { color: var(--ink); }
.site-header.scrolled .nav .nav-cta { border-color: var(--ink); }
.site-header.scrolled .menu-btn span { background: var(--ink); }

.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: #fff; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 26px; }
.menu-open .menu-btn span { background: var(--ink); }
.menu-open .menu-btn span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 21px; transform: rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: -1;
  background: var(--paper);
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px var(--gutter) 40px;
  gap: 8px;
}
.drawer[hidden] { display: none; }
.drawer a { font: 300 2.2rem/1.3 var(--f-display); text-decoration: none; color: var(--ink); }
.drawer-sign { color: var(--wine); font-size: 2.2rem; margin-top: 24px; }
.menu-open .logo-white { opacity: 0; }
.menu-open .logo-ink { opacity: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; color: #fff; overflow: hidden; display: flex; align-items: flex-end; }
.hero-media { position: absolute; inset: -6% 0 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 55%; animation: kenburns 22s var(--ease) forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-scrim { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(20,18,15,.45) 0%, rgba(20,18,15,0) 28%),
  linear-gradient(90deg, rgba(20,18,15,0) 30%, rgba(20,18,15,.5) 58%, rgba(20,18,15,.78) 100%),
  linear-gradient(0deg, rgba(20,18,15,.35) 0%, rgba(20,18,15,0) 35%); }
.hero-content { position: relative; padding-bottom: clamp(56px, 9vh, 110px); display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.hero-title { font: 300 clamp(2.3rem, 4.4vw, 4.4rem)/1.02 var(--f-display); text-shadow: 0 2px 24px rgba(0,0,0,.35); margin: 0; letter-spacing: -.015em; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title em { font-style: italic; }
.hero-script { font-size: clamp(1.8rem, 3vw, 2.8rem); margin: .2em 0 .7em; text-shadow: 0 2px 18px rgba(0,0,0,.4); color: #fff; opacity: .95; }
.hero-actions { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.photo-credit { position: absolute; left: var(--gutter); bottom: 18px; margin: 0; font-size: .7rem; opacity: .7; letter-spacing: .03em; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 1px; height: 54px; background: rgba(255,255,255,.3); overflow: hidden; }
.scroll-cue span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* hero intro animation */
.hero .kicker, .hero-title .line, .hero-script, .hero-actions { opacity: 0; transform: translateY(26px); animation: rise 1.2s var(--ease) forwards; }
.hero .kicker { animation-delay: .2s; }
.hero-title .line:nth-child(1) { animation-delay: .35s; }
.hero-title .line:nth-child(2) { animation-delay: .5s; }
.hero-title .line:nth-child(3) { animation-delay: .65s; }
.hero-script { animation-delay: 1s; }
.hero-actions { animation-delay: 1.2s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Numbers ---------- */
.numbers { border-bottom: 1px solid var(--line); background: var(--paper); }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 44px 24px 40px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-n { display: block; font: 300 clamp(2.4rem, 4vw, 3.6rem)/1 var(--f-display); color: var(--ink); white-space: nowrap; }
.stat-n small { font-size: .45em; margin-left: .15em; }
.stat-l { display: block; margin-top: 10px; font-size: .88rem; color: var(--muted); line-height: 1.45; max-width: 24ch; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 12vw, 160px) 0; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.split-media { margin: 0; position: sticky; top: 110px; }
.split-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: 50% 30%; }
figcaption { font-size: .8rem; color: var(--muted); font-style: italic; margin-top: 10px; line-height: 1.5; }
.empresa .lead { margin-bottom: 2rem; }

.pull { margin: clamp(60px, 8vw, 110px) auto; max-width: 900px; text-align: center; position: relative; }
.pull::before { content: "“"; display: block; font: 300 7rem/.6 var(--f-display); color: var(--wine); margin-bottom: 10px; }
.pull p { font: 300 italic clamp(1.5rem, 2.8vw, 2.25rem)/1.35 var(--f-display); margin: 0; }
.pull p::first-letter { }
.pull cite { display: block; margin-top: 24px; font: 600 .75rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; font-style: normal; color: var(--muted); }

.founders { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--ink); }
.founders > div { padding: 22px 18px 0 0; }
.founders .role { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1.4; min-height: 3em; }
.founders strong { display: block; font: 400 1.35rem/1.2 var(--f-display); margin-top: 6px; }

/* ---------- Bleed ---------- */
.bleed { position: relative; height: clamp(520px, 92vh, 900px); overflow: hidden; color: #fff; display: flex; align-items: center; }
.bleed-media { position: absolute; inset: -12% 0; }
.bleed-media img { width: 100%; height: 100%; object-fit: cover; }
.bleed-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,18,15,.55), rgba(20,18,15,.05) 60%); }
.bleed-closing .bleed-scrim { background: linear-gradient(270deg, rgba(20,18,15,.6), rgba(20,18,15,.05) 60%); }
.bleed-content { position: relative; }
.bleed-content.right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.bleed-script { font-size: clamp(3rem, 7.5vw, 6.5rem); line-height: 1; margin: 0 0 .25em; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.bleed-text { max-width: 30ch; font-size: clamp(1.05rem, 1.6vw, 1.3rem); margin: 0; }

/* ---------- Conceito ---------- */
.concept-head { display: flex; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.concept-head .display { margin-bottom: .2em; font-size: clamp(3.4rem, 9vw, 8rem); line-height: .9; }
.concept-sub { font: 300 clamp(1.4rem, 2.6vw, 2.2rem)/1.15 var(--f-display); color: var(--ochre); margin: 0 0 .6em; }
.concept-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 72px); margin-top: 40px; align-items: start; }
.concept-img { margin: 0; }
.concept-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 30% 50%; }

.conceito .subhead { margin-top: clamp(70px, 9vw, 120px); }
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.pillar { padding: 26px 22px 10px 0; border-right: 1px solid var(--line); padding-left: 22px; }
.pillar:first-child { padding-left: 0; }
.pillar:last-child { border-right: 0; }
.pillar-n { font: 400 italic 1rem/1 var(--f-display); color: var(--wine); }
.pillar h4 { font: 400 1.35rem/1.2 var(--f-display); margin: 14px 0 10px; }
.pillar p { font-size: .92rem; line-height: 1.6; color: var(--ink-2); margin: 0; }

/* ---------- Projetos ---------- */
.projetos { background: #fff; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head .display { margin-bottom: 0; }

.project-feature { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.project-media { position: relative; overflow: hidden; }
.project-media img { width: 100%; aspect-ratio: 16/10.5; object-fit: cover; transition: transform 1.6s var(--ease); }
.project-feature:hover .project-media img { transform: scale(1.03); }
.project-tag { position: absolute; right: 0; bottom: 0; padding: 18px 22px; text-align: right; color: #fff; background: linear-gradient(0deg, rgba(0,0,0,.45), transparent); left: 0; }
.project-tag span { display: block; font: 300 italic clamp(1.6rem, 2.6vw, 2.2rem)/1 var(--f-display); }
.project-tag small { font-size: .78rem; font-style: italic; opacity: .9; }
.project-logo { width: 240px; margin-bottom: 24px; }
.project-body p { color: var(--ink-2); margin: 0 0 1em; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.facts li { padding: 16px 12px 14px 0; border-bottom: 1px solid var(--line); }
.facts strong { display: block; font: 400 1.7rem/1 var(--f-display); color: var(--wine); }
.facts span { font-size: .8rem; color: var(--muted); }

.club { margin: clamp(70px, 9vw, 120px) 0; }
.club-head { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; margin-bottom: 32px; }
.club-script { font-size: clamp(3rem, 6vw, 5rem); color: var(--wine); margin: 0; line-height: 1; }
.club-head p { color: var(--ink-2); margin: 0; max-width: 70ch; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 17vw, 230px); gap: 10px; }
.g-item { position: relative; padding: 0; border: 0; overflow: hidden; background: var(--paper-2); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.g-item span { position: absolute; left: 14px; bottom: 12px; color: #fff; font: 400 italic 1.15rem/1 var(--f-display); text-shadow: 0 1px 12px rgba(0,0,0,.5); opacity: 0; transform: translateY(8px); transition: .5s var(--ease); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.4), transparent 50%); opacity: 0; transition: opacity .5s; }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.06); }
.g-item:hover span, .g-item:focus-visible span { opacity: 1; transform: none; z-index: 1; }
.g-item:hover::after, .g-item:focus-visible::after { opacity: 1; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.project-card { background: var(--paper); display: flex; flex-direction: column; }
.card-media { overflow: hidden; }
.card-media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform 1.4s var(--ease); }
.project-card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 26px 26px 30px; }
.card-loc { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; line-height: 1.5; }
.card-body h3 { font: 400 1.75rem/1.12 var(--f-display); margin: 0 0 14px; }
.card-body p { font-size: .94rem; color: var(--ink-2); margin: 0 0 16px; }
.mini-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mini-facts li { font-size: .72rem; letter-spacing: .06em; border: 1px solid var(--line); padding: 5px 10px; color: var(--ink-2); }


/* ---------- Socioambiental ---------- */
.socio { padding-top: 0; background: var(--sage); }
.socio-hero { position: relative; height: clamp(320px, 56vh, 620px); overflow: hidden; margin-bottom: clamp(60px, 8vw, 110px); }
.socio-hero img { width: 100%; height: 120%; object-fit: cover; }
.socio-cap { position: absolute; left: var(--gutter); bottom: 14px; font-size: .78rem; color: #fff; background: rgba(20,18,15,.45); padding: 6px 12px; }
.socio-lead { max-width: 62ch; color: var(--ink); }
.socio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); margin-top: clamp(50px, 6vw, 80px); }
.socio-fig { margin: 0 0 24px; }
.socio-fig img { width: 100%; aspect-ratio: 16/9.5; object-fit: cover; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 16px 0 16px 28px; border-top: 1px solid rgba(35,33,29,.15); font-size: .96rem; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 26px; width: 12px; height: 1px; background: var(--wine); }
.ticks strong { color: var(--ink); font-weight: 600; }
.socio-band { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(60px, 8vw, 100px); border-top: 1px solid var(--ink); }
.socio-band > div { padding: 26px 20px 0 0; }
.band-n { display: block; font: 300 clamp(2.2rem, 4vw, 3.4rem)/1 var(--f-display); color: var(--ink); margin-bottom: 8px; }
.socio-band span:not(.band-n) { font-size: .88rem; color: var(--ink-2); }

/* ---------- História ---------- */
.historia { background: var(--paper); }
.hist-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.hist-sub { font: 300 clamp(1.25rem, 2vw, 1.6rem)/1.4 var(--f-display); color: var(--ink-2); margin: 0 0 1em; text-align: center; }
.hist-photos { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr; gap: 14px; margin: 50px 0 clamp(60px, 8vw, 100px); }
.hist-photos figure { margin: 0; }
.hist-photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.sepia img { filter: sepia(.25) contrast(1.02); }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.timeline li { padding: 24px 22px 32px 0; position: relative; }
.timeline li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 1px solid var(--ink); }
.timeline li:nth-child(5)::before { background: var(--wine); border-color: var(--wine); }
.t-year { display: block; font: 400 1.7rem/1 var(--f-display); margin-bottom: 10px; }
.timeline li:nth-child(5) .t-year { color: var(--wine); }
.timeline p { margin: 0; font-size: .9rem; color: var(--ink-2); line-height: 1.55; }
.timeline li:nth-child(n+6) { border-top: 1px solid var(--line); }

/* ---------- Contato ---------- */
.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); }
address { font-style: normal; margin-bottom: 26px; color: var(--ink-2); }
address strong { color: var(--ink); font-weight: 600; }
.contact-list { list-style: none; padding: 0; margin: 0 0 40px; }
.contact-list li { padding: 12px 0; border-top: 1px solid var(--line); }
.contact-list span { display: inline-block; width: 110px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-list a:hover { border-color: var(--wine); color: var(--wine); }
.contact-form { display: grid; gap: 18px; }
.field label { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--ink-2); background: transparent;
  font: 300 1.05rem/1.4 var(--f-body); color: var(--ink); padding: 8px 0; border-radius: 0; -webkit-appearance: none; appearance: none;
}
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2323211d'/%3E%3C/svg%3E") no-repeat right 4px center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--wine); }
.contact-form .btn { justify-self: start; margin-top: 8px; }
.form-note { font-size: .78rem; color: var(--muted); margin: 0; }
.map { min-height: 420px; position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05) sepia(.12); }

/* ---------- Footer ---------- */
.site-footer { background: var(--graphite); color: rgba(255,255,255,.75); padding: 80px 0 40px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: center; }
.footer-logo { width: 170px; }
.footer-script { font-size: 2.4rem; color: #fff; margin: 0; justify-self: end; }
.footer-nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 26px; padding: 30px 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); margin-top: 20px; }
.footer-nav a { text-decoration: none; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
.footer-nav a:hover { color: #fff; }
.fine { grid-column: 1 / -1; font-size: .78rem; line-height: 1.7; margin: 10px 0 0; color: rgba(255,255,255,.5); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20,18,15,.94); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; text-align: center; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; }
.lightbox figcaption { color: rgba(255,255,255,.8); font: 300 italic 1.2rem/1.4 var(--f-display); margin-top: 16px; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font: 300 2.8rem/1 var(--f-display); width: 56px; height: 56px; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero .kicker, .hero-title .line, .hero-script, .hero-actions { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0; padding-bottom: 22px; }
  .pillar:nth-child(odd) { padding-right: 28px; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline li { border-top: 1px solid var(--line); }
  .founders { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .project-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .split, .concept-body, .project-feature, .section-head, .socio-grid, .contato-grid, .hist-head { grid-template-columns: 1fr; }
  .split-media { position: static; }
  .columns { column-count: 1; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .club-head { grid-template-columns: 1fr; gap: 12px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .g-wide { grid-column: span 2; }
  .hist-sub { text-align: left; }
  .hist-photos { grid-template-columns: 1fr 1fr; }
  .hist-photos figure:last-child { grid-column: span 2; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-script { justify-self: start; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero-content { align-items: flex-start; text-align: left; }
  .hero-actions { justify-content: flex-start; }
  .hero-scrim { background: linear-gradient(0deg, rgba(20,18,15,.75) 0%, rgba(20,18,15,.15) 60%, rgba(20,18,15,.4) 100%); }
  .hero-media img { object-position: 30% 50%; }
  .photo-credit { display: none; }
  .project-grid, .pillars, .timeline, .socio-band { grid-template-columns: 1fr; }
  .pillar:nth-child(odd) { padding-right: 0; }
  .founders { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 12px 26px 0; }
  .stat:nth-child(even) { padding-left: 16px; }
  .gallery { grid-auto-rows: 150px; }
  .bleed-content.right { align-items: flex-start; text-align: left; }
  .bleed-scrim, .bleed-closing .bleed-scrim { background: linear-gradient(0deg, rgba(20,18,15,.7), rgba(20,18,15,.1) 70%); }
  .bleed { align-items: flex-end; padding-bottom: 60px; }
  .lightbox { padding: 60px 10px; }
  .contact-list span { display: block; width: auto; margin-bottom: 4px; }
  .map { min-height: 320px; }
}

/* explicit stacking for image + scrim + content layers */
.hero-media, .bleed-media { z-index: 0; }
.hero-scrim, .bleed-scrim { z-index: 1; }
.hero-content, .bleed-content, .photo-credit, .scroll-cue { z-index: 2; }
.site-header { z-index: 50; }
.gallery { grid-auto-flow: dense; }
.hist-photos img { aspect-ratio: auto; height: clamp(200px, 25vw, 330px); }
@media (max-width: 900px) { .hist-photos img { height: clamp(160px, 40vw, 300px); } }
/* team photo: show full group, never crop the sides */
.split-media img { aspect-ratio: 870 / 509; object-fit: contain; object-position: center; }
@media (max-width: 600px) {
  .bleed-scrim, .bleed-closing .bleed-scrim { background: linear-gradient(0deg, rgba(20,18,15,.78) 0%, rgba(20,18,15,.45) 55%, rgba(20,18,15,.2) 100%); }
}

/* ---------- Full-colour EPC logo ---------- */
.brand, .logo { width: 140px; }
.site-header:not(.scrolled):not(.menu-open) .logo { filter: drop-shadow(0 1px 8px rgba(0,0,0,.35)); }
.footer-logo { width: 170px; background: #fff; padding: 14px 18px; box-sizing: content-box; }

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  background: #1f8f4e; color: #fff; text-decoration: none;
  padding: 12px 18px 12px 14px; border-radius: 999px;
  font: 600 .78rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 8px 28px rgba(20,18,15,.28);
  transition: transform .4s var(--ease), background .3s;
}
.wa-float:hover { transform: translateY(-2px); background: #187a42; }
@media (max-width: 600px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

/* ---------- Form states ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.opt { text-transform: none; letter-spacing: 0; }
.form-note a { color: var(--wine); }
.contact-form button[disabled] { opacity: .6; cursor: wait; }
.contact-form.sent .form-note strong { color: #1f6b3f; }

/* ---------- Dark navigation bar (green logo sits on graphite) ---------- */
.site-header { background: rgba(35,33,29,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 16px 0; }
.site-header.scrolled { background: rgba(47,46,41,.97); box-shadow: 0 1px 0 rgba(255,255,255,.06); padding: 12px 0; }
.site-header.scrolled .nav a { color: rgba(255,255,255,.88); }
.site-header.scrolled .nav a:hover, .site-header.scrolled .nav a.active { color: #fff; }
.site-header.scrolled .nav .nav-cta { border-color: rgba(255,255,255,.6); }
.site-header.scrolled .menu-btn span, .menu-open .menu-btn span { background: #fff; }
.site-header:not(.scrolled):not(.menu-open) .logo { filter: none; }
.menu-open { background: var(--graphite); }
.drawer { background: var(--graphite); }
.drawer a { color: #fff; }
.drawer-sign { color: #d9b77a; }

/* closing quote sits low, clear of faces */
.bleed-closing { align-items: flex-end; padding-bottom: clamp(48px, 8vh, 90px); }
.bleed-closing .bleed-script { font-size: clamp(2.4rem, 4.6vw, 4.2rem); }
.bleed-closing .bleed-scrim { background: linear-gradient(0deg, rgba(20,18,15,.7) 0%, rgba(20,18,15,.15) 45%, rgba(20,18,15,0) 70%); }
.footer-logo { background: none; padding: 0; }

/* "Respire e inspire-se": text sits in the sky, above the couple */
.bleed:not(.bleed-closing) { align-items: flex-start; padding-top: clamp(90px, 12vh, 140px); padding-bottom: 0; }
.bleed:not(.bleed-closing) .bleed-scrim { background: linear-gradient(180deg, rgba(20,18,15,.6) 0%, rgba(20,18,15,.25) 35%, rgba(20,18,15,0) 60%); }
.bleed:not(.bleed-closing) .bleed-media img { object-position: 50% 70%; }
.bleed:not(.bleed-closing) .bleed-content { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.bleed:not(.bleed-closing) .bleed-script { font-size: clamp(2.6rem, 5.4vw, 5rem); }
.bleed:not(.bleed-closing) .bleed-scrim { background: linear-gradient(270deg, rgba(20,18,15,.55) 0%, rgba(20,18,15,.2) 40%, rgba(20,18,15,0) 60%), linear-gradient(180deg, rgba(20,18,15,.35) 0%, rgba(20,18,15,0) 40%); }
@media (max-width: 600px) {
  .bleed:not(.bleed-closing) { padding-top: 84px; }
  .bleed:not(.bleed-closing) .bleed-media img { object-position: 22% 70%; }
}

/* ======================================================================
   Mobile: wide photos shown (almost) whole, text on a graphite band below
   ====================================================================== */
@media (max-width: 700px) {
  /* hero */
  .hero { height: auto; min-height: 0; display: block; background: var(--graphite); padding-top: 64px; }
  .hero-media { position: relative; inset: auto; aspect-ratio: 4 / 3; overflow: hidden; transform: none !important; }
  .hero-media img { object-position: 30% 60%; animation-duration: 14s; }
  .hero-scrim, .photo-credit, .scroll-cue { display: none; }
  .hero-content { align-items: flex-start; text-align: left; padding-top: 30px; padding-bottom: 46px; }
  .hero-title { font-size: clamp(2.2rem, 10vw, 3rem); text-shadow: none; }
  .hero-script { font-size: 2rem; text-shadow: none; }
  .hero-actions { justify-content: flex-start; gap: 22px; }

  /* full-bleed quote sections */
  .bleed:not(.zz), .bleed.bleed-closing { height: auto; display: block; padding: 0; background: var(--graphite); align-items: initial; }
  .bleed-media { position: relative; inset: auto; aspect-ratio: 4 / 3; overflow: hidden; transform: none !important; }
  .bleed:not(.zz) .bleed-scrim, .bleed.bleed-closing .bleed-scrim { display: none; }
  .bleed:not(.zz) .bleed-content, .bleed.bleed-closing .bleed-content { align-items: flex-start; text-align: left; padding-top: 28px; padding-bottom: 48px; }
  .bleed:not(.zz) .bleed-script, .bleed.bleed-closing .bleed-script { font-size: clamp(2.4rem, 11vw, 3.2rem); text-shadow: none; }
  .bleed-text { max-width: none; color: rgba(255,255,255,.85); }

  /* per-photo framing */
  .bleed:not(.bleed-closing) .bleed-media img { object-position: 20% 65%; }   /* avenida-casal: couple + car */
  .bleed.bleed-closing .bleed-media img { object-position: 62% 55%; }        /* familia-lago: whole family */

  /* socioambiental header photo */
  .socio-hero { height: auto; aspect-ratio: 4 / 3; }
  .socio-hero img { height: 100%; transform: none !important; }
  .socio-cap { position: static; display: block; background: none; color: var(--ink-2); padding: 10px var(--gutter) 0; }
  .socio-hero { overflow: visible; margin-bottom: 70px; }
}

/* section labels: thin rule instead of the magazine's <brackets> */
.kicker { display: inline-flex; align-items: center; gap: 12px; text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; font-weight: 600; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.hero-content .kicker { align-self: flex-end; }
@media (max-width: 700px) { .hero-content .kicker { align-self: flex-start; } }

/* ---------- Arquitetura ---------- */
.arquitetura { background: var(--paper); }
.arq-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.arq-hero { margin: 0; position: sticky; top: 100px; }
.arq-hero img { width: 100%; aspect-ratio: 534 / 800; object-fit: cover; }
.arq-text .display em { font-style: italic; }
.arq-text .lead { max-width: 54ch; color: var(--ink); }
.houses { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid var(--ink); }
.houses li { padding: 22px 0 20px; border-bottom: 1px solid var(--line); }
.houses h3 { font: 400 1.6rem/1.15 var(--f-display); margin: 0 0 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.houses h3 span { font: 600 .68rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--wine); }
.houses p { margin: 0; font-size: .95rem; color: var(--ink-2); }
.arq-quote { margin-top: clamp(70px, 9vw, 120px); margin-bottom: clamp(50px, 6vw, 80px); }
.arq-strip { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 12px; }
.arq-strip figure { margin: 0; overflow: hidden; }
.arq-strip img { width: 100%; height: clamp(200px, 24vw, 320px); object-fit: cover; transition: transform 1.4s var(--ease); }
.arq-strip figure:hover img { transform: scale(1.04); }
.arq-note { text-align: center; color: var(--muted); font-style: italic; font-family: var(--f-display); font-size: 1.15rem; margin: 28px auto 0; max-width: 60ch; }
@media (max-width: 900px) {
  .arq-grid { grid-template-columns: 1fr; }
  .arq-hero { position: static; max-width: 520px; }
  .arq-strip { grid-template-columns: 1fr 1fr; }
  .arq-strip figure:first-child { grid-column: span 2; }
}

/* house highlights with photos */
.house { display: grid; grid-template-columns: 190px 1fr; gap: 22px; align-items: start; }
.house-img { position: relative; padding: 0; border: 0; overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 3; }
.house-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.house-img:hover img, .house-img:focus-visible img { transform: scale(1.06); }
.house-img::after { content: "+"; position: absolute; right: 8px; bottom: 6px; color: #fff; font: 300 1.4rem/1 var(--f-display); text-shadow: 0 1px 8px rgba(0,0,0,.5); opacity: .85; }
.house-img span { display: none; }
.house h3 { margin-top: 2px; }
.arq-strip .g-item { position: relative; padding: 0; border: 0; overflow: hidden; background: var(--paper-2); }
.arq-strip .g-item img { width: 100%; height: clamp(200px, 24vw, 320px); object-fit: cover; }
@media (max-width: 600px) {
  .house { grid-template-columns: 1fr; gap: 14px; }
  .house-img { aspect-ratio: 16 / 10; }
}
.house-img::after { background: none; inset: auto; right: 8px; bottom: 6px; }

/* ---------- Rounded photos (framed images only; full-bleed stays square) ---------- */
:root { --radius: 14px; --radius-sm: 10px; }
.split-media img, .concept-img img, .project-media, .socio-fig img, .hist-photos img,
.arq-hero img, .map, .lightbox img { border-radius: var(--radius); }
.g-item, .arq-strip .g-item, .house-img { border-radius: var(--radius-sm); }
.project-card { border-radius: var(--radius); overflow: hidden; }
.map { overflow: hidden; }
.map iframe { border-radius: var(--radius); }
@media (max-width: 700px) { .socio-hero img { border-radius: 0; } }

/* Cinturão verde: taller frame, weighted to the forest belt + golf course */
.socio-hero { height: auto; aspect-ratio: 16 / 7.5; max-height: 86vh; }
.socio-hero img { height: 100%; object-position: 55% 85%; transform: none !important; }
@media (max-width: 700px) {
  .socio-hero { aspect-ratio: 16 / 11; max-height: none; }
  .socio-hero img { object-position: 62% 80%; }
}
.socio-hero { width: 100%; aspect-ratio: auto; max-height: none; height: clamp(380px, 46vw, 700px); }
@media (max-width: 700px) { .socio-hero { height: auto; aspect-ratio: 16 / 11; } }

/* Cinturão verde as framed evidence under the section intro */
.socio { padding-top: clamp(80px, 12vw, 160px); }
.socio-banner { margin: clamp(40px, 5vw, 64px) 0 0; }
.socio-banner img { width: 100%; height: clamp(300px, 40vw, 560px); object-fit: cover; object-position: 55% 85%; border-radius: var(--radius); }
.socio-banner figcaption { margin-top: 12px; }
@media (max-width: 700px) { .socio-banner img { height: auto; aspect-ratio: 16 / 11; object-position: 62% 80%; } }

/* Socioambiental: two stacked blocks (ambientais → sociais) */
.socio-block { margin-top: clamp(56px, 7vw, 96px); }
.socio-block .subhead { margin-bottom: 18px; }
.socio-block .socio-banner { margin-top: 0; }
.socio-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 28px); }
.socio-pair .socio-fig { margin: 0; }
.ticks-2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 4vw, 56px); margin-top: 28px; }
@media (max-width: 700px) {
  .socio-pair, .ticks-2 { grid-template-columns: 1fr; }
  .socio-pair { gap: 22px; }
}

/* ======================================================================
   Lançamento — Centro Empresarial Fernando Nobre
   Page: compact navy card. Pop-up (#fernando-nobre): full detail.
   Site typography; the launch's own navy + orange from its campaign.
   ====================================================================== */
:root { --fn-navy: #1d3c5c; --fn-navy-2: #16304b; --fn-orange: #e8662c; }
.launch-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fn-orange); animation: fnpulse 2.4s infinite; flex: none; }
@keyframes fnpulse { 0% { box-shadow: 0 0 0 0 rgba(232,102,44,.55); } 70% { box-shadow: 0 0 0 10px rgba(232,102,44,0); } 100% { box-shadow: 0 0 0 0 rgba(232,102,44,0); } }

/* section: paper ground, navy card */
.launch { background: var(--paper-2); padding: clamp(56px, 8vw, 110px) 0; }
.fn-card { max-width: 1040px; margin: 0 auto; border-radius: 20px; overflow: hidden; background: var(--fn-navy); color: #fff; box-shadow: 0 30px 80px rgba(29,60,92,.22), 0 2px 0 rgba(0,0,0,.02); }

/* shared card anatomy (page + pop-up) */
.fn-media { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--fn-navy-2); overflow: hidden; }
button.fn-media { cursor: pointer; }
.fn-media > img:first-child { width: 100%; aspect-ratio: 16 / 5.6; object-fit: cover; object-position: 50% 74%; display: block; transition: transform 1.6s var(--ease); }
button.fn-media:hover > img:first-child { transform: scale(1.03); }
.fn-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(29,60,92,0) 45%, var(--fn-navy) 100%), linear-gradient(90deg, rgba(15,39,64,.55) 0%, rgba(15,39,64,0) 45%); }
.fn-logo { position: absolute; left: clamp(20px, 4vw, 44px); top: clamp(18px, 3vw, 30px); z-index: 2; width: clamp(130px, 17vw, 175px); height: auto; filter: drop-shadow(0 2px 12px rgba(0,0,0,.45)); }
.fn-body { padding: 4px clamp(20px, 4vw, 44px) clamp(24px, 3.5vw, 36px); margin-top: -28px; position: relative; z-index: 1; }
.fn-k { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 8px; font: 600 .7rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.fn-title { font: 300 clamp(2rem, 4.4vw, 3rem)/1.05 var(--f-display); margin: 0 0 10px; color: #fff; }
.fn-title em { font-style: italic; }
.fn-lead { margin: 0; color: rgba(255,255,255,.82); font-size: 1rem; max-width: 62ch; }
.fn-lead strong { color: #fff; font-weight: 600; }
.fn-facts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, 1fr) 1.25fr; gap: 10px; }
.fn-facts li { border-top: 1px solid rgba(255,255,255,.3); padding-top: 12px; }
.fn-facts strong { display: block; font: 300 clamp(1.6rem, 2.8vw, 2.1rem)/1 var(--f-display); white-space: nowrap; }
.fn-facts span { display: block; font-size: .78rem; color: rgba(255,255,255,.68); margin-top: 6px; }
.fn-facts .fn-pay { background: var(--fn-orange); border: 0; border-radius: 12px; padding: 12px 16px; display: flex; flex-direction: column; justify-content: center; }
.fn-pay span { margin: 0 0 4px; color: rgba(255,255,255,.92); font-weight: 600; }
.fn-pay strong { font-weight: 500; }
.fn-infra { margin: 20px 0 2px; font-size: .9rem; color: rgba(255,255,255,.88); }
.fn-addr { margin: 0; font-size: .85rem; color: rgba(255,255,255,.6); }
.fn-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 22px; }
.fn-more { background: none; border: 0; padding: 0 0 2px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.5); font-size: .92rem; }
.fn-more:hover { border-color: var(--fn-orange); }
.fn-share-btn { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; color: rgba(255,255,255,.85); padding: 9px 16px; font: 600 .68rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; transition: background .3s, color .3s; }
.fn-share-btn:hover { background: #fff; color: var(--fn-navy); }
.fn-or { font-size: .88rem; color: rgba(255,255,255,.6); font-style: italic; }
.fn-legal { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); font-size: .66rem; line-height: 1.55; color: rgba(255,255,255,.42); }

/* WhatsApp CTA: ivory pill on navy, green kept only in the icon disc */
.btn-wa { border-radius: 999px; background: #f6f2ea; border-color: #f6f2ea; color: var(--fn-navy); padding: .55em 1.5em .55em .55em; gap: .8em; letter-spacing: .14em; }
.btn-wa svg { width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: #25a35a; color: #fff; flex: none; box-sizing: border-box; }
.btn-wa:hover { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }

/* ---------- Pop-up: the complete version ---------- */
.fn-dialog { position: fixed; inset: 0; margin: auto; height: fit-content; border: 0; padding: 0; width: min(1040px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); border-radius: 20px; background: var(--fn-navy); color: #fff; box-shadow: 0 40px 100px rgba(0,0,0,.45); overflow: hidden; }
.fn-dialog::backdrop { background: rgba(20,18,15,.62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.fn-dialog[open] { animation: fnIn .3s var(--ease); }
@keyframes fnIn { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
.fn-dlg-in { position: relative; overflow: auto; max-height: calc(100dvh - 40px); overscroll-behavior: contain; }
.fn-x { position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(15,39,64,.75); color: #fff; font: 300 1.6rem/1 var(--f-body); display: grid; place-items: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.fn-x:hover { background: rgba(15,39,64,1); }
.fn-dlg-media > img:first-child { aspect-ratio: 16 / 7; object-position: 50% 78%; }
.fn-zoom { position: absolute; right: 16px; bottom: 44px; z-index: 2; background: rgba(15,39,64,.72); color: #fff; text-decoration: none; padding: 8px 14px; border-radius: 999px; font: 600 .66rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; }
.fn-zoom:hover { background: rgba(15,39,64,1); }
.fn-dlg-head { display: grid; grid-template-columns: 1.25fr .85fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.fn-dialog .fn-facts { margin-top: clamp(22px, 3vw, 34px); }
.fn-dlg-foot { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); margin-top: clamp(26px, 3.5vw, 40px); align-items: start; }
.fn-h3 { font: 400 italic 1.45rem/1.2 var(--f-display); margin: 0 0 12px; }
.launch-infra { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.launch-infra li { border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 7px 14px; font-size: .84rem; color: rgba(255,255,255,.9); }
.launch-addr { margin: 0; font-style: normal; color: rgba(255,255,255,.85); font-size: .95rem; line-height: 1.7; }
.launch-addr-k { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 4px; }
.muted-light { color: rgba(255,255,255,.6); }
.launch-addr a { display: inline-block; margin-top: 8px; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.5); font-weight: 600; }
.launch-addr a:hover { border-color: var(--fn-orange); color: #ffd2bd; }

/* schematic location map (in the pop-up) */
.launch-map { margin: 0; justify-self: end; width: 100%; max-width: 380px; }
.launch-map svg { width: 100%; height: auto; display: block; overflow: visible; }
.m-road path { fill: none; stroke: rgba(173,203,232,.55); stroke-width: 3; stroke-linecap: round; }
.m-dash { fill: none; stroke: rgba(255,255,255,.7); stroke-width: 1.5; stroke-dasharray: 4 5; }
.m-route { fill: none; stroke: var(--fn-orange); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 140; stroke-dashoffset: 140; }
.fn-dialog[open] .m-route { animation: fnroute 1.6s var(--ease) .4s forwards; }
@keyframes fnroute { to { stroke-dashoffset: 0; } }
.m-km { fill: #fff; stroke: var(--fn-orange); stroke-width: 2.5; }
.m-pin { fill: var(--fn-orange); stroke: #fff; stroke-width: 5; }
.m-pin-halo { fill: rgba(232,102,44,.18); transform-origin: 236px 150px; animation: fnhalo 2.6s var(--ease) infinite; }
@keyframes fnhalo { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
.m-label rect { fill: #0f2740; }
.m-label text { fill: #fff; font: 600 12.5px var(--f-body); text-anchor: middle; letter-spacing: .02em; }
.m-label-sm text { font-size: 11.5px; }
.m-dist { fill: #fff; font: 400 23px var(--f-display); font-style: italic; }

/* share row (pop-up) */
.fn-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); }
.fn-share-h { font: 600 .7rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.fn-share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.fn-share-row a, .fn-share-row button { position: relative; display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.fn-share-row a:hover, .fn-share-row button:hover, .fn-share-row a:focus-visible, .fn-share-row button:focus-visible { background: #fff; color: var(--fn-navy); border-color: #fff; transform: translateY(-1px); }
.fn-share-row svg { width: 15px; height: 15px; fill: currentColor; }
.fn-share-row [hidden] { display: none; }
.fn-share-row .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fn-msg { font-size: .82rem; color: #9fe0b5; }
.fn-dialog .fn-legal { margin-top: 18px; border-top: 0; padding-top: 0; }

@media (max-width: 820px) {
  .fn-dlg-head, .fn-dlg-foot { grid-template-columns: 1fr; }
  .launch-map { justify-self: start; max-width: 340px; }
}
@media (max-width: 640px) {
  .launch { padding: 40px 0; }
  .fn-card { border-radius: 16px; }
  .fn-media > img:first-child, .fn-dlg-media > img:first-child { aspect-ratio: 4 / 3; object-position: 40% 70%; }
  .fn-facts { grid-template-columns: 1fr 1fr; }
  .fn-facts .fn-pay { grid-column: 1 / -1; }
  .fn-actions .btn { width: 100%; justify-content: center; }
  .fn-share-btn { margin-left: 0; }
  .fn-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); border-radius: 16px; }
  .fn-dlg-in { max-height: calc(100dvh - 20px); }
  .fn-zoom { display: none; }
}
@media (prefers-reduced-motion: reduce) { .fn-dialog[open] { animation: none; } .m-route { stroke-dashoffset: 0; } .hero-launch { opacity: 1; transform: none; } }

/* hero pill + nav entry */
.hero-launch { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 9px 16px 9px 14px; border-radius: 999px; background: rgba(29,60,92,.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.22); color: #fff; text-decoration: none; font-size: .86rem; line-height: 1.3; opacity: 0; transform: translateY(26px); animation: rise 1.2s var(--ease) .1s forwards; transition: background .3s; }
.hero-launch b { font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .7rem; margin-right: 6px; color: #ffb894; }
.hero-launch:hover { background: rgba(29,60,92,1); }
.nav .nav-launch, .site-header.scrolled .nav .nav-launch, .drawer .drawer-launch { color: #ffb894; }
.drawer-launch small { font: 400 .9rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-left: 8px; }
.nav a { white-space: nowrap; }
.nav { gap: clamp(14px, 1.7vw, 30px); }
@media (max-width: 1180px) { .nav { display: none; } .menu-btn { display: block; } }
@media (max-width: 700px) { .hero-launch { align-self: flex-start; font-size: .8rem; } }

/* ---------- Top launch band (collapses once the page scrolls) ---------- */
.site-header { padding-top: 0; }
.site-header .header-inner { padding-top: 16px; }
.site-header.scrolled .header-inner { padding-top: 0; }
.topbar { position: relative; display: block; overflow: hidden; max-height: 40px; color: #fff; text-decoration: none; margin-bottom: 0;
  background: linear-gradient(90deg, var(--fn-navy-2), var(--fn-navy) 50%, var(--fn-navy-2));
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: max-height .5s var(--ease), opacity .4s var(--ease); }
.site-header.scrolled .topbar, .site-header.menu-open .topbar { max-height: 0; opacity: 0; border-bottom-color: transparent; }
/* slow light sweep */
.topbar::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.09) 50%, rgba(255,255,255,0) 100%);
  animation: tbSheen 9s var(--ease) 1.6s infinite; }
@keyframes tbSheen { 0% { transform: translateX(0); } 35%, 100% { transform: translateX(350%); } }
.tb-in { display: flex; align-items: center; justify-content: center; gap: 12px; height: 40px; padding: 0 var(--gutter);
  font: 400 .8rem/1 var(--f-body); letter-spacing: .04em; animation: tbIn 1s var(--ease) .2s both; }
@keyframes tbIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.tb-k { font-weight: 600; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: #ffb894; }
/* rotating message: the three lines share one grid cell, so the slot sizes to the longest */
.tb-rot { display: grid; overflow: hidden; height: 1.3em; line-height: 1.3em; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.22); }
.tb-rot span { grid-area: 1 / 1; white-space: nowrap; opacity: 0; transform: translateY(100%); animation: tbRot 12s var(--ease) infinite; }
.tb-rot span:nth-child(2) { animation-delay: 4s; }
.tb-rot span:nth-child(3) { animation-delay: 8s; }
@keyframes tbRot { 0% { opacity: 0; transform: translateY(100%); } 5%, 28% { opacity: 1; transform: none; } 33%, 100% { opacity: 0; transform: translateY(-100%); } }
.tb-cta { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; font-weight: 600; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.tb-cta-t { border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 2px; transition: border-color .3s; }
.tb-cta i { font-style: normal; font-size: .95rem; letter-spacing: 0; transition: transform .4s var(--ease); }
.topbar:hover .tb-cta i { transform: translateX(4px); }
.topbar:hover .tb-cta-t { border-color: var(--fn-orange); }
.drawer { padding-top: 110px; }
@media (max-width: 700px) {
  .hero { padding-top: 104px; }
  .tb-in { gap: 9px; font-size: .74rem; justify-content: flex-start; }
  .tb-cta-t { display: none; }
  .tb-cta { margin-left: auto; }
  .tb-rot { min-width: 0; flex: 1 1 auto; }
  .tb-rot span { overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 380px) { .tb-k { display: none; } .tb-rot { border-left: 0; padding-left: 0; } }
@media (prefers-reduced-motion: reduce) {
  .tb-rot span:first-child { opacity: 1; transform: none; }
  .topbar::after { display: none; }
}
@media (max-width: 480px) {
  .tb-in { gap: 8px; font-size: .72rem; letter-spacing: .01em; }
  .tb-k { letter-spacing: .14em; }
  .tb-rot { padding-left: 9px; }
}

/* ---------- Top band stays fixed: slimmer once scrolled, hidden while the launch itself is on screen ---------- */
.site-header.scrolled .topbar { max-height: 34px; opacity: 1; border-bottom-color: rgba(255,255,255,.08); }
.site-header.scrolled .tb-in { height: 34px; }
.site-header.tb-hide .topbar, .site-header.menu-open .topbar { max-height: 0; opacity: 0; border-bottom-color: transparent; }

/* ---------- Fernando Nobre card + pop-up on phones ---------- */
@media (max-width: 640px) {
  .launch .wrap { padding: 0 12px; }
  .fn-media > img:first-child, .fn-dlg-media > img:first-child { aspect-ratio: 16 / 11; object-position: 46% 74%; }
  .fn-media::after { background:
      radial-gradient(120% 70% at 0% 0%, rgba(15,39,64,.78) 0%, rgba(15,39,64,0) 55%),
      linear-gradient(180deg, rgba(29,60,92,0) 50%, var(--fn-navy) 100%); }
  .fn-logo { width: 118px; left: 18px; top: 16px; }
  .fn-body { padding: 0 20px 24px; margin-top: -18px; }
  .fn-k { font-size: .6rem; letter-spacing: .16em; white-space: nowrap; }
  .fn-title { font-size: 2.1rem; }
  .fn-lead { font-size: .95rem; }
  .fn-facts { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
  .fn-facts strong { font-size: 1.45rem; }
  .fn-facts span { font-size: .7rem; line-height: 1.35; }
  .fn-facts .fn-pay { grid-column: 1 / -1; flex-direction: row; align-items: baseline; justify-content: space-between; gap: 10px; padding: 12px 16px; margin-top: 4px; }
  .fn-pay span { margin: 0; }
  .fn-pay strong { font-size: 1.6rem; }
  .fn-infra { font-size: .85rem; margin-top: 16px; }
  .fn-actions { gap: 14px 18px; margin-top: 18px; }
  .fn-actions .btn { width: 100%; justify-content: center; }
  .fn-dialog .fn-dlg-foot { gap: 22px; }
  .fn-x { top: 10px; right: 10px; width: 36px; height: 36px; }
}
@media (max-width: 640px) {
  .fn-facts .fn-pay { justify-content: flex-start; gap: 12px; }
  .fn-share-btn { margin-left: auto; padding: 0; width: 40px; height: 40px; justify-content: center; }
  .fn-share-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ======================================================================
   Landing page: /loteamento-empresarial-cotia (SEO page for the launch)
   ====================================================================== */
.lp .site-header { background: rgba(47,46,41,.97); }
.lp-hero { position: relative; background: var(--fn-navy); color: #fff; padding-top: 76px; overflow: hidden; }
.lp-hero-media { position: absolute; inset: 0; }
.lp-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }
.lp-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,48,75,.95) 0%, rgba(22,48,75,.82) 42%, rgba(22,48,75,.2) 75%), linear-gradient(0deg, rgba(22,48,75,.7), rgba(22,48,75,0) 40%); }
.lp-hero-in { position: relative; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(56px, 8vw, 110px); }
.lp-crumbs { font-size: .78rem; color: rgba(255,255,255,.65); margin-bottom: 26px; }
.lp-crumbs a { color: rgba(255,255,255,.85); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.lp-hero-logo { width: clamp(150px, 16vw, 200px); height: auto; margin-bottom: 22px; }
.lp-title { font: 300 clamp(2.2rem, 4.4vw, 3.6rem)/1.04 var(--f-display); margin: 6px 0 16px; max-width: 24ch; }
.lp-title em { font-style: italic; display: block; }
.lp-sub { max-width: 52ch; font-size: clamp(1rem, 1.4vw, 1.15rem); color: rgba(255,255,255,.85); margin: 0; }
.lp-sec { padding: clamp(64px, 9vw, 120px) 0; }
.lp-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.lp-sec .display { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.lp-facts { margin-top: 8px; }
.lp-facts strong { white-space: nowrap; }
.lp-loc { background: var(--fn-navy); color: #fff; }
.lp-loc .lead { color: rgba(255,255,255,.85); }
.lp-loc-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: 10px; }
.lp-loc .launch-addr { margin-top: 26px; }
.lp-map { justify-self: end; max-width: 420px; }
.lp-gmap { margin-top: clamp(36px, 5vw, 56px); min-height: 360px; }
.lp-epc { background: #fff; }
.lp-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); margin-top: 36px; }
.lp-track article { padding: 22px 24px 8px 0; }
.lp-track article + article { padding-left: 24px; border-left: 1px solid var(--line); }
.lp-track h3 { font: 400 1.5rem/1.15 var(--f-display); margin: 4px 0 8px; }
.lp-track p { margin: 0; font-size: .93rem; color: var(--ink-2); }
.lp-press { margin-top: clamp(48px, 6vw, 72px); max-width: 820px; }
.lp-press a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.lp-press a:hover { color: var(--wine); border-color: var(--wine); }
.lp-more { margin: 36px 0 0; }
.lp-more a { color: var(--wine); text-decoration: none; font-weight: 600; border-bottom: 1px solid currentColor; }
.lp-faq { max-width: 880px; }
.lp-faq-item { border-top: 1px solid var(--line); }
.lp-faq-item:last-child { border-bottom: 1px solid var(--line); }
.lp-faq-item summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 400 1.35rem/1.3 var(--f-display); }
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 300 1.8rem/1 var(--f-display); color: var(--wine); transition: transform .3s var(--ease); }
.lp-faq-item[open] summary::after { transform: rotate(45deg); }
.lp-faq-item p { margin: 0 0 22px; color: var(--ink-2); max-width: 70ch; }
.lp-cta { background: var(--fn-navy); color: #fff; padding: clamp(48px, 7vw, 80px) 0 28px; }
.lp-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.lp-cta .fn-legal { margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 900px) {
  .lp-split, .lp-loc-grid { grid-template-columns: 1fr; }
  .lp-map { justify-self: start; max-width: 360px; }
  .lp-track { grid-template-columns: 1fr; }
  .lp-track article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .lp-hero { padding-top: 64px; }
  .lp-hero-media::after { background: linear-gradient(180deg, rgba(22,48,75,.75) 0%, rgba(22,48,75,.92) 55%, var(--fn-navy) 100%); }
  .lp-cta-in .btn { width: 100%; justify-content: center; }
}

/* Google rating badge (Vintage profile: 4.6, ~500 reviews) — visible text only, no review schema */
.g-rating { display: inline-flex; align-items: center; flex-wrap: nowrap; white-space: nowrap; gap: 4px 10px; margin: -6px 0 22px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink-2); font-size: .82rem; background: #fff; transition: border-color .3s, box-shadow .3s; }
.g-rating:hover { border-color: var(--ochre); box-shadow: 0 6px 18px rgba(35,33,29,.08); }
.g-stars { color: #e0a425; letter-spacing: 1px; font-size: .9rem; }
.g-rating strong { font: 500 1.15rem/1 var(--f-display); color: var(--ink); }
.g-rating i { font-style: normal; color: var(--wine); }
.lp-rating { display: inline-block; margin-top: 6px; color: var(--wine); text-decoration: none; font-weight: 600; font-size: .85rem; }
@media (max-width: 420px) { .g-rating { flex-wrap: wrap; white-space: normal; border-radius: 14px; } }

/* ---------- Avaliações: one slim, quiet row after "EPC Empreendimentos" ---------- */
.reviews { background: var(--paper); padding: 0 0 clamp(56px, 7vw, 96px); }
.reviews-row { display: grid; grid-template-columns: 1.4fr auto auto; align-items: center; gap: clamp(24px, 5vw, 72px);
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); padding-top: clamp(26px, 3vw, 36px); padding-bottom: clamp(26px, 3vw, 36px); }
.rv-k { margin: 0 0 8px; font: 600 .68rem/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.rv-title { margin: 0; font: 300 clamp(1.35rem, 2.2vw, 1.8rem)/1.25 var(--f-display); color: var(--ink); }
.rv-title em { font-style: italic; color: var(--wine); }
.rv-score { display: flex; align-items: center; gap: 16px; padding-left: clamp(24px, 4vw, 56px); border-left: 1px solid var(--line); }
.rv-n { font: 300 clamp(2.8rem, 4.2vw, 3.6rem)/1 var(--f-display); color: var(--ink); letter-spacing: -.01em; }
.rv-meta { display: flex; flex-direction: column; gap: 6px; }
.rv-stars { position: relative; display: inline-block; font-size: .95rem; letter-spacing: 3px; color: #ddd5c4; line-height: 1; }
.rv-fill { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #c99a2e; }
.rv-count { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.rv-link { justify-self: end; white-space: nowrap; color: var(--ink); text-decoration: none; font: 600 .72rem/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; padding-bottom: 4px; border-bottom: 1px solid var(--ink); transition: color .3s, border-color .3s; }
.rv-link:hover { color: var(--wine); border-color: var(--wine); }
@media (max-width: 900px) {
  .reviews-row { grid-template-columns: 1fr auto; }
  .rv-claim { grid-column: 1 / -1; }
  .rv-score { padding-left: 0; border-left: 0; }
}
@media (max-width: 480px) {
  .reviews-row { grid-template-columns: 1fr; gap: 18px; }
  .rv-link { justify-self: start; }
}

/* Avaliações moved below the "Respire e inspire-se" photo, as a graphite strip */
.reviews { background: var(--graphite); color: #fff; padding: clamp(34px, 4.5vw, 52px) 0; }
.reviews-row { border-top: 0; border-bottom: 0; padding-top: 0; padding-bottom: 0; }
.reviews .rv-k { color: rgba(255,255,255,.55); }
.reviews .rv-title { color: #f6f2ea; }
.reviews .rv-title em { color: #d9b77a; }
.reviews .rv-score { border-left-color: rgba(255,255,255,.16); }
.reviews .rv-n { color: #fff; }
.reviews .rv-stars { color: rgba(255,255,255,.18); }
.reviews .rv-fill { color: #d9b77a; }
.reviews .rv-count { color: rgba(255,255,255,.6); }
.reviews .rv-link { color: #fff; border-bottom-color: rgba(255,255,255,.6); }
.reviews .rv-link:hover { color: #d9b77a; border-color: #d9b77a; }
@media (max-width: 700px) { .reviews { border-top: 1px solid rgba(255,255,255,.1); } }

/* ---------- Vintage page (/vintage-arte-de-morar) ---------- */
.vp-hero .lp-hero-media img { object-position: 50% 60%; }
.vp-logo { width: clamp(170px, 18vw, 230px); height: auto; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .95; }
.vp-club { background: #fff; padding-top: clamp(40px, 6vw, 80px); }
.vp-club .club { margin: 0; }
.vp-fig { margin: 0; }
.vp-fig img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.lp-sec .display em { font-style: italic; }
.lp-cta .btn-wa { text-decoration: none; }

/* ---------- Guide (/guia-terreno-empresarial-grande-sao-paulo) ---------- */
.gd-narrow { max-width: 880px; }
.gd-head { padding: clamp(130px, 14vw, 180px) 0 clamp(24px, 3vw, 40px); background: var(--paper); }
.gd-crumbs { color: var(--muted); }
.gd-crumbs a { color: var(--ink-2); border-bottom-color: var(--line); }
.gd-title { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.gd-by { font-size: .82rem; color: var(--muted); margin: 18px 0 0; }
.gd-sec { padding-top: clamp(32px, 4vw, 56px); }
.gd-step { padding: 22px 0; border-top: 1px solid var(--line); }
.gd-step:last-child { border-bottom: 1px solid var(--line); }
.gd-step h3 { font: 400 1.5rem/1.2 var(--f-display); margin: 0 0 8px; }
.gd-step p { margin: 0; color: var(--ink-2); }
.gd-fig { margin: 28px 0 0; }
.gd-fig img { width: 100%; border-radius: var(--radius); }
.gd-note { margin-top: 28px; font-size: .82rem; color: var(--muted); font-style: italic; }
.vp-hero { background: var(--graphite); }
.vp-hero .lp-hero-media::after { background: linear-gradient(90deg, rgba(35,33,29,.92) 0%, rgba(35,33,29,.72) 42%, rgba(35,33,29,.12) 75%), linear-gradient(0deg, rgba(35,33,29,.6), rgba(35,33,29,0) 40%); }
.vp-hero .launch-dot { display: none; }
@media (max-width: 640px) { .vp-hero .lp-hero-media::after { background: linear-gradient(180deg, rgba(35,33,29,.7) 0%, rgba(35,33,29,.9) 55%, var(--graphite) 100%); } }
.vp-loc, .vp-cta { background: var(--graphite); }

/* EPC Empreendimentos → Conceito now adjoin on the same paper ground: halve the joint, mark it with a hairline */
.section.empresa { padding-bottom: clamp(48px, 6vw, 80px); }
.section.conceito { padding-top: 0; }
.section.conceito > .wrap::before { content: ""; display: block; height: 1px; background: var(--line); margin-bottom: clamp(48px, 6vw, 80px); }

/* Projetos split around the Vintage avenue photo + reviews strip */
#projetos { padding-bottom: clamp(56px, 7vw, 96px); }
.projetos-cont { padding-top: clamp(56px, 7vw, 96px); }
.projetos-cont .club { margin-top: 0; }

/* Fernando Nobre card: EPC's business track record (Trade Hill) */
.fn-track { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; line-height: 1.5; color: rgba(255,255,255,.72); }
.fn-track-k { color: rgba(255,255,255,.55); }
.fn-track a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.45); }
.fn-track a:hover { border-color: var(--fn-orange); }
#trade-hill { scroll-margin-top: 110px; }

/* Galpão pages (2026-11-30) */
.lp-loc .lp-ticks-light li { color: rgba(255,255,255,.85); border-top-color: rgba(255,255,255,.18); }
.lp-loc .lp-ticks-light strong { color: #fff; }
.lp-loc .lp-ticks-light li::before { background: #e8662c; }
.lp-steps { counter-reset: step; }
.lp-steps li { counter-increment: step; padding-left: 40px; }
.lp-steps li::before { content: counter(step); width: auto; height: auto; background: none; top: 15px; font: 400 1.3rem/1 var(--f-display); color: var(--wine); }
.gd-actions .btn-wa { background: var(--fn-navy); border-color: var(--fn-navy); color: #fff; text-decoration: none; }
.gd-actions .btn-wa:hover { background: transparent; color: var(--fn-navy); border-color: var(--fn-navy); }
