/* ============================================================
   Éssenza — main.css
   Tradução fiel de source/src/styles.css + utilitários Tailwind
   usados nas páginas. Autor: Agencia LetsRock.
   Breakpoints (Tailwind v4 default): sm 640 / md 768 / lg 1024.
   ============================================================ */

/* ---------- Tokens (styles.css :root, literal) ---------- */
:root {
  --radius: 0.625rem;
  --paper: oklch(0.968 0.006 85);      /* #F6F5F2 */
  --concreto: oklch(0.783 0.014 85);   /* #C4BEB3 */
  --taupe: oklch(0.685 0.014 70);      /* #A89D91 */
  --rosado: oklch(0.591 0.058 45);     /* #B07D62 */
  --terra: oklch(0.415 0.062 45);      /* #774A32 */
  --ebano: oklch(0.185 0.003 60);      /* #1D1D1B */
  --background: var(--paper);
  --foreground: var(--ebano);
  --border-c: color-mix(in oklab, var(--ebano) 16%, transparent);
  --font-display: "Fraunces", "Cormorant Garamond", ui-serif, Georgia, serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --ease-site: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-link: cubic-bezier(0.7, 0, 0.2, 1);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background-color: var(--ebano); color: var(--paper); }
.ess-site { min-height: 100vh; background: var(--paper); color: var(--ebano); }
.ess-site img { max-width: 100%; height: auto; }
.ess-site *, .ess-site *::before, .ess-site *::after { box-sizing: border-box; border-color: var(--border-c); }
.ess-site h1, .ess-site h2, .ess-site h3, .ess-site h4, .ess-site p, .ess-site dl, .ess-site dd, .ess-site figure, .ess-site fieldset { margin: 0; }
.ess-site fieldset { padding: 0; border: 0; }
.ess-site a { color: inherit; text-decoration: none; }
.ess-site button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.ess-site ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Utilitários do design system (styles.css, literal) ---------- */
.font-display, .fd {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 30, "WONK" 0;
}
.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--taupe);
}
.caption {
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.08em; color: var(--taupe);
}
.rule-line { height: 1px; background-color: color-mix(in oklab, var(--ebano) 20%, transparent); }
.link-editorial { position: relative; display: inline-block; }
.link-editorial::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%;
  background-color: currentColor; transform-origin: right; transform: scaleX(1);
  transition: transform 0.6s var(--ease-link);
}
.link-editorial:hover::after {
  transform-origin: left; transform: scaleX(0);
  animation: link-underline-return 0.6s var(--ease-link) forwards;
}
@keyframes link-underline-return {
  0% { transform-origin: left; transform: scaleX(0); }
  50% { transform-origin: left; transform: scaleX(0); }
  50.01% { transform-origin: left; transform: scaleX(0); }
  100% { transform-origin: left; transform: scaleX(1); }
}
.btn-line, .btn-box {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-sans); font-size: 11px; font-weight: 400;
  letter-spacing: 0.28em; text-transform: uppercase;
}
.btn-line { padding-block: 1rem; border-bottom: 1px solid currentColor; }
.btn-box { padding: 1rem 1.5rem; border: 1px solid currentColor; }
.btn-line .arrow, .btn-box .arrow { transition: transform 0.5s var(--ease-link); }
.btn-line:hover .arrow, .btn-box:hover .arrow { transform: translateX(6px); }

/* ---------- Reveal (motion → CSS/IO) ---------- */
.ess-reveal { opacity: 0; transform: translateY(24px); }
.ess-reveal.is-visible {
  opacity: 1; transform: translateY(0);
  transition: opacity 1.1s var(--ease-site), transform 1.1s var(--ease-site);
  transition-delay: var(--reveal-delay, 0s);
}
.ess-imgreveal {
  position: relative; overflow: hidden; background: var(--concreto);
  opacity: 0;
}
.ess-imgreveal.is-visible { opacity: 1; transition: opacity 1.4s var(--ease-site); }
.ess-site .ess-imgreveal img, .elementor .ess-imgreveal img {
  height: 100%; width: 100%; object-fit: cover; display: block;
  transform: scale(1.08);
}
.ess-site .ess-imgreveal.is-visible img, .elementor .ess-imgreveal.is-visible img { transform: scale(1); transition: transform 1.8s var(--ease-site); }
.ess-site .ess-imgreveal--contain img, .elementor .ess-imgreveal--contain img { object-fit: contain; }
.ess-imgreveal figcaption {
  position: absolute; inset-inline: 0; bottom: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.6), rgb(0 0 0 / 0.2), transparent);
  padding: 1rem 1.25rem; color: rgb(255 255 255 / 0.9);
}
@media (prefers-reduced-motion: reduce) {
  .ess-reveal, .ess-imgreveal { opacity: 1; transform: none; }
  .ess-site .ess-imgreveal img, .elementor .ess-imgreveal img { transform: none; }
}

/* ---------- Layout helpers (mapeiam utilitários do source) ---------- */
.u-pad { padding-inline: 1.5rem; }                       /* px-6 */
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem; }
.c12 { grid-column: span 12 / span 12; }
.center { text-align: center; }
.ink-50 { color: color-mix(in oklab, var(--ebano) 50%, transparent); }
.ink-55 { color: color-mix(in oklab, var(--ebano) 55%, transparent); }
.ink-60 { color: color-mix(in oklab, var(--ebano) 60%, transparent); }
.ink-70 { color: color-mix(in oklab, var(--ebano) 70%, transparent); }
.ink-75 { color: color-mix(in oklab, var(--ebano) 75%, transparent); }
.ink-80 { color: color-mix(in oklab, var(--ebano) 80%, transparent); }
.ink-85 { color: color-mix(in oklab, var(--ebano) 85%, transparent); }
.paper-70 { color: color-mix(in oklab, var(--paper) 70%, transparent); }
.paper-75 { color: color-mix(in oklab, var(--paper) 75%, transparent); }
.text-taupe { color: var(--taupe); }
.text-terra { color: var(--terra); }
.text-paper { color: var(--paper); }
.txt { font-size: 15px; font-weight: 300; }              /* text-[15px] font-light */
.txt-sm { font-size: 0.875rem; font-weight: 300; }
.lh-17 { line-height: 1.7; }
.lh-175 { line-height: 1.75; }
.lh-rel { line-height: 1.625; }                          /* leading-relaxed */
.max-md { max-width: 28rem; }
.max-xs { max-width: 20rem; }
.mx-auto { margin-inline: auto; }
.mt-2 { margin-top: 0.5rem; } .mt-3 { margin-top: 0.75rem; } .mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; } .mt-12 { margin-top: 3rem; } .mt-16 { margin-top: 4rem; }
.mt-24 { margin-top: 6rem; }
.inline-block { display: inline-block; }

/* Display sizes (clamp) usados no source — font-weight 300 (font-light) */
.fd { font-weight: 300; }
.fd em { font-style: italic; color: var(--taupe); }
.fd-h10  { font-size: clamp(3rem, 10vw, 10rem); line-height: 0.9;  letter-spacing: -0.03em; }
.fd-h9   { font-size: clamp(3rem, 9vw, 10rem);  line-height: 0.9;  letter-spacing: -0.03em; }
.fd-h7   { font-size: clamp(2.5rem, 7vw, 7rem); line-height: 0.96; letter-spacing: -0.025em; }
.fd-h55  { font-size: clamp(2.5rem, 6vw, 5.5rem); line-height: 0.96; letter-spacing: -0.02em; }
.fd-h5   { font-size: clamp(2.5rem, 6vw, 5rem); line-height: 0.96; letter-spacing: -0.02em; }
.fd-h5b  { font-size: clamp(2.5rem, 5vw, 5rem); line-height: 0.92; letter-spacing: -0.025em; }
.fd-h45  { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 0.96; letter-spacing: -0.025em; }
.fd-h4i  { font-size: clamp(2rem, 5vw, 4rem);   line-height: 0.96; letter-spacing: -0.02em; font-style: italic; }
.fd-h35  { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 0.96; letter-spacing: -0.02em; }
.fd-h35m { font-size: clamp(1.75rem, 3.6vw, 3.5rem); line-height: 1.06; letter-spacing: -0.02em; }
.fd-h325 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 0.98; letter-spacing: -0.02em; }
.fd-h3   { font-size: clamp(2rem, 4vw, 3rem);   line-height: 0.96; letter-spacing: -0.02em; }
.fd-h3b  { font-size: clamp(1.75rem, 3.4vw, 3rem); line-height: 1.04; letter-spacing: -0.02em; }
.fd-h275i{ font-size: clamp(1.75rem, 3vw, 2.75rem); line-height: 1.25; letter-spacing: -0.01em; font-style: italic; }
.fd-h25i { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.25; letter-spacing: -0.01em; font-style: italic; }
.fd-h25c { font-size: clamp(1.5rem, 2.8vw, 2.5rem); line-height: 1.25; letter-spacing: -0.01em; font-style: italic; }
.fd-xl   { font-size: 1.25rem; letter-spacing: -0.01em; }
.fd-tag  { font-size: 1.25rem; line-height: 1.375; letter-spacing: -0.01em; font-style: italic; } /* text-xl md:text-2xl italic */
.fd-h2xl { font-size: 1.5rem; line-height: 1.25; letter-spacing: -0.01em; } /* text-2xl md:text-3xl */
.fd-3xl4 { font-size: 1.875rem; line-height: 1.25; font-style: italic; }     /* text-3xl md:text-4xl */
.fd-base { font-size: 1rem; letter-spacing: -0.01em; }
.fd-lg   { font-size: 1.125rem; letter-spacing: -0.01em; }

/* ---------- Seções (padding-block por seção, valores do source) ---------- */
.sec { position: relative; }
.py-14-28 { padding-block: 3.5rem; }
.py-14-24 { padding-block: 3.5rem; }
.py-16-24 { padding-block: 4rem; }
.py-16-32 { padding-block: 4rem; }
.py-16-36 { padding-block: 4rem; }
.py-24-32 { padding-block: 6rem; }
.py-24-36 { padding-block: 6rem; }
.py-24-40 { padding-block: 6rem; }
.py-32    { padding-block: 8rem; }
.py-32-48 { padding-block: 8rem; }
.pt-40-56-pb-16-24 { padding-top: 10rem; padding-bottom: 4rem; }
.pt-40-56-pb-24-40 { padding-top: 10rem; padding-bottom: 6rem; }
.bd-t { border-top: 1px solid color-mix(in oklab, var(--ebano) 15%, transparent); }
.ess-manifesto { padding-block: 8rem; margin-block: 4rem; }          /* py-32 my-16 */
.bg-ebano { background-color: var(--ebano); color: var(--paper); }
.bg-ebano .fd em { color: var(--taupe); }

/* ---------- NAV (nav.tsx) ---------- */
.ess-nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--paper) 85%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: var(--ebano);
}
.ess-nav__bar {
  margin-inline: auto; display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 1.5rem;
}
.ess-nav__logo { display: inline-flex; align-items: center; }
.ess-site .ess-nav__logo img, .elementor .ess-nav__logo img { height: 2rem; width: auto; max-width: none; }
.ess-nav__links { display: none; }
.ess-nav__toggle { display: inline-block; }
.ess-nav__mobile { display: none; border-top: 1px solid color-mix(in oklab, var(--ebano) 10%, transparent); background: var(--paper); }
.ess-nav__mobile.is-open { display: block; }
.ess-nav__mobile nav { display: flex; flex-direction: column; padding: 1.5rem; gap: 1rem; }
.ess-nav__mobile a { font-size: 1.875rem; line-height: 1.25; }
.ess-nav__link, .ess-nav__cta { transition: color 0.5s; }
.ess-nav__link:hover, .ess-nav__cta:hover { color: var(--ebano); }
.ess-nav__link.is-active { color: var(--ebano); }

/* ---------- FOOTER (footer.tsx) ---------- */
.ess-footer { background: var(--ebano); color: var(--paper); }
.ess-footer__inner { padding: 8rem 1.5rem 2.5rem; }
.ess-footer__wrap { max-width: 1600px; margin-inline: auto; }
.ess-footer__display { font-size: clamp(3rem, 9vw, 10rem); line-height: 0.9; letter-spacing: -0.03em; font-weight: 300; }
.ess-footer__display em { font-style: italic; color: var(--taupe); }
.ess-footer__rule { margin-top: 6rem; opacity: 0.4; }
.ess-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-top: 3rem; }
.ess-site .ess-footer__logo, .elementor .ess-footer__logo { height: 2rem; width: auto; max-width: none; }
.ess-footer__about { margin-top: 1.5rem; font-size: 0.875rem; line-height: 1.625; color: color-mix(in oklab, var(--paper) 70%, transparent); max-width: 20rem; }
.ess-footer__address { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.625; color: color-mix(in oklab, var(--paper) 70%, transparent); max-width: 20rem; }
.ess-footer__list { margin-top: 1rem; font-size: 0.875rem; }
.ess-footer__list li + li { margin-top: 0.5rem; }
.ess-footer__bottom { margin-top: 6rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 1rem; }

/* ---------- HOME ---------- */
.ess-banner { background: var(--ebano); padding-top: 6rem; }        /* pt-24 */
.ess-site .ess-banner img, .elementor .ess-banner img { display: block; width: 100%; height: auto; object-fit: contain; }
.ess-banner__cta { padding: 2rem 1.5rem 2.5rem; display: flex; align-items: center; justify-content: center; } /* py-8 + u-pad */
.ess-banner__cta .btn-box { color: var(--paper); transition: background-color 0.5s, color 0.5s; }
.ess-banner__cta .btn-box:hover { background: var(--paper); color: var(--ebano); }

/* ---------- CONTATO: layout (containers Elementor nativos) ---------- */
/* Especificidade de 2 classes vence os estilos flex que o Elementor injeta por elemento,
   sem precisar de !important — ver docs/ELEMENTOR-SETUP.md. */
.ess-contato-grid.e-con { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem; }
.ess-contato-grid > .e-con { grid-column: span 12 / span 12; }
@media (min-width: 768px) {
  .ess-contato-col-form.e-con { grid-column: span 7 / span 7; }
  .ess-contato-col-aside.e-con {
    grid-column: 9 / span 4; padding-left: 2rem;
    border-left: 1px solid color-mix(in oklab, var(--ebano) 15%, transparent);
  }
}

/* ---------- CONTATO: formulário nativo do Elementor (ações de e-mail + armazenamento) ---------- */
.ess-form-native .elementor-field-group { margin-bottom: 2.5rem; }                /* space-y-10 */
.ess-form-native .elementor-field-label {
  font-family: var(--font-sans); font-size: 11px; font-weight: 400;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--taupe);
  display: block; margin: 0;
}
.ess-form-native .elementor-mark-required .elementor-field-label:after { content: " *"; color: var(--terra); }
/* !important: a regra do Elementor Pro para .elementor-field-textual (fundo/borda em caixa)
   tem 3 classes de especificidade (.elementor-widget-form .elementor-field-group .elementor-field) —
   igual ou maior que a nossa; forçamos aqui para garantir o visual underline-only do original. */
.ess-form-native .elementor-field {
  margin-top: 0.75rem; width: 100%; background: transparent !important;
  border: 0 !important; border-bottom: 1px solid color-mix(in oklab, var(--ebano) 30%, transparent) !important;
  outline: none; padding-block: 0.75rem; padding-inline: 0 !important; font-size: 15px; font-weight: 300;
  font-family: var(--font-sans); color: var(--ebano);
  transition: border-color 0.15s; border-radius: 0 !important; box-shadow: none !important;
}
.ess-form-native textarea.elementor-field { resize: none; }
.ess-form-native .elementor-field:focus { border-bottom-color: var(--ebano); }
.ess-form-native .elementor-field-subgroup { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.ess-form-native .elementor-field-option { display: flex; align-items: center; gap: 0.75rem; }
.ess-form-native .elementor-field-option input[type="radio"] {
  appearance: none !important; -webkit-appearance: none !important;
  width: 0.75rem !important; height: 0.75rem !important; border-radius: 9999px !important;
  border: 1px solid color-mix(in oklab, var(--ebano) 40%, transparent) !important;
  background: transparent; margin: 0; transition: background-color 0.15s, border-color 0.15s;
}
.ess-form-native .elementor-field-option input[type="radio"]:checked { background: var(--ebano) !important; border-color: var(--ebano) !important; }
.ess-form-native .elementor-field-option label {
  font-size: 15px; font-weight: 300; font-family: var(--font-sans); color: var(--ebano); margin: 0;
}
.ess-form-native .elementor-field-type-submit { width: auto !important; max-width: 100%; }
.ess-form-native .elementor-button {
  display: inline-flex !important; width: auto !important; align-items: center; font-family: var(--font-sans);
  font-size: 11px; font-weight: 400; letter-spacing: 0.28em; text-transform: uppercase;
  padding: 1rem 0 !important; border: 0 !important; border-bottom: 1px solid currentColor !important;
  border-radius: 0 !important; background: transparent !important; color: var(--ebano) !important; box-shadow: none !important;
}
.ess-form-native .elementor-button:hover, .ess-form-native .elementor-button:focus {
  background: transparent !important; color: var(--ebano) !important; border-color: currentColor !important;
}
.ess-form-native .elementor-button::after {
  content: "→"; margin-left: 0.75rem; display: inline-block;
  transition: transform 0.5s var(--ease-link);
}
.ess-form-native .elementor-button:hover::after { transform: translateX(6px); }
.ess-form-native .elementor-message {
  margin-top: 1.5rem; padding: 0; background: none; border: 0;
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.3;
}
.ess-form-native .elementor-message-success { color: var(--ebano); }
.ess-form-native .elementor-message-danger { color: var(--terra); font-family: var(--font-sans); font-style: normal; font-size: 13px; }

/* Botão desabilitado (empreendimentos) */
.btn-line[disabled], .btn-line.is-disabled { opacity: 0.45; cursor: not-allowed; }

/* Sticky card (empreendimentos) */
.md-sticky { position: static; }

/* ---------- FICHA TÉCNICA (essence) ---------- */
.ess-ficha { background: color-mix(in oklab, var(--concreto) 40%, transparent);
  border-block: 1px solid color-mix(in oklab, var(--ebano) 15%, transparent); }
.ess-ficha dl { display: grid; grid-template-columns: 1fr; column-gap: 4rem; }
.ess-ficha .row {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 1.5rem;
  border-top: 1px solid color-mix(in oklab, var(--ebano) 25%, transparent); padding-block: 1.5rem;
}
.ess-ficha dd { text-align: right; }
.ess-plantas-dl { margin-top: 2rem; max-width: 20rem; }
.ess-plantas-dl .row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem;
  border-top: 1px solid color-mix(in oklab, var(--ebano) 20%, transparent); padding-top: 0.75rem; }
.ess-plantas-dl .row + .row { margin-top: 1rem; }

/* ---------- CARROSSEL (auto-carousel.tsx) ---------- */
.ess-carousel { position: relative; width: 100%; overflow: hidden; background: var(--concreto); }
.ess-site .ess-carousel__slide, .elementor .ess-carousel__slide {
  position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1400ms var(--ease-site);
}
.ess-carousel__slide.is-current { opacity: 1; }
.ess-carousel__arrow {
  position: absolute; left: 0.5rem; top: 50%; transform: translateY(-50%);
  height: 3rem; width: 3rem; display: grid; place-items: center; border-radius: 9999px;
  background: color-mix(in oklab, var(--paper) 40%, transparent); color: var(--paper);
  opacity: 1; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: all 0.5s; font-size: 1.5rem; line-height: 1;
}
.ess-carousel__arrow--next { left: auto; right: 0.5rem; }
.ess-carousel__arrow:hover { background: color-mix(in oklab, var(--paper) 25%, transparent); }
.ess-carousel__arrow:focus { opacity: 1; outline: none; }
.ess-carousel__bar {
  position: absolute; inset-inline: 0; bottom: 0; display: flex; flex-direction: column;
  align-items: flex-start; gap: 0.5rem; padding: 1rem;
}
.ess-carousel__count {
  background: color-mix(in oklab, var(--paper) 90%, transparent);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  padding: 0.375rem 0.75rem; border-radius: 0.125rem;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); color: var(--ebano);
}
.ess-carousel__dots { display: none; gap: 0.5rem; align-self: flex-end; }
.ess-carousel__dot { height: 5px; width: 2rem; background: color-mix(in oklab, var(--paper) 40%, transparent); position: relative; overflow: hidden; }
.ess-carousel__dot span {
  position: absolute; inset: 0; background: var(--paper);
  transition: transform 0.5s; transform-origin: left; transform: scaleX(0);
}
.ess-carousel__dot.is-current span { transform: scaleX(1); }
.ess-gallery-desktop { display: none; }
.ess-gallery-mobile { display: block; }

/* ---------- PLANTA (zoom/pan) ----------
.ess-planta {
  position: relative; width: 100%; overflow: hidden;
  background: color-mix(in oklab, var(--ebano) 2%, transparent);
  user-select: none; touch-action: none; aspect-ratio: 16 / 9; cursor: zoom-in;
}
.ess-planta.is-zoomed { cursor: grab; }
.ess-planta.is-zoomed.is-dragging { cursor: grabbing; }
.ess-site .ess-planta__base, .ess-site .ess-planta__zoom, .elementor .ess-planta__base, .elementor .ess-planta__zoom {
  position: absolute; inset: 0; height: 100%; width: 100%; object-fit: contain;
  pointer-events: none;
}
.ess-planta__base { transform: rotate(90deg); transition: opacity 300ms; }
.ess-planta__zoom { opacity: 0; will-change: transform; transform: rotate(90deg);
  transition: opacity 220ms ease-out, transform 320ms cubic-bezier(0.22, 1, 0.36, 1); }
.ess-planta.is-zoomed .ess-planta__base { opacity: 0; }
.ess-planta.is-zoomed .ess-planta__zoom { opacity: 1; }
.ess-planta.is-dragging .ess-planta__zoom { transition: opacity 220ms ease-out; }
.ess-planta__hint, .ess-planta__out {
  position: absolute; bottom: 0.75rem; right: 0.75rem; border-radius: 9999px;
  color: var(--paper); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  transition: opacity 300ms; font-family: var(--font-sans);
}
.ess-planta__hint { padding: 0.25rem 0.625rem; background: color-mix(in oklab, var(--ebano) 70%, transparent); pointer-events: none; }
.ess-planta__out { padding: 0.375rem 0.75rem; background: color-mix(in oklab, var(--ebano) 80%, transparent); opacity: 0; pointer-events: none; }
.ess-planta__out:hover { background: var(--ebano); }
.ess-planta.is-zoomed .ess-planta__hint { opacity: 0; }
.ess-planta.is-zoomed .ess-planta__out { opacity: 1; pointer-events: auto; }

---------- PLANTA (zoom/pan) ---------- */
/* ESSENCE — PLANTAS / CARROSSEL + ZOOM */


/* LAYOUT */
.ess-site .essence-plantas-layout {
  align-items: center;
}

.ess-site .essence-plantas-media {
  min-width: 0;
}


/* CARROSSEL */

.ess-site .ess-planta-carousel {
  position: relative;
  width: 100%;

  /* Escala visual padrão da planta. Mantemos o aumento que funcionou bem no ajuste anterior. */
  --planta-base-scale: 1.32;
}


.ess-site .ess-planta-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;

  background:
    color-mix(
      in oklab,
      var(--ebano) 2%,
      transparent
    );
}


/* SLIDES */

.ess-site .ess-planta-slide {
  position: absolute;
  inset: 0;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 500ms var(--ease-site),
    visibility 500ms;
}


.ess-site .ess-planta-slide.is-current {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}


/* VISUALIZADOR */

.ess-site .ess-planta {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  overflow: hidden;

  user-select: none;
  touch-action: none;

  cursor: zoom-in;
}


.ess-site .ess-planta-carousel.is-zoomed .ess-planta {
  cursor: grab;
}


.ess-site .ess-planta-carousel.is-zoomed.is-dragging .ess-planta {
  cursor: grabbing;
}


/* IMAGEM */

.ess-site .ess-planta__image,
.elementor .ess-planta__image {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: contain;

  pointer-events: none;

  transform-origin: center center;

  /* Os arquivos de planta estão originalmente em pé. Portanto o rotate(90deg) continua obrigatório. */
  transform:
    translate3d(0, 0, 0)
    rotate(90deg)
    scale(var(--planta-base-scale));

  will-change: transform;

  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}


/* Durante o arraste não queremos easing */
.ess-site
.ess-planta-carousel.is-dragging
.ess-planta__image {
  transition: none;
}


/* SETAS */

.ess-site .ess-planta-carousel__arrow {
  position: absolute;

  top: 50%;
  z-index: 10;

  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  transform: translateY(-50%);

  border: 0;
  border-radius: 9999px;

  background:
    color-mix(
      in oklab,
      var(--ebano) 75%,
      transparent
    );

  color: var(--paper);

  font-family: var(--font-sans);
  font-size: 18px;

  cursor: pointer;

  transition:
    background 250ms ease,
    opacity 250ms ease;
}


.ess-site .ess-planta-carousel__arrow:hover {
  background: var(--ebano);
}


.ess-site .ess-planta-carousel__arrow--prev {
  left: 1rem;
}


.ess-site .ess-planta-carousel__arrow--next {
  right: 1rem;
}


/* Enquanto a planta estiver ampliada, as setas são escondidas para não disputar interação com o pan. */
.ess-site
.ess-planta-carousel.is-zoomed
.ess-planta-carousel__arrow {
  opacity: 0;
  pointer-events: none;
}


/* INDICADORES */

.ess-site .ess-planta-dots {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 0.5rem;

  margin-top: 1rem;

  transition: opacity 250ms ease;
}


.ess-site .ess-planta-dot {
  width: 22px;
  height: 22px;

  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 0;

  background: transparent;

  cursor: pointer;
}


.ess-site .ess-planta-dot span {
  width: 6px;
  height: 6px;

  display: block;

  border-radius: 9999px;

  background:
    color-mix(
      in oklab,
      var(--ebano) 30%,
      transparent
    );

  transition:
    width 250ms ease,
    background 250ms ease;
}


.ess-site .ess-planta-dot.is-current span {
  width: 18px;

  background: var(--ebano);
}


.ess-site
.ess-planta-carousel.is-zoomed
.ess-planta-dots {
  opacity: 0;
  pointer-events: none;
}


/* HINT / REDUZIR ZOOM */

.ess-site .ess-planta__hint,
.ess-site .ess-planta__out {
  position: absolute;

  bottom: 0.75rem;
  right: 0.75rem;

  z-index: 12;

  border-radius: 9999px;

  color: var(--paper);

  font-family: var(--font-sans);
  font-size: 10px;

  letter-spacing: 0.14em;
  text-transform: uppercase;

  transition: opacity 300ms;
}


.ess-site .ess-planta__hint {
  padding: 0.25rem 0.625rem;

  background:
    color-mix(
      in oklab,
      var(--ebano) 70%,
      transparent
    );

  pointer-events: none;
}


.ess-site .ess-planta__out {
  padding: 0.375rem 0.75rem;

  border: 0;

  background:
    color-mix(
      in oklab,
      var(--ebano) 80%,
      transparent
    );

  opacity: 0;
  pointer-events: none;

  cursor: pointer;
}


.ess-site .ess-planta__out:hover {
  background: var(--ebano);
}


.ess-site
.ess-planta-carousel.is-zoomed
.ess-planta__hint {
  opacity: 0;
}


.ess-site
.ess-planta-carousel.is-zoomed
.ess-planta__out {
  opacity: 1;
  pointer-events: auto;
}


/* LEGENDA */

.ess-site .ess-planta-caption {
  min-height: 1.5em;
}


/* TABLET */

@media (min-width: 768px) and (max-width: 1023px) {

  .ess-site .ess-planta-carousel {
    --planta-base-scale: 1.18;
  }

}


/* MOBILE */

@media (max-width: 767px) {

  .ess-site .ess-planta-carousel {
    --planta-base-scale: 1.05;
  }


  .ess-site .ess-planta-stage {
    aspect-ratio: 4 / 3;
  }


  .ess-site .ess-planta-carousel__arrow {
    width: 36px;
    height: 36px;
  }


  .ess-site .ess-planta-carousel__arrow--prev {
    left: 0.625rem;
  }


  .ess-site .ess-planta-carousel__arrow--next {
    right: 0.625rem;
  }

}

/* ---------- Colunas md (grid 12) — mobile: tudo c12 ---------- */

/* ============================================================
   md: 768px — layout principal
   ============================================================ */
@media (min-width: 768px) {
  .u-pad { padding-inline: 3rem; }                                   /* md:px-12 */
  .md-c2 { grid-column: span 2 / span 2; }
  .md-c3 { grid-column: span 3 / span 3; }
  .md-c4 { grid-column: span 4 / span 4; }
  .md-c5 { grid-column: span 5 / span 5; }
  .md-c6 { grid-column: span 6 / span 6; }
  .md-c7 { grid-column: span 7 / span 7; }
  .md-c8 { grid-column: span 8 / span 8; }
  .md-c9 { grid-column: span 9 / span 9; }
  .md-c11 { grid-column: span 11 / span 11; }
  .md-s1 { grid-column-start: 1; }
  .md-s2 { grid-column-start: 2; }
  .md-s3 { grid-column-start: 3; }
  .md-s4 { grid-column-start: 4; }
  .md-s6 { grid-column-start: 6; }
  .md-s7 { grid-column-start: 7; }
  .md-s8 { grid-column-start: 8; }
  .md-s9 { grid-column-start: 9; }
  .md-s10 { grid-column-start: 10; }
  .md-mt-0 { margin-top: 0; }
  .md-mt-6 { margin-top: 1.5rem; }
  .md-mt-8 { margin-top: 2rem; }
  .md-mt-10 { margin-top: 2.5rem; }
  .md-mt-12 { margin-top: 3rem; }
  .md-mt-16 { margin-top: 4rem; }
  .md-mt-20 { margin-top: 5rem; }
  .md-mt-24 { margin-top: 6rem; }
  .md-mt-32 { margin-top: 8rem; }
  .txt-md17 { font-size: 17px; }
  .txt-md-sm { font-size: 0.875rem; }
  .fd-tag { font-size: 1.5rem; }        /* md:text-2xl */
  .fd-xl { font-size: 1.25rem; }
  .fd-h2xl { font-size: 1.875rem; }     /* md:text-3xl */
  .fd-3xl4 { font-size: 2.25rem; }      /* md:text-4xl */
  .fd-lg { font-size: 1.25rem; }        /* md:text-xl */

  .py-14-28 { padding-block: 7rem; }
  .py-14-24 { padding-block: 6rem; }
  .py-16-24 { padding-block: 6rem; }
  .py-16-32 { padding-block: 8rem; }
  .py-16-36 { padding-block: 9rem; }
  .py-24-32 { padding-block: 8rem; }
  .py-24-36 { padding-block: 9rem; }
  .py-24-40 { padding-block: 10rem; }
  .py-32-48 { padding-block: 12rem; }
  .pt-40-56-pb-16-24 { padding-top: 14rem; padding-bottom: 6rem; }
  .pt-40-56-pb-24-40 { padding-top: 14rem; padding-bottom: 10rem; }
  .ess-manifesto { padding-block: 14rem; margin-block: 8rem; }       /* md:py-56 md:my-32 */

  .ess-nav__bar { padding-inline: 3rem; }
  .ess-site .ess-nav__logo img, .elementor .ess-nav__logo img { height: 2rem; }  /* md:h-7 */
  .ess-nav__links { display: flex; align-items: center; gap: 2.5rem; }
  .ess-nav__cta { margin-left: 1rem; padding-left: 2rem; border-left: 1px solid color-mix(in oklab, var(--ebano) 25%, transparent); }
  .ess-nav__toggle, .ess-nav__mobile { display: none !important; }

  .ess-footer__inner { padding: 12rem 3rem 2.5rem; }                 /* md:pt-48 */
  .ess-footer__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem; }
  .ess-footer__col-brand { grid-column: span 4 / span 4; }
  .ess-footer__col-nav { grid-column: 6 / span 4; }
  .ess-footer__col-channels { grid-column: 10 / span 3; }
  .ess-site .ess-footer__logo, .elementor .ess-footer__logo { height: 2.5rem; }
  .ess-footer__bottom { flex-direction: row; align-items: flex-end; }

  .ess-banner { padding-top: 7rem; }                                 /* md:pt-28 */
  .ess-banner__cta { padding-block: 2.5rem; }                        /* md:py-10 */

  .ess-ficha dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-sticky { position: sticky; top: 8rem; align-self: start; }     /* md:top-32 */

  .ess-gallery-desktop { display: block; max-width: 64rem; margin-inline: auto; }
  .ess-gallery-mobile { display: none; }

  .md-border-l { border-left: 1px solid color-mix(in oklab, var(--ebano) 15%, transparent); padding-left: 2rem; }
}

/* ============================================================
   sm: 640px — detalhes do carrossel
   ============================================================ */
@media (min-width: 640px) {
  .ess-carousel__arrow { left: 1rem; background: color-mix(in oklab, var(--paper) 20%, transparent); opacity: 0; }
  .ess-carousel__arrow--next { left: auto; right: 1rem; }
  .ess-carousel:hover .ess-carousel__arrow, .ess-carousel__arrow:focus { opacity: 1; }
  .ess-carousel__bar { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .ess-carousel__dots { display: flex; gap: 0.375rem; align-self: auto; }
  .ess-carousel__dot { height: 3px; width: 1.5rem; }
}

/* ============================================================
   lg: 1024px — padding lateral maior
   ============================================================ */
@media (min-width: 1024px) {
  .u-pad { padding-inline: 5rem; }                                   /* lg:px-20 */
  .ess-nav__bar { padding-inline: 5rem; }
  .ess-footer__inner { padding-inline: 5rem; }
}

/* ESSENCE — LAYOUT EDITORIAL RESPONSIVO */
/* ESTRUTURA GERAL */

/* O padding da página fica FORA do container. Assim os 1500px abaixo representam de fato a largura máxima do conteúdo, e não 1500px menos os paddings. */
.ess-site .essence-layout-section {
  padding-inline: clamp(1.5rem, 4vw, 5rem);
}


/* Container editorial real. */
.ess-site .essence-layout-container {
  width: 100%;
  max-width: 1500px;
  margin-inline: auto;
  box-sizing: border-box;
}


/* Mantemos o gap original do design system. O main.css original usa 2rem no .grid12. Não precisamos criar um gap maior aqui. */
.ess-site .essence-layout-row {
  align-items: center;
}


/* TEXTO */

.ess-site .essence-layout-copy {
  width: 100%;
  min-width: 0;
}


.ess-site .essence-layout-title {
  margin: 0;
}


.ess-site .essence-layout-description {
  margin-top: 1rem;
  max-width: 32rem;
}


/* Subtextos. Mobile mantém 15px. */
.ess-site .essence-lead-text {
  font-size: 15px;
  line-height: 1.65;
}


/* ATRIBUTOS */

.ess-site .essence-atributo-row {
  padding-block: 2.5rem;
}


/* MOBILE até 767px */

@media (max-width: 767px) {

  .ess-site .essence-layout-section {
    padding-inline: 1.5rem;
  }


  .ess-site .essence-layout-row .essence-layout-media,
  .ess-site .essence-layout-row .essence-layout-copy {
    grid-column: 1 / -1;
  }


  /* Bloco normal: imagem -> texto */
  .ess-site
  .essence-layout-row:not(.is-reversed)
  .essence-layout-media {
    order: 1;
  }

  .ess-site
  .essence-layout-row:not(.is-reversed)
  .essence-layout-copy {
    order: 2;
  }


  /* Bloco invertido: texto -> imagem */
  .ess-site
  .essence-layout-row.is-reversed
  .essence-layout-copy {
    order: 1;
  }

  .ess-site
  .essence-layout-row.is-reversed
  .essence-layout-media {
    order: 2;
  }


  .ess-site .essence-layout-description {
    margin-top: 1.5rem;
    max-width: none;
  }


  .ess-site .essence-lead-text {
    font-size: 15px;
  }


  .ess-site .essence-atributo-row {
    padding-block: 1.5rem;
  }

}


/* TABLET 768px até 1023px */

@media (min-width: 768px) and (max-width: 1023px) {

  .ess-site .essence-layout-section {
    padding-inline: 3rem;
  }


  .ess-site .essence-lead-text {
    font-size: 17px;
  }


  /* Nessa faixa precisamos aproveitar mais a largura. imagem = 5 colunas / texto  = 6 colunas */
  .ess-site
  .essence-layout-row:not(.is-reversed)
  .essence-layout-media {
    grid-column: 1 / span 5;
    order: 1;
  }

  .ess-site
  .essence-layout-row:not(.is-reversed)
  .essence-layout-copy {
    grid-column: 7 / span 6;
    order: 2;
  }


  .ess-site
  .essence-layout-row.is-reversed
  .essence-layout-copy {
    grid-column: 1 / span 6;
    order: 1;
  }

  .ess-site
  .essence-layout-row.is-reversed
  .essence-layout-media {
    grid-column: 8 / span 5;
    order: 2;
  }


  /* Tipografia proporcional à largura disponível. */
  .ess-site
  .essence-layout-row
  .fd-h325 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    line-height: 1.03;
  }


  .ess-site .essence-layout-description {
    margin-top: 1.75rem;
  }

}


/* NOTEBOOK 1024px até 1279px */

@media (min-width: 1024px) and (max-width: 1279px) {

  /* Importante: não usamos os 5rem globais do .u-pad aqui. */
  .ess-site .essence-layout-section {
    padding-inline: clamp(2rem, 3.5vw, 3rem);
  }


  .ess-site .essence-lead-text {
    font-size: 18px;
  }


  /* Layout mais aberto. imagem = 4 colunas / texto  = 5 colunas | Usamos praticamente toda a área útil, sem deixar imagem pequena demais. */
  .ess-site
  .essence-layout-row:not(.is-reversed)
  .essence-layout-media {
    grid-column: 2 / span 4;
    order: 1;
  }

  .ess-site
  .essence-layout-row:not(.is-reversed)
  .essence-layout-copy {
    grid-column: 7 / span 5;
    order: 2;
  }


  .ess-site
  .essence-layout-row.is-reversed
  .essence-layout-copy {
    grid-column: 2 / span 5;
    order: 1;
  }

  .ess-site
  .essence-layout-row.is-reversed
  .essence-layout-media {
    grid-column: 8 / span 4;
    order: 2;
  }


  /* Corrige especificamente o problema: título grande demais perto da imagem. */
  .ess-site
  .essence-layout-row
  .fd-h325 {
    font-size: clamp(2.2rem, 3.25vw, 2.75rem);
    line-height: 1.03;
  }


  .ess-site .essence-layout-description {
    margin-top: 1rem;
  }

}


/* DESKTOP 1280px+ */

@media (min-width: 1280px) {

  .ess-site .essence-lead-text {
    font-size: 18px;
  }


  /*
   * NOVO PADRÃO EDITORIAL.
   *
   * Antes estávamos usando:
   * imagem = 3 colunas
   * texto  = 5 colunas
   * dentro de um container que ainda perdia 160px de padding.
   * Ficava estreito demais.
   *
   * Agora:
   * imagem = 4 colunas
   * texto  = 5 colunas
   * ocupando uma faixa muito mais próxima da composição
   * original de "Verticalidade".
   */


  /* Normal: imagem esquerda / texto direita */
  .ess-site
  .essence-layout-row:not(.is-reversed)
  .essence-layout-media {
    grid-column: 2 / span 4;
    order: 1;
  }

  .ess-site
  .essence-layout-row:not(.is-reversed)
  .essence-layout-copy {
    grid-column: 7 / span 5;
    order: 2;
  }


  /* Invertido: texto esquerda / imagem direita */
  .ess-site
  .essence-layout-row.is-reversed
  .essence-layout-copy {
    grid-column: 2 / span 5;
    order: 1;
  }

  .ess-site
  .essence-layout-row.is-reversed
  .essence-layout-media {
    grid-column: 8 / span 4;
    order: 2;
  }

}


/* DESKTOP MUITO GRANDE 1600px+ */
@media (min-width: 1600px) {

  /* Mantemos os 1500px como teto real. O conteúdo não continua abrindo indefinidamente em monitores ultrawide. */
  .ess-site .essence-layout-container {
    max-width: 1500px;
  }

}

/* Título da Galeria / Plantas (Texto ao Lado) */
.ess-site .essence-gallery-layout {
  align-items: center;
}

.ess-site .essence-gallery-copy {
  min-width: 0;
}

.ess-site .essence-gallery-title {
  margin: 0;
}

.ess-site .essence-gallery-media {
  min-width: 0;
}

.ess-site .essence-gallery-desktop {
  max-width: none;
  margin-inline: 0;
}

.ess-site .essence-gallery-disclaimer {
  margin-inline: 0;
}


/* MOBILE até 767px */
@media (max-width: 767px) {

  .ess-site .essence-gallery-copy,
  .ess-site .essence-gallery-media {
    grid-column: 1 / -1;
  }

  .ess-site .essence-gallery-copy {
    margin-bottom: 2rem;
  }

}


/* TABLET 768px até 1023px */
@media (min-width: 768px) and (max-width: 1023px) {

  .ess-site .essence-gallery-copy {
    grid-column: 1 / span 4;
  }

  .ess-site .essence-gallery-media {
    grid-column: 5 / span 8;
  }

}


/* DESKTOP 1024px+ */
@media (min-width: 1024px) {

  .ess-site .essence-gallery-copy {
    grid-column: 2 / span 3;
  }

  .ess-site .essence-gallery-media {
    grid-column: 5 / span 8;
  }

}

/* ESSENCE — LOCALIZAÇÃO - Mostra a imagem completa sem cortes */
.ess-site .essence-localizacao-section .ess-imgreveal {
  background: transparent;
}

.ess-site .essence-localizacao-section .ess-imgreveal img,
.elementor .essence-localizacao-section .ess-imgreveal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Espaço Texto - Localização */
.ess-site .essence-localizacao-text-1 {
  margin-top: 1rem;
}

.ess-site .essence-localizacao-text-2 {
  margin-top: 1.25rem;
}