/* ============================================================
   CASAS GORGOLITO — Stylesheet
   Artboard reference: 1920 × 972px
   Sidebar: W 392px, X 75, Y 111 (inner content offset)
   Content: starts at X 580px, max-width 1142px
   ============================================================ */


   @font-face {
  font-family: cera light; /* set name */
  src: url(fonts/Cera-Mono-Light-Demo.otf); /* url of the font */
}

   @font-face {
  font-family: apercu light; /* set name */
  src: url(fonts/Cera-Mono-Light-Demo.otf); /* url of the font */
}

   @font-face {
  font-family: apercu bold; /* set name */
  src: url(fonts/APERCUMONOPROBOLD.TTF); /* url of the font */
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


:root {
  --color-bg:       #fff;
  --color-text:     #766656;
  --color-muted:    #928675;
  --color-border:   #c6b29b;
  --color-placeholder: #c6b29b;

  --sidebar-width:  392px;
  --sidebar-x:      40px;           /* left margin of sidebar content */
  --sidebar-y:      40px;          /* top margin of sidebar content  */

  --content-x:      440px;          /* left edge of scrollable content */
  --content-max:    100%;
}



html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
  /* placeholder font — swap out for your chosen typefaces */
  font-family: apercu light, 'Courier New', Courier, monospace;
  font-size: 15px;
  text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}


img{
    -webkit-user-drag: none;
user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;

}
a:link {
  color: var(--color-text);
  background-color: transparent;
  text-decoration: none;
}

a:visited {
  color: var(--color-text);
  background-color: transparent;
  text-decoration: none;
}
a:active {
  color: var(--color-text);
  background-color: transparent;
  text-decoration: none;
}

/* ============================================================
   SIDEBAR — fixed left panel
   ============================================================ */

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  z-index: 100;

  /* inner padding mirrors the Figma X/Y offsets */
  padding-top:  var(--sidebar-y);
  padding-left: var(--sidebar-x);
  padding-bottom: 48px;

  /* Two-column grid: col 1 = logo icon, col 2 = logotype + nav + arrow */
  display: grid;
  grid-template-columns: 90px 10px 1fr; /* icon | gap | logotype column */
  grid-template-rows: auto auto 1fr auto;
  /*                  logo  nav   stretch  arrow */
}


.sidebar * {
  -webkit-tap-highlight-color: transparent;
}

/* ---- Brand block (logo icon + logotype) ---- */

.sidebar__brand {
  grid-column: 1 / -1;          /* spans full width */
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 64px;          /* space between brand and nav */
}


.brand__logo {
     width: 75px;
  /*    padding-top: 5px; */
    height: auto;
  flex-shrink: 0;
  overflow: hidden;
}

.brand__logo img {
  width: 100%;
  height: 100%;
 /*  object-fit: contain; */
  display: block;
}

/* Logotype (the text "CASAS / GORGOLITO") */
.brand__logotype {
  font-family: cera light; /* use font */
  display: flex;
  flex-direction: column;
  justify-content: left;
    line-height: 1;
    font-size: 34px;
/*     letter-spacing: -0.02em; */
    text-transform: uppercase;
        padding-top: 3px;
}

.brand__logotype span {
  display: block;
}

.sidebar__hamburger {
  display: none;
}

/* ---- Navigation ---- */

.sidebar__nav {
  grid-column: 3;              /* logotype column only */
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar__nav a {
  font-family: apercu bold;
  font-size: 12px;
     text-underline-offset: 5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-text);
  transition: opacity 0.2s ease;
}

.sidebar__nav a:hover {
  opacity: 0.5;
}
.sidebar__nav a.is-active {
/*   font-style: italic; */
text-decoration: underline;
}


/* ---- Up arrow ---- */

/* .sidebar__arrow {
  grid-column: 3;            
  grid-row: 4;
    margin-left: -2px;
  align-self: end;
}

.sidebar__arrow a {
  font-size: 40px;
    font-family:  sans-serif;
  color: var(--color-text);
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.sidebar__arrow a:hover {
  transform: translateY(-3px);
  opacity: 0.5;
}

.sidebar__arrow {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sidebar__arrow.is-visible {
  opacity: 1;
} */

/* ---- Social icons (replaces up arrow) ---- */

.sidebar__social {
  grid-column: 3;              /* logotype column only */
  grid-row: 4;
  align-self: end;
  display: flex;
      gap: 12px;
    margin-bottom: 17px;
    align-items: center;
}

.sidebar__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.sidebar__social a:hover {
  opacity: 0.5;
}

.sidebar__social img {
  height: 28px;
  width: auto;
  display: block;
}

/* ---- Nav social (inside hamburger menu, hidden by default) ---- */

.nav__social {
  display: none;
}

/* ---- Contact social (hidden by default, shown at ≤1200px) ---- */

.contact__social {
  display: none;
  margin-left: 0;
  padding-left: 0;
  align-self: flex-start;
}

.contact__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.contact__social a:hover {
  opacity: 0.5;
}

.contact__social img {
  height: 28px;
  width: auto;
  display: block;
}

/* ============================================================
   MAIN CONTENT — scrollable right area
   ============================================================ */

.content {
  margin-left: var(--content-x);  /* starts at X 580px */
  max-width: var(--content-max);  /* 1142px */

  padding-right: 40px;
      padding-top: 40px;
    padding-bottom: 0px;
}


/* ---- Opening (hero + intro) — intro sits with social icons ---- */

.content__opening {
  min-height: calc(100dvh - var(--sidebar-y));
  display: flex;
  flex-direction: column;
}

/* ---- Hero image ---- */

.content__hero {
  width: 100%;
  margin-bottom: 0;
  flex-shrink: 0;
}

.img-placeholder {
/*   background-color: var(--color-placeholder); */
  background-color: transparent;
  overflow: hidden;
    max-height: calc(100vh - 160px); 
    margin: auto;
  max-width: 100%;
  margin-bottom: 40px;
}

.img-placeholder img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  
}

.img-placeholder--hero {
  margin: auto;
  margin-bottom: 0;
  max-width: 100%;
  width: 100%;
  aspect-ratio: 16 / 9;
  /* Reserve shrinks on short screens so landscape phones keep a usable video */
  max-height: calc(100dvh - clamp(100px, 22vh, 280px));
}

.video-embed {
  width: 100%;
  height: 100%;
  background: #000;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  pointer-events: auto;
}

/* ---- Intro text — left + bottom aligned with social icons ---- */

.content__intro {
  text-align: left;
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--color-text);
  margin-top: auto;
  padding: 24px 0 58px; /* 58px ≈ sidebar padding-bottom + social margin */
  margin-left: 0;
  padding-left: 0;
}
.content__intro p {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 2s ease, transform 2s ease;
}

.content__intro p a{
    text-decoration: underline;
    text-underline-offset: 5px;
        text-decoration-thickness: from-font;
}

.content__intro p a:hover{
font-weight: bold;
    text-decoration-thickness: auto;
}

.content__intro p.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Generic content sections ---- */

.content__section {
  margin-bottom: 80px;
      padding-top: 40px;
}
.content__section h1 {
 
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 40px;
  color: var(--color-text);

  font-family: 'apercu bold';


  justify-content: center;
    line-height: 1;
    font-size: 12px;
    letter-spacing: 0.08em;


}

h2{
    font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--color-text);
}

.content__section h2 {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--color-text);
}

.img-placeholder--section {
  max-width: 700px;
  aspect-ratio: 16 / 7.5;
}

/* ---- Acabamentos grid ---- */

.acabamentos-group {
  margin-bottom: 72px;
}

.acabamentos-group:last-of-type {
  margin-bottom: 0;
}

.acabamentos-group h2 {
  font-family: 'apercu bold';
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 40px;
  color: var(--color-text);
  line-height: 1;
}

.acabamentos-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 150px));
        gap: 40px 20px;
  justify-content: start;
  max-width: 100%;
}

.acabamentos-item__img {
  aspect-ratio: 1 / 1;
  background-color: var(--color-placeholder);
  overflow: hidden;
}

.acabamentos-item__img--placeholder {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, transparent 45%),
    var(--color-placeholder);
}

.acabamentos-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.acabamentos-item__label {
  margin-top: 10px;
  font-family: apercu light, 'Courier New', Courier, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--color-text);
  text-transform: capitalize;
  line-height: 1.35;
}

.acabamentos-footnote {
  margin-top: 48px;
  max-width: 520px;
  font-family: apercu light, 'Courier New', Courier, monospace;

  letter-spacing: 0.04em;
  color: var(--color-text);
  text-align: left;
    font-size: 18px;
    line-height: 1.8;
    letter-spacing: 0.04em;
    color: var(--color-text);
    padding: 15vh 0 80px;
}
/* 
@media (min-width: 781px) {
  .acabamentos-group {
    margin-bottom: 96px;
  }

  .acabamentos-grid {
    grid-template-columns: repeat(4, minmax(0, 110px));
    gap: 44px 36px;
  }

  .acabamentos-item__label {
    font-size: 12px;
  }

  .acabamentos-footnote {
    max-width: 720px;
    margin-top: 56px;
  }
}
 */
/* ---- Faseamento slideshow ---- */

.faseamento-slider {
  position: relative;
}

.faseamento-slider__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.faseamento-slider__viewport::-webkit-scrollbar {
  display: none;
}

.faseamento-slider__track {
  display: flex;
}

.faseamento-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-width: 0;
}

.faseamento-slide__caption {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.6em;
  margin-bottom: 24px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.faseamento-slide__caption h2 {
  margin-bottom: 0;
  text-align: center;
}

.faseamento-slider__nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  height: 1.6em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 2;
}

.faseamento-slider__arrow {
  pointer-events: auto;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--color-text);
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

/* ---- Casa-tipo slider: mixed aspect ratios, fixed footer ---- */
/* --casa-tipo-img-h is set in px by JS (from viewport width) */

.faseamento-slider--casa-tipo .faseamento-slider__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  height: var(--casa-tipo-img-h, 450px);
}

.faseamento-slider--casa-tipo .faseamento-slider__track {
  height: 100%;
  align-items: center;
}

.faseamento-slider--casa-tipo .faseamento-slide {
  flex: 0 0 100%;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  box-sizing: border-box;
}

.casa-tipo-slide__frame {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: var(--casa-tipo-img-h, 450px);
  /* width set by JS from image ratio */
}

.casa-tipo-slide__img {
  display: block;
  height: var(--casa-tipo-img-h, 450px);
  width: auto;
  max-width: 800px;
  object-fit: contain;
}

.faseamento-slider--casa-tipo .faseamento-slider__footer {
  position: relative;
  height: 1.6em;
  margin-top: 40px;
  margin-bottom: 24px;
}

.faseamento-slider--casa-tipo .faseamento-slider__nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.6em;
}

.faseamento-slider--casa-tipo .faseamento-slider__caption {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.6em;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.faseamento-slider--casa-tipo .faseamento-slider__caption h2 {
  margin-bottom: 0;
  text-align: center;
      max-width: 67vw;
}

.location-grid {
  display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 40px;
  align-items: start;
}

.location-map {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.location-map__wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 646 / 368;
  overflow: hidden;

}

.location-map__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
 
}

.location-map__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.location-map__label {
  position: absolute;
  color: var(--color-text);
  font-family: cera light;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  white-space: nowrap;
}

.location-map__label--road {
top: 14%;
    left: 41%;
    rotate: -25deg;
    transform: translate(-75%, -67%);
}

.location-map__label--north {
  top: 10%;
  right: 12%;
}

.location-map__pin {
  position: absolute;
  width: 28px;
  height: auto;
  top: 41%;
  left: 55%;
  transform: translate(-50%, -50%) translateY(-40px) scale(0.8);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.location-map__pin.is-visible {
  animation: locationPinReveal 0.8s cubic-bezier(0.2, 0.8, 0.2, 1.35) 0.1s both;
}

@keyframes locationPinReveal {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(-40px) scale(0.8);
  }
  60% {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(8px) scale(1.06);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0) scale(1);
  }
}

.location-map__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: apercu bold;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--color-text);
}

.location-map__link img {
     width: 10px;
    margin-top: 2px;
  height: auto;
}

.location-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  
}

.location-info__table {
  display: grid;
  gap: 16px;
}

.location-info__row {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 12px;
  align-items: center;
  font-family: apercu light, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--color-text);
}

.location-info__row span:first-child {
  font-family: apercu bold, sans-serif;
}

.location-info__row span:nth-child(2) {
  font-family: apercu bold, sans-serif;
}




.location-info__dash {
  color: var(--color-border);
}

.location-info__caption {
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--color-text);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 2s ease, transform 2s ease;
  padding: 15vh 0 80px;
  text-align: left;
}

.location-info__caption.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Contacts ---- */

.content__contactos {
  margin-bottom: 0;
  min-height: 100dvh; /* #contactos click = last scroll position */
  display: flex;
  flex-direction: column;
}

.content__contact-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--color-muted);
  flex: 1;
  min-height: 0;
}

/* Credit — bottom-aligned with sidebar social icons;
   margin-top:auto fills leftover viewport → padding-top tracks window size */
.content__credit {
  margin-top: auto;
  /* padding-top: 51px; */ /* min gap from form */
  padding-bottom: 63px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  max-width: 420px;
}

.contact-form__heading {
  color: var(--color-text);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--color-text);
  background: var(--color-bg);
  color: var(--color-text);
  font-family: inherit;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: var(--color-muted);
}

.contact-form__textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form__input.is-invalid,
.contact-form__textarea.is-invalid {
  border-color: #b33;
  outline: none;
}

.contact-form__feedback {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.contact-form__feedback--error {
  color: #b33;
}

.contact-form__feedback--success {
  color: var(--color-text);
  font-family: apercu bold, 'Courier New', Courier, monospace;
  letter-spacing: 0.06em;
}

.contact-form__submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.contact-form__submit {
  padding: 10px 28px;
  border: none;
  background-color: var(--color-text);
  color: var(--color-bg);
  font-family: apercu bold, 'Courier New', Courier, monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.contact-form__submit:hover {
  opacity: 0.9;
}




/* ---- TABLE ---- */

.table-scroll td:nth-child(odd){background-color: #f5f5f5;}

    .label-main {
      font-family: 'Apercu Bold', 'Apercu-Bold', sans-serif;
      font-weight: normal;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      font-size: 11px;
    }
 
    .table-wrapper {
      position: relative;
      overflow: hidden;
      width: 100%;
    }
 
    .table-scroll {
      overflow-x: auto;
      margin-left: 220px;
      user-select: none;
      -webkit-tap-highlight-color: transparent;

    }
 
    table {
      border-collapse: collapse;
      white-space: nowrap;
      user-select: none;
    }
 
    td, th {
      border: transparent;
      border-top-color: transparent;
      border-bottom-color: transparent;
      border-left-color: transparent;
      border-right-color: transparent;
      padding: 10px 14px;
      vertical-align: middle;
      text-align: center;
    }

    .table-fixed td{
      border-left-color: transparent;
      
      
    }
 
    /* ═══════════════════════════════════════
       FIXED FIRST COLUMN
    ═══════════════════════════════════════ */
    .table-fixed {
      position: absolute;
      top: 0;
      left: 0;
      width: 220px;
      background: #fff;
      z-index: 10;
      
    }
 
    .table-fixed td {
      width: 220px;
      min-width: 220px;
      text-align: left;
   /*    border-right: 1px solid #bbb; */
      vertical-align: middle;
    }
 
    /* ═══════════════════════════════════════
       SCROLLABLE DATA TABLE
    ═══════════════════════════════════════ */
    .table-data td {
      min-width: 80px;
      max-width: 80px;
    }
 
    .label-unit {
      font-family: 'Apercu Light', 'Apercu-Light', sans-serif;
      font-size: 11px;
      display: block;
      margin-top: 2px;
    }
 
    /* ── sub-row bracket lines ── */
    .label-sub {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      padding-left: 35px !important;
      position: relative;
    }
 
    .label-sub::before {
      content: '';
      position: absolute;
      left: 15px;
      border-left: 1px solid #555;
      border-bottom: 1px solid #555;
      width: 10px;
    }
 
    .label-sub--first::before { top: 0; height: 60%; }
    .label-sub--last::before  { top: 0; height: 50%; }
 
    .label-sub--first::after {
      content: '';
      position: absolute;
      left: 15px;
      top: 60%;
      bottom: -1px;
      border-left: 1px solid #555;
    }
 
    /* ── row heights (identical on both tables) ── */
    .row-lote td        { height: 44px; }
    .row-area-lote td   { height: 76px; }
    .row-implantacao td { height: 76px; }
    .row-construcao td  { height: 76px; }
    .row-acima td       { height: 76px; }
    .row-abaixo td      { height: 76px; }
 
    /* Row 4 data cells: push — to bottom so they visually sit
       at the dividing line between the header and the sub-rows */
    .table-data .row-construcao td {
      vertical-align: center;
      padding-bottom: 8px;
      color: #bbb;
      font-size: 15px;
      letter-spacing: -0.02em;
    }
 
    /* ═══════════════════════════════════════
       SCROLL GRADIENTS + ARROW
    ═══════════════════════════════════════ */
    .fade-right,
    .fade-left {
      position: absolute;
      top: 0;
      bottom: 0;
      width: 40px;
      pointer-events: none;
      z-index: 5;
      transition: opacity 0.3s ease;
    }
 
    .fade-right {
      right: 0;
      background: linear-gradient(to right, transparent, #fff);
    }
 
    .fade-left {
      left: 220px;
      background: linear-gradient(to left, transparent, #fff);
      opacity: 0;
    }
 
    .scroll-arrow {
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 24px;
      color: var(--color-text);
      pointer-events: auto;
      cursor: pointer;
      animation: nudge 1.4s ease-in-out infinite, arrow-click-flash 2.5s ease-in infinite;
      transition: opacity 0.3s ease;
      z-index: 20;
      background: none;
      border: none;
      line-height: 1;
    }
 
    .scroll-arrow.is-hidden {
      opacity: 0;
      pointer-events: none;
    }
 
    @keyframes nudge {
      0%, 100% { transform: translateY(-50%) translateX(0);   }
      50%       { transform: translateY(-50%) translateX(10px); }
    }

    @keyframes arrow-click-flash {
      0%, 100% { color: var(--color-text); }
      15%, 16%   { color: #fff; }
      17%, 18%   { color: var(--color-text); }
      22%, 23% { color: #fff; }
      24%, 25% { color: var(--color-text); }
    }
 
.notuppercase{
  text-transform: none;
}

@media (max-width: 1200px) {
:root {

  --content-x:      380px;          /* left edge of scrollable content */
--sidebar-x:      20px;           /* left margin of sidebar content */
--content-x: 340px;
}


.content {
    padding-right: 20px;
}
}

@media (min-width: 1201px) {
  /* Keep sidebar social visible, hide other instances */
  .sidebar__social {
    display: flex;
  }

  .nav__social {
    display: none;
  }

  .contact__social {
    display: none;
  }
    .sidebar__arrow a::before {
    content: '🠉';
    
  }

  .sidebar__arrow a{
    margin-left: -5px;
    font-size: 28px;
  }
}


@media (min-width: 1071px) {
.img-placeholder--hero {

    margin-left: 0;

}
}

@media (max-width: 1070px), (max-height: 620px) {
  .sidebar {
            width: 100%;
        height: auto;
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 15px 30px;
        gap: 0px;
        background-color: #fff;
  }

  .sidebar__brand {
    margin-bottom: 0;
    gap: 13px;
  }

  /* Hide sidebar social, show contact social */
  .sidebar__social {
    display: none;
  }

  .contact__social {
    display: flex;
    gap: 10px;
    margin-top: 10px;
  }

  .sidebar__nav {
    display: flex;
    flex-direction: row;
    gap: 18px;
    margin-left: auto;
        margin-right: 30px;
        align-self: normal;
        margin-top: 15px;
  }
  .sidebar__nav a{
  font-size: 10px;
  }

  .brand__logo {
    width: 60px;
    padding-top: 0px;
  }

  .brand__logotype{
        font-size: 27px;
  }


  .content{
  max-width: calc(100% - 120px);
    margin: auto;
    padding: 0px;
    padding-top: 130px;
    padding-bottom: 40px;
  }

  .content__opening {
    min-height: 0;
  }

  .content__intro {
    margin-top: 0;
    padding: 80px 0 80px;
  }

  .content__section{
        margin-bottom: 40px;
    padding-top: 110px;
    
  }

.label-main{
      font-size: 11px;
}

td, th{
    font-size: 11px;
}

}

/* Landscape short: keep video big, then taper as height drops */
@media (orientation: landscape) and (max-height: 520px) {
  .img-placeholder--hero {
    max-height: calc(100dvh - 120px);
  }
}

@media (orientation: landscape) and (max-height: 450px) {
  .img-placeholder--hero {
    max-height: calc(100dvh * 0.55);
  }
}

@media (orientation: landscape) and (max-height: 380px) {
  .img-placeholder--hero {
    max-height: calc(100dvh * 0.42);
  }
}

@media (max-width: 780px) {



  body{
    font-size: 11px;
  }

  .content{
    padding-top: 30vh;
  }

  .sidebar{
            padding: 15px 10px;
  }

/*   #lotes .img-placeholder--section {
    margin-left: -20px;
    width: calc(100vw + 10px);
    max-width: calc(100vw + 20px);
    aspect-ratio: 16 / 7.5;
} */

.faseamento-slider--casa-tipo .faseamento-slider__caption h2 {
  font-size: 9px;
}

 .sidebar__hamburger {
    display: block;
    position: fixed;
    top: 24px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 300;
            color: #766656;
/*             webkit-tap-highlight-color:#766656;
 */
  }
  

  .sidebar__brand {
    position: relative;
    z-index: 300;
  }

  .sidebar__nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    flex-direction: column;
    padding-top: 160px;
    padding-left: 90px; /* tweak to align with logotype */
    gap: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 200;
    transform: none;
  }

  .sidebar__nav a{
  font-size: 16px;
  }

  .sidebar__nav.is-open {
    display: flex;
  }

  .sidebar__nav.is-open.is-faded {
    opacity: 1;
  }

  /* Show nav social inside hamburger menu */
  .nav__social {
    display: flex;
        position: fixed;
        bottom: 40px;
    margin-bottom: 0;
    gap: 10px;
        align-items: center;
  }

  .sidebar__social {
    display: none;
  }

  .contact__social {
    display: flex;
    gap: 10px;
    margin-top: 30px;
  }

      .content {
        max-width: calc(100% - 40px);
}

#table{
      padding-top: 20px;
}

 .fade-right,
    .fade-left {
 
      width: 40px;
 
    }

.label-main{
      font-size: 11px;
}



.table-fixed{
  width: 160px;
/*   margin-left: -20px; */
}
.table-fixed td{
      
    min-width: 160px;
}

.table-scroll{
 margin-left: 173px; 
}
.fade-left{
      left: 173px;
      display: none;
}

.table-wrapper{
      overflow: visible;
       margin-left: -20px;
           width:  calc(100% + 20px);
}

.table-data td {
    min-width: 60px;
    max-width: 60px;
}

.location-info {
  margin-top: 60px;
}

.location-grid {
  grid-template-columns: 1fr;
  gap: 24px;
}

.location-map__wrapper {
  aspect-ratio: 16 / 10;
}

.location-map__label {
  font-size: 11px;
}

.location-map__link {
  font-size: 11px;
}

.location-info__row {
  grid-template-columns: auto auto 1fr;
  font-size: 12px;
}

.location-map__link {

  justify-content: flex-end;
}


}