@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Manrope:wght@400;500;600&display=swap");

:root {
  --forest: #263c31;
  --forest-deep: #17271f;
  --leaf: #5f765f;
  --wood: #aa7956;
  --wood-dark: #87583a;
  --ivory: #f2efe7;
  --sand: #d9cabb;
  --ink: #17211b;
  --muted: #69736c;
  --white: #fff;
  --line: rgba(23, 33, 27, 0.15);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

body.gallery-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-content: space-between;
  overflow: hidden;
  color: var(--white);
  background: var(--forest-deep);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  padding: 0;
  border: 0;
  cursor: zoom-in;
  background: transparent;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero:hover .hero-media img {
  transform: scale(1.025);
}

.hero-shade {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 21, 15, 0.76) 0%, rgba(10, 21, 15, 0.32) 55%, rgba(10, 21, 15, 0.18) 100%),
    linear-gradient(0deg, rgba(10, 19, 14, 0.64) 0%, transparent 48%, rgba(10, 19, 14, 0.42) 100%);
}

.site-header,
.hero-content,
.hero-footer {
  position: relative;
  z-index: 2;
}

.site-header {
  width: min(100% - 32px, 1440px);
  margin-inline: auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.brand {
  width: 118px;
}

.brand img {
  width: 100%;
  max-height: 44px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.site-header nav {
  display: none;
  gap: 34px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header nav a {
  position: relative;
}

.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--white);
  transition: right 0.35s ease;
}

.site-header nav a:hover::after {
  right: 0;
}

.header-cta {
  display: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--white);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-content {
  width: min(100% - 32px, 1440px);
  margin: 120px auto 90px;
  align-self: center;
}

.badge-exclusividade {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 100px;
  background: rgba(19, 36, 26, 0.22);
  backdrop-filter: blur(10px);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.badge-exclusividade span {
  color: var(--sand);
}

.hero-location,
.eyebrow {
  margin: 0 0 18px;
  color: var(--wood-dark);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-location {
  color: rgba(255, 255, 255, 0.78);
}

.hero h1,
.story h2,
.gallery-heading h2,
.highlights h2,
.location h2,
.contact h2,
.final-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(3.4rem, 9.5vw, 7.8rem);
}

.hero-subtitle {
  max-width: 660px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.95rem, 1.3vw, 1.12rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.button-light {
  color: var(--forest-deep);
  background: var(--white);
}

.button-light:hover {
  color: var(--white);
  background: var(--wood);
}

.text-button {
  padding: 8px 0;
  color: var(--white);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  cursor: pointer;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.text-button span,
.map-link span {
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.text-button:hover span,
.map-link:hover span {
  transform: translate(3px, -3px);
}

.hero-footer {
  width: min(100% - 32px, 1440px);
  margin-inline: auto;
  padding: 24px 0 32px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-footer a span {
  margin-left: 10px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-bottom: 1px solid var(--line);
}

.fact {
  min-height: 160px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.fact:nth-child(even) {
  border-right: 0;
}

.fact strong {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 500;
  line-height: 1;
}

.fact span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-shell {
  width: min(100% - 32px, 1320px);
  margin-inline: auto;
}

.story {
  padding: 110px 0 120px;
}

.story-grid {
  display: grid;
  gap: 34px;
  margin-bottom: 68px;
}

.story h2,
.highlights h2 {
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 6.4rem);
}

.story-copy {
  max-width: 570px;
  color: #4f5b53;
}

.story-copy p {
  margin: 0 0 22px;
}

.story-image,
.wide-photo {
  position: relative;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.story-image {
  height: clamp(360px, 62vw, 760px);
}

.story-image img,
.wide-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.story-image:hover img,
.wide-photo:hover img,
.gallery-card:hover img {
  transform: scale(1.035);
}

.image-label {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 10px 12px;
  color: var(--white);
  background: rgba(18, 31, 23, 0.72);
  backdrop-filter: blur(10px);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-section {
  padding: 110px 0;
  color: var(--white);
  background: var(--forest-deep);
}

.gallery-heading {
  display: grid;
  gap: 28px;
  margin-bottom: 58px;
}

.eyebrow-light {
  color: var(--sand);
}

.gallery-heading h2,
.contact h2 {
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 6.4rem);
}

.gallery-heading > p {
  max-width: 370px;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  align-self: end;
}

.gallery-grid {
  width: min(100% - 32px, 1440px);
  margin-inline: auto;
  display: grid;
  grid-auto-rows: 260px;
  gap: 12px;
}

.gallery-card {
  position: relative;
  min-height: 260px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #263a30;
  cursor: zoom-in;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease, filter 0.7s ease;
}

.gallery-card:hover img {
  filter: brightness(0.82);
}

.gallery-card span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  opacity: 0;
  transform: translateY(8px);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.gallery-card:hover span,
.gallery-card:focus-visible span {
  opacity: 1;
  transform: translateY(0);
}

.gallery-more {
  margin-top: 54px;
  display: flex;
  justify-content: center;
}

.button-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: transparent;
}

.button-outline-light:hover {
  color: var(--forest-deep);
  background: var(--white);
}

.highlights {
  padding: 120px 0;
  display: grid;
  gap: 70px;
}

.highlights-intro {
  align-self: start;
}

.highlights-list {
  border-top: 1px solid var(--line);
}

.highlight {
  padding: 30px 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.highlight > span {
  color: var(--wood-dark);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
}

.highlight h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.15;
}

.highlight p {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.wide-photo {
  height: min(78vw, 860px);
  min-height: 460px;
}

.location {
  display: grid;
  background: #e6dfd4;
}

.location-copy {
  padding: 90px max(24px, 6vw);
  align-self: center;
}

.location h2 {
  max-width: 720px;
  font-size: clamp(3rem, 6vw, 5.6rem);
}

.location-copy > p {
  max-width: 560px;
  margin: 28px 0;
  color: #536057;
}

.map-link {
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  color: var(--forest);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.map {
  min-height: 480px;
  background: #cfcdc5;
}

.contact {
  padding: 110px max(16px, calc((100vw - 1320px) / 2));
  display: grid;
  gap: 60px;
  color: var(--white);
  background: var(--forest);
}

.contact-copy > p {
  max-width: 580px;
  margin: 28px 0;
  color: rgba(255, 255, 255, 0.68);
}

.contact-property {
  max-width: 580px;
  margin-top: 48px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-property strong {
  color: var(--sand);
  font-weight: 500;
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 0;
  color: var(--white);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 0;
  outline: none;
  background: transparent;
  transition: border-color 0.25s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--sand);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.field select option {
  color: var(--ink);
}

.button-wood {
  margin-top: 12px;
  color: var(--white);
  background: var(--wood);
}

.button-wood:hover {
  color: var(--forest-deep);
  background: var(--sand);
}

.button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-message {
  min-height: 24px;
  font-size: 0.78rem;
}

.form-message.success {
  color: #d7e4d3;
}

.form-message.error {
  color: #ffd2c0;
}

.final-cta {
  padding: 70px max(16px, calc((100vw - 1320px) / 2));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 34px;
  color: var(--white);
  background: var(--wood-dark);
}

.final-cta span {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.final-cta h2 {
  margin-top: 8px;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
}

footer {
  padding: 55px max(16px, calc((100vw - 1440px) / 2));
  display: grid;
  gap: 34px;
  color: rgba(255, 255, 255, 0.72);
  background: #101a14;
  font-size: 0.7rem;
}

.footer-brand {
  width: 116px;
}

.footer-brand img {
  max-height: 44px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-data {
  display: grid;
  gap: 8px;
}

.footer-data a:hover {
  color: var(--white);
}

.footer-note {
  align-self: end;
  opacity: 0.55;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 15;
  min-width: 52px;
  min-height: 52px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--white);
  background: var(--forest);
  box-shadow: 0 10px 35px rgba(10, 24, 15, 0.26);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.3s ease, transform 0.3s ease;
}

.whatsapp-float:hover {
  background: var(--wood-dark);
  transform: translateY(-3px);
}

.whatsapp-float strong {
  display: none;
  font-weight: 600;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 60px 16px 22px;
  color: var(--white);
  background: rgba(7, 13, 9, 0.96);
  animation: lightbox-in 0.25s ease both;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-content {
  width: min(1080px, 100%);
}

.lightbox-content img {
  width: 100%;
  max-height: calc(100svh - 150px);
  object-fit: contain;
}

.lightbox-content > div {
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  z-index: 1;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background 0.25s ease;
}

.lightbox-close:hover,
.lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lightbox-close {
  top: 14px;
  right: 16px;
  font-size: 1.6rem;
  line-height: 1;
}

.lightbox-arrow {
  top: 50%;
  transform: translateY(-50%);
  display: none;
}

.lightbox-previous {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

@keyframes lightbox-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.reveal {
  animation: reveal 0.75s ease both;
  animation-timeline: view();
  animation-range: entry 5% cover 22%;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 700px) {
  .site-header,
  .hero-content,
  .hero-footer,
  .gallery-grid {
    width: min(100% - 64px, 1440px);
  }

  .section-shell {
    width: min(100% - 64px, 1320px);
  }

  .header-cta {
    display: inline-block;
  }

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

  .fact {
    border-top: 0;
  }

  .fact:nth-child(even) {
    border-right: 1px solid var(--line);
  }

  .fact:last-child {
    border-right: 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 340px;
  }

  .gallery-card-1,
  .gallery-card-6 {
    grid-row: span 2;
  }

  .highlights {
    grid-template-columns: 0.9fr 1.1fr;
  }

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

  .field-wide {
    grid-column: 1 / -1;
  }

  .final-cta {
    flex-direction: row;
    align-items: center;
  }

  footer {
    grid-template-columns: 0.8fr 1.5fr 1fr;
  }

  .footer-note {
    text-align: right;
  }

  .whatsapp-float strong {
    display: inline;
  }

  .lightbox {
    padding-inline: 84px;
  }

  .lightbox-arrow {
    display: block;
  }
}

@media (min-width: 960px) {
  .site-header nav {
    display: flex;
  }

  .story-grid,
  .gallery-heading,
  .contact,
  .location {
    grid-template-columns: 1fr 1fr;
  }

  .story-copy {
    justify-self: end;
  }

  .gallery-heading > p {
    justify-self: end;
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 260px;
  }

  .gallery-card-1 {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery-card-2,
  .gallery-card-7 {
    grid-column: span 2;
  }

  .gallery-card-6 {
    grid-row: span 2;
  }

  .contact {
    gap: 100px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    animation: none;
  }
}
