:root {
  --pr-olive: #565e37;
  --pr-brand: #70301F;
  --pr-brown: #a26739;
  --pr-caramel: #ca9558;
  --pr-beige: #C7BAAD;
  --pr-graphite: #302d2c;
  --pr-white: rgb(255, 255, 255);
  --pr-border: rgba(48, 45, 44, 0.15);
  --pr-shadow: 0 16px 40px -24px rgba(48, 45, 44, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--pr-graphite);
  background: #fff;
  line-height: 1.6;
  padding-top: 80px;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

:where(ul, ol):not(.navbar-nav):not(.pagination):not(.breadcrumb) > li {
  line-height: 1.85;
  margin-bottom: 0.5rem;
}

:where(ul, ol):not(.navbar-nav):not(.pagination):not(.breadcrumb) > li:last-child {
  margin-bottom: 0;
}

.list-spaced > li {
  line-height: 1.85;
  margin-bottom: 0.5rem;
}

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

.hero-h1 {
  color: var(--pr-brand);
  display: inline-block;
  max-width: 100%;
}

.hero-title-color {
  color: var(--pr-brand) !important;
}

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

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--pr-brand);
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--pr-brand);
  outline-offset: 3px;
}

.page-hero {
  background-color: #c6baad;
  background-image: url("../img/banner.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 5rem 0 4rem;
}

body[data-page="home"] .page-hero {
  background-image: url("../img/bannerHome.jpg");
}

@media (max-width: 991.98px) {
  body[data-page="home"] .page-hero {
    background-image: url("../img/bannerHome.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 2.6rem 0 2rem;
  }

  body[data-page="home"] .hero-intro {
    grid-template-columns: 1fr;
    row-gap: 0.55rem;
    justify-items: center;
  }

  body[data-page="home"] .hero-text,
  body[data-page="home"] .hero-spacer {
    grid-column: auto;
  }

  body[data-page="home"] .logo-after-banner {
    width: 118px;
    max-width: 118px;
    justify-self: center;
    margin: 0.25rem auto 0;
  }

  body[data-page="home"] .hero-copy {
    max-width: 820px;
    padding-inline: 0.75rem;
  }

  body[data-page="home"] .hero-h1 {
    font-size: clamp(1.75rem, 4vw, 2.55rem);
    line-height: 1.06;
  }

  body[data-page="home"] .hero-line {
    display: block;
    white-space: normal;
  }

  body[data-page="home"] .hero-keep-together {
    display: inline-block;
    white-space: nowrap;
  }

  body[data-page="home"] .hero-subtitle {
    max-width: 760px !important;
    font-size: clamp(0.9rem, 1.6vw, 1rem);
    line-height: 1.34;
    margin-top: 0.55rem !important;
  }

  body[data-page="home"] .hero-spacer {
    display: none;
  }
}

.page-hero-compact {
  padding: 3rem 0 2.5rem;
}

.page-hero-service-left > .container {
  width: min(1400px, calc(100% - 2rem));
  max-width: none;
}

.page-hero-service-left .row {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
  margin: 0;
}

.page-hero-service-left .row > [class*="col-"] {
  padding: 0;
  display: flex;
  align-items: center;
}

.page-hero-service-left .hero-intro {
  position: relative;
  grid-template-columns: clamp(62px, 5.3vw, 94px) minmax(0, 1fr) clamp(62px, 5.3vw, 94px);
  column-gap: clamp(0.28rem, 0.58vw, 0.52rem);
  align-items: center;
  align-content: center;
  min-height: 140px;
  width: 100%;
  max-width: min(1220px, 100%);
  margin: 0 auto;
}

.page-hero-service-left .logo-after-banner {
  justify-self: end;
  align-self: center;
  width: clamp(64px, 4.9vw, 92px);
  max-width: none;
  margin-left: 0;
  transform: none;
}

.page-hero-service-left .hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: none;
  padding-inline: clamp(0.25rem, 0.7vw, 0.85rem);
}

.page-hero-service-left .hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: min(880px, 100%);
  margin: 0 auto;
  text-align: center;
  padding-block: clamp(0.14rem, 0.25vw, 0.3rem);
}

.page-hero-service-left .hero-h1 {
  font-size: clamp(2rem, 1.55rem + 1vw, 3.35rem);
  line-height: 1.08;
  display: block;
  padding-top: 0.14em;
  padding-bottom: 0.04em;
  margin-bottom: 0;
}

.page-hero-service-left .hero-subtitle {
  width: auto;
  max-width: min(820px, 100%);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: clamp(1.02rem, 0.9rem + 0.18vw, 1.1rem);
  line-height: 1.38;
  overflow-wrap: anywhere;
  margin-top: clamp(0.35rem, 0.55vw, 0.7rem) !important;
  margin-bottom: 0;
}

.page-hero-service-left .hero-spacer {
  display: block;
}

.when-image {
  max-width: 520px;
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 18px 35px -22px rgba(48, 45, 44, 0.45);
}

@media (max-width: 1599.98px) and (min-width: 768px) {
  /* Preserve the single banner image ratio on reduced desktop widths and avoid lateral cropping. */
  .page-hero-service-left {
    background-size: 100% auto;
    background-position: center top;
    aspect-ratio: 1667 / 272;
    height: auto;
    min-height: 0;
    padding: 0;
    display: flex;
    align-items: center;
  }

  .page-hero-service-left > .container,
  .page-hero-service-left > .container > .row,
  .page-hero-service-left > .container > .row > [class*="col-"] {
    height: 100%;
  }

  .page-hero-service-left .hero-intro {
    min-height: 100%;
    padding-top: clamp(0.9rem, 1vw, 1.2rem);
    padding-bottom: clamp(0.9rem, 1vw, 1.2rem);
  }
}

.page-hero-service-left.hero-service-tight .hero-intro {
  grid-template-columns: clamp(54px, 4.8vw, 72px) minmax(0, 1fr) clamp(54px, 4.8vw, 72px);
  column-gap: 0.38rem;
  min-height: 100%;
  padding-top: clamp(0.82rem, 0.92vw, 1rem);
  padding-bottom: clamp(0.8rem, 0.9vw, 0.98rem);
}

.page-hero-service-left.hero-service-tight .logo-after-banner {
  width: clamp(50px, 4.4vw, 66px);
}

.page-hero-service-left.hero-service-tight .hero-copy {
  max-width: min(860px, 100%);
}

.page-hero-service-left.hero-service-tight .hero-h1 {
  font-size: clamp(1.8rem, 1.24rem + 0.98vw, 2.6rem);
  line-height: 1.1;
}

.page-hero-service-left.hero-service-tight .hero-subtitle {
  max-width: min(800px, 100%);
  font-size: clamp(0.96rem, 0.88rem + 0.16vw, 1.02rem);
  line-height: 1.28;
  margin-top: 0.25rem !important;
}

@media (max-width: 1099.98px) and (min-width: 768px) {
  .page-hero-service-left.hero-service-tight > .container {
    width: calc(100% - 1.4rem);
  }

  .page-hero-service-left.hero-service-tight .hero-intro {
    column-gap: 0.38rem;
    padding-top: 0.68rem;
    padding-bottom: 0.66rem;
  }

  .page-hero-service-left.hero-service-tight .hero-h1 {
    font-size: clamp(1.62rem, 1.14rem + 0.88vw, 2.2rem);
  }

  .page-hero-service-left.hero-service-tight .hero-subtitle {
    font-size: clamp(0.92rem, 0.84rem + 0.14vw, 0.98rem);
    line-height: 1.22;
  }
}

@media (max-width: 980px) and (min-width: 768px) {
  .page-hero-service-left.hero-service-tight .hero-intro {
    row-gap: 0.32rem;
    padding-top: 0.66rem;
    padding-bottom: 0.66rem;
  }

  .page-hero-service-left.hero-service-tight .logo-after-banner {
    width: clamp(48px, 4.2vw, 60px);
  }

  .page-hero-service-left.hero-service-tight .hero-h1 {
    font-size: clamp(1.18rem, 0.98rem + 0.34vw, 1.42rem);
  }

  .page-hero-service-left.hero-service-tight .hero-subtitle {
    font-size: clamp(0.8rem, 0.76rem + 0.08vw, 0.88rem);
    line-height: 1.2;
  }
}

@media (max-width: 959.98px) and (min-width: 768px) {
  .page-hero-service-left.hero-service-tight > .container {
    width: calc(100% - 1rem);
  }

  .page-hero-service-left.hero-service-tight .hero-intro {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    column-gap: 0.2rem;
    padding-top: 0.58rem;
    padding-bottom: 0.56rem;
  }

  .page-hero-service-left.hero-service-tight .logo-after-banner {
    width: 42px;
  }

  .page-hero-service-left.hero-service-tight .hero-h1 {
    font-size: clamp(1.46rem, 1.08rem + 0.68vw, 1.9rem);
    line-height: 1.12;
  }

  .page-hero-service-left.hero-service-tight .hero-subtitle {
    font-size: 0.88rem;
    line-height: 1.18;
  }
}

.page-hero-service-left.hero-service-stack .hero-intro {
  grid-template-columns: 1fr;
  row-gap: 0.45rem;
  justify-items: center;
  align-content: center;
  padding-top: 0.82rem;
  padding-bottom: 0.82rem;
}

.page-hero-service-left.hero-service-stack .logo-after-banner {
  justify-self: center;
  width: clamp(56px, 4.4vw, 72px);
  margin: 0 auto;
}

.page-hero-service-left.hero-service-stack .hero-text,
.page-hero-service-left.hero-service-stack .hero-copy {
  max-width: min(760px, 100%);
  padding-left: 0;
  padding-right: 0;
}

.page-hero-service-left.hero-service-stack .hero-h1 {
  font-size: clamp(1.4rem, 1.12rem + 0.48vw, 1.86rem);
  line-height: 1.1;
}

.page-hero-service-left.hero-service-stack .hero-subtitle {
  max-width: min(720px, 100%);
  font-size: clamp(0.92rem, 0.84rem + 0.1vw, 1rem);
  line-height: 1.28;
  margin-top: 0.28rem !important;
}

.page-hero-service-left.hero-service-stack .hero-spacer {
  display: none;
}

.page-hero-service-left.hero-service-stack-tight .hero-intro {
  row-gap: 0.28rem;
  padding-top: 0.62rem;
  padding-bottom: 0.62rem;
}

.page-hero-service-left.hero-service-stack-tight .logo-after-banner {
  width: 50px;
}

.page-hero-service-left.hero-service-stack-tight .hero-h1 {
  font-size: clamp(1.14rem, 1rem + 0.28vw, 1.34rem);
  line-height: 1.1;
}

.page-hero-service-left.hero-service-stack-tight .hero-subtitle {
  font-size: clamp(0.82rem, 0.78rem + 0.08vw, 0.9rem);
  line-height: 1.22;
}

.section-alt {
  background: rgba(198, 186, 173, 0.3);
}

.section-dark {
  background: var(--pr-graphite);
  color: #fff;
}

.section {
  padding: 4rem 0;
}

.brand-pill {
  display: inline-flex;
  border: 1px solid rgba(112, 48, 30, 0.25);
  background: #fff;
  color: var(--pr-brand);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.card-soft {
  background: #fff;
  border: 1px solid var(--pr-border);
  border-radius: 1rem;
  box-shadow: var(--pr-shadow);
}

.btn-primary-pr {
  background: var(--pr-brand);
  color: #fff;
  border: 1px solid var(--pr-brand);
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  font-weight: 600;
}

.btn-primary-pr:hover {
  background: rgba(112, 48, 30, 0.92);
  border-color: rgba(112, 48, 30, 0.92);
  color: #fff;
}

.btn-outline-pr {
  border: 1px solid var(--pr-brand);
  color: var(--pr-brand);
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  font-weight: 600;
  background: transparent;
}

.btn-outline-pr:hover {
  background: rgba(112, 48, 30, 0.08);
  color: var(--pr-brand);
}

.trust-badge {
  border: 1px solid var(--pr-border);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

.image-ph {
  position: relative;
  border-radius: 1rem;
  border: 1px solid var(--pr-border);
  overflow: hidden;
  background:
    linear-gradient(0deg, rgba(198, 186, 173, 0.25), rgba(198, 186, 173, 0.25)),
    repeating-linear-gradient(0deg, transparent 0 28px, rgba(48,45,44,0.08) 28px 29px),
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(48,45,44,0.08) 28px 29px);
  box-shadow: var(--pr-shadow);
}

.image-ph.hero {
  aspect-ratio: 21 / 9;
}

.image-ph.wide {
  aspect-ratio: 16 / 9;
}

.image-ph.standard {
  aspect-ratio: 4 / 3;
}

.image-ph.square {
  aspect-ratio: 1 / 1;
}

.image-ph .content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.2rem;
}

.image-ph .inner {
  max-width: 100%;
}

.image-ph .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(112, 48, 30, 0.35);
  background: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pr-brand);
  margin-bottom: 0.7rem;
}

.image-ph p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.topbar {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
}

.brand-chip {
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  background: rgba(112, 48, 30, 0.1);
  color: var(--pr-brand);
  font-weight: 700;
  font-size: 0.85rem;
}

.footer {
  border-top: 1px solid var(--pr-border);
  background: rgba(198, 186, 173, 0.25);
}

.footer .copy {
  border-top: 1px solid var(--pr-border);
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 0.78rem;
  color: rgba(48, 45, 44, 0.75);
}

.footer-heading {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.footer a:focus-visible,
.cta-dark a:focus-visible {
  outline-color: #fff;
}

.step-item,
.stat-item,
.team-item,
.contact-item,
.info-item {
  border: 1px solid var(--pr-border);
  border-radius: 1rem;
  background: #fff;
  padding: 1.15rem;
}

.step-index {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(112, 48, 30, 0.13);
  color: var(--pr-brand);
  font-weight: 700;
  margin-right: 0.65rem;
}

.stats-home-row {
  --bs-gutter-x: 2rem;
  --bs-gutter-y: 1.25rem;
}

.stats-home-col .stat-item {
  padding: 1.35rem 1.5rem;
}

.stats-home-col .stat-item .stat-label {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.team-card-line {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 500;
}

.team-cards-section {
  padding: 2.4rem 0;
}

.team-cards-row {
  --bs-gutter-x: 2.25rem;
  --bs-gutter-y: 1.25rem;
}

.team-cards-col .team-item {
  padding: 1.35rem 1.5rem;
}

.partners-mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(64px, auto));
  align-items: center;
  gap: 0.35rem 1.5rem;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.partner-item {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-item img {
  max-width: 100%;
  width: auto;
  max-height: 82px;
  object-fit: contain;
}

.partner-item-solar {
  grid-column: 1;
  grid-row: 1;
}

.partner-item-arquidiocese {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: stretch;
}

.partner-item-sanjose {
  grid-column: 3;
  grid-row: 1 / span 3;
  align-self: stretch;
}

.partner-item-diageo {
  grid-column: 4;
  grid-row: 1;
}

.partner-item-lessiene {
  grid-column: 1;
  grid-row: 3;
}

.partner-item-estrela {
  grid-column: 4;
  grid-row: 3;
}

.partner-item-solar img {
  max-height: 90px;
}

.partner-item-arquidiocese img {
  max-height: 194px;
}

.partner-item-sanjose img {
  max-height: 180px;
}

.partner-item-diageo img {
  max-height: 92px;
}

.partner-item-lessiene img {
  max-height: 106px;
}

.partner-item-estrela img {
  max-height: 88px;
}

@media (max-width: 767.98px) {
  .partners-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 0.75rem;
  }

  .partner-item-solar,
  .partner-item-arquidiocese,
  .partner-item-sanjose,
  .partner-item-diageo,
  .partner-item-lessiene,
  .partner-item-estrela {
    grid-column: auto;
    grid-row: auto;
  }

  .partner-item {
    min-height: 72px;
    padding: 0.1rem 0;
  }

  .partner-item img {
    max-width: 82%;
    max-height: 54px;
  }

  .partner-item-arquidiocese img,
  .partner-item-sanjose img {
    max-width: 80%;
    max-height: 68px;
  }
}

@media (max-width: 575.98px) {
  .partners-mosaic {
    gap: 0.65rem 0.55rem;
  }

  .partner-item {
    min-height: 60px;
  }

  .partner-item img {
    max-width: 78%;
    max-height: 44px;
  }

  .partner-item-arquidiocese img,
  .partner-item-sanjose img {
    max-height: 56px;
  }
}

.muted {
  color: rgba(48, 45, 44, 0.74);
}

.section-title {
  margin-bottom: 0.8rem;
}

.section-subtitle {
  margin-bottom: 0;
  color: rgba(48, 45, 44, 0.74);
}

.service-spotlight {
  height: 100%;
  background: #fff;
  border: 1px solid var(--pr-border);
  border-radius: 0 0 1rem 1rem;
  overflow: hidden;
  box-shadow: 0 16px 30px -24px rgba(48, 45, 44, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-spotlight:hover,
.service-spotlight:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px -24px rgba(48, 45, 44, 0.5);
}

.service-spotlight-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-spotlight-media {
  position: relative;
  padding: 0;
  background: transparent;
  line-height: 0;
}

.service-spotlight-media img {
  width: 100%;
  display: block;
  height: auto;
  object-fit: contain;
  aspect-ratio: auto;
  border-radius: 0;
  background: transparent;
  vertical-align: top;
}

.service-spotlight-body {
  padding: 0.8rem 1rem 1rem;
}

.service-spotlight-title {
  margin: 0;
  font-size: 1.48rem;
  color: var(--pr-brand);
}

.service-card,
.case-card,
.course-card,
.package-card {
  height: 100%;
}

.service-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-list-image {
  position: relative;
  margin: -1rem -1rem 0;
  aspect-ratio: 4 / 3;
  background: #f6f1ea;
}

.service-list-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body[data-page="servicos"] .service-list-image {
  aspect-ratio: 3 / 2;
  background: #fff;
  overflow: hidden;
}

body[data-page="servicos"] .service-list-image img {
  object-fit: cover;
  object-position: center;
  transform: none;
  backface-visibility: hidden;
}

body[data-page="servicos"] #allServices > [class*="col-"]:first-child .service-list-image img {
  object-fit: contain;
}

body[data-page="servicos"] #allServices > [class*="col-"]:first-child .service-list-image {
  aspect-ratio: 1728 / 1237;
}

.service-card .btn-outline-pr {
  margin-top: auto;
  align-self: flex-start;
}

.course-detail-image {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.course-detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

body[data-page="sobre"] .sobre-quem-somos-image {
  max-width: 86%;
  margin-left: auto;
}

@media (max-width: 991.98px) {
  body[data-page="sobre"] .sobre-quem-somos-image {
    max-width: 100%;
  }
}

.case-image {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 4 / 3;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: inherit;
  clip-path: inset(0 round 1rem);
}

.case-image-cover img {
  object-fit: cover;
}

body[data-page="portfolio"] .case-card {
  overflow: hidden;
}

body[data-page="portfolio"] .case-image {
  margin: -1rem -1rem 0;
  border-radius: 0;
  aspect-ratio: 4 / 3;
  background: #f6f1ea;
}

body[data-page="portfolio"] .case-image img {
  object-fit: cover;
  border-radius: 0;
  clip-path: none;
}

.service-image-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 18px 35px -22px rgba(48, 45, 44, 0.45);
  border: 1px solid rgba(48, 45, 44, 0.3);
}

.service-image-link {
  border-radius: 1rem;
  overflow: hidden;
}

.service-image-link {
  display: block;
  position: relative;
}

.service-title-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 10rem 1rem 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--pr-brand);
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.service-title-main {
  display: block;
}

.service-title-sub {
  display: block;
  margin-top: 2.4rem;
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--pr-brand);
  max-width: 90%;
}

.service-image-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3.4;
  transition: transform 0.35s ease;
}

.service-image-card--full-art img {
  object-fit: contain;
  object-position: center;
  background: rgba(198, 186, 173, 0.3);
  padding: 0.3rem;
}

.service-image-card::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 50%;
  background: rgba(56, 54, 53, 0.8);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-note-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 1.25rem;
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
  color: #fff;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: auto;
  gap: 2rem;
}

.service-image-card .overlay-btn {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.service-note-text {
  max-width: 100%;
  pointer-events: none;
}

.service-note-overlay .overlay-btn {
  position: static;
  transform: none;
  opacity: 1;
  align-self: center;
  margin-top: 2rem;
  cursor: pointer;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

.service-note-overlay .overlay-btn.btn-primary-pr {
  background: #be8d55;
  color: var(--pr-brand);
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  font-weight: 600;
}

.overlay-btn-note {
  transform: none !important;
}

.service-image-card:hover img,
.service-image-card:focus-within img {
  transform: scale(1.02);
}

.service-image-card:hover::after,
.service-image-card:focus-within::after {
  opacity: 1;
}

.service-image-card:hover .overlay-btn:not(.overlay-btn-note),
.service-image-card:focus-within .overlay-btn:not(.overlay-btn-note) {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.03);
}

.service-image-card:hover .service-note-overlay,
.service-image-card:focus-within .service-note-overlay {
  opacity: 1;
}

.service-image-card.has-title:hover .service-title-overlay,
.service-image-card.has-title:focus-within .service-title-overlay {
  opacity: 1;
}

.case-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.case-tag {
  border: 1px solid var(--pr-border);
  background: rgba(198, 186, 173, 0.25);
  border-radius: 999px;
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
}

.filter-chip {
  border-radius: 999px;
  border: 1px solid var(--pr-brand);
  color: var(--pr-brand);
  background: transparent;
  padding: 0.35rem 0.7rem;
  font-size: 0.83rem;
  font-weight: 600;
}

.filter-chip.active,
.filter-chip:hover {
  background: var(--pr-brand);
  color: #fff;
}

.accordion-button:not(.collapsed) {
  color: var(--pr-brand);
  background: rgba(198, 186, 173, 0.2);
}

.accordion[id^="faq"] .accordion-button {
  font-size: 1.06rem;
}

.accordion-button:focus {
  border-color: rgba(112, 48, 30, 0.25);
  box-shadow: 0 0 0 0.2rem rgba(112, 48, 30, 0.12);
}

.form-control,
.form-select {
  border-color: rgba(48,45,44,0.2);
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(112, 48, 30, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(112, 48, 30, 0.1);
}

.status-success {
  color: var(--pr-olive);
  font-size: 0.9rem;
  font-weight: 600;
}

.status-error {
  color: var(--pr-brand);
  font-size: 0.9rem;
  font-weight: 600;
}

.status-loading {
  color: #7a4d2d;
  font-size: 0.9rem;
  font-weight: 600;
}

.small-note {
  font-size: 0.78rem;
  color: rgba(48,45,44,0.76);
}

.policy-content {
  color: var(--pr-graphite);
}

.policy-content h2 {
  margin-top: 2.2rem;
  margin-bottom: 0.85rem;
  color: var(--pr-brand);
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p,
.policy-content ul {
  color: rgba(48, 45, 44, 0.82);
}

.policy-content strong {
  color: var(--pr-graphite);
  font-weight: 800;
}

.policy-highlight,
.contact-privacy-note {
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--pr-brand);
  border-radius: 0.75rem;
  background: rgba(198, 186, 173, 0.22);
  color: var(--pr-graphite);
  font-size: 0.92rem;
}

.contact-privacy-note a {
  color: var(--pr-brand);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.cta-dark {
  background: linear-gradient(135deg, var(--pr-graphite), rgba(48, 45, 44, 0.95));
  color: #fff;
}

.cta-dark .text-white-50 {
  color: rgba(255,255,255,0.82) !important;
}

.cta-dark .btn-primary-pr {
  background: var(--pr-caramel);
  border-color: var(--pr-caramel);
  color: var(--pr-graphite);
}

.cta-dark .btn-primary-pr:hover {
  background: rgba(202, 149, 88, 0.92);
  border-color: rgba(202, 149, 88, 0.92);
  color: var(--pr-graphite);
}

.cookie-consent {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem;
  color: var(--pr-graphite);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--pr-border);
  border-radius: 1rem;
  box-shadow: 0 18px 45px -24px rgba(48, 45, 44, 0.55);
}

.cookie-consent__content {
  max-width: 680px;
}

.cookie-consent__title {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
}

.cookie-consent__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.cookie-consent__btn {
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-weight: 700;
  line-height: 1.2;
}

.cookie-consent__btn--primary {
  color: #fff;
  background: var(--pr-brand);
  border: 1px solid var(--pr-brand);
}

.cookie-consent__btn--secondary {
  color: var(--pr-brand);
  background: transparent;
  border: 1px solid var(--pr-brand);
}

@media (max-width: 767.98px) {
  .cookie-consent {
    align-items: stretch;
    flex-direction: column;
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    padding: 0.9rem;
  }

  .cookie-consent__actions {
    justify-content: stretch;
  }

  .cookie-consent__btn {
    flex: 1 1 0;
  }
}

@media (max-width: 991.98px) {
  .page-hero {
  background-color: #c6baad;
  background-image:
    linear-gradient(120deg, rgba(48,45,44,0.28), rgba(86,94,55,0.12)),
    url("../img/banner.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 5rem 0 4rem;
}
}

@media (max-width: 991.98px) {
  body[data-page="servicos"] .page-hero {
    background-color: #c6baad;
    background-image: url("../img/banner.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}

@media (max-width: 991.98px) {
  body[data-page="servico"][data-slug="avaliacao-imoveis-urbanos"] .page-hero {
    background-color: #c6baad;
    background-image: url("../img/banner.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}

.internal-page-hero {
  background-color: #c6baad;
  background-image: url("../img/banner.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.internal-page-hero .hero-intro {
  grid-template-columns: 160px minmax(0, 1fr) 160px;
  align-items: center;
  min-height: 140px;
}

.internal-page-hero .logo-after-banner {
  position: static;
  transform: none;
  justify-self: start;
  margin-left: 0;
}

.internal-page-hero .hero-text {
  grid-column: 2;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: none;
}

.internal-page-hero .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  max-width: 1080px;
  text-align: center;
}

.internal-page-hero .hero-h1 {
  display: block;
  width: 100%;
  text-align: center;
}

.internal-page-hero .hero-subtitle {
  display: block;
  width: auto;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.internal-page-hero .hero-spacer {
  display: block;
  grid-column: 3;
}

.internal-page-hero .hero-actions {
  justify-content: center;
}

@media (max-width: 991.98px) {
  .internal-page-hero {
    padding: 2.4rem 0 2rem;
    background-color: #c6baad;
    background-image: url("../img/banner.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .internal-page-hero .hero-intro {
    grid-template-columns: 1fr;
    min-height: auto;
    row-gap: 0.45rem;
    justify-items: center;
  }

  .internal-page-hero .logo-after-banner {
    position: static;
    transform: none;
    display: block;
    width: 96px;
    max-width: 96px;
    justify-self: center;
    margin: 0 auto 0.45rem;
  }

  .internal-page-hero .hero-text,
  .internal-page-hero .hero-spacer {
    grid-column: auto;
  }

  .internal-page-hero .hero-copy {
    max-width: 760px;
    padding-inline: 0.75rem;
  }

  .internal-page-hero .hero-h1 {
    font-size: clamp(1.7rem, 3.3vw, 2.2rem);
    line-height: 1.06;
  }

  .internal-page-hero .hero-subtitle {
    max-width: 760px;
    font-size: clamp(0.88rem, 1.45vw, 1rem);
    line-height: 1.3;
    margin-top: 0.45rem !important;
  }

  .internal-page-hero .hero-spacer {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .internal-page-hero {
    padding: 1.7rem 0 1.1rem;
  }

  .internal-page-hero .logo-after-banner {
    width: 82px;
    max-width: 82px;
    margin-bottom: 0.35rem;
  }

  .internal-page-hero .hero-copy {
    padding-inline: 0;
  }

  .internal-page-hero .hero-h1 {
    font-size: 1.55rem;
  }

  .internal-page-hero .hero-subtitle {
    font-size: 0.86rem;
    line-height: 1.28;
  }
}

.image-ph .fake-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}

.image-ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(48,45,44,0.28), rgba(48,45,44,0.12));
}

.image-ph .content {
  z-index: 2;
}

.image-ph .content {
  display: none !important;
}
.logo-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.nav-logo-scroll {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

body:not(.nav-scrolled) .topbar .navbar-brand {
  width: 0;
  min-width: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

body.nav-scrolled .topbar .navbar-brand {
  width: auto;
  min-width: auto;
  margin-right: 0.5rem;
}

body.nav-scrolled .nav-logo-scroll {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.logo-after-banner {
  display: block;
  width: 200px;
  max-width: 220px;
  height: auto;
}

.logo-after-banner-sm {
  width: 140px;
  max-width: 160px;
}

.hero-intro {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 200px;
  column-gap: 1.25rem;
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1000px;
  align-items: center;
  text-align: center;
  grid-column: 2;
}

.hero-copy {
  display: inline-block;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.logo-after-banner {
  justify-self: end;
}

.hero-spacer {
  grid-column: 3;
}

.hero-subtitle {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-line {
  display: inline-block;
  white-space: nowrap;
}

.hero-keep-together {
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .page-hero {
    padding: 1.7rem 0 1.05rem;
  }

  body[data-page="home"] .page-hero {
    padding: 1.35rem 0 0.9rem;
    background-image: url("../img/bannerHome.jpg");
  }

  .page-hero-service-left {
    padding: 1.7rem 0 1.05rem;
    background-size: cover;
    background-position: center;
  }

  .hero-intro {
    grid-template-columns: 1fr;
    row-gap: 0.35rem;
  }

  .logo-after-banner,
  .hero-text,
  .hero-spacer {
    grid-column: auto;
  }

  .logo-after-banner {
    width: 96px;
    max-width: 96px;
    justify-self: center;
    margin: 0 auto;
  }

  body[data-page="home"] .logo-after-banner {
    width: 96px;
    max-width: 96px;
    margin: 0.55rem auto 0;
  }

  .hero-h1 {
    font-size: 1.82rem;
    line-height: 1.02;
  }

  body[data-page="home"] .hero-h1 {
    font-size: 1.55rem;
    line-height: 1.04;
  }

  body[data-page="home"] .hero-keep-together {
    display: block;
    white-space: nowrap;
  }

  .hero-line {
    display: block;
    white-space: normal;
  }

  .hero-subtitle {
    margin-top: 0.45rem !important;
    max-width: 100% !important;
    font-size: 0.95rem;
    line-height: 1.45;
    margin-bottom: 0;
  }

  body[data-page="home"] .hero-subtitle {
    margin-top: 0.35rem !important;
    font-size: 0.86rem;
    line-height: 1.34;
  }
}

@media (max-width: 575.98px) {
  .hero-intro {
    grid-template-columns: 1fr;
    row-gap: 0.75rem;
  }
}

@media (max-width: 767.98px) {
  .page-hero-service-left {
    padding: 2rem 0 1.45rem;
    background-size: cover;
    background-position: center;
  }

  .page-hero-service-left .hero-intro {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .page-hero-service-left .hero-text {
    padding-left: 0;
    padding-right: 0;
  }

  .page-hero-service-left .logo-after-banner {
    position: static;
    display: block;
    width: 96px;
    margin: 0 auto 0.75rem;
  }

  .page-hero-service-left .hero-spacer {
    display: none;
  }
}


@media (max-width: 991.98px) {
  body.nav-scrolled[data-page="servicos"] .topbar .navbar-brand,
  body.nav-scrolled[data-page="portfolio"] .topbar .navbar-brand,
  body.nav-scrolled[data-page="capacitacao"] .topbar .navbar-brand,
  body.nav-scrolled[data-page="sobre"] .topbar .navbar-brand,
  body.nav-scrolled[data-page="contato"] .topbar .navbar-brand {
    width: auto;
    min-width: auto;
    padding: 0;
    margin-right: 0.5rem;
    overflow: visible;
  }

  body.nav-scrolled[data-page="servicos"] .nav-logo-scroll,
  body.nav-scrolled[data-page="portfolio"] .nav-logo-scroll,
  body.nav-scrolled[data-page="capacitacao"] .nav-logo-scroll,
  body.nav-scrolled[data-page="sobre"] .nav-logo-scroll,
  body.nav-scrolled[data-page="contato"] .nav-logo-scroll {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  body[data-page="servicos"] .topbar .logo-img,
  body[data-page="portfolio"] .topbar .logo-img,
  body[data-page="capacitacao"] .topbar .logo-img,
  body[data-page="sobre"] .topbar .logo-img,
  body[data-page="contato"] .topbar .logo-img {
    width: 64px;
    height: 64px;
  }
}
