@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --grove-ink: #17251f;
  --grove-forest: #17352b;
  --grove-forest-deep: #0b1b16;
  --grove-moss: #607866;
  --grove-leaf: #9eb09b;
  --grove-stone: #e9e1d4;
  --grove-stone-soft: #f5f1e9;
  --grove-white: #fffefa;
  --grove-line: rgba(23, 53, 43, .18);
  --grove-display: Manrope, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --grove-body: "DM Sans", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--grove-stone-soft); color: var(--grove-ink); font-family: var(--grove-body); line-height: 1.6; }
body.grove-lightbox-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
figure { margin: 0; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: rgba(158, 176, 155, .24); }
h1, h2, h3, section[id] { scroll-margin-top: 5rem; }
.grove-container { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.grove-skip { position: fixed; z-index: 999; top: 12px; left: 12px; transform: translateY(-180%); background: var(--grove-white); color: var(--grove-forest-deep); padding: .8rem 1rem; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.grove-skip:focus-visible { transform: translateY(0); }

.grove-header { position: absolute; z-index: 20; inset: 0 0 auto; min-height: 84px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; padding: 0 max(32px, calc((100% - 1200px) / 2)); color: var(--grove-white); border-bottom: 1px solid rgba(255,255,255,.22); }
.grove-brand { min-height: 44px; display: grid; align-content: center; line-height: 1; letter-spacing: .3em; font-size: .53rem; }
.grove-brand-name { margin-bottom: .35rem; font-family: var(--grove-display); font-size: 1rem; font-weight: 500; letter-spacing: .18em; }
.grove-header nav { display: flex; justify-content: center; gap: 2rem; font-size: .76rem; }
.grove-header nav a { padding-block: 1.2rem; color: rgba(255,255,255,.76); transition: color .2s ease; }
.grove-header nav a:hover { color: var(--grove-white); }
.grove-header-contact { min-height: 44px; display: inline-flex; align-items: center; border: 1px solid rgba(255,255,255,.56); padding: .55rem 1rem; font-size: .72rem; font-weight: 800; }
.grove-header-contact:hover { border-color: var(--grove-white); background: rgba(255,255,255,.1); }

.grove-hero { position: relative; min-height: 900px; display: grid; align-items: end; overflow: hidden; background: var(--grove-forest-deep); color: var(--grove-white); }
.grove-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.grove-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,25,19,.94) 0%, rgba(8,25,19,.72) 38%, rgba(8,25,19,.16) 72%), linear-gradient(0deg, rgba(8,25,19,.64), transparent 45%); }
.grove-hero-inner { position: relative; z-index: 2; display: flex; align-items: center; min-height: 900px; padding: 8rem 0 11rem; }
.grove-hero-copy { width: min(640px, 58%); }
.grove-location { margin: 0 0 2rem; color: var(--grove-leaf); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.grove-hero h1 { margin: 0 0 2rem; font-family: var(--grove-display); font-size: clamp(4.2rem, 8vw, 7.4rem); font-weight: 300; line-height: .8; letter-spacing: -.04em; }
.grove-hero h1 span { display: block; margin: 0 0 .4rem .4rem; font-size: .16em; font-weight: 700; letter-spacing: .34em; }
.grove-hero h1 small { display: block; margin: 1.25rem 0 0 .5rem; font-size: .13em; font-weight: 500; letter-spacing: .52em; }
.grove-hero-lead { max-width: 580px; margin: 0 0 2.2rem; color: rgba(255,254,250,.78); font-size: clamp(1.08rem, 1.8vw, 1.28rem); line-height: 1.55; }
.grove-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.grove-button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: .7rem; padding: .8rem 1.2rem; border: 1px solid transparent; font-size: .76rem; font-weight: 800; transition: transform .2s ease, background .2s ease, color .2s ease; }
.grove-button:hover { transform: translateY(-2px); }
.grove-button-primary { background: var(--grove-stone); color: var(--grove-forest-deep); }
.grove-button-primary:hover { background: var(--grove-white); }
.grove-button-outline { border-color: rgba(255,255,255,.52); color: var(--grove-white); }
.grove-button-outline:hover { background: rgba(255,255,255,.1); }
.grove-hero-summary { position: absolute; z-index: 3; inset: auto 0 0; display: grid; grid-template-columns: repeat(3, 1fr); padding-inline: max(32px, calc((100% - 1200px) / 2)); background: rgba(7,24,18,.86); backdrop-filter: blur(12px); }
.grove-hero-summary span { min-height: 98px; display: grid; align-content: center; gap: .1rem; padding: 1rem 2rem; border-right: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.62); font-size: .72rem; }
.grove-hero-summary span:first-child { padding-left: 0; }
.grove-hero-summary span:last-child { border-right: 0; }
.grove-hero-summary strong { display: block; color: var(--grove-white); font-size: 1.1rem; }

.grove-section { padding: 8rem 0; }
.grove-intro { background: var(--grove-stone); }
.grove-intro-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .7fr); gap: 8rem; align-items: start; }
.grove-intro-title > p { margin: 0 0 1.4rem; color: var(--grove-moss); font-size: .75rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.grove-intro h2, .grove-section-heading h2, .grove-location-copy h2 { max-width: 850px; margin: 0; font-family: var(--grove-display); font-size: clamp(3rem, 5vw, 5.4rem); font-weight: 500; line-height: .98; letter-spacing: -.04em; text-wrap: balance; }
.grove-intro-copy { max-width: 560px; padding-top: 3.6rem; color: rgba(23,37,31,.72); font-size: 1.03rem; }
.grove-intro-copy p { margin: 0 0 1.2rem; }
.grove-authors { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 6rem; border-top: 1px solid var(--grove-line); }
.grove-authors div { min-height: 120px; display: grid; align-content: center; gap: .35rem; border-right: 1px solid var(--grove-line); padding: 1.4rem; }
.grove-authors div:first-child { padding-left: 0; }
.grove-authors div:last-child { border-right: 0; }
.grove-authors span { color: var(--grove-moss); font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.grove-authors strong { font-family: var(--grove-display); font-size: 1rem; line-height: 1.25; }

.grove-cinematic { display: grid; grid-template-columns: 1fr 1fr; background: var(--grove-forest-deep); color: var(--grove-white); }
.grove-cinematic figure { position: relative; min-height: 410px; overflow: hidden; }
.grove-cinematic-wide { grid-column: 1 / -1; min-height: 620px !important; }
.grove-cinematic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.grove-cinematic figure:hover img { transform: scale(1.025); }
.grove-cinematic figcaption, .grove-leisure-gallery figcaption, .grove-interior-strip figcaption { position: absolute; inset: auto 0 0; padding: 2rem; background: linear-gradient(transparent, rgba(6,20,15,.78)); color: rgba(255,255,255,.82); font-size: .78rem; }

.grove-leisure { background: var(--grove-stone-soft); }
.grove-section-heading { display: flex; justify-content: space-between; gap: 4rem; align-items: end; margin-bottom: 4rem; }
.grove-section-heading p { max-width: 430px; margin: 0; color: rgba(23,37,31,.66); }
.grove-leisure-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); background: var(--grove-forest); color: var(--grove-white); }
.grove-leisure-main { position: relative; min-height: 620px; }
.grove-leisure-main img { width: 100%; height: 100%; object-fit: cover; }
.grove-leisure-main figcaption { position: absolute; inset: auto 0 0; padding: 2rem; background: linear-gradient(transparent, rgba(5,18,13,.75)); }
.grove-leisure-list { display: grid; padding: 2rem 3rem; }
.grove-leisure-list div { display: grid; align-content: center; border-bottom: 1px solid rgba(255,255,255,.17); }
.grove-leisure-list div:last-child { border-bottom: 0; }
.grove-leisure-list strong { margin-bottom: .8rem; font-family: var(--grove-display); font-size: 1.65rem; font-weight: 500; }
.grove-leisure-list span { color: rgba(255,255,255,.66); font-size: .9rem; }
.grove-leisure-gallery { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 1rem; gap: 1rem; }
.grove-leisure-gallery figure, .grove-interior-strip figure { position: relative; min-height: 300px; overflow: hidden; }
.grove-leisure-gallery img, .grove-interior-strip img { width: 100%; height: 100%; object-fit: cover; }

.grove-residences { overflow: hidden; background: var(--grove-forest-deep); color: var(--grove-white); }
.grove-section-heading-light p { color: rgba(255,255,255,.62); }
.grove-residence-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.grove-residence-card { background: var(--grove-stone); color: var(--grove-ink); }
.grove-residence-card-offset { margin-top: 8rem; }
.grove-residence-card img { width: 100%; aspect-ratio: 1.7; object-fit: cover; }
.grove-residence-card div { padding: 2.2rem; }
.grove-residence-card h3 { margin: 0 0 1rem; font-family: var(--grove-display); font-size: 3rem; font-weight: 500; letter-spacing: -.04em; }
.grove-residence-card p { margin: 0 0 1.6rem; color: rgba(23,37,31,.68); }
.grove-residence-card span { display: block; border-top: 1px solid var(--grove-line); padding-top: 1rem; color: var(--grove-moss); font-size: .75rem; font-weight: 800; }
.grove-interior-strip { display: grid; grid-template-columns: 1.35fr .8fr 1fr; gap: 1rem; margin-top: 5rem; }

.grove-plans { background: var(--grove-stone); }
.grove-plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--grove-line); border-left: 1px solid var(--grove-line); }
.grove-plan-grid figure { display: grid; grid-template-rows: 1fr auto; border-right: 1px solid var(--grove-line); border-bottom: 1px solid var(--grove-line); background: var(--grove-white); }
.grove-plan-grid button { width: 100%; min-height: 330px; display: grid; place-items: center; border: 0; padding: 1.2rem; background: transparent; cursor: zoom-in; }
.grove-plan-grid button:focus-visible { outline: 3px solid var(--grove-moss); outline-offset: -4px; }
.grove-plan-grid img { width: 100%; height: 290px; object-fit: contain; transition: transform .35s ease; }
.grove-plan-grid button:hover img { transform: scale(1.025); }
.grove-plan-grid figcaption { display: grid; gap: .25rem; padding: 1.1rem 1.2rem; border-top: 1px solid var(--grove-line); }
.grove-plan-grid strong { font-family: var(--grove-display); }
.grove-plan-grid span { color: var(--grove-moss); font-size: .74rem; }

.grove-videos { background: var(--grove-forest); color: var(--grove-white); }
.grove-video-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 1rem; align-items: start; }
.grove-video-grid article { background: var(--grove-forest-deep); }
.grove-video-grid article:nth-child(2) { margin-top: 6rem; }
.grove-video-grid video { width: 100%; aspect-ratio: 16 / 9; background: #020403; object-fit: cover; }
.grove-video-grid article > div { padding: 1.5rem; }
.grove-video-grid h3 { margin: 0 0 .4rem; font-family: var(--grove-display); font-size: 1.35rem; font-weight: 500; }
.grove-video-grid p { margin: 0; color: rgba(255,255,255,.62); font-size: .86rem; }

.grove-location-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 720px; background: var(--grove-stone); }
.grove-location-image { min-height: 600px; background: url("assets/otimizadas/grove/fachada-diurna.webp") center / cover no-repeat; }
.grove-location-copy { display: grid; align-content: center; padding: clamp(3rem, 7vw, 7rem); }
.grove-location-copy > p:first-child { margin: 0 0 1.3rem; color: var(--grove-moss); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.grove-location-copy > p:not(:first-child) { max-width: 580px; margin: 2rem 0 1rem; color: rgba(23,37,31,.7); }
.grove-location-copy address { margin: 0 0 2rem; font-style: normal; font-weight: 800; }
.grove-location-copy .grove-button-primary { background: var(--grove-forest); color: var(--grove-white); }
.grove-location-copy .grove-button-primary:hover { background: var(--grove-forest-deep); }
.grove-location-copy .grove-button-outline { border-color: var(--grove-forest); color: var(--grove-forest); }
.grove-location-copy .grove-button:focus-visible { outline-color: var(--grove-forest-deep); }
.grove-location-copy small { max-width: 620px; display: block; margin-top: 2rem; color: rgba(23,37,31,.58); font-size: .68rem; }

.grove-footer { min-height: 110px; display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 1.5rem max(32px, calc((100% - 1200px) / 2)); background: var(--grove-forest-deep); color: var(--grove-white); }
.grove-footer div { display: grid; gap: .2rem; }
.grove-footer strong { font-family: var(--grove-display); }
.grove-footer span, .grove-footer a { color: rgba(255,255,255,.58); font-size: .72rem; }
.grove-footer a { min-height: 44px; display: inline-flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,.32); }

.grove-lightbox[hidden] { display: none; }
.grove-lightbox { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; overscroll-behavior: contain; padding: 2rem; background: rgba(4,15,11,.9); }
.grove-lightbox-backdrop { position: absolute; inset: 0; }
.grove-lightbox-dialog { position: relative; z-index: 1; width: min(1050px, 100%); max-height: calc(100vh - 4rem); display: grid; grid-template-rows: auto 1fr; background: var(--grove-white); box-shadow: 0 30px 80px rgba(0,0,0,.38); }
.grove-lightbox-head { min-height: 58px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--grove-line); padding: .7rem 1rem; }
.grove-lightbox-head h2 { margin: 0; font-family: var(--grove-display); font-size: 1rem; }
.grove-lightbox-head button { min-width: 70px; min-height: 44px; border: 0; background: var(--grove-forest); color: var(--grove-white); cursor: pointer; }
.grove-lightbox-head button:hover { background: var(--grove-forest-deep); }
.grove-lightbox-dialog img { width: 100%; max-height: calc(100vh - 7.8rem); object-fit: contain; padding: 1rem; }

:focus-visible { outline: 3px solid #b8ddb9; outline-offset: 3px; }
@media (max-width: 980px) {
  .grove-header nav { display: none; }
  .grove-header { grid-template-columns: 1fr auto; }
  .grove-hero-copy { width: min(680px, 76%); }
  .grove-intro-grid { gap: 4rem; }
  .grove-authors, .grove-leisure-gallery, .grove-plan-grid { grid-template-columns: repeat(2, 1fr); }
  .grove-leisure-layout { grid-template-columns: 1fr; }
  .grove-leisure-main { min-height: 520px; }
  .grove-leisure-list { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .grove-leisure-list div { min-height: 190px; border-bottom: 0; border-right: 1px solid rgba(255,255,255,.17); padding-right: 1rem; }
  .grove-leisure-list div:last-child { border-right: 0; }
  .grove-location-section { grid-template-columns: .8fr 1.2fr; }
}
@media (max-width: 720px) {
  .grove-container { width: min(100% - 36px, 1200px); }
  .grove-header { min-height: 72px; padding-inline: 18px; }
  .grove-header-contact { padding: .45rem .7rem; }
  .grove-hero, .grove-hero-inner { min-height: 820px; }
  .grove-hero-image { object-position: 65% center; }
  .grove-hero-shade { background: linear-gradient(0deg, rgba(8,25,19,.96) 0%, rgba(8,25,19,.68) 60%, rgba(8,25,19,.16) 100%); }
  .grove-hero-inner { align-items: end; padding: 8rem 0 14rem; }
  .grove-hero-copy { width: 100%; }
  .grove-hero h1 { font-size: clamp(3.8rem, 19vw, 5.5rem); }
  .grove-hero-lead { max-width: 95%; }
  .grove-actions { display: grid; }
  .grove-button { width: 100%; }
  .grove-hero-summary { grid-template-columns: repeat(3, minmax(0,1fr)); padding-inline: 18px; }
  .grove-hero-summary span { min-height: 112px; padding: .8rem; font-size: .58rem; line-height: 1.35; }
  .grove-hero-summary span:first-child { padding-left: .1rem; }
  .grove-hero-summary strong { font-size: .86rem; }
  .grove-section { padding: 5rem 0; }
  .grove-intro-grid, .grove-section-heading, .grove-residence-pair, .grove-video-grid, .grove-location-section { grid-template-columns: 1fr; }
  .grove-intro-grid { gap: 1.5rem; }
  .grove-intro-copy { padding-top: 0; }
  .grove-authors { grid-template-columns: 1fr 1fr; margin-top: 3.5rem; }
  .grove-authors div:nth-child(2) { border-right: 0; }
  .grove-authors div:nth-child(-n+2) { border-bottom: 1px solid var(--grove-line); }
  .grove-cinematic { grid-template-columns: 1fr; }
  .grove-cinematic-wide { grid-column: auto; min-height: 420px !important; }
  .grove-cinematic figure { min-height: 300px; }
  .grove-section-heading { display: grid; gap: 1.4rem; margin-bottom: 2.8rem; }
  .grove-section-heading h2, .grove-intro h2, .grove-location-copy h2 { font-size: clamp(2.8rem, 13vw, 4rem); }
  .grove-leisure-main { min-height: 430px; }
  .grove-leisure-list { grid-template-columns: 1fr; padding: 1.5rem; }
  .grove-leisure-list div { min-height: 150px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.17); }
  .grove-leisure-gallery, .grove-plan-grid { grid-template-columns: 1fr 1fr; }
  .grove-leisure-gallery figure { min-height: 240px; }
  .grove-residence-pair { gap: 1.2rem; }
  .grove-residence-card-offset, .grove-video-grid article:nth-child(2) { margin-top: 0; }
  .grove-interior-strip { grid-template-columns: 1fr; margin-top: 2rem; }
  .grove-interior-strip figure { min-height: 330px; }
  .grove-plan-grid button { min-height: 250px; }
  .grove-plan-grid img { height: 220px; }
  .grove-video-grid { display: grid; gap: 1rem; }
  .grove-location-image { min-height: 520px; }
  .grove-location-copy { padding: 4rem 18px; }
  .grove-footer { align-items: start; padding-inline: 18px; }
  .grove-lightbox { padding: 1rem; }
}
@media (max-width: 460px) {
  .grove-brand-name { font-size: .86rem; }
  .grove-header-contact { font-size: .66rem; }
  .grove-leisure-gallery, .grove-plan-grid { grid-template-columns: 1fr; }
  .grove-footer { display: grid; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
