/* ===========================================================
   Reserva do Longá — folha de estilo única
   Linguagem visual editorial inspirada em windicaraizinho.com.br,
   com a paleta verde e ouro da marca.
   =========================================================== */

:root {
  --verde: #233A1C;
  --verde-fundo: #1B2E16;
  --ouro: #C69645;
  --ouro-claro: #E2AD58;
  --tinta: #1A1A18;
  --tinta-suave: #6B6A64;
  --areia: #EAE5DF;
  --areia-clara: #F4F1EC;
  --linha: #DAD3CA;
  --branco: #FFFFFF;

  --fonte-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --fonte-texto: "Chivo", "Segoe UI", system-ui, sans-serif;

  --max: 1240px;
  --gap: clamp(2rem, 5vw, 4.5rem);
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--fonte-texto);
  font-size: clamp(.95rem, .91rem + .2vw, 1.03rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--tinta);
  background: var(--areia-clara);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
p { margin: 0 0 1.1em; }

/* Títulos editoriais: serifa leve, caixa baixa, muito ar */
.display {
  font-family: var(--fonte-display);
  font-weight: 300;
  text-transform: lowercase;
  line-height: 1.05;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
}
h1.display { font-size: clamp(2.9rem, 1.6rem + 5.4vw, 6rem); }
h2.display { font-size: clamp(2.1rem, 1.3rem + 3.3vw, 4rem); }

h3 {
  font-family: var(--fonte-texto);
  font-weight: 500;
  font-size: 1.02rem;
  line-height: 1.4;
  letter-spacing: .01em;
  margin: 0 0 .6em;
}

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.center { text-align: center; }
.section { padding: clamp(4.5rem, 9vw, 9rem) 0; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--verde); color: #fff; padding: .75rem 1.25rem; }
.skip-link:focus { left: 0; }

:where(a, button):focus-visible { outline: 2px solid var(--ouro); outline-offset: 4px; }

.eyebrow {
  font-family: var(--fonte-texto);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .7rem;
  font-weight: 500;
  color: var(--ouro);
  margin-bottom: 1.6rem;
}
.eyebrow--light { color: var(--ouro-claro); }

/* ---------- Botões ---------- */
.btn {
  display: inline-block;
  font-family: var(--fonte-texto);
  font-weight: 400;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  padding: 1rem 2.1rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn--solid { background: var(--verde); color: #fff; border: 1px solid var(--verde); }
.btn--solid:hover { background: var(--ouro); border-color: var(--ouro); }
.btn--lg { padding: 1.15rem 2.8rem; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 1.1rem 0;
  transition: background-color .35s ease, padding .35s ease, box-shadow .35s ease;
}
.header.is-scrolled {
  background: rgba(27,46,22,.97);
  backdrop-filter: blur(10px);
  padding: .5rem 0;
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header__logo img { width: clamp(132px, 13vw, 176px); }

.nav { display: flex; align-items: center; gap: clamp(1rem, 1.9vw, 2.1rem); }
.nav a {
  font-size: .7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: #fff;
  text-decoration: none;
  transition: color .2s ease;
}
.nav a:not(.btn):hover { color: var(--ouro-claro); }
.nav__cta { background: transparent; border: 1px solid rgba(255,255,255,.55); padding: .7rem 1.5rem; }
.nav__cta:hover { background: var(--ouro); border-color: var(--ouro); color: #fff; }

.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; }
.nav-toggle span { display: block; height: 1px; background: #fff; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 0 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: .1rem;
    background: var(--verde-fundo);
    padding: calc(var(--header-h) + 1.5rem) 1.75rem 2.5rem;
    transform: translateY(-110%);
    transition: transform .35s ease;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { font-size: .95rem; letter-spacing: .12em; padding: .85rem 0; width: 100%; }
  .nav__cta { margin-top: 1rem; text-align: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100vh, 900px); display: flex; flex-direction: column; justify-content: flex-end; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,30,16,.55) 0%, rgba(20,30,16,.12) 35%, rgba(20,30,16,.85) 100%);
}
.hero__content {
  position: relative; z-index: 1;
  color: #fff;
  padding: clamp(7rem, 16vw, 11rem) 0 clamp(2rem, 4vw, 3rem);
}
.hero__lead {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .26em;
  line-height: 2.2;
  color: rgba(255,255,255,.88);
  margin: 1.5rem 0 2.5rem;
}
.hero__status {
  position: relative; z-index: 1;
  margin: 0;
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,.2);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  text-align: center;
  color: rgba(255,255,255,.75);
}

/* ---------- Conceito ---------- */
.section--concept { background: var(--areia-clara); }
.concept { display: grid; gap: var(--gap); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .concept { grid-template-columns: 1fr 1.05fr; } }
.concept__text h2 { color: var(--verde); }
.concept__text .btn { margin-top: 1rem; }
.concept__media img { width: 100%; }

/* ---------- Diferenciais ---------- */
.section--features { background: var(--areia); }
.section--features h2 { color: var(--verde); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.features {
  display: grid;
  gap: 1px;
  background: var(--linha);
  border: 1px solid var(--linha);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
  background: var(--areia);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  transition: background-color .3s ease;
}
.feature:hover { background: var(--areia-clara); }
.feature svg {
  width: 34px; height: 34px;
  fill: none; stroke: var(--ouro); stroke-width: 1.2;
  stroke-linecap: round; stroke-linejoin: round;
  margin-bottom: 1.5rem;
}
.feature h3 { color: var(--verde); }
.feature p { color: var(--tinta-suave); font-size: .93rem; margin: 0; }

/* ---------- Lazer ---------- */
.section--dark { background: var(--verde-fundo); color: #fff; padding-bottom: 0; }
.leisure__head { max-width: 48rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.amenities { display: grid; gap: 2.5rem 2rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.amenities__group h3 {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .24em;
  color: var(--ouro-claro);
  padding-bottom: .9rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.amenities__group li { padding: .35rem 0; color: rgba(255,255,255,.82); font-size: .95rem; }
.leisure__media { margin-top: clamp(3.5rem, 7vw, 6rem); }
.leisure__media img { width: 100%; max-height: 70vh; object-fit: cover; }

/* ---------- Vídeo ---------- */
.section--video { background: var(--areia-clara); }
.video { position: relative; overflow: hidden; aspect-ratio: 16 / 9; }
.video img, .video iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.video__play {
  position: absolute; inset: 0; margin: auto;
  width: 84px; height: 84px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.7); cursor: pointer;
  background: rgba(35,58,28,.55);
  display: grid; place-items: center;
  transition: background-color .25s ease, transform .25s ease;
}
.video__play:hover { background: var(--ouro); transform: scale(1.06); }
.video__play svg { width: 34px; height: 34px; fill: #fff; }

/* ---------- Localização ---------- */
.location { display: grid; gap: var(--gap); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 960px) { .location { grid-template-columns: .8fr 1.2fr; } }
.location__text h2 { color: var(--verde); }
.location__points { margin-top: 2rem; }
.location__points li { padding: 1rem 0; border-top: 1px solid var(--linha); }
.location__points strong {
  display: block;
  font-family: var(--fonte-display);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.2;
  text-transform: lowercase;
  color: var(--ouro);
}
.location__points span { font-size: .88rem; color: var(--tinta-suave); }

/* ---------- Andamento da obra ----------
   Tratamento mais cru que o resto da página, para que o registro real
   do canteiro não seja confundido com as ilustrações do projeto. */
.section--works { background: var(--areia); }
.works__head { max-width: 42rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.works__head h2 { color: var(--verde); }
.works__head p { color: var(--tinta-suave); margin: 0; }

.works {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .works { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .works { grid-template-columns: repeat(3, 1fr); } }

.work img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(.92);
}
.work figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0 0;
  border-top: 1px solid var(--linha);
  margin-top: .85rem;
}
.work__stage {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--verde);
}
.work time {
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--tinta-suave);
  white-space: nowrap;
}
.works__note {
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--tinta-suave);
}

/* ---------- História ---------- */
.section--roots { background: var(--areia-clara); }
.person { display: grid; gap: var(--gap); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .person { grid-template-columns: .8fr 1.2fr; } }
.person__photo img { width: 100%; object-fit: cover; }
.person__text h2 { color: var(--verde); }
.person__role {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--tinta-suave);
  margin-bottom: 2rem;
}

/* ---------- Galeria ---------- */
.section--gallery { background: var(--areia); }
.section--gallery h2 { color: var(--verde); margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.carousel { position: relative; }
.carousel__track {
  display: flex; gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 max(1.25rem, calc((100vw - var(--max)) / 2)) 1rem;
  scrollbar-width: thin;
}
/* No modo automático o encaixe e a rolagem suave são desligados,
   senão brigam com o avanço quadro a quadro feito em JS. */
.carousel.is-auto .carousel__track {
  scroll-snap-type: none;
  scroll-behavior: auto;
  scrollbar-width: none;
}
.carousel.is-auto .carousel__track::-webkit-scrollbar { display: none; }

.carousel__item { flex: 0 0 min(80vw, 620px); scroll-snap-align: center; }
.carousel__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.carousel__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 52px; height: 52px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: rgba(27,46,22,.8); color: #fff;
  font-size: 1.7rem; line-height: 1;
  display: grid; place-items: center;
  transition: background-color .2s ease;
}
.carousel__nav:hover { background: var(--ouro); }
.carousel__nav--prev { left: 1rem; }
.carousel__nav--next { right: 1rem; }
@media (max-width: 700px) { .carousel__nav { display: none; } }

/* ---------- FAQ ---------- */
.section--faq { background: var(--areia-clara); }
.faq { max-width: 48rem; }
.faq h2 { color: var(--verde); margin-bottom: 2.5rem; }
.accordion__item { border-bottom: 1px solid var(--linha); }
.accordion__item:first-child { border-top: 1px solid var(--linha); }
.accordion__item h3 { margin: 0; font-size: inherit; }
.accordion__trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  background: none; border: 0; cursor: pointer;
  font-family: var(--fonte-texto);
  font-size: clamp(.95rem, .9rem + .3vw, 1.1rem);
  font-weight: 400;
  color: var(--verde);
  text-align: left;
  padding: 1.5rem 0;
}
.accordion__icon { flex: 0 0 auto; width: 16px; height: 16px; position: relative; }
.accordion__icon::before, .accordion__icon::after {
  content: ""; position: absolute; inset: 50% 0 auto 0;
  height: 1px; background: var(--ouro);
  transition: transform .25s ease;
}
.accordion__icon::after { transform: rotate(90deg); }
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { transform: rotate(0deg); }
.accordion__panel { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.accordion__panel p { padding-bottom: 1.5rem; margin: 0; color: var(--tinta-suave); }

/* ---------- CTA final ---------- */
.cta-final {
  position: relative;
  background: var(--verde-fundo) url("../img/hero-2.webp") center/cover no-repeat;
  color: #fff;
  padding: clamp(5rem, 10vw, 9rem) 0;
}
.cta-final::before { content: ""; position: absolute; inset: 0; background: rgba(20,30,16,.72); }
.cta-final .container { position: relative; }
.cta-final p { color: rgba(255,255,255,.8); margin-bottom: 2.2rem; }

/* ---------- Rodapé ---------- */
.footer { background: var(--tinta); color: rgba(255,255,255,.65); padding: 4rem 0 2.5rem; }
.footer__inner { display: grid; justify-items: center; gap: 2rem; text-align: center; }
.footer__logo { width: 168px; }
.social { display: flex; gap: 2rem; }
.social a {
  display: inline-flex; align-items: center; gap: .6rem;
  text-decoration: none;
  font-size: .7rem; text-transform: uppercase; letter-spacing: .18em;
  transition: color .2s ease;
}
.social a:hover { color: var(--ouro-claro); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.footer__legal { font-size: .72rem; line-height: 1.9; color: rgba(255,255,255,.38); max-width: 46rem; margin: 0; }

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 40;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366;
  display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }
