:root {
  --connect-ink: #081f31;
  --connect-blue: #1174b7;
  --connect-cyan: #279fa8;
  --connect-lime: #a7bf2e;
  --connect-cream: #f4f1e9;
  --connect-paper: #fffdf7;
  --connect-line: rgba(8, 31, 49, .16);
}

body { background: var(--connect-cream); color: #132534; }
img { display: block; max-width: 100%; }
.cs-section { padding: clamp(4rem, 8vw, 7.5rem) 0; }
.cs-wrap { width: min(calc(100% - 2rem), 1160px); margin: auto; }
.cs-eyebrow { margin: 0 0 .65rem; color: var(--connect-blue); font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.cs-head { max-width: 790px; margin-bottom: 2rem; }
.cs-head h2 { margin: 0; font: 500 clamp(2.25rem, 6vw, 4.8rem)/.95 Georgia, serif; letter-spacing: -.05em; }
.cs-head > p:last-child { max-width: 710px; margin: 1rem 0 0; color: #5c6c78; }

.cs-hero { position: relative; min-height: min(860px, 90svh); display: grid; align-items: end; overflow: hidden; background: var(--connect-ink); color: #fff; }
.cs-hero picture, .cs-hero picture img, .cs-hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.cs-hero picture img { object-fit: cover; object-position: 58% center; }
.cs-hero::after { content: ""; background: linear-gradient(90deg, rgba(5, 24, 40, .92) 0%, rgba(5, 24, 40, .68) 43%, rgba(5, 24, 40, .12) 78%), linear-gradient(0deg, rgba(5, 24, 40, .7), transparent 50%); }
.cs-hero__copy { position: relative; z-index: 1; width: min(calc(100% - 2rem), 1160px); margin: auto; padding: clamp(8rem, 15vh, 11rem) 0 3.5rem; }
.cs-hero__logo { width: clamp(180px, 24vw, 300px); height: auto; margin-bottom: 1.25rem; filter: drop-shadow(0 10px 22px rgba(0,0,0,.28)); }
.cs-kicker { display: inline-flex; padding: .38rem .72rem; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: rgba(8,31,49,.45); backdrop-filter: blur(14px); font-size: .67rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.cs-hero h1 { max-width: 900px; margin: .85rem 0 .8rem; font: 500 clamp(3.25rem, 9vw, 7.4rem)/.88 Georgia, serif; letter-spacing: -.065em; }
.cs-hero__lead { max-width: 690px; margin: 0; color: rgba(255,255,255,.83); font-size: clamp(1rem, 2vw, 1.22rem); }
.cs-hero__offer { display: flex; flex-wrap: wrap; align-items: baseline; gap: .55rem 1rem; margin: 1.3rem 0 0; }
.cs-hero__offer strong { color: #d8e86d; font: 500 clamp(2rem, 4.5vw, 3.4rem)/1 Georgia, serif; }
.cs-hero__offer span { color: rgba(255,255,255,.72); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.cs-hero__offer small { flex-basis: 100%; color: rgba(255,255,255,.56); }
.cs-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.cs-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .82rem 1.15rem; border: 2px solid rgba(255,255,255,.68); background: rgba(8,31,49,.35); color: #fff; text-decoration: none; font-weight: 800; text-align: center; backdrop-filter: blur(12px); transition: transform .2s, background .2s; }
.cs-button:hover { transform: translateY(-2px); background: rgba(8,31,49,.72); }
.cs-button--primary { border-color: var(--connect-lime); background: var(--connect-lime); color: var(--connect-ink); box-shadow: 6px 6px 0 var(--connect-ink); }
.cs-button--primary:hover { background: #bdd348; }
.cs-last-units { position: absolute; top: clamp(6.5rem, 11vh, 8.5rem); right: 0; display: grid; place-items: center; width: 116px; aspect-ratio: 1; padding: 1rem; border: 2px solid #d8e86d; border-radius: 50%; background: rgba(8,31,49,.78); box-shadow: inset 0 0 0 5px rgba(255,255,255,.06), 0 0 40px rgba(167,191,46,.28); color: #e7f29a; text-align: center; font-size: .66rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; rotate: 7deg; }

.cs-facts { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, 1fr); background: var(--connect-ink); color: #fff; border-top: 1px solid rgba(255,255,255,.14); }
.cs-fact { padding: 1.25rem 1rem; border-right: 1px solid rgba(255,255,255,.13); border-bottom: 1px solid rgba(255,255,255,.13); }
.cs-fact strong { display: block; font: 500 1.45rem/1.08 Georgia, serif; color: #c9db66; }
.cs-fact span { display: block; margin-top: .4rem; color: rgba(255,255,255,.58); font-size: .65rem; letter-spacing: .09em; text-transform: uppercase; }

.cs-story { display: grid; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.cs-story__copy > p { max-width: 700px; color: #536571; }
.cs-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; margin-top: 1.6rem; }
.cs-metric { padding: 1rem; border: 1px solid var(--connect-line); background: rgba(255,255,255,.72); }
.cs-metric strong { display: block; color: var(--connect-blue); font: 500 1.55rem Georgia, serif; }
.cs-metric span { color: #60717d; font-size: .72rem; }
.cs-story__image { min-height: 540px; overflow: hidden; background: #dbe7e6; }
.cs-story__image img { width: 100%; height: 100%; object-fit: cover; }

.cs-dark { background: radial-gradient(circle at 88% 8%, rgba(39,159,168,.25), transparent 28%), var(--connect-ink); color: #fff; }
.cs-dark .cs-eyebrow { color: #c9db66; }
.cs-dark .cs-head > p:last-child { color: rgba(255,255,255,.65); }
.cs-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.cs-gallery button { position: relative; min-height: 220px; padding: 0; border: 0; overflow: hidden; background: #12354d; cursor: zoom-in; }
.cs-gallery button:first-child { grid-column: 1 / -1; min-height: 430px; }
.cs-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cs-gallery button:hover img { transform: scale(1.025); }
.cs-gallery button:focus-visible { outline: 4px solid var(--connect-lime); outline-offset: 3px; }
.cs-gallery span { position: absolute; inset: auto 0 0; padding: 2rem .8rem .7rem; background: linear-gradient(transparent, rgba(3,17,29,.84)); color: #fff; font-size: .72rem; text-align: left; }
.cs-gallery-note { margin: 1rem 0 0; color: rgba(255,255,255,.52); font-size: .78rem; }

.cs-amenities { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.cs-amenity { min-height: 100px; display: flex; align-items: end; padding: 1rem; border: 1px solid var(--connect-line); background: var(--connect-paper); font-weight: 800; }
.cs-amenity:nth-child(4n+1), .cs-amenity:nth-child(4n+4) { border-top: 5px solid var(--connect-cyan); }
.cs-amenity:nth-child(4n+2), .cs-amenity:nth-child(4n+3) { border-top: 5px solid var(--connect-lime); }
.cs-professionals { display: grid; gap: .8rem; margin-top: 2rem; }
.cs-professional { padding: 1rem 1.1rem; border-left: 4px solid var(--connect-blue); background: #fff; }
.cs-professional strong, .cs-professional span { display: block; }
.cs-professional span { margin-top: .2rem; color: #60717d; font-size: .8rem; }

.cs-plants { display: grid; grid-auto-flow: column; grid-auto-columns: 88%; gap: 1rem; overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x mandatory; }
.cs-plants figure { margin: 0; padding: 1rem; border: 1px solid var(--connect-line); background: #fff; scroll-snap-align: start; }
.cs-plants img { width: 100%; height: auto; object-fit: contain; }
.cs-plants figcaption { padding: .8rem .2rem 0; color: #596b78; font-size: .78rem; }

.cs-location { background: #e8eee9; }
.cs-location__grid { display: grid; gap: 1rem; }
.cs-map { width: 100%; min-height: 450px; border: 0; background: #d6e2e0; }
.cs-location__card { padding: clamp(1.4rem, 4vw, 2.2rem); background: var(--connect-blue); color: #fff; }
.cs-location__card h3 { margin: 0 0 .7rem; font: 500 clamp(2rem, 4vw, 3.2rem)/1 Georgia, serif; }
.cs-location__card p { color: rgba(255,255,255,.78); }
.cs-location__card strong { color: #e7f29a; }
.cs-location__card a { color: #fff; font-weight: 800; text-underline-offset: 4px; }
.cs-location__card ul { padding-left: 1.2rem; color: rgba(255,255,255,.78); }

.cs-faq { max-width: 900px; }
.cs-faq details { border-bottom: 1px solid var(--connect-line); }
.cs-faq summary { padding: 1.2rem 0; cursor: pointer; font-weight: 800; }
.cs-faq details p { margin: 0 0 1.2rem; color: #5b6d78; }
.cs-faq a { color: var(--connect-blue); font-weight: 800; }

.cs-contact { position: relative; overflow: hidden; border-block: 10px solid var(--connect-ink); background: #f2c84b; color: var(--connect-ink); }
.cs-contact::before { content: "CONTATO"; position: absolute; top: -.18em; right: -.08em; color: transparent; font: 600 clamp(8rem, 22vw, 21rem)/1 Georgia, serif; -webkit-text-stroke: 2px rgba(8,31,49,.13); letter-spacing: -.08em; pointer-events: none; }
.cs-contact__grid { position: relative; z-index: 1; display: grid; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.cs-contact .cs-eyebrow { display: inline-block; padding: .35rem .6rem; background: var(--connect-ink); color: #f4d86d; }
.cs-contact h2 { margin: .4rem 0 1rem; font: 500 clamp(3rem, 6vw, 6rem)/.86 Georgia, serif; letter-spacing: -.06em; }
.cs-contact__copy > p { max-width: 570px; }
.cs-direct { display: grid; gap: .75rem; margin-top: 1.5rem; }
.cs-direct a { width: max-content; max-width: 100%; padding: .72rem .9rem; border: 2px solid var(--connect-ink); background: #fff9e7; color: var(--connect-ink); text-decoration: none; font-weight: 800; box-shadow: 5px 5px 0 var(--connect-ink); }
.cs-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: clamp(1.3rem, 4vw, 2.2rem); border: 3px solid var(--connect-ink); background: #fff9e7; color: var(--connect-ink); box-shadow: 14px 14px 0 var(--connect-ink); }
.cs-form::before { content: "RECEBER DETALHES"; grid-column: 1 / -1; font: 600 clamp(1.8rem, 4vw, 3.1rem)/.9 Georgia, serif; letter-spacing: -.04em; }
.cs-form label { display: grid; gap: .35rem; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.cs-form .full { grid-column: 1 / -1; }
.cs-form input, .cs-form select, .cs-form textarea { width: 100%; padding: .8rem .9rem; border: 2px solid var(--connect-ink); background: #fff; color: var(--connect-ink); font: inherit; }
.cs-form textarea { resize: vertical; }
.cs-form input:focus, .cs-form select:focus, .cs-form textarea:focus { outline: 4px solid rgba(17,116,183,.25); outline-offset: 1px; }
.cs-form .consent { grid-template-columns: auto 1fr; align-items: start; letter-spacing: 0; text-transform: none; font-weight: 400; }
.cs-form .consent input { width: auto; margin-top: .25rem; }
.cs-form .cs-submit { border: 2px solid var(--connect-ink); background: var(--connect-ink); color: #f4d86d; box-shadow: 5px 5px 0 var(--connect-blue); cursor: pointer; }
.cs-form .form-feedback { margin: 0; color: #244d35; }
.cs-form .whatsapp-copy { color: var(--connect-ink); font-weight: 800; }

.cs-lightbox { width: min(1160px, 95vw); max-height: 95vh; padding: 0; border: 0; background: #061621; color: #fff; }
.cs-lightbox::backdrop { background: rgba(2, 10, 17, .91); }
.cs-lightbox__bar { display: flex; align-items: center; gap: .8rem; padding: .75rem 1rem; }
.cs-lightbox__bar p { margin: 0; }
.cs-lightbox__counter { margin-left: auto; color: rgba(255,255,255,.6); font-size: .75rem; }
.cs-lightbox__close { border: 0; background: transparent; color: #fff; font-size: 1.7rem; cursor: pointer; }
.cs-lightbox__stage { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .6rem; padding: 0 .6rem .8rem; }
.cs-lightbox__stage img { width: 100%; max-height: 79vh; object-fit: contain; }
.cs-lightbox__nav { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: 1.8rem; cursor: pointer; }
.cs-lightbox__nav:focus-visible { outline: 3px solid var(--connect-lime); }

@media (min-width: 700px) {
  .cs-facts { grid-template-columns: repeat(5, 1fr); }
  .cs-amenities { grid-template-columns: repeat(4, 1fr); }
  .cs-professionals { grid-template-columns: repeat(3, 1fr); }
  .cs-plants { grid-auto-columns: 45%; }
}
@media (min-width: 940px) {
  .cs-story { grid-template-columns: 1fr .82fr; }
  .cs-gallery { grid-template-columns: repeat(3, 1fr); }
  .cs-gallery button:first-child { grid-column: span 2; grid-row: span 2; min-height: 640px; }
  .cs-gallery button { min-height: 310px; }
  .cs-plants { grid-auto-columns: 31%; }
  .cs-location__grid { grid-template-columns: 1.45fr .72fr; }
  .cs-contact__grid { grid-template-columns: .82fr 1.18fr; }
}
@media (max-width: 620px) {
  .cs-section { padding: 4rem 0; }
  .cs-hero { min-height: 790px; }
  .cs-hero picture img { object-position: 66% center; }
  .cs-hero::after { background: linear-gradient(0deg, rgba(5,24,40,.97) 0%, rgba(5,24,40,.67) 64%, rgba(5,24,40,.18)); }
  .cs-hero__copy { padding-bottom: 2.2rem; }
  .cs-last-units { top: 6.3rem; right: .1rem; width: 88px; padding: .7rem; font-size: .52rem; }
  .cs-actions { display: grid; }
  .cs-actions .cs-button, .cs-direct a { width: 100%; }
  .cs-gallery button, .cs-gallery button:first-child { min-height: 260px; }
  .cs-metrics, .cs-amenities { grid-template-columns: 1fr; }
  .cs-story__image { min-height: 460px; }
  .cs-form { grid-template-columns: 1fr; box-shadow: 8px 8px 0 var(--connect-ink); }
  .cs-form .full, .cs-form::before { grid-column: auto; }
  .cs-contact { border-block-width: 7px; }
  .cs-lightbox__stage { grid-template-columns: 38px minmax(0,1fr) 38px; gap: .3rem; padding-inline: .3rem; }
  .cs-lightbox__nav { width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
