/* ============================================================
   Green View — Landing Page (Joffer Construtora)
   Paleta e tipografia extraídas do Figma
   ============================================================ */

:root {
  --paper:      #ECDFCF;   /* creme / papel  */
  --paper-2:    #E3D6C4;
  --ink:        #191919;   /* preto-quente neutro (Figma frame) */
  --ink-2:      #202020;
  --cream-text: #FFFFFF;   /* texto sobre escuro */
  --ink-text:   #000000;   /* texto sobre creme  */
  --muted-dark: rgba(255,255,255,.72);
  --muted-light:rgba(0,0,0,.62);
  --line-dark:  rgba(255,255,255,.22);
  --line-light: rgba(0,0,0,.16);
  --ochre:      #834805;   /* acento (uso pontual) */

  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ui:    "Roboto", var(--sans);   /* botões + rodapé legal (Figma) */

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

/* ---- tipografia utilitária ---- */
.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: .8;
}
.display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: .01em;
  text-wrap: balance;
  margin: 0;
}
h1.display { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2.display { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.serif-sub {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---- seções ---- */
section { position: relative; }
.dark  { background: var(--ink);   color: var(--cream-text); }
.cream { background-color: var(--paper); background-image: radial-gradient(rgba(74,54,26,.11) 0.6px, transparent 0.7px); background-size: 6px 6px; color: var(--ink-text); }
.pad   { padding-block: clamp(64px, 9vw, 132px); }

/* ---- botões ---- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--ui); font-size: .95rem; font-weight: 400; text-decoration: none;
  padding: 14px 26px; border: 1px solid transparent; border-radius: 2px;
  cursor: pointer; transition: transform .25s cubic-bezier(.2,.7,.3,1), background .25s, color .25s, opacity .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-light { background: #fff; color: #000; }
.btn-light:hover { background: #f1ece2; }
.btn-dark  { background: #000; color: #fff; }
.btn-pill  { border-radius: 999px; padding: 15px 34px; }
.btn-ghost { background: transparent; border-color: currentColor; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: stretch; justify-content: space-between;
  background: #fff; color: var(--ink-text);
}
.site-header .brand { display: flex; align-items: center; padding: 23px var(--gutter); }
.site-header .brand img { height: 36px; width: auto; }
.site-header .brand .wordmark { font-family: var(--serif); font-size: 1.5rem; font-style: italic; letter-spacing: .02em; }
.site-header .cta {
  display: flex; align-items: center; padding: 0 clamp(24px, 4vw, 48px);
  background: #000; color: #fff;
  font-family: var(--ui); font-size: .95rem; letter-spacing: .02em;
}
.site-header .cta:hover { background: #191919; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 90vh;
  background: var(--ink) center/cover no-repeat;
  display: grid; place-items: center;
  text-align: center; color: #fff; padding: 110px 20px 56px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(12,14,22,.34), rgba(12,14,22,.12) 42%, rgba(12,14,22,.55));
}
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: min(560px, 76vw); filter: brightness(0) invert(1); }
.hero-logo img { width: 100%; display: block; }
.hero-cond {
  font-family: var(--serif); font-size: clamp(.72rem, 1.1vw, .95rem);
  letter-spacing: .5em; text-transform: uppercase; color: #fff;
  border: 1px solid rgba(255,255,255,.55); padding: 7px 16px 5px; margin-top: 2px;
}
.hero-sub {
  font-family: var(--serif); font-size: clamp(.82rem, 1.1vw, 1rem);
  letter-spacing: .16em; text-transform: uppercase; margin: 40px auto 0; max-width: 64ch; line-height: 1.5;
}
.hero-tag {
  font-family: var(--sans); font-weight: 300; font-size: .74rem;
  letter-spacing: .42em; text-transform: uppercase; margin: 20px 0 0; opacity: .92;
}
.hero .scroll-cue {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px; display: grid; place-items: center; color: #fff; z-index: 1;
  animation: bob 2.4s ease-in-out 6;
}
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(6px);} }

/* ============================================================
   BEM-VINDO
   ============================================================ */
.welcome .grid { display: grid; grid-template-columns: 1fr 1.14fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.welcome .copy { position: relative; }
.welcome .copy::after { content: ""; position: absolute; top: 12%; height: 76%; width: 1px; right: calc(clamp(32px, 6vw, 84px) * -0.5); background: rgba(217,217,217,.42); }
.welcome .eyebrow-serif { font-family: var(--serif); font-size: 1rem; opacity: .85; margin-bottom: 22px; }
.welcome h2 { margin-bottom: 26px; }
.welcome p { color: var(--muted-dark); max-width: 46ch; }
.welcome .perks { list-style: none; padding: 0; margin: 28px 0 34px; color: var(--cream-text); }
.welcome .perks li { padding: 4px 0; opacity: .9; }
.welcome .media img { width: 100%; height: 100%; max-height: 620px; object-fit: cover; border-radius: 2px; }

/* ============================================================
   QUOTE
   ============================================================ */
.quote { text-align: center; background: #12100c url('../img/quote-bg.jpg') center/cover no-repeat; position: relative; }
.quote::before { content: ""; position: absolute; inset: 0; background: rgba(12,10,8,.5); }
.quote .wrap { position: relative; z-index: 1; }
.quote blockquote {
  margin: 0 auto; max-width: 72ch;
  font-family: var(--serif); font-size: clamp(1.25rem, 2.1vw, 1.6rem);
  line-height: 1.4;
}
.quote cite { display: block; margin-top: 28px; font-family: var(--serif); font-style: normal; font-size: 1.3rem; opacity: .85; }

/* ============================================================
   VÍDEO / ARQUIBANCADA
   ============================================================ */
.film { text-align: center; }
.film .eyebrow { margin-bottom: 20px; }
.film h2 { margin-bottom: 40px; }
.film .player { position: relative; display: block; border-radius: 2px; overflow: hidden; }
.film .player img { width: 100%; }
.film .player .play {
  position: absolute; inset: 0; margin: auto; width: 66px; height: 66px;
  border: 1px solid rgba(255,255,255,.85); border-radius: 999px;
  display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.15);
  transition: transform .25s, background .25s;
}
.film .player:hover .play { transform: scale(1.08); background: rgba(0,0,0,.3); }

/* ============================================================
   EQUIPE / EDIÇÃO BOUTIQUE
   ============================================================ */
.team { text-align: center; }
.team h2 { max-width: 900px; margin: 0 auto 30px; }
.team .lead { color: var(--muted-dark); max-width: 1050px; margin: 0 auto 12px; }
.team .cards { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(20px,3vw,40px); margin-top: 56px; }
.team .card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 2px; }
.team .card h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; text-transform: uppercase; margin: 20px 0 4px; letter-spacing: .06em; }
.team .card span { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; opacity: .65; }

/* ============================================================
   ONDE CADA DETALHE (reveal)
   ============================================================ */
.reveal { position: relative; z-index: 1; background: var(--ink) center/cover no-repeat; color: #fff; text-align: center; padding-top: clamp(56px,8vw,112px); padding-bottom: clamp(150px,22vw,280px); }
.reveal::before { content: ""; position: absolute; inset: 0; background: rgba(16,24,14,.42); }
.reveal .wrap { position: relative; z-index: 1; }
.reveal .eyebrow { color: #fff; margin-bottom: 18px; }
.reveal h2 { max-width: none; font-size: clamp(1.6rem, 3.9vw, 2.8rem); margin: 0 auto; }
.full-img { width: 100%; }
.full-img img { width: 100%; max-height: 82vh; object-fit: cover; display: block; }

/* ============================================================
   INFORMAÇÕES
   ============================================================ */
.info { position: relative; z-index: 2; }
.info .casa-wrap { width: min(600px, 84vw); margin: clamp(-300px,-30vw,-140px) auto clamp(44px,6vw,76px); position: relative; z-index: 3; }
.info .casa-wrap img { width: 100%; display: block; border-radius: 2px; }
.info h2.big { font-size: clamp(2.2rem,4.5vw,3.2rem); margin: 0 0 22px; }
.info hr { border: 0; border-top: 1px solid var(--line-light); margin: 0 0 44px; }
.info .grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(30px,5vw,70px); align-items: start; }
.info .model .kind { font-family: var(--serif); font-size: clamp(2rem,3.4vw,2.8rem); }
.info .model .suites { font-size: 1.25rem; margin-top: 6px; }
.info .model .area { color: var(--muted-light); margin-top: 2px; }
.amen { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; list-style: none; padding: 0; margin: 0; }
.amen li { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.12rem; letter-spacing: .02em; }
.amen .ico { width: 24px; height: 24px; flex: none; object-fit: contain; }
.info .act { display: flex; justify-content: flex-end; margin-top: 48px; }

/* ============================================================
   DESTINO / LOCALIZAÇÃO
   ============================================================ */
.place { text-align: center; }
.place .eyebrow { margin-bottom: 22px; }
.place h2 { max-width: 840px; margin: 0 auto 26px; }
.place p { color: var(--muted-dark); max-width: 1050px; margin: 0 auto; }
.place .marks { display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; margin-top: 56px; margin-inline: calc(var(--gutter) * -0.5); }
.place .mark { margin: 0; }
.place .mark img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 0; }
.place .mark span { padding-inline: 6px; }
.place .mark span { display: flex; align-items: center; gap: 8px; justify-content: flex-start; margin-top: 12px; font-size: .8rem; opacity: .7; }

/* ============================================================
   GALERIA
   ============================================================ */
/* topo: 3 colunas de mesma altura; texto ocupa só seu espaço, imagem preenche o resto */
.gallery .g-top { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: clamp(20px,2.4vw,34px); align-items: stretch; }
.g-col { display: flex; flex-direction: column; }
.g-col figure { margin: 0; flex: 1 1 0; min-height: clamp(150px,17vw,220px); overflow: hidden; border-radius: 2px; }
.g-col figure.mt { margin-top: clamp(22px,2.4vw,32px); }
.g-col figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-col .cap { font-family: var(--serif); font-size: 1.15rem; margin: 14px 0 0; }
.g-col p { color: var(--muted-dark); font-size: .96rem; margin: 14px 0 0; }
.g-col .list { list-style: none; padding: 0; margin: 16px 0 0; }
.g-col .list li { display: flex; gap: 14px; padding: 5px 0; color: var(--cream-text); font-size: .95rem; }
.g-col .list .rn { font-family: "Cinzel", var(--serif); opacity: .7; min-width: 1.5em; letter-spacing: .04em; }

/* baixo: 4 imagens idênticas (mesma largura x altura), sem escalonar */
.gallery .g-bottom { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(18px,2.4vw,34px); align-items: start; margin-top: clamp(48px,6vw,90px); }
.gb { margin: 0; }
.gb img { width: 100%; display: block; border-radius: 2px; aspect-ratio: 1/1; object-fit: cover; }
.gb figcaption { font-family: var(--serif); font-size: 1.02rem; margin-top: 14px; color: var(--cream-text); }
.gb.framed img { box-sizing: border-box; border: clamp(10px,1vw,14px) solid var(--ochre); }

/* ============================================================
   TRE SENSI + CTA FINAL
   ============================================================ */
.cta-strip { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-strip h2 { margin: 0; }
.final, .noir { background: #000; }
.final .grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,6vw,70px); align-items: center; }
.final .eyebrow { margin-bottom: 20px; }
.final h2 { margin-bottom: 34px; }
.final .media img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; border-radius: 2px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #000; color: var(--cream-text); padding-block: clamp(44px,6vw,72px); }
.site-footer .name { font-family: var(--serif); font-size: 1.3rem; }
.site-footer hr.short { border: 0; border-top: 1px solid var(--line-dark); width: 54px; margin: 16px 0 22px; }
.site-footer p { margin: 4px 0; font-family: var(--ui); font-size: .9rem; color: var(--muted-dark); line-height: 1.55; }
.site-footer hr.full { border: 0; border-top: 1px solid var(--line-dark); width: 100%; margin: clamp(64px,10vw,130px) 0 22px; }
.site-footer .social { display: flex; gap: 20px; }
.site-footer .social a { color: var(--cream-text); opacity: .85; transition: opacity .2s; }
.site-footer .social a:hover { opacity: 1; }
.site-footer a:hover { color: #fff; }

/* ============================================================
   MODAL DE VÍDEO (lightbox)
   ============================================================ */
.vmodal { position: fixed; inset: 0; z-index: 110; display: none; }
.vmodal.is-open { display: grid; place-items: center; }
.vmodal .backdrop { position: absolute; inset: 0; background: rgba(8,10,16,.85); }
.vmodal .frame {
  position: relative; z-index: 1; width: min(1200px, 94vw); max-height: 84vh; aspect-ratio: 16/9;
  background: #000; border-radius: 4px; overflow: hidden; box-shadow: 0 30px 90px rgba(0,0,0,.55);
}
.vmodal iframe { width: 100%; height: 100%; border: 0; display: block; }
.vmodal .close { position: absolute; top: -46px; right: 0; background: none; border: 0; color: #fff; font-size: 1.9rem; line-height: 1; cursor: pointer; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .welcome .grid,
  .info .grid,
  .final .grid { grid-template-columns: 1fr; }
  .team .cards { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .amen { grid-template-columns: 1fr; }
  .gallery .g-top { grid-template-columns: 1fr; }
  .g-col figure { flex: none; aspect-ratio: 4/3; min-height: 0; }
  .gallery .g-bottom { grid-template-columns: 1fr 1fr; }
  .place .marks { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .gallery .g-bottom,
  .place .marks { grid-template-columns: 1fr; }
  .hero { min-height: 72vh; }
  .cta-strip { flex-direction: column; align-items: flex-start; }
}

/* acessibilidade: respeita quem pediu menos movimento */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; transition-duration: .01ms !important; }
}
