/* ============================================================
   Novas casas: Villa Fontana e Espaço Olegário
   Mesmo molde das páginas de venue (Webflow + refino.css), com a
   identidade visual de cada proposta comercial:
   - Villa Fontana: branco, verde floresta e sálvia, Montserrat.
   - Espaço Olegário: branco, dourado, Libre Baskerville + Montserrat.
   ============================================================ */

/* ---------- Tokens por casa ---------- */
.page-wrapper.lp-fontana {
  --chale-enf: #2f5a45;       /* botões e destaques */
  --lp-escuro: #213e2f;       /* verde do logo */
  --lp-acento: #a8bd84;       /* sálvia do "ENFESTA" */
  --lp-fundo: #ffffff;
  --lp-fundo-2: #f5f6f1;
  --lp-titulo: 'Montserrat', sans-serif;
  background-color: var(--lp-fundo);
}
.page-wrapper.lp-olegario {
  --chale-enf: #a47a2e;       /* dourado de leitura */
  --lp-escuro: #6e4f1c;
  --lp-acento: #d6ae55;
  --lp-ouro: linear-gradient(135deg, #996d28 0%, #d9b25e 45%, #f5c258 60%, #a47a2e 100%);
  --lp-fundo: #ffffff;
  --lp-fundo-2: #faf6ee;
  --lp-titulo: 'Libre Baskerville', Georgia, serif;
  background-color: var(--lp-fundo);
}

/* ---------- Navegação ---------- */
.lp-fontana .navbar.enfesta.chale-enf,
.lp-olegario .navbar.enfesta.chale-enf {
  background-color: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  padding-top: .6rem;
  padding-bottom: .6rem;
}
.nav-logo.lp-logo { width: auto; height: 86px; }
.lp-olegario .nav-logo.lp-logo { height: 62px; }
.lp-fontana .link-block-2.enfesta.chale-enf,
.lp-olegario .link-block-2.enfesta.chale-enf { color: var(--lp-escuro); font-family: 'Montserrat', sans-serif; font-size: 14px; }
.lp-fontana .code-embed-2.enfesta.chalenf,
.lp-olegario .code-embed-2.enfesta.chalenf { color: var(--chale-enf); }

/* ---------- Botões ---------- */
.lp-fontana .button,
.lp-olegario .button {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 1rem 1.6rem;
}
.lp-fontana .button.casa-lago-enf.chale-enf:hover { border-color: var(--lp-escuro); background-color: var(--lp-escuro); }
.lp-olegario .button.casa-lago-enf.chale-enf,
.lp-olegario .button.hide-tablet.casa-lago-enf.chale-enf {
  background-image: var(--lp-ouro);
  background-size: 180% 100%;
  background-position: 0 0;
  border-color: #b48a3c;
  color: #fff;
  text-shadow: 0 1px 1px rgba(80, 55, 10, .35);
}
.lp-olegario .button.casa-lago-enf.chale-enf:hover { background-position: 100% 0; }
.lp-olegario .button.transp.casa-l.chale-enf,
.lp-btn-contorno.button.transp { border-color: var(--chale-enf); color: var(--lp-escuro); }
.lp-btn-contorno.button.transp:hover { background-color: var(--lp-fundo-2); }

/* ---------- Hero: base ---------- */
.lp-hero { position: relative; overflow: hidden; }
.lp-eyebrow {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin: 0 0 1.4rem;
  font-family: 'Montserrat', sans-serif;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.lp-eyebrow::before { content: ""; width: 44px; height: 1px; background: currentColor; opacity: .7; }
.lp-eyebrow--centro { justify-content: center; color: var(--chale-enf); }
.lp-eyebrow--centro::after { content: ""; width: 44px; height: 1px; background: currentColor; opacity: .7; }
.lp-hero__title { margin: 0 0 1.4rem; letter-spacing: -.01em; }
.lp-hero__sub { max-width: 34rem; margin: 0 0 2.2rem; font-size: 1.05rem; line-height: 1.75; }
.lp-hero__acoes { display: flex; flex-wrap: wrap; gap: 1rem; }
.lp-hero__inner > *, .lp-hero__texto > * { opacity: 0; animation: lpSobe .9s cubic-bezier(.22, .61, .36, 1) forwards; }
.lp-hero__inner > :nth-child(2), .lp-hero__texto > :nth-child(2) { animation-delay: .12s; }
.lp-hero__inner > :nth-child(3), .lp-hero__texto > :nth-child(3) { animation-delay: .24s; }
.lp-hero__inner > :nth-child(4), .lp-hero__texto > :nth-child(4) { animation-delay: .36s; }
.lp-hero__texto > :nth-child(5) { animation-delay: .48s; }
@keyframes lpSobe { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Hero Villa Fontana: foto cheia do jardim ---------- */
.lp-hero--foto {
  display: flex;
  align-items: flex-end;
  min-height: min(90vh, 860px);
  color: #fff;
  background: var(--lp-escuro);
}
.lp-hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
  transform: scale(1.08);
  animation: lpRespira 20s ease-out forwards;
}
@keyframes lpRespira { to { transform: scale(1); } }
.lp-hero--foto::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 38, 29, .86) 0%, rgba(20, 38, 29, .6) 34%, rgba(20, 38, 29, .08) 68%, rgba(20, 38, 29, 0) 100%),
    linear-gradient(0deg, rgba(20, 38, 29, .55) 0%, rgba(20, 38, 29, 0) 45%);
}
.lp-hero--foto .lp-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 75rem;
  margin: 0 auto;
  padding: 7rem 1.5rem clamp(3.5rem, 9vh, 6.5rem);
}
.lp-hero--foto .lp-eyebrow { color: var(--lp-acento); }
.lp-hero--foto .lp-hero__title {
  max-width: 46rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: clamp(2.3rem, 4.4vw, 3.9rem);
  line-height: 1.12;
  color: #fff;
}
.lp-hero--foto .lp-hero__title em { font-style: normal; font-weight: 600; color: var(--lp-acento); }
.lp-hero--foto .lp-hero__sub { color: rgba(255, 255, 255, .88); }

/* ---------- Hero Espaço Olegário: composição com moldura dourada ---------- */
.lp-hero--split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: 75rem;
  min-height: min(86vh, 800px);
  margin: 0 auto;
  padding: clamp(3rem, 7vh, 5rem) 1.5rem clamp(4rem, 9vh, 6rem);
}
/* brilho dourado: termina transparente antes das bordas do bloco (sem corte) */
.lp-hero--split::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 30% 44% at 70% 48%, rgba(214, 174, 85, .16), rgba(214, 174, 85, 0));
  pointer-events: none;
}
.lp-hero--split > * { position: relative; z-index: 1; }
.lp-hero--split .lp-eyebrow { color: var(--chale-enf); }
.lp-hero--split .lp-hero__title {
  font-family: var(--lp-titulo);
  font-weight: 400;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.18;
  color: #2a2118;
}
.lp-hero--split .lp-hero__title em {
  font-style: normal;
  font-weight: 700;
  background-image: var(--lp-ouro);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lp-filete { display: block; width: 72px; height: 1px; margin: 0 0 1.6rem; background: var(--lp-ouro); }
.lp-hero--split .lp-hero__sub { color: #5b5249; }
.lp-hero__fotos { position: relative; height: clamp(440px, 64vh, 620px); }
.lp-hero__fotos::before {
  content: "";
  position: absolute;
  top: 22px;
  right: -18px;
  width: 64%;
  height: 86%;
  border: 1px solid #c9a24d;
  border-radius: 999px 999px 8px 8px;
}
.lp-hero__foto {
  position: absolute;
  margin: 0;
  overflow: hidden;
  box-shadow: 0 34px 60px -30px rgba(70, 45, 10, .5);
  opacity: 0;
  animation: lpSobe 1s cubic-bezier(.22, .61, .36, 1) forwards;
}
.lp-hero__foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-hero__foto--a { top: 0; right: 0; width: 64%; height: 86%; border-radius: 999px 999px 8px 8px; animation-delay: .2s; }
.lp-hero__foto--b {
  bottom: 0;
  left: 0;
  width: 42%;
  height: 50%;
  border-radius: 8px;
  border: 6px solid #fff;
  animation-delay: .45s;
}

/* ---------- Seções do molde ---------- */
.lp-fontana .padding-global.pt-chale-enfesta,
.lp-fontana .padding-global.pt-enfesta-2,
.lp-fontana .section-cta.pt-chale-enfesta,
.lp-olegario .padding-global.pt-chale-enfesta,
.lp-olegario .padding-global.pt-enfesta-2,
.lp-olegario .section-cta.pt-chale-enfesta { background-image: none; }
.lp-fontana .padding-global.pt-enfesta-2,
.lp-olegario .padding-global.pt-enfesta-2 { background-color: var(--lp-fundo-2); }

.lp-fontana .heading-style-h2,
.lp-olegario .heading-style-h2,
.lp-fontana .heading-style-h3,
.lp-olegario .heading-style-h3 { font-family: var(--lp-titulo); }
.lp-fontana .heading-style-h2 { font-weight: 300; }
.lp-olegario .heading-style-h2 { font-weight: 400; font-size: 2.2rem; line-height: 1.3; }
.lp-fontana .heading-style-h2.text-s.marrom.c-enf,
.lp-fontana .heading-style-h2.marrom.ct.marrv.c-enf { color: var(--lp-escuro); }
.lp-olegario .heading-style-h2.text-s.marrom.c-enf,
.lp-olegario .heading-style-h2.marrom.ct.marrv.c-enf { color: #2a2118; }
.lp-fontana .span-cle.chle-enf { background-image: linear-gradient(135deg, var(--chale-enf), var(--lp-escuro)); font-weight: 600; }
.lp-olegario .span-cle.chle-enf { background-image: var(--lp-ouro); font-weight: 700; }

/* diferenciais */
.lp-fontana .padding-global.marrom.chl-enf {
  background-image: linear-gradient(rgba(20, 38, 29, .78), rgba(20, 38, 29, .78)), url('../images/villa-fontana-decoracao.webp');
  background-position: 0 0, 50% 60%;
  background-size: auto, cover;
}
.lp-olegario .padding-global.marrom.chl-enf {
  background-image: linear-gradient(rgba(22, 15, 6, .8), rgba(22, 15, 6, .8)), url('../images/espaco-olegario-07.webp');
  background-position: 0 0, 50% 50%;
  background-size: auto, cover;
}
.lp-fontana .diferencial.wt.claro-v.che-enf,
.lp-olegario .diferencial.wt.claro-v.che-enf { background-color: rgba(255, 255, 255, .92); }
.lp-fontana .text-size-regular.center.marrom.txt-verd-c.casaltt.che-enf,
.lp-olegario .text-size-regular.center.marrom.txt-verd-c.casaltt.che-enf { color: #4a4a44; }
.lp-fontana .title-card.marrom.tt-vd.casaltt.che-enf { background-image: linear-gradient(45deg, var(--lp-escuro), var(--chale-enf)); color: var(--lp-escuro); font-family: 'Montserrat', sans-serif; }
.lp-olegario .title-card.marrom.tt-vd.casaltt.che-enf { background-image: var(--lp-ouro); color: var(--chale-enf); font-family: var(--lp-titulo); font-size: 17px; }
.lp-fontana .code-embed-3 { background-image: linear-gradient(135deg, var(--lp-escuro), var(--chale-enf)); color: var(--chale-enf); }
.lp-olegario .code-embed-3 { background-image: var(--lp-ouro); color: var(--chale-enf); }
.lp-olegario .padding-global.marrom.chl-enf .heading-style-h3 { color: #f1d58f; }

/* fotos que entram por atributo style no HTML */
.imggaleria.lp-foto { background-position: 50% 50%; }
.slide.lp-slide { background-position: 50% 50%; background-size: cover; }

/* projeto 3D (Villa Fontana) */
.section-lp-3d { background: var(--lp-fundo-2); }
.lp-3d-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 2.6rem;
}
.lp-3d-grid figure { margin: 0; overflow: hidden; border-radius: 14px; aspect-ratio: 16 / 10; box-shadow: 0 18px 40px -26px rgba(20, 38, 29, .55); }
.lp-3d-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.22, .61, .36, 1); }
.lp-3d-grid figure:hover img { transform: scale(1.04); }
.lp-legenda { margin-top: 1rem; text-align: center; font-size: .8rem; letter-spacing: .04em; color: #7b7b73; }

/* chamada final */
.lp-cta-texto { max-width: 46ch; margin: 1.2rem auto 0; text-align: center; }
.lp-cta-acoes { display: flex; justify-content: center; margin-top: 2rem; }

/* rodapé */
.footer-logo.lp-logo-rodape { width: auto; height: 84px; }
.lp-olegario .footer-logo.lp-logo-rodape { height: 64px; }

/* ---------- Responsivo ---------- */
@media (max-width: 991px) {
  .lp-hero--split { grid-template-columns: 1fr; min-height: 0; }
  .lp-hero__fotos { height: 520px; max-width: 520px; width: 100%; margin: 0 auto; }
  .lp-hero--split .lp-hero__fotos { order: -1; }
  .lp-hero--split::before { background: radial-gradient(ellipse 46% 24% at 50% 26%, rgba(214, 174, 85, .16), rgba(214, 174, 85, 0)); }
  .lp-3d-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .nav-logo.lp-logo { height: 58px; }
  .lp-olegario .nav-logo.lp-logo { height: 48px; }
  .lp-hero--foto { min-height: 88vh; }
  .lp-hero__bg img { object-position: 50% 50%; }
  .lp-hero--foto::after {
    background: linear-gradient(0deg, rgba(20, 38, 29, .9) 0%, rgba(20, 38, 29, .55) 55%, rgba(20, 38, 29, .15) 100%);
  }
  .lp-hero--foto .lp-hero__inner { padding: 6rem 1.25rem 3rem; }
  .lp-hero--split { padding: 2.5rem 1.25rem 3.5rem; gap: 2.5rem; }
  .lp-hero__fotos { height: 420px; }
  .lp-hero__fotos::before { right: -8px; }
  .lp-olegario .heading-style-h2 { font-size: 1.75rem; }
  .lp-3d-grid { grid-template-columns: 1fr; }
  .lp-eyebrow { letter-spacing: .22em; font-size: .68rem; }
  .lp-eyebrow__extra { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-hero__inner > *, .lp-hero__texto > *, .lp-hero__foto { animation: none; opacity: 1; }
  .lp-hero__bg img { animation: none; transform: none; }
}
