/* Shared enterprise system for localized and service landing pages. */
.service-page {
  background: #f7f5f1;
  color: #0b2d4d;
}

.service-page main {
  overflow: hidden;
}

.service-page :where(
  .sp-hero__grid,
  .sp-section__head,
  .sp-grid-2,
  .sp-grid-3,
  .sp-split,
  .sp-steps,
  .sp-contact-grid,
  .sp-faq,
  .sp-cta
) {
  position: relative;
  z-index: 1;
}

.service-page .lang-picker__current {
  display: inline;
}

.sp-container {
  width: min(1040px, calc(100% - 48px));
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.sp-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(8rem, 12vw, 10rem) 0 clamp(4.5rem, 8vw, 7rem);
  background:
    radial-gradient(circle at 82% 22%, rgba(28,93,122,.11), transparent 27%),
    linear-gradient(135deg, #fffdf8 0%, #f7f5f1 58%, #f1f5f7 100%);
  border-bottom: 1px solid rgba(199,154,78,.2);
  isolation: isolate;
}

.sp-hero::before,
.sp-hero::after,
.sp-section--art-left::before,
.sp-section--art-right::before {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
  background-repeat: no-repeat;
  background-size: contain;
}

.sp-hero::before {
  left: 0;
  top: 24%;
  width: clamp(105px, 11vw, 165px);
  aspect-ratio: 1643 / 783;
  background-image: url('../images/line-art/peninsula-contorno.png');
  background-position: left center;
  opacity: .13;
  mix-blend-mode: multiply;
}

.sp-hero::after {
  right: 0;
  bottom: 7%;
  width: clamp(118px, 12vw, 180px);
  aspect-ratio: 1400 / 838;
  background-image: url('../images/line-art/igreja.png');
  background-position: right bottom;
  opacity: .11;
  mix-blend-mode: multiply;
}

.page-about .sp-hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
}

.page-about .sp-hero::before {
  inset: auto auto 0 0;
  width: 100%;
  height: clamp(112px, 17vw, 235px);
  aspect-ratio: auto;
  background-image: url('../images/line-art/costao-peninsula.png');
  background-position: left bottom;
  background-size: auto 100%;
  opacity: .12;
}

.page-about .sp-hero::after {
  right: clamp(-5rem, -3vw, -1.5rem);
  top: clamp(6rem, 12vw, 10rem);
  bottom: auto;
  width: clamp(240px, 27vw, 440px);
  opacity: .055;
}

.page-about .sp-landscape {
  height: clamp(96px, 14vw, 172px);
  margin-top: clamp(-3.5rem, -4vw, -1.75rem);
  background: linear-gradient(180deg, rgba(255,253,248,0), #fffdf8 68%);
}

.page-about .sp-landscape img {
  width: min(1800px, 122%);
  max-height: 100%;
  object-position: center bottom;
  opacity: .11;
}

.sp-hero__grid {
  display: grid;
  gap: clamp(2.25rem, 5vw, 5rem);
  align-items: center;
}

.sp-eyebrow {
  margin: 0 0 .85rem;
  color: #c79a4e;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.sp-title {
  margin: 0;
  max-width: 16ch;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.45rem, 5.2vw, 4.7rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.sp-lead {
  max-width: 58ch;
  margin: 1.35rem 0 0;
  color: #244864;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.68;
}

.sp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.8rem;
}

.sp-actions .btn {
  min-height: 50px;
}

.sp-hero__visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  min-height: 390px;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(199,154,78,.28);
  border-radius: 8px;
  background: #dce3ea;
  box-shadow: 0 28px 72px rgba(7,31,53,.16);
}

.sp-hero__visual::before {
  content: '';
  position: absolute;
  inset: 1rem;
  z-index: 1;
  border: 1px solid rgba(255,253,248,.58);
  border-radius: 6px;
  pointer-events: none;
}

.sp-hero__visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 22%;
}

.sp-hero__visual figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 1rem 1.2rem;
  color: #fff;
  background: linear-gradient(transparent, rgba(7,31,53,.9));
  font-size: .82rem;
  letter-spacing: .04em;
}

.sp-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2rem;
  overflow: hidden;
  border: 1px solid rgba(11,45,77,.12);
  border-radius: 8px;
  background: rgba(11,45,77,.1);
}

.sp-fact {
  padding: 1rem;
  background: rgba(255,253,248,.93);
}

.sp-fact strong,
.sp-fact span {
  display: block;
}

.sp-fact strong {
  margin-bottom: .2rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.02rem;
}

.sp-fact span {
  color: #6f8496;
  font-size: .77rem;
}

.sp-landscape {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: end center;
  height: clamp(72px, 10vw, 142px);
  overflow: hidden;
  background: #fffdf8;
}

.sp-landscape img {
  width: min(1450px, 100%);
  max-height: 100%;
  object-fit: contain;
  object-position: center bottom;
  opacity: .14;
}

.sp-section {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background: #fffdf8;
  border-top: 1px solid rgba(199,154,78,.13);
  isolation: isolate;
}

.sp-section--tint {
  background: linear-gradient(180deg, #f1f5f7, #f7f5f1);
}

.sp-section--dark {
  color: #fff;
  background: linear-gradient(135deg, #071f35, #0b2d4d);
}

.sp-section--art-left::before,
.sp-section--art-right::before {
  top: 16%;
  width: clamp(105px, 11vw, 165px);
  aspect-ratio: 1400 / 838;
  background-image: var(--section-art, url('../images/line-art/igreja.png'));
  opacity: .105;
  mix-blend-mode: multiply;
}

.sp-section--art-left::before {
  left: 0;
  background-position: left center;
}

.sp-section--art-right::before {
  right: 0;
  background-position: right center;
}

.sp-section__head {
  max-width: 700px;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

.sp-kicker {
  display: block;
  margin-bottom: .65rem;
  color: #c79a4e;
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.sp-heading {
  margin: 0;
  max-width: 22ch;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 500;
  line-height: 1.08;
  text-wrap: balance;
}

.sp-copy {
  max-width: 64ch;
  margin: 1rem 0 0;
  color: #244864;
  line-height: 1.75;
}

.sp-section--dark .sp-copy {
  color: rgba(255,255,255,.72);
}

.sp-grid-3,
.sp-grid-2,
.sp-steps {
  display: grid;
  gap: 1rem;
}

.sp-card {
  min-width: 0;
  padding: clamp(1.35rem, 2.5vw, 2rem);
  border: 1px solid rgba(11,45,77,.12);
  border-radius: 8px;
  background: rgba(255,253,248,.96);
  box-shadow: 0 10px 30px rgba(7,31,53,.055);
}

.sp-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.sp-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sp-card h3 {
  margin: 0 0 .6rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 500;
}

.sp-card p,
.sp-card li {
  color: #45627a;
  font-size: .94rem;
  line-height: 1.65;
}

.sp-card p:last-child {
  margin-bottom: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .9rem;
  color: #0b2d4d;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link::after {
  content: '';
  width: 1.45rem;
  height: 1px;
  background: #c79a4e;
  transition: transform .22s ease;
  transform-origin: left center;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1.25);
}

.sp-split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.sp-kit {
  position: relative;
  margin: 0;
  min-height: 420px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(199,154,78,.25);
  box-shadow: 0 22px 64px rgba(7,31,53,.14);
}

.sp-kit img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 72%;
}

.sp-kit figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 1rem 1.2rem;
  color: rgba(255,255,255,.9);
  background: linear-gradient(transparent, rgba(7,31,53,.88));
  font-size: .8rem;
}

.sp-steps {
  counter-reset: step;
}

.sp-step {
  position: relative;
  padding: 1.2rem 1.2rem 1.2rem 4.25rem;
  border-bottom: 1px solid rgba(11,45,77,.12);
}

.sp-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1rem;
  color: #c79a4e;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.7rem;
}

.sp-step h3 {
  margin: 0 0 .3rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
}

.sp-step p {
  margin: 0;
  color: #45627a;
  line-height: 1.6;
}

.sp-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sp-list li {
  position: relative;
  padding: .75rem 0 .75rem 1.5rem;
  border-bottom: 1px solid rgba(11,45,77,.1);
  color: #244864;
}

.sp-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.2rem;
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: #c79a4e;
}

.sp-contact-grid {
  display: grid;
  gap: 1rem;
}

.sp-contact-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.35rem;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(11,45,77,.12);
  border-radius: 8px;
  background: rgba(255,253,248,.96);
  transition: transform .25s ease, box-shadow .25s ease;
}

.sp-contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(7,31,53,.09);
}

.sp-contact-card img {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.sp-contact-card strong,
.sp-contact-card span {
  display: block;
}

.sp-contact-card span {
  margin-top: .25rem;
  color: #6f8496;
  overflow-wrap: anywhere;
}

.sp-faq {
  display: grid;
  gap: .75rem;
}

.sp-faq details {
  padding: 1rem 1.2rem;
  border: 1px solid rgba(11,45,77,.12);
  border-radius: 8px;
  background: rgba(255,253,248,.95);
}

.sp-faq summary {
  cursor: pointer;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.08rem;
}

.sp-faq p {
  margin: .75rem 0 0;
  color: #45627a;
  line-height: 1.65;
}

.sp-cta {
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid rgba(199,154,78,.36);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,253,248,.98), rgba(241,245,247,.94));
  box-shadow: 0 24px 70px rgba(7,31,53,.1);
  text-align: center;
}

.sp-cta .sp-heading,
.sp-cta .sp-copy {
  margin-inline: auto;
}

.sp-cta .sp-actions {
  justify-content: center;
}

.service-page .footer {
  margin-top: 0;
}

@media (min-width: 760px) {
  .sp-grid-2,
  .sp-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .sp-hero__grid,
  .sp-split {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .82fr);
  }
}

@media (min-width: 1240px) {
  .sp-hero .sp-container,
  .sp-section--art-left .sp-container,
  .sp-section--art-right .sp-container {
    width: min(1040px, calc(100% - 360px));
  }
}

@media (max-width: 1239px) {
  .sp-hero::before,
  .sp-hero::after,
  .sp-section--art-left::before,
  .sp-section--art-right::before {
    width: clamp(150px, 34vw, 300px);
    opacity: .055;
    mix-blend-mode: multiply;
  }

  .sp-hero::before,
  .sp-section--art-left::before {
    left: auto;
    right: -7rem;
    top: 18%;
    background-position: right center;
  }

  .sp-hero::after,
  .sp-section--art-right::before {
    right: auto;
    left: -7rem;
    top: auto;
    bottom: 10%;
    background-position: left center;
  }
}

@media (max-width: 1023px) {
  .service-page .nav__toggle {
    display: flex;
  }
}

@media (max-width: 759px) {
  .sp-container {
    width: min(100% - 40px, 620px);
  }

  .sp-hero {
    padding-top: 7.25rem;
  }

  .sp-hero__visual {
    min-height: 0;
  }

  .sp-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .sp-landscape {
    height: 78px;
  }

  .sp-kit {
    min-height: 360px;
  }

  .sp-hero::before,
  .sp-hero::after,
  .sp-section--art-left::before,
  .sp-section--art-right::before {
    width: 220px;
    opacity: .038;
  }

  .sp-hero::before,
  .sp-section--art-left::before {
    right: -9rem;
  }

  .sp-hero::after,
  .sp-section--art-right::before {
    left: -9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sp-contact-card {
    transition: none;
  }
}

/* ============================================================
   READABILITY PASS
   Editorial spacing and scan-friendly service page components.
   ============================================================ */
.service-page {
  line-height: 1.68;
}

.sp-container {
  width: min(1080px, calc(100% - 56px));
}

.sp-title {
  max-width: 14.5ch;
  line-height: 1.03;
  text-wrap: balance;
}

.sp-lead {
  max-width: 54ch;
  line-height: 1.66;
  margin-top: clamp(1rem, 2vw, 1.25rem);
}

.sp-section {
  padding-block: clamp(4.3rem, 7.5vw, 6.7rem);
}

.sp-section__head {
  max-width: 62ch;
  margin-bottom: clamp(1.85rem, 3.5vw, 2.85rem);
}

.sp-kicker {
  margin-bottom: clamp(0.55rem, 1vw, 0.75rem);
  letter-spacing: .14em;
}

.sp-heading {
  max-width: 23ch;
  font-size: clamp(1.85rem, 3.45vw, 3.05rem);
  line-height: 1.08;
}

.sp-copy {
  max-width: 58ch;
  line-height: 1.68;
}

.sp-grid-3,
.sp-grid-2,
.sp-steps,
.sp-contact-grid,
.sp-faq {
  gap: clamp(0.9rem, 1.9vw, 1.25rem);
}

.sp-card,
.sp-contact-card,
.sp-faq details {
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(7,31,53,.05);
}

.sp-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 2.25vw, 1.75rem);
}

.sp-card h3 {
  max-width: 22ch;
  margin-bottom: .55rem;
  line-height: 1.18;
}

.sp-card p,
.sp-card li,
.sp-step p,
.sp-faq p {
  max-width: 52ch;
  line-height: 1.64;
}

.sp-list li {
  padding-block: .68rem;
}

.sp-step {
  padding-block: clamp(1rem, 2vw, 1.2rem);
}

.sp-step h3 {
  line-height: 1.18;
}

.sp-facts {
  margin-top: clamp(1.55rem, 3vw, 2rem);
}

.sp-fact {
  padding: clamp(0.85rem, 1.7vw, 1rem);
}

.sp-cta {
  padding: clamp(1.75rem, 4.5vw, 3.1rem);
}

.sp-contact-card span,
.footer__contacts a {
  overflow-wrap: anywhere;
}

@media (max-width: 759px) {
  .sp-container {
    width: min(100% - 36px, 620px);
  }

  .sp-section {
    padding-block: clamp(3.35rem, 10vw, 4.65rem);
  }

  .sp-title {
    max-width: 15ch;
    font-size: clamp(2.25rem, 10vw, 3.35rem);
  }

  .sp-heading {
    font-size: clamp(1.68rem, 7.4vw, 2.35rem);
  }

  .sp-card,
  .sp-contact-card,
  .sp-faq details {
    padding: clamp(1.15rem, 5vw, 1.45rem);
  }

  .sp-actions {
    gap: .65rem;
  }
}
