/*
Theme Name: Brand Boeing
Theme URI: https://brandboeing.com.br
Author: Brand Boeing
Author URI: https://brandboeing.com.br
Description: Tema institucional do escritório de arquitetura Brand Boeing, convertido fielmente do design aprovado no Figma. Inclui o custom post type "Projetos".
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: brand-boeing
*/


/* ============ Brand Boeing — estilos compartilhados ============ */

/* ============ Base ============ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #FFFFFF;
  font-family: 'Fira Sans', sans-serif;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

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

:root {
  --dark: #3C3C3C;
  --ink: #373537;
  --gray-text: #838383;
  --gray-line: #BDBCBC;
  --gray-sep: #9A9A9A;
  --bg-soft: #ECECEC;
  --bg-header: #F0F0F0;
  --accent: #BDBCBC;
  --accent-dark: #3C3C3C;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}

/* ============ Barra superior (Figma: 545x10 #BDBCBC centralizada) ============ */

.topbar {
  display: none;
}

/* ============ Navegação (Figma: Regular 12px, ls 4.8px, lh 37px, UPPER) ============ */
.main-nav {
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 32px;
  z-index: 2;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}

.main-nav::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  margin-bottom: 5px;
  height: 10px;
  background: var(--gray-line);
}

.main-nav a {
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 4.8px;
  line-height: 37px;
  text-transform: uppercase;
  color: #FFFFFF;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  opacity: 0.7;
}

.main-nav.flow {
  position: relative;
  top: 0;
}

.main-nav.dark a {
  color: var(--dark);
}

/* ============ Header / Hero (home) ============ */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1440 / 800;
  min-height: 560px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 105.97%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.hero-shade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 249px;
}

.hero-shade-bottom {
  top: auto;
  bottom: 0;
  transform: scaleY(-1);
}

.hero-carousel .hero-bg {
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}

.hero-carousel .hero-bg.is-active {
  opacity: 1;
}

.hero-logo {
  position: absolute;
  top: 10.4%;
  left: 50%;
  transform: translateX(-50%);
  width: min(1094px, 76vw);
  z-index: 2;
}

/* ============ Header claro (página Projetos, Figma: Rectangle 21 #F0F0F0 h535) ============ */
.page-header {
  position: relative;
  background: var(--bg-header);
  padding: 15px 0 71px;
}

.header-content {
  max-width: 1146px;
  margin: 0 auto;
  padding: 0 24px;
}

.header-logo {
  display: block;
  margin: 31px auto 0;
  width: min(1094px, 100%);
}

.header-line {
  height: 1px;
  background: rgba(189, 188, 188, 0.5);
  margin-top: 57.5px;
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-top: 52px;
}

.header-row h1 {
  font-weight: 200;
  font-size: 18px;
  letter-spacing: 5.4px;
  line-height: 28px;
  text-transform: uppercase;
  color: var(--ink);
}

.header-intro {
  width: 532px;
  max-width: 100%;
  font-weight: 300;
  font-size: 16px;
  line-height: 30px;
  color: #393939;
}

.filter-row {
  display: flex;
  gap: 22px;
  margin-top: 65px;
}

.filter-row button,
.filter-row .filter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 52px;
  background: none;
  border: 1px solid var(--gray-line);
  font-family: 'Fira Sans', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 3.6px;
  line-height: 30px;
  text-transform: uppercase;
  color: #4C4C4C;
  text-decoration: none;
  cursor: pointer;
}

.filter-row .filter-btn.is-active {
  background: var(--gray-line);
  color: #FFFFFF;
}

/* ============ Tag "projeto" (label + seta) ============ */
.project-tag {
  position: absolute;
  right: 164px;
  bottom: 121px;
  display: flex;
  align-items: center;
  gap: 78.5px;
  z-index: 2;
}

.project-tag img {
  width: 208px;
  height: 1px;
  flex-shrink: 0;
}

.project-tag span {
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 6.4px;
  line-height: 30px;
  text-transform: uppercase;
  color: #FFFFFF;
  white-space: nowrap;
}

.project-tag.dark span {
  color: var(--dark);
}

/* ============ Section: Nosso olhar / Sobre (home) ============ */
.sobre .container {
  height: min(56.9vw, 819px);
}

.sobre h2 {
  position: absolute;
  left: 62px;
  top: 116px;
  width: 281px;
  font-weight: 200;
  font-size: 18px;
  letter-spacing: 5.4px;
  line-height: 28px;
  text-transform: uppercase;
  color: var(--ink);
}

.sobre-line-b {
  position: absolute;
  left: 145.5px;
  top: 217.5px;
  width: 1px;
  height: 226px;
  background: var(--gray-line);
}

.sobre p {
  position: absolute;
  left: 226px;
  top: 213px;
  width: 376px;
  font-weight: 300;
  font-size: 16px;
  line-height: 30px;
  color: var(--gray-text);
}

.sobre-photo {
  position: absolute;
  right: 37px;
  top: 59px;
  width: min(697px, 48.4%);
}

.sobre-photo>img:first-child {
  width: 100%;
  aspect-ratio: 697 / 695;
  object-fit: cover;
}

.sobre-photo .photo-shade {
  position: absolute;
  left: -2px;
  bottom: 0;
  width: calc(100% + 2px);
  height: 55%;
}

.sobre-names {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 33px;
  display: flex;
  align-items: center;
}

.sobre-names span {
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 1.96px;
  line-height: 30px;
  text-transform: uppercase;
  color: #FFFFFF;
  white-space: nowrap;
}

.sobre-names .name-sep {
  width: 125.5px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
  margin: 0 34px 0 43.5px;
  flex-shrink: 1;
}

.sobre-logo {
  position: absolute;
  left: 15.9%;
  top: 64%;
  width: min(982.44px, 68.2%);
  z-index: 2;
}

.sobre-link {
  position: absolute;
  left: 226px;
  top: 85%;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 1.96px;
  line-height: 20px;
  text-transform: uppercase;
  text-decoration: underline;
  color: var(--ink);
}

/* ============ Sections: Projetos ============ */
.projeto {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1440 / 800;
  min-height: 380px;
  overflow: hidden;
}

a.projeto {
  color: inherit;
  text-decoration: none;
}

.projeto>img:first-child {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projeto .band {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 327px;
  max-height: 41%;
}

.projeto+.projeto,
.page-header+.projeto,
.projeto+.cta-projetos,
.projeto+.site-footer,
.gallery+.strip-outros,
.strip-outros+.projeto,
.cta-projetos+.site-footer {
  margin-top: 11px;
}

/* ============ Página de projeto: título no hero ============ */
.hero-title {
  position: absolute;
  bottom: 143px;
  left: 0;
  right: 0;
  text-align: center;
  font-weight: 200;
  font-size: 56px;
  letter-spacing: 22.4px;
  line-height: 30px;
  text-transform: uppercase;
  color: #FFFFFF;
  z-index: 2;
}

/* ============ Página de projeto: intro ============ */
.detail-intro .container {
  padding: 73px 0 97px;
}

.intro-line {
  position: absolute;
  left: 137.5px;
  top: 241px;
  width: 1px;
  height: 282px;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.intro-text {
  margin-left: 175px;
  max-width: 717px;
  font-weight: 300;
  font-size: 16px;
  line-height: 30px;
  color: var(--dark);
}

.intro-text p+p {
  margin-top: 24px;
}

.btn-quote {
  position: absolute;
  right: 173px;
  top: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 270px;
  height: 52px;
  background: var(--gray-line);
  border: none;
  font-family: 'Fira Sans', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 3.6px;
  line-height: 30px;
  text-transform: uppercase;
  color: #4C4C4C;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-quote:hover,
.btn-quote:focus-visible {
  background: #DDDDDD;
}

.ficha-label {
  margin: 18px 0 0 175px;
  font-weight: 200;
  font-size: 12px;
  letter-spacing: 3.6px;
  line-height: 28px;
  text-transform: uppercase;
  color: var(--ink);
}

.ficha-bar {
  margin: 17px 0 0 175px;
  width: 715px;
  max-width: calc(100% - 175px);
  height: 57px;
  background: var(--bg-header);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 25px 0 24px;
  font-weight: 200;
  font-size: 12px;
  letter-spacing: 3.6px;
  line-height: 28px;
  text-transform: uppercase;
  color: var(--ink);
}

/* ============ Página de projeto: galeria ============ */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.gallery .cell {
  position: relative;
  aspect-ratio: 715 / 813;
  overflow: hidden;
}

.gallery .wide {
  grid-column: 1 / -1;
  position: relative;
  aspect-ratio: 1440 / 800;
  overflow: hidden;
}

.gallery .ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery .wide .ph {
  object-position: left center;
}

.img-caption {
  position: absolute;
  left: 58.75%;
  top: 44.25%;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.7px;
  line-height: 30px;
  color: #FFFFFF;
}

.img-caption-line {
  position: absolute;
  left: 73.3%;
  top: 41.9%;
  width: 243px;
  max-width: 20%;
  height: 1px;
  background: #FFFFFF;
}

.video-panel {
  background: var(--bg-header);
}

.video-thumb {
  position: absolute;
  left: 22.52%;
  top: 9.72%;
  width: 52.59%;
}

.video-frame {
  position: relative;
}

.video-frame img {
  width: 100%;
  aspect-ratio: 376 / 665;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 96px;
  height: 96px;
  background: none;
  border: 1px solid #FFFFFF;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-dots {
  display: flex;
  gap: 7px;
  justify-content: center;
  margin-top: 22px;
}

.carousel-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #D2D2D2;
  cursor: pointer;
}

.carousel-dots i.is-active {
  background: var(--dark);
}

/* ============ Página Contato (Figma: 6011:600) ============ */
.contact-header {
  position: relative;
  background: var(--bg-soft);
  padding: 15px 0 33px;
}

.contact-strip {
  margin-top: 24px;
  display: flex;
  align-items: center;
}

.contact-strip .social-icons {
  gap: 24px;
}

.contact-strip .vsep {
  width: 1px;
  height: 81px;
  background: #D4D4D4;
  margin-left: 73px;
}

.contact-strip .phone-sm {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 45.5px;
}

.contact-strip .phone-sm img {
  width: 24px;
  height: 23px;
}

.contact-strip .phone-sm span {
  font-weight: 400;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--dark);
}

.contact-strip .address {
  margin: 0 0 0 auto;
}

.contact-body {
  padding: 89px 24px 121px;
}

.contact-col {
  max-width: 738px;
  margin: 0 auto;
}

.contact-col h1 {
  font-weight: 200;
  font-size: 18px;
  letter-spacing: 5.4px;
  line-height: 28px;
  text-transform: uppercase;
  color: var(--ink);
}

.contact-col p {
  margin-top: 22px;
  margin-bottom: 32px;
  font-weight: 300;
  font-size: 16px;
  line-height: 30px;
  color: var(--gray-text);
}

.contact-form {
  margin-top: 27px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  display: block;
  width: 100%;
  height: 64px;
  margin-bottom: 10px;
  background: none;
  border: 1px solid #E2E2E2;
  padding: 0 33px;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 28px;
  color: var(--dark);
}

.contact-form textarea {
  height: 110px;
  padding-top: 16px;
  resize: vertical;
}

.contact-form ::placeholder {
  color: var(--gray-text);
  opacity: 1;
}

.consent {
  margin-top: 11px;
  display: flex;
  align-items: center;
}

.consent input {
  appearance: none;
  width: 18px;
  height: 18px;
  background: #D9D9D9;
  border: none;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.consent input:checked {
  background: var(--dark);
}

.consent span {
  margin-left: 21px;
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 28px;
  color: #737373;
}

.btn-form {
  display: block;
  margin-top: 25px;
  width: 100%;
  height: 52px;
  background: var(--gray-line);
  border: none;
  font-family: 'Fira Sans', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 3.6px;
  line-height: 30px;
  text-transform: uppercase;
  color: #4C4C4C;
  cursor: pointer;
}

/* ============ Página Inspirações (Figma: 6014:775) ============ */
.insp-header {
  padding-bottom: 40.5px;
}

.insp-title-row {
  margin-top: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.insp-title-row h1 {
  font-weight: 200;
  font-size: 18px;
  letter-spacing: 5.4px;
  line-height: 28px;
  text-transform: uppercase;
  color: var(--ink);
}

.search-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.search-btn img {
  width: 34px;
  height: 34px;
}

.insp-filters {
  margin-top: 50px;
}

.insp-filters .filter-row {
  margin-top: 0;
}

.blog-list {
  margin-top: 59px;
}

.blog-card {
  display: grid;
  grid-template-columns: 738fr 702fr;
  color: inherit;
  text-decoration: none;
}

.blog-card+.blog-card {
  margin-top: 9px;
}

.blog-card>img {
  width: 100%;
  height: 100%;
  aspect-ratio: 738 / 478;
  object-fit: cover;
}

.blog-panel {
  background: var(--bg-soft);
  padding: 94px 0 0 57px;
}

.blog-panel h2 {
  max-width: 400px;
  font-weight: 200;
  font-size: 22px;
  letter-spacing: 6.6px;
  line-height: 28px;
  text-transform: uppercase;
  color: var(--ink);
}

.blog-panel .excerpt {
  margin: 41px 0 0 2px;
  max-width: 460px;
  font-weight: 400;
  font-size: 14px;
  line-height: 26px;
  color: #000000;
}

.blog-panel .rule {
  margin: 55px 0 0 7px;
  width: 457px;
  max-width: 85%;
  height: 1px;
  background: #D9D9D9;
}

.author-row {
  display: flex;
  align-items: center;
  margin: 31px 182px 0 6px;
}

.author-row .avatar {
  width: 48px;
  height: 48px;
  background: #D9D9D9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-row .avatar img {
  width: 22px;
  height: 29px;
}

.author-meta {
  margin-left: 20px;
}

.author-meta .by {
  display: block;
  font-weight: 400;
  font-size: 12px;
  line-height: 26px;
  color: #000000;
}

.author-meta .name {
  display: block;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 1.96px;
  line-height: 30px;
  text-transform: uppercase;
  color: #141414;
}

.author-row .date {
  margin-left: auto;
  font-weight: 300;
  font-size: 16px;
  line-height: 26px;
  color: #000000;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 30px;
  padding-bottom: 29px;
}

.pagination a {
  width: 38px;
  height: 38px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  font-size: 14px;
  line-height: 26px;
  color: #000000;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.pagination a:hover,
.pagination a:focus-visible {
  background: var(--gray-line);
}

.pagination a[aria-current="page"] {
  background: var(--gray-line);
  color: #4C4C4C;
}

/* ============ Página de post (Figma: "post-Artigos" 6014:530) ============ */
.post-header {
  padding-bottom: 66px;
}

.post-hero {
  margin-top: 48px;
  position: relative;
  left: -7px;
  display: grid;
  grid-template-columns: 608fr 450fr;
  gap: 40px;
  align-items: start;
}

.post-hero>img {
  width: 100%;
  aspect-ratio: 608 / 394;
  object-fit: cover;
}

.post-meta {
  padding-top: 84px;
}

.post-meta h1 {
  max-width: 400px;
  font-weight: 200;
  font-size: 22px;
  letter-spacing: 6.6px;
  line-height: 28px;
  text-transform: uppercase;
  color: var(--ink);
}

.post-meta .author-row {
  margin: 29px 0 0;
}

.meta-rule {
  margin-top: 33px;
  height: 1px;
  background: rgba(1, 27, 46, 0.3);
}

.share-row {
  margin-top: 27.5px;
  display: flex;
  align-items: center;
}

.share-row .label {
  font-family: 'Avenir', 'Nunito Sans', sans-serif;
  font-weight: 800;
  font-size: 12px;
  line-height: 20px;
  color: #011B2E;
  margin-right: 7px;
}

.share-row a {
  width: 32px;
  height: 32px;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 5px;
}

.post-body {
  max-width: 918px;
  margin: 0 auto;
  padding: 65px 24px 80px;
}

.post-body p {
  font-weight: 300;
  font-size: 18px;
  line-height: 30px;
  color: var(--dark);
}

.post-body p strong {
  font-weight: 600;
  text-decoration: underline;
}

.post-body h2 {
  font-weight: 200;
  font-size: 22px;
  letter-spacing: 6.6px;
  line-height: 32px;
  text-transform: uppercase;
  color: var(--ink);
}

.post-body>*+* {
  margin-top: 38px;
}

.post-quote {
  position: relative;
  background: var(--bg-soft);
  padding: 45px 36px 43px 68px;
}

.post-quote::before {
  content: "";
  position: absolute;
  left: 33px;
  top: 45px;
  width: 2px;
  height: calc(100% - 83px);
  background: #011B2E;
}

.post-quote p {
  font-weight: 400 !important;
  color: #011B2E !important;
}

.post-list {
  list-style: none;
}

.post-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
  color: #011B2E;
  margin-bottom: 10px;
}

.post-list li:last-child {
  margin-bottom: 0;
}

.post-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6.5px;
  width: 13px;
  height: 13px;
  background: #000000;
}

.author-box {
  position: relative;
  background: var(--bg-soft);
  min-height: 284px;
  padding: 19px 74px 42px 148px;
}

.author-box .avatar-lg {
  position: absolute;
  left: 0;
  top: 0;
  width: 103px;
  height: 103px;
  background: #D9D9D9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-box .avatar-lg img {
  width: 40px;
  height: 53px;
}

.author-box .by {
  display: block;
  font-weight: 400;
  font-size: 12px;
  line-height: 26px;
  color: #000000;
}

.author-box .name {
  display: block;
  font-weight: 300;
  font-size: 18px;
  letter-spacing: 2.52px;
  line-height: 30px;
  text-transform: uppercase;
  color: #141414;
}

.author-box .date {
  position: absolute;
  right: 74px;
  top: 59px;
  font-family: 'Fira Sans Condensed', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 26px;
  color: #000000;
}

.author-box .rule {
  margin-top: 27px;
  height: 1px;
  background: #A59393;
}

.author-box .bio {
  margin-top: 29px;
  max-width: 679px;
  font-weight: 300 !important;
  font-size: 14px !important;
  line-height: 28px !important;
}

/* ============ Página Nosso olhar (Figma: "Quem somos" 6008:307) ============ */
.hero-quem {
  aspect-ratio: 1440 / 790;
}

.hero-quem .hero-bg {
  object-position: left bottom;
}

.hero-sub {
  position: absolute;
  bottom: 73px;
  left: 0;
  right: 0;
  text-align: center;
  font-weight: 200;
  font-size: 18px;
  letter-spacing: 5.4px;
  line-height: 28px;
  text-transform: uppercase;
  color: #FFFFFF;
  z-index: 2;
}

.quem-intro .container {
  padding: 137px 0 152px;
}

.quem-line-a {
  position: absolute;
  left: 137.5px;
  top: 251px;
  width: 1px;
  height: 282px;
  background: rgba(0, 0, 0, 0.1);
}

.quem-line-b {
  position: absolute;
  left: 365.5px;
  top: 146px;
  width: 1px;
  height: 446px;
  background: var(--gray-line);
}

.quem-intro h2 {
  margin-left: 420px;
  width: 281px;
  font-weight: 200;
  font-size: 18px;
  letter-spacing: 5.4px;
  line-height: 28px;
  text-transform: uppercase;
  color: var(--ink);
}

.quem-intro p {
  margin: 41px 0 0 420px;
  max-width: 670px;
  font-weight: 300;
  font-size: 16px;
  line-height: 30px;
  color: var(--gray-text);
}

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

.team--3 {
  grid-template-columns: repeat(3, 1fr);
}

.team--4 {
  grid-template-columns: repeat(4, 1fr);
}

.team-member {
  display: flex;
  flex-direction: column;
}

.team-member .team-panel {
  flex: 1;
}

.team-photo {
  position: relative;
  aspect-ratio: 715 / 706;
  overflow: hidden;
}

.team-photo .ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-photo .team-shade {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 35.3%;
}

.team-name {
  position: absolute;
  left: 12.87%;
  bottom: 31px;
  font-weight: 200;
  font-size: 18px;
  letter-spacing: 5.4px;
  line-height: 28px;
  text-transform: uppercase;
  color: #FFFFFF;
  z-index: 2;
}

.team-panel {
  background: var(--bg-header);
  padding: 52px 79px 29px 92px;
  min-height: 544px;
}

.team--3 .team-panel,
.team--4 .team-panel {
  padding: 44px 32px 32px 40px;
  min-height: 0;
}

.panel-head {
  display: flex;
  align-items: center;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 1.96px;
  line-height: 30px;
  text-transform: uppercase;
  color: #141414;
}

.panel-head .line {
  width: 301px;
  max-width: 40%;
  height: 1px;
  background: #D4D4D4;
  margin-left: 34px;
}

.panel-head .mini-social {
  margin-left: auto;
  display: flex;
  gap: 18px;
}

.panel-head .mini-social img {
  width: 19px;
  height: 19px;
}

.team-panel p {
  margin-top: 65px;
  max-width: 544px;
  font-weight: 300;
  font-size: 16px;
  line-height: 30px;
  color: var(--gray-text);
}

.servicos .container {
  padding: 104px 77px 229px 85px;
}

.servicos-label {
  font-weight: 200;
  font-size: 12px;
  letter-spacing: 3.6px;
  line-height: 28px;
  text-transform: uppercase;
  color: var(--ink);
}

.servicos-logo {
  margin-top: 20px;
  width: 406px;
  max-width: 80%;
}

.servicos-intro {
  margin-top: 41px;
  max-width: 1059px;
  font-weight: 300;
  font-size: 16px;
  line-height: 30px;
  color: var(--gray-text);
}

.service-card {
  margin-top: 47px;
  background: var(--bg-header);
  padding: 54px 61px 64px 53px;
}

.service-card+.service-card {
  margin-top: 13px;
}

.service-card h3 {
  font-weight: 200;
  font-size: 18px;
  letter-spacing: 5.4px;
  line-height: 28px;
  text-transform: uppercase;
  color: var(--ink);
}

.service-card p {
  margin-top: 23px;
  max-width: 1133px;
  font-weight: 300;
  font-size: 16px;
  line-height: 30px;
  color: var(--gray-text);
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 32px;
  width: 310px;
  height: 52px;
  background: var(--gray-line);
  border: none;
  font-family: 'Fira Sans', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 3.6px;
  line-height: 30px;
  text-transform: uppercase;
  color: #4C4C4C;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-solid:hover,
.btn-solid:focus-visible {
  background: #DDDDDD;
}

/* ============ Página de projeto: strip "outros projetos" ============ */
.strip-outros {
  position: relative;
  height: clamp(280px, 34.7vw, 500px);
  background: var(--bg-soft);
}

.outros-tag {
  position: absolute;
  right: 151px;
  bottom: 43px;
  display: flex;
  align-items: flex-end;
  gap: 91px;
}

.outros-tag img {
  width: 208px;
  height: 1px;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.outros-tag span {
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 6.4px;
  line-height: 25px;
  text-transform: uppercase;
  color: var(--dark);
  white-space: nowrap;
}

/* ============ Section: CTA projetos ============ */
.cta-projetos {
  position: relative;
  width: 100%;
  height: 147px;
  background: var(--bg-soft);
}

.cta-projetos .project-tag {
  bottom: 58.5px;
}

/* ============ Footer (Figma: rfooter, 1440x404 #ECECEC) ============ */
.site-footer {
  background: var(--bg-soft);
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 74px 155.5px 140px 60px;
  display: grid;
  grid-template-columns: auto auto minmax(0, 433.5px);
  justify-content: space-between;
  gap: 48px;
}

.footer-brand img {
  width: 301px;
  margin-top: 20px;
}

.footer-menu {
  margin-top: 11px;
}

.footer-menu a {
  display: block;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 1.95px;
  line-height: 30px;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 20px;
}

.footer-menu a:last-child {
  margin-bottom: 0;
}

.footer-contact {
  width: 100%;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.social-icons {
  display: flex;
  gap: 24px;
}

.social-icons img {
  width: 24px;
  height: 24px;
}

.contact-vsep {
  width: 1px;
  height: 30px;
  background: var(--gray-sep);
}

.phone {
  display: flex;
  align-items: center;
  gap: 4px;
}

.phone img {
  width: 30px;
  height: 29px;
}

.phone span {
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.8px;
  line-height: 65px;
  color: var(--dark);
  padding: 0 17px;
  white-space: nowrap;
}

.contact-hsep {
  height: 1px;
  background: var(--gray-sep);
  margin-top: 18.5px;
}

.address {
  margin-top: 38.5px;
  max-width: 392px;
  font-size: 16px;
  line-height: 32px;
  font-weight: 300;
  color: var(--dark);
}

.address b,
.address strong {
  font-weight: 500;
}

.address span {
  font-weight: 300;
}

/* ============ Desktop e maiores ============ */
@media (min-width: 1201px) {
  .hero-home,
  .hero-quem {
    height: 100vh;
  }
  .team-name {
    left: 92px;
  }
  .team--3 .team-name,
  .team--4 .team-name {
    left: 40px;
  }
  .blog-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0;
  }
}

@media (min-width: 1201px) and (max-width: 1360px) {
  .btn-quote {
    position: static;
    margin: 24px 0 0 175px;
  }
}

/* ============ Responsivo ============ */
@media (max-width: 1200px) {
  .sobre .container {
    height: auto;
    padding: 64px 24px;
  }
  .sobre h2,
  .sobre p,
  .sobre-photo,
  .sobre-logo,
  .sobre-link {
    position: static;
    width: auto;
  }
  .sobre h2 {
    max-width: 420px;
  }
  .sobre-line-b {
    display: none;
  }
  .sobre p {
    max-width: 560px;
    margin-top: 24px;
  }
  .sobre-photo {
    margin-top: 48px;
    position: relative;
    inset: auto;
    max-width: 697px;
  }
  .sobre-logo {
    display: block;
    margin: 48px auto 0;
    width: min(982.44px, 90%);
  }
  .sobre-link {
    display: inline-block;
    margin-top: 32px;
  }
}

@media (max-width: 1200px) {
  .quem-intro .container {
    padding: 48px 24px 64px;
  }
  .quem-line-a,
  .quem-line-b {
    display: none;
  }
  .quem-intro h2 {
    margin-left: 0;
    width: auto;
    max-width: 420px;
  }
  .quem-intro p {
    margin-left: 0;
  }
  .team {
    grid-template-columns: 1fr;
  }
  .team--3,
  .team--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-panel {
    padding: 32px 24px;
    min-height: 0;
  }
  .team-panel p {
    max-width: none;
  }
  .servicos .container {
    padding: 64px 24px 96px;
  }
  .service-card {
    padding: 32px 24px 40px;
  }
  .detail-intro .container {
    padding: 48px 24px 64px;
  }
  .intro-line {
    display: none;
  }
  .intro-text {
    margin-left: 0;
  }
  .btn-quote {
    position: static;
    margin-top: 24px;
  }
  .ficha-label {
    margin-left: 0;
    margin-top: 32px;
  }
  .ficha-bar {
    margin-left: 0;
    width: 100%;
    max-width: 715px;
  }
}

@media (max-width: 900px) {
  .project-tag {
    right: 32px;
    bottom: 64px;
    gap: 32px;
  }
  .project-tag img {
    width: 120px;
  }
  .cta-projetos .project-tag {
    bottom: 58.5px;
  }
  .header-row {
    flex-direction: column;
  }
  .header-intro {
    width: auto;
  }
  .filter-row {
    flex-wrap: wrap;
  }
  .filter-row button,
  .filter-row .filter-btn {
    min-width: 220px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    padding: 48px 24px;
    gap: 40px;
  }
  .post-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    left: 0;
  }
  .post-meta {
    padding-top: 0;
  }
  .post-body {
    padding: 40px 24px 56px;
  }
  .author-box {
    padding: 120px 24px 32px 24px;
  }
  .author-box .date {
    position: static;
    display: block;
    margin-top: 4px;
  }
  .share-row {
    flex-wrap: wrap;
    gap: 8px 0;
  }
  .blog-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .blog-panel {
    padding: 32px 24px 40px;
  }
  .blog-panel .excerpt {
    margin-left: 0;
  }
  .blog-panel .rule {
    margin-left: 0;
    width: auto;
    max-width: 100%;
  }
  .author-row {
    margin: 24px 0 0;
  }
  .contact-strip {
    flex-wrap: wrap;
    gap: 16px 24px;
  }
  .contact-strip .vsep {
    display: none;
  }
  .contact-strip .phone-sm {
    margin-left: 0;
  }
  .contact-strip .address {
    margin-left: 0;
  }
  .contact-body {
    padding: 48px 24px 64px;
  }
  .footer-brand img {
    margin-top: 0;
  }
  .footer-menu {
    margin-top: 0;
  }
  .footer-contact {
    max-width: 433.5px;
  }
}

@media (max-width: 600px) {
  .main-nav {
    gap: 0 16px;
    padding: 0 12px;
  }
  .main-nav a {
    letter-spacing: 2.4px;
  }
  .team--3,
  .team--4 {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 480px;
  }
  .hero-logo {
    width: 86vw;
    top: 104px;
  }
  .project-tag {
    gap: 20px;
  }
  .project-tag img {
    width: 80px;
  }
  .project-tag span {
    font-size: 14px;
    letter-spacing: 4px;
  }
  .sobre-names .name-sep {
    margin: 0 16px;
  }
  .phone span {
    line-height: 40px;
  }
  .contact-row {
    flex-wrap: wrap;
    gap: 16px;
  }
  .hero-title {
    font-size: 28px;
    letter-spacing: 11.2px;
    bottom: 64px;
  }
  .hero-sub {
    bottom: 40px;
  }
  .btn-solid {
    width: 100%;
  }
  .panel-head .line {
    display: none;
  }
  .btn-quote {
    display: flex;
    width: 100%;
  }
  .ficha-bar {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: auto;
    gap: 4px;
    padding: 14px 24px;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .gallery .wide {
    grid-column: auto;
  }
  .play-btn {
    width: 64px;
    height: 64px;
  }
  .play-btn svg {
    width: 26px;
    height: 26px;
  }
  .outros-tag {
    right: 24px;
    bottom: 32px;
    gap: 24px;
  }
  .outros-tag img {
    width: 120px;
  }
  .header-line {
    margin-top: 32px;
  }
  .filter-row {
    flex-direction: column;
  }
  .filter-row button,
  .filter-row .filter-btn {
    min-width: 0;
    width: 100%;
  }
}

/* ============ Compatibilidade com Contact Form 7 (página Contato) ============ */
.contact-col .wpcf7-form p {
  margin: 0;
  line-height: 0;
}

.contact-col .wpcf7-form br {
  display: none;
}

.contact-col .wpcf7-form .wpcf7-form-control-wrap {
  display: block;
  position: relative;
  margin-bottom: 10px;
}

.contact-col .wpcf7-form input[type="text"],
.contact-col .wpcf7-form input[type="email"],
.contact-col .wpcf7-form input[type="tel"],
.contact-col .wpcf7-form textarea {
  display: block;
  width: 100%;
  height: 64px;
  margin-bottom: 0;
  background: none;
  border: 1px solid #E2E2E2;
  padding: 0 33px;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 28px;
  color: var(--dark);
}

.contact-col .wpcf7-form textarea {
  height: 110px;
  padding-top: 16px;
  resize: vertical;
}

.contact-col .wpcf7-form ::placeholder {
  color: var(--gray-text);
  opacity: 1;
}

.contact-col .wpcf7-form .wpcf7-acceptance {
  display: block;
  margin-top: 11px;
}

.contact-col .wpcf7-form .wpcf7-list-item {
  margin: 0;
}

.contact-col .wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
  margin-right: 8px;
}

.contact-col .wpcf7-form .wpcf7-list-item-label {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 28px;
  color: #737373;
}

.contact-col .wpcf7-form .wpcf7-submit {
  display: block;
  margin-top: 25px;
  width: 100%;
  height: 52px;
  background: var(--gray-line);
  border: none;
  cursor: pointer;
  font-family: 'Fira Sans', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 3.6px;
  line-height: 30px;
  text-transform: uppercase;
  color: #4C4C4C;
}

.contact-col .wpcf7-form .wpcf7-not-valid-tip {
  position: static !important;
  display: block;
  margin: 6px 0 0;
  color: #b00020;
  font-size: 12px;
  font-family: 'Barlow', sans-serif;
}

.contact-col .wpcf7-form .wpcf7-not-valid {
  border-color: #b00020 !important;
}

.contact-col .wpcf7 .wpcf7-response-output {
  margin: 16px 0 0;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
}

/* ============ Conteúdo de post do WordPress (the_content) ============ */

.entry-content>*+* {
  margin-top: 24px;
}

.post-body h3 {
  font-weight: 200;
  font-size: 20px;
  letter-spacing: 6px;
  line-height: 28px;
  text-transform: uppercase;
  color: var(--ink);
}

.post-body h4 {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1.5px;
  line-height: 26px;
  text-transform: uppercase;
  color: var(--ink);
}

.post-body h5 {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 24px;
  text-transform: uppercase;
  color: #4C4C4C;
}

.post-body h6 {
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 22px;
  text-transform: uppercase;
  color: #4C4C4C;
}

.post-body strong,
.post-body b {
  font-weight: 600;
}

.post-body em,
.post-body i {
  font-style: italic;
}

.post-body a {
  color: #011B2E;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.post-body a:hover {
  opacity: 0.7;
}

.post-body mark {
  background: #FDF3C0;
  color: inherit;
}

.post-body sup,
.post-body sub {
  font-size: 0.72em;
}

.post-body ul:not(.post-list),
.post-body ol {
  padding-left: 26px;
  font-weight: 300;
  font-size: 18px;
  line-height: 30px;
  color: var(--dark);
}

.post-body ul:not(.post-list) {
  list-style: none;
  padding-left: 0;
}

.post-body ul:not(.post-list) li {
  position: relative;
  padding-left: 24px;
}

.post-body ul:not(.post-list) li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  background: #011B2E;
}

.post-body ol {
  list-style: decimal;
}

.post-body ol li::marker {
  color: #011B2E;
  font-weight: 400;
}

.post-body li+li {
  margin-top: 8px;
}

.post-body li>ul,
.post-body li>ol {
  margin-top: 8px;
}

.post-body blockquote:not(.post-quote) {
  position: relative;
  background: var(--bg-soft);
  padding: 32px 40px 32px 44px;
  color: #011B2E;
  font-size: 18px;
  line-height: 30px;
}

.post-body blockquote:not(.post-quote)::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 32px;
  bottom: 32px;
  width: 2px;
  background: #011B2E;
}

.post-body blockquote:not(.post-quote) p {
  color: #011B2E;
}

.post-body blockquote:not(.post-quote) p+p {
  margin-top: 16px;
}

.post-body blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-style: normal;
  color: var(--dark);
}

.post-body figure.wp-block-table {
  margin: 0;
  overflow-x: auto;
}

.post-body table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Fira Sans', sans-serif;
  font-size: 15px;
  line-height: 24px;
  color: var(--dark);
}

.post-body th,
.post-body td {
  border: 1px solid #E2E2E2;
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}

.post-body thead th {
  background: var(--bg-soft);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
}

.post-body tbody tr:nth-child(even) {
  background: #F7F7F7;
}

.post-body table caption,
.post-body figure.wp-block-table figcaption {
  caption-side: bottom;
  margin-top: 8px;
  font-size: 13px;
  line-height: 20px;
  color: var(--gray-text);
  text-align: left;
}

.post-body img {
  max-width: 100%;
  height: auto;
}

.post-body figure {
  margin: 0;
}

.post-body figcaption,
.post-body .wp-element-caption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 20px;
  color: var(--gray-text);
}

.post-body .aligncenter {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.post-body .alignright {
  float: right;
  margin: 0 0 20px 24px;
  max-width: 50%;
}

.post-body .alignleft {
  float: left;
  margin: 0 24px 20px 0;
  max-width: 50%;
}

.post-body .alignwide {
  width: 100%;
}

.post-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--bg-header);
  padding: 2px 6px;
  border-radius: 3px;
}

.post-body pre {
  background: #1E1E1E;
  color: #F5F5F5;
  padding: 20px 24px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 22px;
}

.post-body pre code {
  background: none;
  padding: 0;
  color: inherit;
  font-size: 14px;
}

.post-body hr {
  border: 0;
  height: 1px;
  background: #E2E2E2;
}

.post-body dl {
  margin: 0;
}

.post-body dt {
  font-weight: 500;
  color: var(--ink);
}

.post-body dd {
  margin: 4px 0 0;
  color: var(--dark);
}

.post-body iframe,
.post-body .wp-block-embed__wrapper iframe {
  max-width: 100%;
}

.post-body .wp-block-embed {
  margin: 0;
}

/* ============ Menu responsivo (mobile) — Figma 6168:274 / 6168:463 ============ */

.mobile-bar {
  display: none;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #D9D9D9;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 15px 20px 0;
  height: 57px;
  padding: 0 19px;
  border: 1px solid var(--dark);
}

.mobile-bar-logo img {
  display: block;
  height: 19px;
  width: auto;
}

.nav-close {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-close svg {
  display: block;
  width: 23px;
  height: 23px;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
  padding: 0 20px;
}

.mobile-menu-links a {
  position: relative;
  padding: 23px 0;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 6.4px;
  line-height: 19px;
  text-transform: uppercase;
  text-align: center;
  color: var(--dark);
}

.mobile-menu-links a:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(193px, 62%);
  height: 1px;
  background: var(--dark);
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .main-nav,
  .hero-logo,
  .page-header .header-logo,
  .topbar {
    display: none;
  }
  .mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 15px;
    left: 20px;
    right: 20px;
    height: 57px;
    padding: 0 19px;
    background: #D9D9D9;
    z-index: 20;
  }
  .nav-toggle {
    display: flex;
    padding: 6px 0;
    background: none;
    border: none;
    cursor: pointer;
  }
  .nav-toggle-bars {
    display: flex;
    flex-direction: column;
    gap: 9px;
  }
  .nav-toggle-bars i {
    display: block;
    height: 2px;
    background: var(--dark);
  }
  .nav-toggle-bars i:nth-child(1) {
    width: 33px;
  }
  .nav-toggle-bars i:nth-child(2) {
    width: 21px;
  }
  .nav-toggle-bars i:nth-child(3) {
    width: 11px;
  }
  .page-header .header-content {
    padding-top: 87px;
  }
  .page-header .header-line {
    margin-top: 0;
  }
}

/* ============ Página final do Imóvel (CPT imovel — Figma 7012-288) ============ */

.imovel-header {
  padding-bottom: 31px;
}

.imovel-headbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin-top: 38px;
}

.imovel-price {
  display: flex;
  align-items: center;
  gap: 26px;
}

.imovel-eyebrow {
  font-weight: 200;
  font-size: 18px;
  letter-spacing: 5.4px;
  line-height: 28px;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

.imovel-price-sep {
  width: 82px;
  height: 1px;
  background: var(--gray-line);
  flex-shrink: 0;
}

.imovel-price-val {
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  color: #242424;
  white-space: nowrap;
}

.btn-contato {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 369px;
  max-width: 100%;
  height: 52px;
  background: var(--accent);
  border: none;
  font-family: 'Fira Sans', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 3.6px;
  line-height: 30px;
  text-transform: uppercase;
  color: #4C4C4C;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-contato:hover,
.btn-contato:focus-visible {
  background: #DDDDDD;
}

.imovel-gallery {
  max-width: 1440px;
  margin: 9px auto 0;
  display: grid;
  grid-template-columns: 704fr 364fr 364fr;
  gap: 9px;
}

.ig-main {
  grid-row: 1 / span 2;
  overflow: hidden;
  position: relative;
}

.ig-thumb {
  aspect-ratio: 364 / 224;
  overflow: hidden;
  position: relative;
}

.ig-main img,
.ig-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.imovel-gallery .ig-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.imovel-gallery .ig-open img {
  transition: opacity 0.2s ease;
}

.imovel-gallery .ig-open:hover img {
  opacity: 0.92;
}

.ig-more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: #FFFFFF;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 1px;
  pointer-events: none;
}

.imovel-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 72px;
  background: rgba(0, 0, 0, 0.9);
}

.imovel-lightbox[hidden] {
  display: none;
}

.imovel-lightbox .lb-stage {
  max-width: 100%;
  max-height: 100%;
  display: flex;
}

.imovel-lightbox .lb-img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
}

.imovel-lightbox .lb-close,
.imovel-lightbox .lb-nav {
  position: absolute;
  background: none;
  border: 0;
  color: #FFFFFF;
  cursor: pointer;
  line-height: 1;
}

.imovel-lightbox .lb-close {
  top: 24px;
  right: 28px;
  font-size: 40px;
}

.imovel-lightbox .lb-nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 56px;
  padding: 0 16px;
  opacity: 0.85;
}

.imovel-lightbox .lb-nav:hover {
  opacity: 1;
}

.imovel-lightbox .lb-prev {
  left: 8px;
}

.imovel-lightbox .lb-next {
  right: 8px;
}

.imovel-lightbox .lb-counter {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  text-align: center;
  color: #FFFFFF;
  font-size: 14px;
  letter-spacing: 1px;
}

.imovel-body .container {
  max-width: 1146px;
  padding: 60px 24px 96px;
}

.imovel-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.imovel-main {
  flex: 1;
  max-width: 532px;
}

.imovel-side {
  width: 369px;
  flex-shrink: 0;
}

.imovel-label {
  font-weight: 200;
  font-size: 14px;
  letter-spacing: 4.2px;
  line-height: 28px;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 44px;
}

.imovel-main > .imovel-label:first-child {
  margin-top: 0;
}

.imovel-desc {
  margin-top: 22px;
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  color: #6B6B6B;
}

.imovel-desc p + p {
  margin-top: 16px;
}

.imovel-facts {
  margin-top: 38px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.fact {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 20px;
  background: var(--bg-header);
  border-left: 5px solid var(--accent);
  font-family: 'Fira Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #000000;
}

.fact-address {
  grid-column: 1 / -1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  min-height: 84px;
}

.fact-address strong {
  font-weight: 600;
}

.fact-address span {
  font-weight: 400;
  color: #6B6B6B;
}

.fact-address a {
  color: #6B6B6B;
  text-decoration: underline;
  font-weight: 600;
}

.imovel-features {
  margin-top: 22px;
  background: var(--bg-header);
  border-left: 5px solid var(--accent);
  padding: 26px 32px;
}

.imovel-features ul {
  list-style: none;
}

.imovel-features li {
  font-weight: 400;
  font-size: 16px;
  line-height: 30px;
  color: #6B6B6B;
}

.imovel-side .btn-contato {
  width: 100%;
}

.imovel-whats {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 52px;
  background: var(--bg-header);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1.4px;
  color: var(--ink);
}

.imovel-whats img {
  width: 30px;
  height: 30px;
}

.imovel-media {
  margin-top: 8px;
}

.im-frame {
  position: relative;
  aspect-ratio: 369 / 653;
  overflow: hidden;
  background: #DDDDDD;
}

.im-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.im-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.im-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
}

.im-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #D2D2D2;
  cursor: pointer;
}

.im-dots i.is-active {
  background: var(--accent-dark);
}

@media (max-width: 1000px) {
  .imovel-grid {
    flex-direction: column;
  }
  .imovel-main {
    max-width: none;
  }
  .imovel-side {
    width: 100%;
    max-width: 520px;
  }
  .im-frame {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 900px) {
  .imovel-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .ig-main {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 600px) {
  .imovel-headbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .imovel-price {
    flex-wrap: wrap;
    gap: 14px;
  }
  .imovel-price-sep {
    display: none;
  }
  .imovel-headbar .btn-contato {
    width: 100%;
  }
}

/* ============ Página de Venda (arquivo do CPT imovel — Figma 7002-345) ============ */
.imovel-list {
  max-width: 1440px;
  margin: 12px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.imovel-card {
  position: relative;
  display: block;
  aspect-ratio: 714 / 453;
  overflow: hidden;
  color: #FFFFFF;
}

.imovel-card.is-noimg {
  background: var(--ink);
}

.imovel-empty {
  grid-column: 1 / -1;
  padding: 80px 24px;
  text-align: center;
  color: var(--gray-text);
  font-size: 16px;
}

.imovel-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.imovel-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.6) 100%);
}

.imovel-card:hover::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.7) 100%);
}

.imovel-card-info {
  position: absolute;
  left: 57px;
  right: 59px;
  bottom: 30px;
  z-index: 2;
}

.ic-title {
  display: block;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #FFFFFF;
}

.ic-line {
  display: block;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
  margin: 14px 0 12px;
}

.ic-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.ic-price {
  font-weight: 700;
  font-size: 12px;
  color: #FFFFFF;
}

.ic-loc {
  font-weight: 600;
  font-size: 12px;
  color: #FFFFFF;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .imovel-list {
    grid-template-columns: 1fr;
  }
  .imovel-card-info {
    left: 24px;
    right: 24px;
  }
}

@media (max-width: 600px) {
  .imovel-lightbox {
    padding: 56px 12px;
  }
  .imovel-lightbox .lb-nav {
    font-size: 40px;
    padding: 0 6px;
  }
  .imovel-lightbox .lb-close {
    top: 16px;
    right: 16px;
    font-size: 34px;
  }
}

/* ============ Sem imagem real: estados graciosos (placeholders removidos) ============ */
.projeto.is-noimg {
  background: var(--ink);
}

.blog-card .bc-noimg {
  display: block;
  width: 100%;
  aspect-ratio: 738 / 478;
  background: var(--bg-header);
}

.post-hero.is-noimg {
  grid-template-columns: minmax(0, 1fr);
}

.post-hero.is-noimg .post-meta {
  padding-top: 0;
}
