:root {
  --primary-red: #b91c22;
  --text-white: #ffffff;
  --sidebar-closed-width: 80px;
  --sidebar-open-width: 350px;
  --transition-speed: 0.4s;

  /* CORES ESPECÍFICAS DOS SETORES */
  --color-campo: #4a8c3d;
  --color-abate: #c4342d;
  --color-processamento: #5e3e8c;
  --color-industria: #d99100;
  --color-centro: #2c3e50;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Roboto", sans-serif;
  overflow: hidden;
  background: #f4f4f4;
}

/* --- HEADER & GERAL --- */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3rem 0 3rem;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.logo {
  display: flex;
  align-items: center;
  height: 100%;
}
.logo-img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
}
.header-info {
  z-index: 5000;
  display: flex;
  align-items: center;
  gap: 25px;
}
.header-text {
  text-align: left;
  font-size: 1.182rem;
  line-height: 1.3;
  color: #333;
}
.hamburger-icon {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamburger-icon img {
  width: 32px;
  height: auto;
  display: block;
}

/* --- LAYOUT PRINCIPAL --- */
.app-container {
  display: flex;
  height: 100vh;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
}

.map-area {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.map-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  max-height: 100%;
  max-width: 177.78vh;
  transition: all 0.5s ease;
  z-index: 10;
}

.bg-map {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  transition:
    filter 0.5s ease,
    opacity 0.5s ease;
}

.map-wrapper.has-focus .bg-map {
  filter: grayscale(10%) opacity(0.5);
}

.building {
  position: absolute;
  cursor: pointer;
  transition: all 0.5s ease;
  z-index: 20;
  transform-origin: center center;
}

.map-wrapper.has-focus .building:not(.active) {
  filter: grayscale(90%) opacity(0.8);
  transform: scale(0.95);
}

.building.active {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
  z-index: 100;
  cursor: default;
}

.building img.house-img {
  width: 100%;
  display: block;
  position: relative;
  z-index: 2;
}

/* =========================================
    BOLHAS DE CONTEÚDO (Bubbles)
   ========================================= */
.bubbles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.building.active .bubbles-container {
  pointer-events: auto;
  z-index: 10;
}

.bubble {
  position: absolute;
  background: #333;
  color: #fff;
  padding: 20px;
  border-radius: 15px;
  width: 260px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.building.active .bubble {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.bubble h5 {
  text-transform: uppercase;
  margin-bottom: 15px;
  font-size: 14px;
  opacity: 0.8;
  letter-spacing: 1px;
}

.bubble-fluxo .logo-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.logo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.logo-item img {
  height: 24px;
  width: auto;
  background: rgba(255, 255, 255, 0.2);
  padding: 2px;
  border-radius: 4px;
}
.bubble-area p {
  font-size: 14px;
  line-height: 1.5;
}

/* --- CORES ESPECÍFICAS POR SETOR --- */

.building-campo .bubble {
  background-color: var(--color-campo);
}

.building-abate .bubble {
  background-color: var(--color-abate);
}

.building-processamento .bubble {
  background-color: var(--color-processamento);
}

.building-industria .bubble {
  background-color: var(--color-industria);
}

.building-centro .bubble {
  background-color: var(--color-centro);
}

.bubble-fluxo {
  bottom: 60%;
  right: 60%;
}
.bubble-area {
  top: 60%;
  left: 60%;
}

.building-centro .bubble-fluxo {
  bottom: auto;
  top: -10%;
  right: 110%;
}
.building-centro .bubble-area {
  top: auto;
  bottom: -10%;
  left: 110%;
}

/* =========================================
   CAMADA DE ILUSTRAÇÃO (Illustrations Layer)
   ========================================= */
.illustrations-layer {
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  height: calc(100vh - 80px);
  pointer-events: none;
  z-index: 50;
  overflow: hidden;
}

.ill-img {
  position: absolute;
  bottom: 0;
  left: 5%;
  max-height: 80vh;
  width: auto;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

body[data-active-section="campo"] .ill-campo,
body[data-active-section="abate"] .ill-abate,
body[data-active-section="processamento"] .ill-processamento,
body[data-active-section="industria"] .ill-industria {
  opacity: 1;
  transform: translateX(0);
}

/* --- SIDEBAR --- */

.sidebar {
  position: fixed;
  right: 0;
  top: 80px;
  bottom: 0;
  background-color: var(--primary-red);
  width: var(--sidebar-closed-width); /* 80px */
  transition: width var(--transition-speed) ease;
  color: var(--text-white);
  overflow: hidden;
  z-index: 90;
  box-shadow: -2px 0 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.sidebar.expanded {
  width: var(--sidebar-open-width);
}

.sidebar-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: var(--sidebar-open-width);
  padding: 30px 0;
  overflow-y: auto;
}

/* HEADER TEXTO */

.sidebar-header-text {
  padding: 0 30px;
  opacity: 0;
  transition: opacity 0.2s;
  display: none;
}
.sidebar.expanded .sidebar-header-text {
  display: block;
  opacity: 1;
  transition-delay: 0.2s;
}

.sidebar-header-text h3 {
  font-size: 1.053rem;
  margin-bottom: 10px;
}

.sidebar-header-text p {
  line-height: 1.5;
  margin-bottom: 15px;
  opacity: 0.9;
}

.welcome-list {
  margin-left: 20px;
  margin-bottom: 30px;
  font-size: 1.053rem;
  line-height: 1.4;
  opacity: 0.9;
}

.areas-title {
  font-size: 1.053rem;
  margin-bottom: 15px;
  font-weight: bold;
}

/* ============================
   NAVEGAÇÃO (ITENS DO MENU) 
   ============================= */

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 0;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  padding: 12px 0;
  text-decoration: none;
  color: white;
  transition: color 0.2s ease;
  margin: 0;
  border-radius: 0;
  z-index: 2;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-item::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 15px;
  right: 15px;

  background-color: #9a141b;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: -1;
}

.nav-item.active::before {
  opacity: 1;
  transform: scale(1);
}

.nav-item.active {
  background: transparent !important;
  margin: 0;
}

.nav-item .icon {
  width: var(--sidebar-closed-width);
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}
.nav-item .icon img {
  width: 32px;
  height: 32px;
}

.nav-item .label {
  opacity: 0;
  white-space: nowrap;
  font-size: 1.053rem;
  transition: opacity 0.3s;
}
.sidebar.expanded .nav-item .label {
  opacity: 1;
}

.sidebar-footer {
  margin-top: auto;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-link {
  display: flex;
  align-items: center;
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  gap: 10px;
}

.home-link .icon {
  width: auto;
}
.home-link .icon img {
  width: 24px;
  height: 24px;
}

.home-link .label {
  display: none;
}
.sidebar.expanded .home-link .label {
  display: block;
}

.credits {
  font-size: 10px;
  text-align: right;
  line-height: 1.2;
  opacity: 0;
  transition: opacity 0.3s;
}
.sidebar.expanded .credits {
  opacity: 0.8;
}

/* ==========================================================================
   AJUSTES ESPECÍFICOS PARA O LAYOUT "CAMPO"
   ========================================================================== */

.building .bubbles-container.stack-below {
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 15px;
  pointer-events: none;
}

.building .bubbles-container.stack-beloww {
  top: 0%;
  left: -100%;
  transform: translateX(-50%);
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 15px;
  pointer-events: none;
}

.building.active .bubbles-container.stack-below {
  pointer-events: auto;
}

.bubbles-container.stack-below .bubble {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  width: 100%;
  transform: translateY(20px);
  margin: 0;
  color: #fff !important;
  text-align: left;
}

.building.active .bubbles-container.stack-below .bubble {
  transform: translateY(0);
  transition-delay: 0s;
}
.building.active .bubbles-container.stack-below .bubble:nth-child(2) {
  transition-delay: 0.1s;
}

.bubble-campo-1 {
  background-color: #446121 !important;
  padding: 15px 20px;
}

.bubble-title-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.bubble-title-header img {
  width: 28px;
  height: 28px;
}
.bubble-title-header strong {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.bubble-subtitle {
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.9;
  margin: 0;
}

.bubble-campo-2 {
  background-color: #32480c !important;
  padding: 15px 20px;
}

.small-title {
  font-size: 12px;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.atuacao-list {
  display: flex;
  flex-direction: column;
}

.atuacao-item {
  padding: 12px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
}

.atuacao-item.with-border {
  border-top: 1px solid #446121;
}

.logo-container {
  width: 50px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.white-logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.atuacao-item p {
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
  opacity: 0.9;
  flex: 1;
}

/* ==========================================================================
   AJUSTE DA ILUSTRAÇÃO GRANDE (CAMPO)
   ========================================================================== */

.building-ill {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 1;
  width: 280px;
  height: auto;
}

.ill-left {
  right: 70%;
  top: 30%;
  transform: translateY(-50%) translateX(30px);
}

.building.active .building-ill {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

body[data-active-section="campo"] .ill-campo {
  transform: translateX(0);
  opacity: 1;
}

/* ==========================================================================
   ESTILOS ESPECÍFICOS: ABATE
   ========================================================================== */

.bubble-abate-1 {
  background-color: #455a64 !important;
  padding: 15px 20px;
  margin-top: -250px;
}

.bubble-abate-2 {
  margin-top: -100px;
  background-color: #37474f !important;
  padding: 15px 20px;
}

.atuacao-item.with-border-abate {
  border-top: 1px solid #546e7a;
}

.building-abate .bubble {
    width: 420px !important;
}

.building-abate .ill-top-left {
    bottom: 95% !important;
}
/* ==========================================================================
   ILUSTRAÇÃO À DIREITA (Ill-Right)
   ========================================================================== */

.ill-right {
  left: 90%;
  right: auto;
  top: 50%;
  transform: translateY(-50%) translateX(-30px);
}

.building.active .ill-right {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ==========================================================================
   ESTILOS ESPECÍFICOS: PROCESSAMENTO
   ========================================================================== */

.bubble-proc-1 {
  margin-top: -130px;
  background-color: #504845 !important;
  padding: 15px 20px;
}

.bubble-proc-2 {
  margin-top: -300px;
  background-color: #76706d !important;
  padding: 15px 20px;
}

.atuacao-item.with-border-proc {
  border-top: 1px solid #76706d;
}

/* ==========================================================================
   POSICIONAMENTO DE BALÕES À ESQUERDA (stack-left)
   ========================================================================== */

.building .bubbles-container.stack-left {
  top: 10%;
  left: auto;
  bottom: auto;
  right: 105%;
  transform: translateY(-50%);
  width: 320px;
  height: auto;
  display: flex;
  flex-direction: column;
  padding-top: 0;
  pointer-events: none;
}

.bubbles-container.stack-left .bubble {
  transform: translateX(20px);
}

.building.active .bubbles-container.stack-left .bubble {
  transform: translateX(0);
}

/* ==========================================================================
   ILUSTRAÇÃO NO TOPO DIREITO (ill-top-right)
   ========================================================================== */

.ill-top-right {
  bottom: 50%;
  left: 60%;
  right: auto;
  top: auto;
  transform: translateY(20px) translateX(-20px);
}

.building.active .ill-top-right {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

/* ==========================================================================
   ESTILOS ESPECÍFICOS: INDÚSTRIA
   ========================================================================== */

.bubble-ind-1 {
  background-color: #023a59 !important;
  padding: 15px 20px;
  margin-top: 10px !important;
}

.bubble-ind-2 {
  margin-top: -450px !important;
  background-color: #004972 !important;
  padding: 15px 20px;
}

.atuacao-item.with-border-ind {
  border-top: 1px solid #004972;
}

.building-industria .bubbles-container.stack-below {
  margin-left: -380px;
}

/* ==========================================================================
   POSICIONAMENTO DE BALÕES À DIREITA (stack-right)
   ========================================================================== */

.building .bubbles-container.stack-right {
  top: -50%;
  bottom: auto;
  transform: translateY(-50%);
  left: 105%;
  right: auto;
  width: 320px;
  height: auto;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

.bubbles-container.stack-right .bubble {
  transform: translateX(-20px);
}

.building.active .bubbles-container.stack-right .bubble {
  transform: translateX(0);
}

/* ==========================================================================
   ILUSTRAÇÃO NO TOPO ESQUERDO (ill-top-left)
   ========================================================================== */

.ill-top-left {
  width: 80%;
  bottom: 50%;
  right: 55%;
  left: auto;
  top: auto;
  transform: translateY(20px) translateX(20px);
}

.building.active .ill-top-left {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

/* ==========================================================================
   ESTILOS DA ÓRBITA
   ========================================================================== */

.orbit-container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 10;
}

.orbit-item {
  position: absolute;
  width: 13rem;
  height: 13rem;
  background: transparent;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  cursor: pointer;
}

.orbit-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition:
    transform 0.4s ease,
    filter 0.4s ease;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.15));
}

.orbit-container.has-selection .orbit-item {
  filter: grayscale(100%) opacity(0.8);
  z-index: 1;
}

.orbit-container.has-selection .orbit-item.selected {
  filter: none;
  opacity: 1;
  z-index: 100;
}

.orbit-container.has-selection .orbit-item.selected img {
  transform: scale(1.15);
}

.orbit-item:hover {
  z-index: 50;
}
.orbit-item:hover img {
  transform: scale(1.1);
}

.building.active .orbit-item {
  opacity: 1;
  pointer-events: auto;
}

.building.active .pos-1 {
  transform: translate(-50%, calc(-50% - 260px));
}
.building.active .pos-2 {
  transform: translate(calc(-50% + 222px), calc(-50% - 162px));
}
.building.active .pos-3 {
  transform: translate(calc(-50% + 283px), calc(-50% + 58px));
}
.building.active .pos-4 {
  transform: translate(calc(-50% + 163px), calc(-50% + 234px));
}
.building.active .pos-5 {
  transform: translate(calc(-50% - 100px), calc(-50% + 230px));
}
.building.active .pos-6 {
  transform: translate(calc(-50% - 263px), calc(-50% + 100px));
}
.building.active .pos-7 {
  transform: translate(calc(-50% - 222px), calc(-50% - 162px));
}

.building.active .pos-1 {
  transition-delay: 0s;
}
.building.active .pos-2 {
  transition-delay: 0.05s;
}
.building.active .pos-3 {
  transition-delay: 0.1s;
}
.building.active .pos-4 {
  transition-delay: 0.15s;
}
.building.active .pos-5 {
  transition-delay: 0.2s;
}
.building.active .pos-6 {
  transition-delay: 0.25s;
}
.building.active .pos-7 {
  transition-delay: 0.3s;
}

@media (max-width: 1350px) {

  .bubble-abate-1 {
    margin-top: -200px;
  }

  :root {
    --sidebar-open-width: 240px;
  }

  .sidebar-header-text p,
  .sidebar-header-text .elementor-widget-text-editor {
    font-size: 12px !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
  }

  .bubble {
    width: 180px;
    padding: 12px;
    border-radius: 10px;
  }
  .bubble h5,
  .bubble-title-header strong {
    font-size: 11px;
    margin-bottom: 8px;
  }
  .bubble-subtitle,
  .atuacao-item p {
    font-size: 10px;
    line-height: 1.2;
  }
  .logo-item img,
  .bubble-title-header img {
    height: 18px;
    width: auto;
  }
  .logo-container {
    width: 30px;
    height: 25px;
  }
  .atuacao-item {
    padding: 8px 0;
    gap: 8px;
  }

  .orbit-item {
    width: 6rem;
    height: 6rem;
  }

  .building.active .pos-1 {
    transform: translate(-50%, calc(-50% - 130px));
  }
  .building.active .pos-2 {
    transform: translate(calc(-50% + 100px), calc(-50% - 90px));
  }
  .building.active .pos-3 {
    transform: translate(calc(-50% + 130px), calc(-50% + 20px));
  }
  .building.active .pos-4 {
    transform: translate(calc(-50% + 80px), calc(-50% + 110px));
  }
  .building.active .pos-5 {
    transform: translate(calc(-50% - 60px), calc(-50% + 110px));
  }
  .building.active .pos-6 {
    transform: translate(calc(-50% - 130px), calc(-50% + 40px));
  }
  .building.active .pos-7 {
    transform: translate(calc(-50% - 100px), calc(-50% - 90px));
  }

  .building-campo .bubbles-container.stack-below {
    left: 50%;
    transform: translateX(-20%);
  }
  .building-processamento .bubbles-container.stack-left {
    right: 110%;
    top: -20%;
  }
  .building-centro .bubble-fluxo {
    right: 120%;
  }

  .building-ill {
    display: block !important;
    width: 120px;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  body[data-active-section="campo"] .ill-campo,
  body[data-active-section="abate"] .ill-abate,
  body[data-active-section="processamento"] .ill-processamento,
  body[data-active-section="industria"] .ill-industria {
    opacity: 1;
  }

  .ill-left {
    right: 80%;
    transform: translateY(-50%);
  }
  .ill-right {
    left: 100%;
    transform: translateY(-50%);
  }
  .ill-top-left {
    right: 80%;
    bottom: 40%;
    transform: none;
  }
  .ill-top-right {
    left: 80%;
    bottom: 40%;
    transform: none;
  }

  .sidebar-footer {
    gap: 0.6rem;
  }

  .credits {
    font-size: 9px;
    text-align: right;
  }
  .building-processamento .bubbles-container.stack-left,
  .building-industria .bubbles-container.stack-right {
    width: 350px !important;
  }

  .building-processamento .bubble,
  .building-industria .bubble {
    width: 300px !important;
  }

  /* Processamento */
  .bubble-proc-1 {
    margin-top: 60px !important;
  }
  .bubble-proc-2 {
    margin-top: -50px !important;
  }

  /* Indústria */
  .bubble-ind-1 {
    margin-top: 50px !important;
  }
  .bubble-ind-2 {
    margin-top: -304px !important;
  }
}

.company-content-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  animation: fadeIn 0.4s;
}

.company-main-logo {
  max-width: 160px;
  height: auto;
  margin-bottom: 25px;
  filter: brightness(0) invert(1);
}

.company-paragraph {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #fff;
}

.company-areas-wrapper {
  margin-top: 40px;
  width: 100%;
}

.company-areas-title {
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 15px;
  font-weight: bold;
  color: #fff;
}

.company-areas-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.company-area-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.company-area-icon {
  width: 28px;
  height: 28px;
}

.company-area-text {
  font-size: 16px;
  color: #fff;
}

@media (min-width: 768px) and (max-width: 1366px) and (orientation: landscape) {
  .company-content-container {
    padding-bottom: 0 !important;
  }

  .company-main-logo {
    max-width: 100px !important;
    margin-bottom: 10px !important;
  }

  .company-paragraph {
    font-size: 11px !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
  }

  .company-areas-wrapper {
    margin-top: 15px !important;
  }

  .company-areas-title {
    font-size: 12px !important;
  }

  .company-area-item {
    gap: 8px !important;
  }

  .company-area-icon {
    width: 25px !important;
    height: 25px !important;
  }

  .company-area-text {
    font-size: 15px !important;
  }

  .sidebar-header-text p,
  .sidebar-header-text .elementor-widget-text-editor {
    font-size: 12px !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
  }

  .sidebar-nav {
    gap: 6px !important;
    padding-top: 5px !important;
  }

  .sidebar-nav .nav-item,
  .nav-item {
    padding: 6px 0px !important;
    min-height: auto !important;
  }
}
#mobile-blocker {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--primary-red);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px;
}

.blocker-content {
  color: #fff;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: fadeIn 0.5s ease;
}

.blocker-logo {
  width: 180px;
  height: auto;
  margin-bottom: 20px;
}

.blocker-icon {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 50%;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#mobile-blocker h2 {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
}

#mobile-blocker p {
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0.9;
}

@media (min-width: 1351px) and (max-width: 1750px) {

  .building-industria .bubble {
    width: 300px !important;
  }
  .bubble-ind-1 {
    margin-top: 10px !important;
  }
  .bubble-ind-2 {
    margin-top: -424px !important;
  }
  :root {
    --sidebar-open-width: 300px;
  }

  .bubble {
    width: 230px;
    padding: 18px;
  }
  .bubble h5 {
    font-size: 13px;
  }
  .bubble-subtitle,
  .atuacao-item p {
    font-size: 12px;
  }
  .logo-container {
    width: 45px;
    height: 35px;
  }

  .building-ill {
    width: 180px;
  }

  .ill-left {
    right: 80%;
  }
  .ill-right {
    left: 90%;
  }
  .ill-top-left {
    bottom: 45%;
    right: 65%;
  }
  .ill-top-right {
    bottom: 45%;
    left: 80%;
  }

  .orbit-item {
    width: 9.5rem;
    height: 9.5rem;
  }

  .building.active .pos-1 {
    transform: translate(-50%, calc(-50% - 200px));
  }

  /* Pos 2 (Nordeste) */
  .building.active .pos-2 {
    transform: translate(calc(-50% + 160px), calc(-50% - 120px));
  }

  /* Pos 3 (Leste) */
  .building.active .pos-3 {
    transform: translate(calc(-50% + 210px), calc(-50% + 40px));
  }

  /* Pos 4 (Sudeste) */
  .building.active .pos-4 {
    transform: translate(calc(-50% + 120px), calc(-50% + 170px));
  }

  /* Pos 5 (Sudoeste) */
  .building.active .pos-5 {
    transform: translate(calc(-50% - 70px), calc(-50% + 170px));
  }

  /* Pos 6 (Oeste) */
  .building.active .pos-6 {
    transform: translate(calc(-50% - 190px), calc(-50% + 70px));
  }

  /* Pos 7 (Noroeste) */
  .building.active .pos-7 {
    transform: translate(calc(-50% - 160px), calc(-50% - 120px));
  }

  .building-abate .bubbles-container.stack-below {
    transform: translateX(-60%);
  }

}

@media (max-width: 767px) {
  #mobile-blocker {
    display: flex !important;
  }

  .main-header,
  .app-container {
    display: none !important;
  }

  body {
    overflow: hidden;
    background-color: var(--primary-red);
  }
}

.fullscreen-icon {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  position: relative;
  z-index: 5001;
  pointer-events: auto !important;
  color: #333;
}

.fullscreen-icon .material-symbols-outlined {
  font-size: 45px;
  pointer-events: none;
  user-select: none;
}

.fullscreen-icon:active {
  transform: scale(0.9);
}

@media (max-width: 400px) {
  .header-text {
    font-size: 0.9rem;
  }
}

/* =========================================
   ESTILOS DA TELA DE CAPA (OVERLAY)
   ========================================= */
#intro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  background-color: #c6151e;
  background-image: url("../assets/imgs/fundo capa.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
}

#intro-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 90%;
}

.intro-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 10px;
}

.intro-texto {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 10px;
}

.intro-imagem {
  width: 300px;
  height: 300px;
  object-fit: contain;
}

.intro-btn-comecar {
  margin-top: 20px;
  background-color: #8b1215;
  color: white;
  border: none;
  cursor: pointer;
  padding: 12px 40px;
  border-radius: 15px;
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.2s,
    background-color 0.2s;
  font-family: "Roboto", sans-serif;
}

.intro-btn-comecar:hover {
  background-color: #6d0e10;
  transform: scale(1.05);
}

.intro-btn-full {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
}
.intro-btn-full span {
  font-size: 32px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@media (max-width: 600px) {
  .intro-imagem {
    width: 220px;
    height: 220px;
  }
  .intro-texto {
    font-size: 1rem;
  }
}

.building-processamento .bubbles-container.stack-left,
.building-industria .bubbles-container.stack-right {
  width: 450px !important;
}

.building-processamento .bubble,
.building-industria .bubble {
  width: 400px !important;
}
@media (max-width: 1080px) {
  .building-industria .bubbles-container.stack-below {
      margin-left: -200px;
    }
  .building-processamento .bubbles-container.stack-left {
    right: 40% !important;
    width: 300px !important;
  }

  .building-processamento .bubble {
    width: 300px !important;
    margin-left: 0 !important;
  }

  .bubble-proc-1 {
    margin-top: 0px !important;
  }
  .bubble-proc-2 {
    margin-top: -135px !important;
  }

  .building-industria .bubble {
    width: 300px !important;
  }
  .bubble-ind-1 {
    margin-top: 50px !important;
  }
  .bubble-ind-2 {
    margin-top: -314px !important;
  }

  .ill-top-left {
    width: 80%;
    bottom: 50%;
    right: 55%;
    left: auto;
    top: auto;
    transform: translateY(20px) translateX(20px);
  }
}
@media (max-height: 1000px) {
  
  .building-abate .bubbles-container.stack-right {
    top: -8rem !important;
    bottom: 0% !important;
    transform: translateY(-20%) !important;
  }

  .ill-top-left {
    right: 40% !important;
    width: 70% !important;
  }
}
