/* Base */
:root {
  --color-yellow: #ffc20e;
  --color-text: #363533;
  --color-muted: #d6d2c4;
  --color-light-text: #eeece5;
  --color-bg: #ffffff;
  --color-bg-soft: #f5f5f5;
  --color-yellow-text: #ffe600;

  --radius-sm: 15px;
  --radius-md: 20px;
  --radius-xl: 35px;
  --radius-2xl: 50px;
  --radius-lg: 25px;
  --radius-pill: 999px;

  --container: 1300px;
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.4;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: #000;
  color: #fff;
  padding: 10px 12px;
  border-radius: 8px;
  z-index: 9999;
}
.skip-link:focus {
  left: 10px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

/* Em desktop largo, o layout do Figma usa "margens" (1512-1300)/2 = 106px.
   Então removemos padding extra para bater o alinhamento com o logo e demais blocos. */
@media (min-width: 1400px) {
  .container {
    padding: 0;
  }
}

.divider {
  width: min(var(--container), calc(100% - 48px));
  margin: 60px auto;
  border: 0;
  border-top: 2px solid var(--color-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 15px;
  border: 2px solid transparent;
  font-weight: 500;
  font-size: 12px;
  white-space: nowrap;
}

.btn-primary {
}

.btn-pill {
}

.btn-wide {
}

.icon-btn {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: transparent;
  border-radius: 35px;
  border: 2px solid var(--color-muted);
  cursor: pointer;
}
.icon-btn:hover {
  background: rgba(214, 210, 196, 0.2);
}

.steps-block {
  --steps-accent: var(--color-yellow);
  --steps-number: var(--color-muted);
  --steps-badge-size: 171px;
  --steps-badge-half: 85px;
  --steps-line-length: 95px;
  --steps-text-width: 200px;
  --steps-text-gap: 60px;
  display: grid;
  justify-items: center;
  gap: 35px;
}

.steps-stepper {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps-stepper-item {
  display: flex;
  align-items: center;
}

.steps-step-badge {
  width: var(--steps-badge-size);
  height: var(--steps-badge-size);
  border-radius: 100px;
  border: 2px solid var(--steps-accent);
  display: grid;
  place-items: center;
}

.steps-step-badge span {
  font-size: 60px;
  line-height: 60px;
  font-weight: 500;
  color: var(--steps-number);
}

.steps-step-line {
  width: var(--steps-line-length);
  height: 2px;
  background: var(--steps-accent);
}

.steps-texts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: var(--steps-text-gap);
}

.steps-text {
  width: var(--steps-text-width);
  min-width: 0;
  text-align: center;
}

@media (max-width: 980px) {
  .steps-block {
    justify-items: stretch;
    gap: 18px;
  }

  .steps-stepper {
    display: none;
  }

  .steps-texts {
    flex-direction: column;
    gap: 18px;
  }

  .steps-text {
    width: auto;
    text-align: left;
    padding-left: calc(var(--steps-badge-size) + 16px);
    position: relative;
    min-height: var(--steps-badge-size);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .steps-text::before {
    content: attr(data-step);
    position: absolute;
    left: 0;
    top: 0;
    width: var(--steps-badge-size);
    height: var(--steps-badge-size);
    border-radius: 100px;
    border: 2px solid var(--steps-accent);
    background: transparent;
    display: grid;
    place-items: center;
    color: var(--steps-number);
    font-size: 60px;
    line-height: 60px;
    font-weight: 500;
  }

  .steps-text::after {
    content: "";
    position: absolute;
    left: var(--steps-badge-half);
    top: var(--steps-badge-size);
    width: 2px;
    height: calc(100% - var(--steps-badge-size) + 18px);
    background: var(--steps-accent);
  }

  .steps-text:last-child::after {
    display: none;
  }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(24, 24, 24, 0.6);
  backdrop-filter: blur(11px);
}

.header-inner {
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: padding 240ms ease, gap 240ms ease;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-height: 60px;
  transition: transform 240ms ease, opacity 240ms ease, max-height 240ms ease, margin 240ms ease;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-social-link {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--color-light-text);
  transition: background 160ms ease, transform 160ms ease;
}

.topbar-social-link i {
  font-size: 18px;
  line-height: 1;
}

.topbar-social-link:hover {
  background: rgba(238, 236, 229, 0.12);
  transform: translateY(-1px);
}

.topbar-contact i {
  font-size: 14px;
  line-height: 1;
}

.nav-link i {
  font-size: 16px;
  line-height: 1;
}

.topbar-contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

/* Header compacto (ao scroll) */
body.header-compact .topbar {
  transform: translateY(-12px);
  opacity: 0;
  max-height: 0;
  margin-top: -10px;
  pointer-events: none;
}

body.header-compact .header-inner {
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 10px;
}

.navrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 27px;
}

.nav-link {
  color: var(--color-muted);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}

.nav-link:hover {
  color: #fff;
}

.nav-link-accent {
  color: var(--color-muted);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(238, 236, 229, 0.25);
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  background: var(--color-light-text);
  border-radius: 2px;
}

/* O header é fixo; o offset do conteúdo (se necessário) deve ser tratado por seção/página. */
main {
  padding-top: 0;
  overflow-x: clip;
}

/* Hero */
.hero {
  min-height: 735px;
  background-image: url("assets/img/banner-bg-650ebe.png");
  background-size: 100% 100%;
  background-position: center;
}

.hero-content {
  margin: 0 auto;
}

.hero-badge {
  width: 338px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 21px;
}

.hero-pill {
  width: fit-content;
  max-width: 100%;
  padding: 0 18px;
  height: 32px;
  border-radius: 35px;
  background: linear-gradient(137deg, rgba(255, 198, 9, 1) 0%, rgba(255, 230, 0, 1) 96%);
  font-family: Rustica, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 32px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-mcmv {
  margin-top: 69px;
  width: 133px;
}

/* Section titles */
.section-title {
  font-size: clamp(34px, 3.5vw, 50px);
  font-weight: 500;
  color: var(--color-yellow);
  margin: 0;
}

.section-title-center {
  text-align: center;
}

/* Summary */
.summary {
  padding: 80px 0 40px;
}

.summary-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 39px;
  align-items: center;
  flex-wrap: wrap;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.summary-icon {
  width: 63px;
  height: 63px;
  border-radius: 50%;
  border: 2px solid var(--color-yellow);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.summary-text {
  margin: 0;
  font-size: 17px;
  line-height: 20px;
}
.summary-text span {
  display: block;
  color: var(--color-muted);
}
.summary-text strong {
  display: block;
  font-weight: 700;
}

/* Text block */
.text-block {
  position: relative;
  padding: 40px 0;
}

.text-block-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.text-block-image img {
  width: 100%;
  height: auto;
}

.text-block-body {
  margin: 80px auto 0;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.text-block-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 300;
  line-height: 1.12;
  color: var(--color-yellow);
}
.text-block-title strong {
  font-weight: 500;
}

.text-block-paragraph {
  margin: 0;
  font-size: 15.5px;
  line-height: 24px;
  color: var(--color-text);
}

.text-block-decor {
  position: absolute;
  right: 0;
  top: 0;
  width: min(426px, 45vw);
  pointer-events: none;
  opacity: 0.9;
}

/* Media */
.media {
  padding: 20px 0 40px;
}

.media-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.media-controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.media-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.media-tab {
}

.media-tab.is-active {
}

.media-tab.c-tab.is-active {
  background: var(--color-yellow);
}

.media-select {
  display: none;
}

.media-gallery {
  position: relative;
}

.media-swiper {
  overflow: visible;
}

.media-slide {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.media-item {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.media-item img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.media-swiper .swiper-slide {
  opacity: 0.35;
  transform: scale(0.92);
  transition: opacity 240ms ease, transform 240ms ease;
}

.media-swiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}

.media-nav {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 20px;
}

/* Amenities */
.amenities {
  padding: 60px 0;
}

.chips {
  list-style: none;
  padding: 0;
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.chip {
  line-height: 32px;
}

/* Construction */
.construction {
  background: var(--color-bg-soft);
  padding: 65px 0 96px;
}

.construction-title {
  margin: 0 0 50px;
  text-align: center;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 19px;
  letter-spacing: 0.02em;
}

.construction-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 43px;
  align-items: start;
}

.status-card {
  text-align: center;
}

.status-visual {
  position: relative;
  width: 151px;
  height: 151px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  --value: 0; /* 0-100 (setado via JS a partir do texto "xx%") */
}

/* "Barra" circular dinâmica baseada em --value */
.status-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(var(--color-yellow) calc(var(--value) * 1%), #d6d1c4 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(50% - -29px), #000 calc(50% - -30px));
  mask: radial-gradient(farthest-side, transparent calc(50% - -29px), #000 calc(50% - -30px));
}

.status-visual img {
  display: none; /* mantém os SVGs exportados como referência, mas usa o ring dinâmico */
}

.status-percent {
  position: absolute;
  font-size: 36px;
  font-weight: 800;
  color: var(--color-yellow);
  text-transform: uppercase;
}

.status-label {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 24px;
  text-transform: uppercase;
}

.total-progress {
  margin-top: 50px;
  background: transparent;
  border: 2px solid var(--color-muted);
  border-radius: 25px;
  padding: 22px 30px;
}

.total-progress-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 19px;
  margin-bottom: 14px;
}

.progressbar {
  width: 100%;
  height: 9px;
  background: #d9d9d9;
  border-radius: 10px;
  overflow: hidden;
}

.progressbar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(253, 231, 23, 1) 0%, rgba(235, 187, 44, 1) 100%);
}

/* Location */
.location {
  padding: 68px 0 90px;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.location-card {
  position: relative;
  border: 2px solid var(--color-muted);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  min-height: 680px;
}

.kicker {
  margin: 0 0 18px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-yellow);
  letter-spacing: 0.03em;
}

.location-title {
  margin: 0 0 30px;
  font-size: 32px;
  line-height: 47px;
  font-weight: 400;
}

.location-divider {
  height: 2px;
  width: 100%;
  background: var(--color-muted);
  margin: 18px 0 26px;
}

.distances {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 40px;
  margin-top: 20px;
}

.distances p {
  margin: 0;
  font-size: 17px;
  line-height: 20px;
}
.distances span {
  display: block;
  color: var(--color-muted);
}
.distances strong {
  display: block;
  font-weight: 700;
}

.visit {
  margin-top: 28px;
  background: #ffe600;
  border-radius: 20px;
  padding: 16px 18px;
  font-size: 13px;
  line-height: 1.4;
}

.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-height: 680px;
  height: 680px;
}

.location-map iframe,
.location-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.location .btn-wide {
  grid-column: 1 / -1;
  justify-self: center;
}

/* Fixed CTA */
.home-fixed-cta {
  position: fixed;
  right: 24px;
  top: 285px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  z-index: 60;
}

.fixed-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--color-muted);
  text-decoration: none;
}

.fixed-cta-btn--circle,
.fixed-cta-btn--finance {
  width: 54px;
  height: 54px;
  border: 0;
  position: relative;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  transition: width 220ms ease, border-radius 220ms ease;
  background: rgba(24, 24, 24, 0.6);
  backdrop-filter: blur(8px) saturate(140%) brightness(108%);
  -webkit-backdrop-filter: blur(8px) saturate(140%) brightness(108%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 27px;
}

.fixed-cta-text {
  font-size: 10px;
  line-height: 12px;
  text-transform: uppercase;
  opacity: 0;
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 300ms ease;
}
.fixed-cta-text strong {
  color: var(--color-yellow);
  font-weight: 700;
}

.fixed-cta-ico {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  line-height: 1;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #ffc20e;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.55));
}

.fixed-cta-btn--circle::before,
.fixed-cta-btn--finance::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0) 50%
  );
  pointer-events: none;
}

@media (min-width: 1201px) and (hover: hover) and (pointer: fine) {
  .fixed-cta-btn--circle:hover,
  .fixed-cta-btn--finance:hover {
    width: 173px;
    border-radius: 27px;
    justify-content: center;
  }

  .fixed-cta-btn--circle:hover .fixed-cta-text,
  .fixed-cta-btn--finance:hover .fixed-cta-text {
    opacity: 1;
  }
}

@media (max-width: 1200px) {
  .home-fixed-cta {
    right: 12px;
  }
}

/* Footer */
.footer {
  background-image: url("assets/img/footer-bg-135ba5.png");
  background-size: cover;
  background-position: center;
  color: var(--color-muted);
}

.footer-overlay {
  padding: 80px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 306px 1fr;
  gap: 80px;
  align-items: start;
}

.footer-muted {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 24px;
  color: #6f6d69;
}

.footer-cols {
  display: grid;
  grid-template-columns: 285px 200px 200px;
  gap: 60px;
}

.footer-title {
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-yellow);
}

.footer-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-muted);
}
.footer-link i {
  font-size: 18px;
  line-height: 1;
  margin-top: 1px;
  flex: 0 0 auto;
  color: #d6d2c4;
}
.footer-link:hover {
  color: #fff;
}
.footer-link:hover i {
  color: #fff;
}

.footer-bottom {
  margin-top: 46px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: #6f6d69;
}

.footer-bottom-link {
  font-weight: 700;
  color: #666;
}
.footer-bottom-link:hover {
  color: #fff;
}

/* Mobile nav overlay */
body.nav-open .nav {
  transform: translateX(0);
}

@media (max-width: 1024px) {
  main {
    padding-top: 0;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(360px, 92vw);
    background: rgba(24, 24, 24, 0.92);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: flex-start;
    padding: 110px 22px 22px;
    gap: 16px;
    transform: translateX(110%);
    transition: transform 250ms ease;
    z-index: 80;
  }

  .nav-link {
    color: var(--color-light-text);
    font-size: 14px;
    width: 100%;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .topbar-social {
    display: none;
  }

  .c-btn--contact span {
    display: none;
  }

  .home-fixed-cta {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 12px;
    transform: translateX(-50%);
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: auto;
  }

  main {
    padding-top: 0;
  }

  .hero {
    min-height: 540px;
  }

  .summary {
    padding: 40px 0 20px;
  }

  .text-block-body {
    margin-top: 40px;
  }

  .text-block-decor {
    display: none;
  }

  .media-tabs {
    display: none;
  }

  .media-select {
    display: block;
    width: min(320px, 100%);
  }

  .media-item img {
    height: 360px;
  }

  .construction-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .status-visual {
    width: 130px;
    height: 130px;
  }

  .status-percent {
    font-size: 28px;
  }

  .location-title {
    font-size: 26px;
    line-height: 34px;
  }

  .summary-text {
    font-size: 15px;
  }

  .text-block-paragraph {
    font-size: 15px;
  }

  .construction-title {
    font-size: 16px;
  }

  .total-progress-heading {
    font-size: 16px;
  }

  .status-label {
    font-size: 14px;
  }

  .tab,
  .chip {
    font-size: 12px;
    line-height: 28px;
  }

  .btn-pill {
    font-size: 16px;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .location-card,
  .location-map {
    min-height: auto;
  }

  .location-map {
    height: 420px;
  }

  .distances {
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
