body[data-page="estrutura"] .page-hero {
  --page-hero-image: url("../img/artes/agbs/LGT.webp?v=20260526-01");
}

body[data-page="estrutura"] .facility-map-section {
  padding-top: clamp(64px, 7vw, 98px);
  padding-bottom: clamp(58px, 7vw, 92px);
}

body[data-page="estrutura"] .facility-map-heading,
body[data-page="estrutura"] .warehouse-heading {
  display: grid;
  gap: 14px;
  max-width: 830px;
  margin-bottom: clamp(30px, 4vw, 46px);
}

body[data-page="estrutura"] .facility-map-heading h2,
body[data-page="estrutura"] .warehouse-heading h2 {
  margin: 0;
  color: #2a2018;
  font-size: clamp(38px, 4.6vw, 58px);
  font-weight: 900;
  line-height: 1.06;
  text-wrap: balance;
}

body[data-page="estrutura"] .facility-map-heading p,
body[data-page="estrutura"] .warehouse-heading p {
  margin: 0;
  color: #65584c;
  font-size: clamp(17px, 1.35vw, 19px);
  font-weight: 600;
  line-height: 1.62;
}

body[data-page="estrutura"] .facility-map {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 26px 56px rgba(42, 32, 24, 0.14);
}

body[data-page="estrutura"] .facility-map > img {
  display: block;
  width: 100%;
  aspect-ratio: 1360 / 768;
  object-fit: cover;
}

body[data-page="estrutura"] .facility-map::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29, 22, 18, 0.04), rgba(29, 22, 18, 0.2));
  content: "";
  pointer-events: none;
}

body[data-page="estrutura"] .facility-callout {
  position: absolute;
  z-index: 2;
  display: flex;
  gap: 7px;
  align-items: center;
}

body[data-page="estrutura"] .facility-target {
  position: relative;
  display: grid;
  width: 28px;
  height: 28px;
  flex: none;
  color: #2a2018;
  background: #f1d7ad;
  border: 2px solid #fff7ec;
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(30, 20, 13, 0.28);
  place-items: center;
}

body[data-page="estrutura"] .facility-target::after {
  position: absolute;
  width: 42px;
  height: 2px;
  background: #f1d7ad;
  content: "";
  transform-origin: left center;
}

body[data-page="estrutura"] .facility-target span {
  position: relative;
  z-index: 1;
  font-size: 10px;
  font-weight: 900;
}

body[data-page="estrutura"] .facility-label {
  display: grid;
  gap: 2px;
  max-width: 185px;
  padding: 8px 11px;
  color: #fff7ec;
  background: rgba(38, 27, 20, 0.88);
  border: 1px solid rgba(241, 215, 173, 0.36);
  border-radius: 6px;
  box-shadow: 0 14px 28px rgba(25, 17, 12, 0.2);
}

body[data-page="estrutura"] .facility-label strong {
  font-size: 12px;
  line-height: 1.15;
  text-transform: uppercase;
}

body[data-page="estrutura"] .facility-label small {
  color: rgba(255, 247, 236, 0.8);
  font-size: 10px;
  font-weight: 650;
}

body[data-page="estrutura"] .facility-callout.is-entry {
  top: 20%;
  left: 6%;
}

body[data-page="estrutura"] .facility-callout.is-entry .facility-target::after {
  top: 29px;
  left: 12px;
  width: 54px;
  transform: rotate(70deg);
}

body[data-page="estrutura"] .facility-callout.is-storage {
  top: 8%;
  left: 39%;
}

body[data-page="estrutura"] .facility-callout.is-storage .facility-target::after {
  top: 28px;
  left: 13px;
  width: 72px;
  transform: rotate(83deg);
}

body[data-page="estrutura"] .facility-callout.is-logistics {
  top: 49%;
  left: 3%;
}

body[data-page="estrutura"] .facility-callout.is-logistics .facility-target::after {
  top: 15px;
  left: 26px;
  width: 32px;
  transform: rotate(12deg);
}

body[data-page="estrutura"] .facility-callout.is-scale {
  top: 65%;
  left: 20%;
}

body[data-page="estrutura"] .facility-callout.is-scale .facility-target::after {
  top: -13px;
  left: 18px;
  width: 47px;
  transform: rotate(-62deg);
}

body[data-page="estrutura"] .facility-callout.is-admin {
  top: 35%;
  right: 10%;
}

body[data-page="estrutura"] .facility-callout.is-admin .facility-target::after {
  top: 25px;
  left: -27px;
  width: 36px;
  transform: rotate(-41deg);
}

body[data-page="estrutura"] .facility-callout.is-quality {
  top: 56%;
  right: 9%;
}

body[data-page="estrutura"] .facility-callout.is-quality .facility-target::after {
  top: 12px;
  left: -30px;
  width: 36px;
  transform: rotate(164deg);
}

body[data-page="estrutura"] .facility-callout.is-commercial {
  top: 68%;
  right: 24%;
}

body[data-page="estrutura"] .facility-callout.is-commercial .facility-target::after {
  top: -8px;
  left: 16px;
  width: 36px;
  transform: rotate(-70deg);
}

body[data-page="estrutura"] .facility-map-legend {
  display: none;
}

body[data-page="estrutura"] .warehouse-section {
  padding-top: 0;
  padding-bottom: clamp(68px, 8vw, 106px);
}

body[data-page="estrutura"] .warehouse-gallery {
  display: grid;
  grid-template-columns: 1.32fr 0.68fr 0.8fr;
  grid-template-rows: repeat(2, minmax(0, 218px));
  gap: 14px;
}

body[data-page="estrutura"] .warehouse-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 9px;
  box-shadow: 0 18px 40px rgba(42, 32, 24, 0.11);
}

body[data-page="estrutura"] .warehouse-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body[data-page="estrutura"] .warehouse-photo-main {
  grid-row: 1 / 3;
}

body[data-page="estrutura"] .warehouse-photo-tall {
  grid-row: 1 / 3;
}

body[data-page="estrutura"] .warehouse-photo-tall img {
  object-position: center 72%;
}

body[data-page="estrutura"] .warehouse-gallery figure:last-child {
  grid-row: 1 / 3;
}

body[data-page="estrutura"] .warehouse-gallery figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 11px 13px;
  color: #fff7ec;
  background: rgba(36, 24, 17, 0.74);
  border-left: 3px solid #caa16b;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
}

body[data-page="estrutura"] .sorter-section {
  padding-top: clamp(72px, 8vw, 112px);
  padding-bottom: clamp(76px, 9vw, 126px);
}

body[data-page="estrutura"] .sorter-intro {
  display: grid;
  grid-template-columns: minmax(330px, 0.94fr) minmax(350px, 1.06fr);
  gap: clamp(34px, 5vw, 68px);
  align-items: start;
}

body[data-page="estrutura"] .sorter-copy {
  display: grid;
  gap: 18px;
}

body[data-page="estrutura"] .sorter-copy h2,
body[data-page="estrutura"] .sorter-heading h2,
body[data-page="estrutura"] .sorter-specs-copy h2 {
  margin: 0;
  color: #2a2018;
  font-size: clamp(36px, 4.3vw, 56px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.06;
  text-wrap: balance;
}

body[data-page="estrutura"] .sorter-copy p,
body[data-page="estrutura"] .sorter-specs-copy p {
  margin: 0;
  color: #65584c;
  font-size: clamp(17px, 1.35vw, 19px);
  font-weight: 600;
  line-height: 1.68;
}

body[data-page="estrutura"] .sorter-video {
  position: relative;
  margin: 0;
  overflow: hidden;
  color: #fff7ec;
  background: #221914;
  border-radius: 12px;
  box-shadow: 0 24px 54px rgba(42, 32, 24, 0.18);
}

body[data-page="estrutura"] .sorter-video-showcase {
  display: grid;
  gap: 12px;
}

body[data-page="estrutura"] .sorter-video video {
  display: block;
  width: 100%;
  height: clamp(420px, 43vw, 580px);
  object-fit: cover;
  background: #221914;
}

body[data-page="estrutura"] .sorter-video figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 12px 16px;
  color: #fff7ec;
  background: rgba(36, 24, 17, 0.74);
  border-left: 3px solid #caa16b;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
}

body[data-page="estrutura"] .sorter-video-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

body[data-page="estrutura"] .sorter-video-options button {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 68px;
  padding: 6px;
  color: #65584c;
  background: #fff;
  border: 1px solid rgba(138, 106, 79, 0.16);
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
}

body[data-page="estrutura"] .sorter-video-options button.is-active {
  background: #f3ebdf;
  border-color: #c79b62;
}

body[data-page="estrutura"] .sorter-video-options img {
  display: block;
  width: 58px;
  height: 54px;
  object-fit: cover;
  border-radius: 5px;
}

body[data-page="estrutura"] .sorter-video-options span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

body[data-page="estrutura"] .sorter-video-options strong {
  color: #2a2018;
  font-size: 12px;
  line-height: 1.24;
}

body[data-page="estrutura"] .sorter-video-options small {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

body[data-page="estrutura"] .sorter-highlights {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

body[data-page="estrutura"] .sorter-highlights article {
  display: grid;
  gap: 5px;
  padding: 15px 18px;
  background: rgba(202, 161, 107, 0.08);
  border: 1px solid rgba(138, 106, 79, 0.14);
  border-left: 3px solid #caa16b;
  border-radius: 7px;
}

body[data-page="estrutura"] .sorter-highlights strong {
  color: #2a2018;
  font-size: 17px;
}

body[data-page="estrutura"] .sorter-highlights span {
  color: #65584c;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
}

body[data-page="estrutura"] .sorter-technologies {
  margin-top: clamp(62px, 8vw, 100px);
}

body[data-page="estrutura"] .sorter-heading {
  display: grid;
  gap: 14px;
  max-width: 820px;
  margin-bottom: clamp(30px, 4vw, 46px);
}

body[data-page="estrutura"] .sorter-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  counter-reset: sorter-technology;
}

body[data-page="estrutura"] .sorter-feature-grid article {
  position: relative;
  min-height: 198px;
  padding: clamp(62px, 5.4vw, 66px) clamp(22px, 2.4vw, 28px) clamp(22px, 2.4vw, 28px);
  background: #ffffff;
  border: 1px solid rgba(138, 106, 79, 0.15);
  border-radius: 8px;
  box-shadow: 0 15px 34px rgba(42, 32, 24, 0.06);
  counter-increment: sorter-technology;
}

body[data-page="estrutura"] .sorter-feature-grid article::before {
  position: absolute;
  top: clamp(21px, 2.2vw, 25px);
  left: clamp(22px, 2.4vw, 28px);
  color: #a17b51;
  content: "0" counter(sorter-technology);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

body[data-page="estrutura"] .sorter-feature-grid article::after {
  position: absolute;
  top: clamp(27px, 2.55vw, 31px);
  right: clamp(22px, 2.4vw, 28px);
  left: clamp(58px, 5.6vw, 64px);
  height: 1px;
  background: rgba(202, 161, 107, 0.42);
  content: "";
}

body[data-page="estrutura"] .sorter-feature-grid h3 {
  margin: 0 0 13px;
  color: #2a2018;
  font-size: clamp(21px, 1.8vw, 24px);
  line-height: 1.18;
}

body[data-page="estrutura"] .sorter-feature-grid p {
  margin: 0;
  color: #65584c;
  font-size: 16px;
  line-height: 1.56;
  font-weight: 600;
}

body[data-page="estrutura"] .sorter-gallery-heading {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-top: clamp(62px, 8vw, 100px);
}

body[data-page="estrutura"] .sorter-gallery-heading h2 {
  margin: 0;
  color: #2a2018;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.08;
  text-wrap: balance;
}

body[data-page="estrutura"] .sorter-gallery-heading p {
  margin: 0;
  color: #65584c;
  font-size: clamp(16px, 1.32vw, 18px);
  font-weight: 600;
  line-height: 1.6;
}

body[data-page="estrutura"] .sorter-gallery {
  position: relative;
  margin-top: clamp(28px, 4vw, 42px);
  padding-bottom: 42px;
}

body[data-page="estrutura"] .sorter-gallery-viewport {
  overflow: hidden;
  border-radius: 9px;
  padding: 3px 0 24px;
}

body[data-page="estrutura"] .sorter-gallery-track {
  display: flex;
  gap: 14px;
  transition: transform 650ms ease;
}

body[data-page="estrutura"] .sorter-gallery figure {
  flex: 0 0 calc((100% - 28px) / 3);
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: #2b211b;
  border: 1px solid rgba(138, 106, 79, 0.14);
  border-radius: 9px;
  box-shadow: 0 18px 38px rgba(42, 32, 24, 0.12);
}

body[data-page="estrutura"] .sorter-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body[data-page="estrutura"] .sorter-gallery figure:first-child img {
  object-position: center 42%;
}

body[data-page="estrutura"] .sorter-gallery-arrow {
  position: absolute;
  top: calc(50% - 42px);
  z-index: 2;
  display: grid;
  width: 52px;
  height: 52px;
  padding: 0;
  color: #fff7ec;
  background: rgba(42, 32, 24, 0.78);
  border: 1px solid rgba(241, 215, 173, 0.4);
  border-radius: 50%;
  cursor: pointer;
  place-items: center;
}

body[data-page="estrutura"] .sorter-gallery-arrow span {
  font-size: 34px;
  line-height: 0.8;
}

body[data-page="estrutura"] .sorter-gallery-prev {
  left: -22px;
}

body[data-page="estrutura"] .sorter-gallery-next {
  right: -22px;
}

body[data-page="estrutura"] .sorter-gallery-dots {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 260px;
  margin: 0 auto;
}

body[data-page="estrutura"] .sorter-gallery-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  background: rgba(138, 106, 79, 0.34);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: width 260ms ease, background 260ms ease;
}

body[data-page="estrutura"] .sorter-gallery-dots button.is-active {
  width: 28px;
  background: #a17b51;
}

body[data-page="estrutura"] .sorter-specs {
  display: grid;
  grid-template-columns: minmax(250px, 0.35fr) minmax(500px, 0.65fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
  margin-top: clamp(56px, 7vw, 92px);
  padding: clamp(30px, 4vw, 46px);
  color: #fff7ec;
  background: linear-gradient(135deg, #3a2a20, #201710);
  border-radius: 12px;
  box-shadow: 0 26px 54px rgba(42, 32, 24, 0.16);
}

body[data-page="estrutura"] .sorter-specs .section-kicker {
  color: #f1d7ad;
}

body[data-page="estrutura"] .sorter-specs-copy {
  display: grid;
  gap: 14px;
}

body[data-page="estrutura"] .sorter-specs-copy h2 {
  color: #fff7ec;
  font-size: clamp(32px, 3vw, 44px);
}

body[data-page="estrutura"] .sorter-specs-copy p {
  color: rgba(255, 247, 236, 0.8);
  font-size: 15px;
}

body[data-page="estrutura"] .sorter-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(241, 215, 173, 0.16);
  border-radius: 8px;
}

body[data-page="estrutura"] .sorter-table-wrap table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 14px;
}

body[data-page="estrutura"] .sorter-table-wrap th,
body[data-page="estrutura"] .sorter-table-wrap td {
  padding: 14px 13px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid rgba(241, 215, 173, 0.12);
}

body[data-page="estrutura"] .sorter-table-wrap th {
  color: #f1d7ad;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body[data-page="estrutura"] .sorter-table-wrap td {
  color: rgba(255, 247, 236, 0.9);
  font-weight: 600;
}

body[data-page="estrutura"] .sorter-table-wrap th:not(:last-child),
body[data-page="estrutura"] .sorter-table-wrap td:not(:last-child) {
  border-right: 1px solid rgba(241, 215, 173, 0.2);
}

body[data-page="estrutura"] .sorter-table-wrap thead th {
  border-bottom: 1px solid rgba(241, 215, 173, 0.34);
}

body[data-page="estrutura"] .sorter-table-wrap tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 920px) {
  body[data-page="estrutura"] .facility-callout {
    display: none;
  }

  body[data-page="estrutura"] .facility-map-legend {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
  }

  body[data-page="estrutura"] .facility-map-legend article {
    display: flex;
    gap: 10px;
    align-items: start;
    padding: 13px;
    background: #fff;
    border: 1px solid rgba(138, 106, 79, 0.14);
    border-radius: 7px;
  }

  body[data-page="estrutura"] .facility-map-legend article > span {
    display: grid;
    width: 28px;
    height: 28px;
    flex: none;
    color: #2a2018;
    background: #f1d7ad;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 900;
    place-items: center;
  }

  body[data-page="estrutura"] .facility-map-legend div {
    display: grid;
    gap: 3px;
  }

  body[data-page="estrutura"] .facility-map-legend strong {
    color: #2a2018;
    font-size: 13px;
  }

  body[data-page="estrutura"] .facility-map-legend small {
    color: #65584c;
    font-size: 12px;
    font-weight: 600;
  }

  body[data-page="estrutura"] .warehouse-gallery {
    grid-template-columns: 1fr 0.68fr;
    grid-template-rows: 270px 270px;
  }

  body[data-page="estrutura"] .warehouse-photo-main {
    grid-row: 1 / 2;
    grid-column: 1 / 3;
  }

  body[data-page="estrutura"] .warehouse-photo-tall {
    grid-row: 2;
    grid-column: 1;
  }

  body[data-page="estrutura"] .warehouse-gallery figure:last-child {
    grid-row: 2;
    grid-column: 2;
  }

  body[data-page="estrutura"] .sorter-intro,
  body[data-page="estrutura"] .sorter-specs {
    grid-template-columns: 1fr;
  }

  body[data-page="estrutura"] .sorter-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="estrutura"] .sorter-gallery figure {
    flex-basis: calc((100% - 14px) / 2);
  }
}

@media (max-width: 580px) {
  body[data-page="estrutura"] .facility-map-heading h2,
  body[data-page="estrutura"] .warehouse-heading h2 {
    font-size: clamp(32px, 10vw, 42px);
  }

  body[data-page="estrutura"] .facility-map > img {
    aspect-ratio: 1.18 / 1;
    object-position: center;
  }

  body[data-page="estrutura"] .facility-map-legend {
    grid-template-columns: 1fr;
  }

  body[data-page="estrutura"] .warehouse-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 250px);
  }

  body[data-page="estrutura"] .warehouse-photo-main,
  body[data-page="estrutura"] .warehouse-photo-tall,
  body[data-page="estrutura"] .warehouse-gallery figure:last-child {
    grid-column: 1;
    grid-row: auto;
  }

  body[data-page="estrutura"] .sorter-feature-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="estrutura"] .sorter-video video {
    height: clamp(360px, 112vw, 470px);
  }

  body[data-page="estrutura"] .sorter-video-options {
    grid-template-columns: 1fr;
  }

  body[data-page="estrutura"] .sorter-gallery {
    padding-bottom: 38px;
  }

  body[data-page="estrutura"] .sorter-gallery figure {
    flex-basis: 100%;
    aspect-ratio: 4 / 3;
  }

  body[data-page="estrutura"] .sorter-gallery-arrow {
    top: calc(50% - 40px);
    width: 46px;
    height: 46px;
  }

  body[data-page="estrutura"] .sorter-gallery-prev {
    left: 12px;
  }

  body[data-page="estrutura"] .sorter-gallery-next {
    right: 12px;
  }

  body[data-page="estrutura"] .sorter-specs {
    padding: 24px 18px;
  }
}

/* Refined visual rhythm and motion for the structure page. */
body[data-page="estrutura"] .page-hero {
  min-height: max(560px, 70vh);
  padding-bottom: clamp(74px, 9vw, 112px);
}

body[data-page="estrutura"] .page-hero::before {
  background:
    linear-gradient(90deg, rgba(25, 18, 13, 0.9) 0%, rgba(25, 18, 13, 0.64) 42%, rgba(25, 18, 13, 0.2) 100%),
    linear-gradient(0deg, rgba(31, 22, 16, 0.45), transparent 54%),
    var(--page-hero-image);
  background-position: center 60%;
  animation: estrutura-hero-breathe 8s cubic-bezier(0.18, 0.7, 0.18, 1) both;
}

body[data-page="estrutura"] .page-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 8%, #caa16b 32%, #f1d7ad 50%, #caa16b 68%, transparent 92%);
  content: "";
}

body[data-page="estrutura"] .page-hero .section-kicker {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  width: max-content;
  margin-bottom: 22px;
}

body[data-page="estrutura"] .page-hero .section-kicker::before {
  width: 38px;
  height: 2px;
  background: #caa16b;
  content: "";
}

body[data-page="estrutura"] .page-hero h1 {
  max-width: 880px;
}

body[data-page="estrutura"] .page-hero p {
  max-width: 620px;
}

body[data-page="estrutura"] .structure-scroll-cue {
  position: absolute;
  bottom: clamp(22px, 3vw, 32px);
  left: 50%;
  z-index: 2;
  display: grid;
  gap: 8px;
  justify-items: center;
  color: rgba(255, 247, 236, 0.92);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

body[data-page="estrutura"] .structure-scroll-cue svg {
  width: 30px;
  height: 30px;
  padding: 6px;
  border: 1px solid rgba(241, 215, 173, 0.46);
  border-radius: 50%;
  stroke: #f1d7ad;
  stroke-width: 1.8;
  fill: none;
  animation: estrutura-scroll-cue 1.8s ease-in-out infinite;
}

body[data-page="estrutura"] .structure-scroll-cue:hover svg {
  background: rgba(241, 215, 173, 0.12);
}

@keyframes estrutura-hero-breathe {
  from {
    transform: scale(1.055);
  }

  to {
    transform: scale(1);
  }
}

@keyframes estrutura-scroll-cue {
  0%,
  100% {
    transform: translateY(0);
  }

  48% {
    transform: translateY(6px);
  }
}

body[data-page="estrutura"] .facility-map-section {
  position: relative;
  padding-top: clamp(72px, 8vw, 112px);
  padding-bottom: clamp(74px, 8vw, 112px);
}

body[data-page="estrutura"] .facility-map-section::before {
  position: absolute;
  top: clamp(48px, 6vw, 78px);
  right: max(24px, calc((100% - 1220px) / 2));
  width: clamp(80px, 11vw, 140px);
  height: 1px;
  background: #caa16b;
  opacity: 0.7;
  content: "";
}

body[data-page="estrutura"] .facility-map-section .content-wrap {
  width: min(1220px, 100%);
}

body[data-page="estrutura"] .facility-beans {
  position: absolute;
  top: clamp(-20px, -1vw, 0px);
  right: clamp(12px, 2.8vw, 34px);
  z-index: 0;
  width: clamp(120px, 15vw, 190px);
  height: auto;
  max-height: 315px;
  object-fit: contain;
  object-position: top center;
  mix-blend-mode: multiply;
  opacity: 0.78;
  pointer-events: none;
  animation: estrutura-beans-drift 5.8s ease-in-out infinite;
}

body[data-page="estrutura"] .facility-map-heading {
  position: relative;
  z-index: 1;
}

@keyframes estrutura-beans-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(-4px, 8px, 0) rotate(-1deg);
  }
}

body[data-page="estrutura"] .facility-map-heading,
body[data-page="estrutura"] .warehouse-heading {
  max-width: 850px;
}

body[data-page="estrutura"] .facility-map-heading h2,
body[data-page="estrutura"] .warehouse-heading h2 {
  font-size: clamp(40px, 4.8vw, 62px);
}

body[data-page="estrutura"] .facility-map {
  background: #fff;
  border: 1px solid rgba(138, 106, 79, 0.12);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 28px 68px rgba(42, 32, 24, 0.14);
}

body[data-page="estrutura"] .facility-map > img {
  aspect-ratio: 1360 / 700;
}

body[data-page="estrutura"] .facility-callout {
  opacity: 0;
  transform: translateY(13px) scale(0.98);
}

body[data-page="estrutura"] .facility-target {
  width: 31px;
  height: 31px;
  background: linear-gradient(145deg, #f7dfb4, #dbab68);
}

body[data-page="estrutura"] .facility-target span {
  font-size: 11px;
}

body[data-page="estrutura"] .facility-label {
  padding: 10px 13px;
  background: rgba(38, 27, 20, 0.92);
  border-radius: 9px;
}

body[data-page="estrutura"] .facility-label strong {
  font-size: 12.5px;
}

body[data-page="estrutura"] .facility-label small {
  font-size: 10.5px;
}

body[data-page="estrutura"] .facility-map-legend {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  padding: 16px 12px;
  background: #fff;
  border: 1px solid rgba(138, 106, 79, 0.12);
  border-top: 0;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 28px 68px rgba(42, 32, 24, 0.1);
}

body[data-page="estrutura"] .facility-map-legend article {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 0 11px;
  text-align: center;
}

body[data-page="estrutura"] .facility-map-legend article:not(:first-child) {
  border-left: 1px solid rgba(202, 161, 107, 0.28);
}

body[data-page="estrutura"] .facility-map-legend article > span {
  display: grid;
  width: 29px;
  height: 29px;
  color: #3a291d;
  background: #f1d7ad;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  place-items: center;
}

body[data-page="estrutura"] .facility-map-legend div {
  display: grid;
  gap: 4px;
}

body[data-page="estrutura"] .facility-map-legend strong {
  color: #2a2018;
  font-size: 12px;
}

body[data-page="estrutura"] .facility-map-legend small {
  color: #65584c;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.34;
}

body[data-page="estrutura"] .facility-map.is-visible .facility-callout {
  animation: estrutura-pin-enter 620ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

body[data-page="estrutura"] .facility-map.is-visible .facility-callout.is-storage { animation-delay: 70ms; }
body[data-page="estrutura"] .facility-map.is-visible .facility-callout.is-logistics { animation-delay: 140ms; }
body[data-page="estrutura"] .facility-map.is-visible .facility-callout.is-scale { animation-delay: 210ms; }
body[data-page="estrutura"] .facility-map.is-visible .facility-callout.is-admin { animation-delay: 280ms; }
body[data-page="estrutura"] .facility-map.is-visible .facility-callout.is-quality { animation-delay: 350ms; }
body[data-page="estrutura"] .facility-map.is-visible .facility-callout.is-commercial { animation-delay: 420ms; }

@keyframes estrutura-pin-enter {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

body[data-page="estrutura"] .warehouse-section {
  padding-top: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(76px, 9vw, 118px);
  background-color: #f6efe4;
}

body[data-page="estrutura"] .warehouse-gallery {
  gap: 18px;
}

body[data-page="estrutura"] .warehouse-gallery figure {
  border-radius: 16px;
  box-shadow: 0 22px 48px rgba(42, 32, 24, 0.13);
}

body[data-page="estrutura"] .warehouse-gallery img {
  transition: transform 1000ms cubic-bezier(0.16, 1, 0.3, 1), filter 420ms ease;
}

body[data-page="estrutura"] .warehouse-gallery figure:hover img {
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.055);
}

body[data-page="estrutura"] .warehouse-gallery figcaption {
  border-radius: 9px;
}

body[data-page="estrutura"] .sorter-section {
  border-top: 1px solid rgba(202, 161, 107, 0.18);
}

body[data-page="estrutura"] .sorter-video {
  border-radius: 18px;
}

body[data-page="estrutura"] .sorter-video video {
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

body[data-page="estrutura"] .sorter-video:hover video {
  transform: scale(1.025);
}

body[data-page="estrutura"] .sorter-video-options button {
  border-radius: 12px;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 220ms ease, transform 220ms ease;
}

body[data-page="estrutura"] .sorter-video-options button.is-active {
  box-shadow: 0 12px 26px rgba(42, 32, 24, 0.09);
}

body[data-page="estrutura"] .sorter-video-options button:hover {
  transform: translateY(-2px);
}

body[data-page="estrutura"] .sorter-highlights article {
  border-radius: 12px;
  transition: transform 220ms ease, box-shadow 220ms ease, background 180ms ease;
}

body[data-page="estrutura"] .sorter-highlights article:hover {
  background: rgba(202, 161, 107, 0.14);
  box-shadow: 0 13px 27px rgba(42, 32, 24, 0.07);
  transform: translateX(4px);
}

body[data-page="estrutura"] .sorter-feature-grid article {
  border-radius: 14px;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 180ms ease;
}

body[data-page="estrutura"] .sorter-feature-grid article:hover {
  border-color: rgba(202, 161, 107, 0.4);
  box-shadow: 0 25px 45px rgba(42, 32, 24, 0.1);
  transform: translateY(-5px);
}

body[data-page="estrutura"] .sorter-gallery figure {
  border-radius: 14px;
}

body[data-page="estrutura"] .sorter-gallery img {
  transition: transform 850ms cubic-bezier(0.16, 1, 0.3, 1);
}

body[data-page="estrutura"] .sorter-gallery figure:hover img {
  transform: scale(1.05);
}

body[data-page="estrutura"] .sorter-specs {
  border-radius: 18px;
}

@media (max-width: 920px) {
  body[data-page="estrutura"] .facility-beans {
    display: none !important;
  }

  body[data-page="estrutura"] .facility-map-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  body[data-page="estrutura"] .facility-map-legend article {
    justify-items: start;
    text-align: left;
    border: 1px solid rgba(138, 106, 79, 0.14);
    border-radius: 12px;
  }
}

@media (max-width: 580px) {
  body[data-page="estrutura"] .page-hero {
    min-height: max(500px, 66vh);
    padding-bottom: 104px;
  }

  body[data-page="estrutura"] .structure-scroll-cue span {
    display: none;
  }

  body[data-page="estrutura"] .facility-map {
    border-radius: 15px;
  }

  body[data-page="estrutura"] .facility-map-legend {
    grid-template-columns: 1fr;
  }
}
