/* ======================================
   KONACTY — INITIAL EXPERIENCE
   ====================================== */

:root {
  --background: #ffffff;
  --foreground: #101216;
  --accent: #303640;
  --font-size: clamp(3.5rem, 10vw, 8rem);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
}

/* CENTER STAGE */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 50% 45%,
      rgba(190, 200, 215, 0.42) 0%,
      rgba(225, 230, 238, 0.3) 35%,
      rgba(255, 255, 255, 0) 72%
    ),
    var(--background);
}

/* PARTICLES */
#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 2.5s ease;
}
#particles.visible {
  opacity: 1;
}

/* THREE.JS CANVAS */
#icons3d {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 2s ease;
}
#icons3d.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ICON TOOLTIP */
#icon-tooltip {
  position: fixed;
  z-index: 5;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(120, 130, 145, 0.2);
  border-radius: 20px;
  color: #343b46;
  font-size: 11px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -4px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  box-shadow: 0 5px 18px rgba(30, 40, 55, 0.08);
}
#icon-tooltip.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* BRAND */
.brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floating 6s ease-in-out infinite;
}
.brand-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  white-space: nowrap;
  perspective: 900px;
  transform: perspective(900px) rotateX(-8deg) rotateY(-9deg);
  transform-style: preserve-3d;
}

/* WORDMARK */
#wordmark {
  display: inline-block;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: var(--font-size);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.015em;
  color: var(--foreground);
  text-shadow:
    1px 1px 0 #e0e2e5,
    2px 2px 0 #cdd0d5,
    3px 3px 0 #b9bdc4,
    4px 4px 0 #a5aab3,
    5px 5px 0 #9298a2,
    6px 6px 0 #7f8691,
    7px 7px 0 #6c7480,
    8px 8px 0 #5b636f,
    9px 9px 0 #4b535f,
    15px 20px 30px rgba(25, 35, 50, 0.22);
}

/* CURSOR */
.cursor {
  display: inline-block;
  margin-left: 0.08em;
  font-family: "Courier New", monospace;
  font-size: var(--font-size);
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  text-shadow:
    1px 1px 0 #cdd0d5,
    3px 3px 0 #9298a2,
    7px 9px 18px rgba(25, 35, 50, 0.18);
  animation: blink 0.85s step-end infinite;
}

/* ANIMATIONS */
@keyframes blink {
  50% {
    opacity: 0;
  }
}
@keyframes floating {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* EDITORIAL AREA PANEL */
#area-panel {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 5vw, 64px);
  background: rgba(235, 239, 245, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}
#area-panel.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.panel-content {
  position: relative;
  width: min(100%, 1040px);
  min-height: min(650px, 82vh);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 5vw, 64px);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(246, 248, 251, 0.96)
  );
  border: 1px solid rgba(130, 142, 158, 0.28);
  border-radius: 3px;
  box-shadow:
    0 30px 90px rgba(25, 35, 50, 0.13),
    0 5px 18px rgba(25, 35, 50, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: translateY(22px) scale(0.985);
  opacity: 0;
  transition:
    transform 0.7s cubic-bezier(0.2, 0.75, 0.25, 1),
    opacity 0.6s ease;
}
#area-panel.visible .panel-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(130, 142, 158, 0.22);
}
#panel-category {
  color: #737d8b;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
#panel-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(130, 142, 158, 0.3);
  border-radius: 50%;
  background: transparent;
  color: #303640;
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}
#panel-close:hover {
  background: #252a32;
  color: #fff;
  border-color: #252a32;
  transform: rotate(90deg);
}
.panel-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 55px 0;
}
#panel-number {
  margin-bottom: 24px;
  color: #a0a8b3;
  font-family: "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
}
#panel-title {
  max-width: 800px;
  margin: 0;
  color: #15191f;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.065em;
}
#panel-description {
  max-width: 560px;
  margin: 28px 0 0;
  color: #697381;
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.8;
}
.panel-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(130, 142, 158, 0.22);
}
.panel-footer > div > span {
  color: #8a94a1;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
}
#panel-services {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 24px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: #424b57;
  font-size: 12px;
}
.panel-signature {
  color: #303640;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  :root {
    --font-size: clamp(2.8rem, 11vw, 4.5rem);
  }
  .brand-line {
    transform: perspective(900px) rotateX(-5deg) rotateY(-5deg);
  }
  #icon-tooltip {
    font-size: 10px;
  }
  #area-panel {
    padding: 14px;
  }
  .panel-content {
    min-height: min(620px, 88svh);
    padding: 25px 22px;
  }
  .panel-main {
    padding: 40px 0;
  }
  .panel-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
  }
  #panel-title {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }
}

/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
  .brand,
  .cursor {
    animation: none;
  }
  #particles,
  #icons3d,
  #area-panel,
  .panel-content,
  #panel-close {
    transition: none;
  }
}

/* ======================================
   KONACTY — SCROLL TRANSITION
   ====================================== */

html {
  scroll-behavior: auto;
}

.experience {
  position: relative;
  height: 200svh;
  width: 100%;
}

.scene-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--scene-background);
}

/* FIRST SCENE */

.hero {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  z-index: 2;
}

/* DARKENING LAYER */

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  background: var(--scene-overlay);
  opacity: var(--scene-darkness, 0);
  pointer-events: none;
}

/* ======================================
   KONACTY — INSTITUTIONAL FOOTER
   ====================================== */

.info-screen {
  position: absolute;
  inset: 0;
  z-index: 1;

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

  padding: clamp(25px, 5vw, 76px);

  background: var(--scene-background);
  color: var(--scene-foreground);
}

.info-content {
  width: min(100%, 1200px);
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  gap: clamp(14px, 2vh, 24px);

  opacity: var(--info-opacity, 0);
  transform: translateY(var(--info-offset, 24px));

  pointer-events: auto;
}

.info-header,
.info-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  color: var(--scene-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.info-main {
  padding: 0;
}

.info-eyebrow {
  display: block;
  margin-bottom: 20px;

  color: var(--scene-muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.info-main h1 {
  max-width: 950px;
  margin: 0;

  color: var(--scene-foreground);
  font-size: clamp(3rem, 7.5vw, 7rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.info-main > p {
  max-width: 580px;
  margin: 22px 0 0;

  color: var(--scene-muted);
  font-size: clamp(13px, 1.3vw, 16px);
  line-height: 1.7;
}

/* ABOUT + CAPABILITIES */

.info-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 7vw, 100px);

  padding-top: 22px;
  border-top: 1px solid var(--scene-border);
}

.info-details h2 {
  margin: 0 0 14px;

  color: var(--scene-foreground);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.info-about p {
  max-width: 430px;
  margin: 0;

  color: var(--scene-muted);
  font-size: 12px;
  line-height: 1.8;
}

.info-capabilities ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 24px;

  margin: 0;
  padding: 0;

  list-style: none;

  color: var(--scene-muted);
  font-size: 11px;
  line-height: 1.5;
}

/* CONTACT */

.info-contact {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;

  padding-top: 22px;
  border-top: 1px solid var(--scene-border);
}

.info-contact-copy .info-eyebrow {
  margin-bottom: 12px;
}

.info-contact h2 {
  margin: 0;

  color: var(--scene-foreground);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.info-contact p {
  margin: 10px 0 0;

  color: var(--scene-muted);
  font-size: 12px;
  line-height: 1.6;
}

.info-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  flex-shrink: 0;

  padding: 13px 17px;

  border: 1px solid var(--scene-foreground);
  border-radius: 2px;

  background: transparent;
  color: var(--scene-foreground);

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  white-space: nowrap;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.info-contact-link::after {
  content: "↗";
  font-size: 14px;
  font-weight: 400;

  transition: transform 0.25s ease;
}

.info-contact-link:hover {
  background: var(--scene-foreground);
  color: var(--scene-background);
  transform: translateY(-2px);
}

.info-contact-link:hover::after {
  transform: translate(2px, -2px);
}

.info-contact-link:focus-visible {
  outline: 2px solid var(--scene-foreground);
  outline-offset: 4px;
}

/* FOOTER */

.info-footer {
  padding-top: 16px;
  border-top: 1px solid var(--scene-border);
}

/* RESPONSIVE */

@media (max-width: 600px) {
  .info-screen {
    padding: 22px;
  }

  .info-content {
    gap: 13px;
  }

  .info-header,
  .info-footer {
    font-size: 8px;
    letter-spacing: 0.09em;
  }

  .info-main {
    padding: 0;
  }

  .info-eyebrow {
    margin-bottom: 13px;
    font-size: 8px;
  }

  .info-main h1 {
    font-size: clamp(2.5rem, 11vw, 4rem);
  }

  .info-main > p {
    margin-top: 13px;
    font-size: 12px;
    line-height: 1.55;
  }

  .info-details {
    grid-template-columns: 1fr 1fr;
    gap: 18px;

    padding-top: 15px;
  }

  .info-details h2 {
    margin-bottom: 10px;
    font-size: 8px;
  }

  .info-about p {
    font-size: 10px;
    line-height: 1.6;
  }

  .info-capabilities ul {
    grid-template-columns: 1fr;
    gap: 5px;
    font-size: 9px;
  }

  .info-contact {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;

    padding-top: 15px;
  }

  .info-contact h2 {
    font-size: 1.6rem;
  }

  .info-contact p {
    margin-top: 6px;
    font-size: 10px;
  }

  .info-contact-link {
    padding: 10px 13px;
    font-size: 9px;
  }

  .info-footer {
    padding-top: 12px;
  }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  .brand,
  .cursor {
    animation: none;
  }
}

/* ======================================
   EDITORIAL PANEL — CONTENT STRUCTURE
   ====================================== */

.panel-main {
  flex: 1;
  justify-content: center;
  padding: 38px 0;
}

#panel-description {
  max-width: 650px;
}

.panel-applications {
  margin-top: 38px;
}

.panel-section-label {
  display: block;
  margin-bottom: 17px;
  color: #8a94a1;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

#panel-applications {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 30px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #424b57;
  font-size: 12px;
  line-height: 1.6;
}

#panel-applications li {
  position: relative;
  padding-left: 13px;
}

#panel-applications li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #929ba7;
}

#panel-services {
  gap: 8px 18px;
  font-size: 11px;
}

@media (max-width: 600px) {
  .panel-main {
    padding: 28px 0;
  }

  .panel-applications {
    margin-top: 28px;
  }

  #panel-applications {
    grid-template-columns: 1fr;
    gap: 9px;
    font-size: 11px;
  }

  .panel-footer {
    padding-top: 18px;
  }
}

/* ======================================
   KONACTY — INTERFACE CONTROLS
   ====================================== */

.interface-controls {
  position: absolute;
  top: clamp(20px, 3vw, 38px);
  right: clamp(20px, 4vw, 54px);
  z-index: 20;

  display: flex;
  align-items: center;
  gap: 20px;

  color: var(--foreground);
  pointer-events: auto;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 7px;

  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.language-switch button,
.theme-toggle {
  border: 0;
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
}

.language-switch button {
  padding: 5px 2px;
  opacity: 0.48;
  transition:
    opacity 0.25s ease,
    color 0.45s ease;
}

.language-switch button[aria-pressed="true"],
.language-switch button:hover {
  opacity: 1;
}

.language-switch span {
  color: var(--muted);
  opacity: 0.6;
}

.theme-toggle {
  width: 32px;
  height: 32px;

  display: grid;
  place-items: center;

  border: 1px solid var(--border);
  border-radius: 50%;

  color: var(--foreground);
  font-size: 19px;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.theme-toggle:hover {
  transform: rotate(20deg);
  background: var(--surface);
}

/* ======================================
   KONACTY — THEME TOKENS
   ====================================== */

:root {
  color-scheme: light;

  /* Primeira cena */
  --background: #ffffff;
  --foreground: #101216;
  --accent: #303640;
  --muted: #737d8b;
  --surface: #ffffff;
  --border: rgba(130, 142, 158, 0.28);

  /* Efeito visual */
  --hero-halo: rgba(190, 200, 215, 0.42);
  --panel-shadow: rgba(25, 35, 50, 0.13);
  --wordmark-depth-1: #e0e2e5;
  --wordmark-depth-2: #cdd0d5;
  --wordmark-depth-3: #a5aab3;

  /* Tooltip */
  --tooltip-background: rgba(255, 255, 255, 0.94);
  --tooltip-foreground: #343b46;

  /* Painel */
  --panel-background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(246, 248, 251, 0.96)
  );
  --panel-title: #15191f;
  --panel-text: #424b57;
  --panel-muted: #737d8b;
  --panel-border: rgba(130, 142, 158, 0.25);
  --panel-overlay: rgba(235, 239, 245, 0.12);

  /* Segunda cena */
  --scene-background: #111419;
  --scene-foreground: #f4f5f6;
  --scene-muted: #a9b0ba;
  --scene-overlay: #111419;

  --scene-border: rgba(169, 176, 186, 0.25);
}

:root[data-theme="dark"] {
  color-scheme: dark;

  /* Primeira cena */
  --background: #111419;
  --foreground: #f2f3f5;
  --accent: #c5ccd6;
  --muted: #a6adb8;
  --surface: #1b2028;
  --border: rgba(165, 176, 192, 0.24);

  /* Efeito visual */
  --hero-halo: rgba(95, 112, 137, 0.2);
  --panel-shadow: rgba(0, 0, 0, 0.35);
  --wordmark-depth-1: #454d59;
  --wordmark-depth-2: #353d49;
  --wordmark-depth-3: #252c36;

  /* Tooltip */
  --tooltip-background: rgba(30, 36, 46, 0.96);
  --tooltip-foreground: #edf0f4;

  /* Painel */
  --panel-background: linear-gradient(
    135deg,
    rgba(27, 32, 40, 0.98),
    rgba(34, 40, 50, 0.98)
  );
  --panel-title: #f0f2f5;
  --panel-text: #d0d5dd;
  --panel-muted: #a6afbd;
  --panel-border: rgba(165, 176, 192, 0.22);
  --panel-overlay: rgba(10, 13, 18, 0.25);

  /* Segunda cena */
  --scene-background: #f0f2f5;
  --scene-foreground: #15191f;
  --scene-muted: #68717e;
  --scene-overlay: #f0f2f5;

  --scene-border: rgba(104, 113, 126, 0.25);
}

/* ======================================
   KONACTY — INTERACTIVE ELEMENTS THEMING
   ====================================== */

#icon-tooltip {
  background: var(--tooltip-background);
  color: var(--tooltip-foreground);
  border-color: var(--border);
  box-shadow: 0 5px 18px var(--panel-shadow);
}

#area-panel {
  background: var(--panel-overlay);
}

.panel-content {
  background: var(--panel-background);
  border-color: var(--panel-border);
  box-shadow:
    0 30px 90px var(--panel-shadow),
    0 5px 18px var(--panel-shadow);
}

.panel-header,
.panel-footer {
  border-color: var(--panel-border);
}

#panel-category,
.panel-section-label,
.panel-footer > div > span {
  color: var(--panel-muted);
}

#panel-title {
  color: var(--panel-title);
}

#panel-description,
#panel-applications,
#panel-services {
  color: var(--panel-text);
}

#panel-close {
  color: var(--foreground);
  border-color: var(--panel-border);
  background: transparent;
}

#panel-close:hover {
  background: var(--foreground);
  color: var(--background);
  border-color: var(--foreground);
}

.panel-signature {
  color: var(--foreground);
}

/* ======================================
   INTERFACE CONTROLS — SCENE CONTRAST
====================================== */

.interface-controls {
  color: color-mix(
    in srgb,
    var(--foreground) calc((1 - var(--info-opacity, 0)) * 100%),
    var(--scene-foreground) calc(var(--info-opacity, 0) * 100%)
  );
}

.interface-controls button {
  color: inherit;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.interface-controls .language-switch button {
  color: inherit;
}

.interface-controls .theme-toggle {
  color: inherit;
  border-color: currentColor;
}

/* INTERFACE CONTROLS — SCENE CONTRAST */

.interface-controls,
.interface-controls button {
  color: var(--foreground);
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}

.interface-controls .theme-toggle {
  border-color: var(--border);
}

:root.info-scene-active .interface-controls,
:root.info-scene-active .interface-controls button {
  color: var(--scene-foreground);
}

:root.info-scene-active .interface-controls .theme-toggle {
  border-color: var(--scene-foreground);
}

:root.info-scene-active .language-switch span {
  color: var(--scene-muted);
}

/* ======================================
   KONACTY — PANEL CONTACT CTA
   ====================================== */

.panel-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  padding: 13px 17px;

  border: 1px solid var(--panel-border);
  border-radius: 2px;

  background: transparent;
  color: var(--panel-title);

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  white-space: nowrap;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.panel-contact::after {
  content: "↗";
  font-size: 14px;
  font-weight: 400;
  transition: transform 0.25s ease;
}

.panel-contact:hover {
  background: var(--foreground);
  color: var(--background);
  border-color: var(--foreground);
  transform: translateY(-2px);
}

.panel-contact:hover::after {
  transform: translate(2px, -2px);
}

.panel-contact:focus-visible {
  outline: 2px solid var(--panel-title);
  outline-offset: 4px;
}

/* ======================================
   KONACTY — INITIAL EXPERIENCE
   ====================================== */

:root {
  --background: #ffffff;
  --foreground: #101216;
  --accent: #303640;
  --font-size: clamp(3.5rem, 10vw, 8rem);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
}

/* CENTER STAGE */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 50% 45%,
      rgba(190, 200, 215, 0.42) 0%,
      rgba(225, 230, 238, 0.3) 35%,
      rgba(255, 255, 255, 0) 72%
    ),
    var(--background);
}

/* PARTICLES */
#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 2.5s ease;
}
#particles.visible {
  opacity: 1;
}

/* THREE.JS CANVAS */
#icons3d {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 2s ease;
}
#icons3d.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ICON TOOLTIP */
#icon-tooltip {
  position: fixed;
  z-index: 5;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(120, 130, 145, 0.2);
  border-radius: 20px;
  color: #343b46;
  font-size: 11px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -4px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  box-shadow: 0 5px 18px rgba(30, 40, 55, 0.08);
}
#icon-tooltip.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* BRAND */
.brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floating 6s ease-in-out infinite;
}
.brand-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  white-space: nowrap;
  perspective: 900px;
  transform: perspective(900px) rotateX(-8deg) rotateY(-9deg);
  transform-style: preserve-3d;
}

/* WORDMARK */
#wordmark {
  display: inline-block;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: var(--font-size);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.015em;
  color: var(--foreground);
  text-shadow:
    1px 1px 0 #e0e2e5,
    2px 2px 0 #cdd0d5,
    3px 3px 0 #b9bdc4,
    4px 4px 0 #a5aab3,
    5px 5px 0 #9298a2,
    6px 6px 0 #7f8691,
    7px 7px 0 #6c7480,
    8px 8px 0 #5b636f,
    9px 9px 0 #4b535f,
    15px 20px 30px rgba(25, 35, 50, 0.22);
}

/* CURSOR */
.cursor {
  display: inline-block;
  margin-left: 0.08em;
  font-family: "Courier New", monospace;
  font-size: var(--font-size);
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  text-shadow:
    1px 1px 0 #cdd0d5,
    3px 3px 0 #9298a2,
    7px 9px 18px rgba(25, 35, 50, 0.18);
  animation: blink 0.85s step-end infinite;
}

/* ANIMATIONS */
@keyframes blink {
  50% {
    opacity: 0;
  }
}
@keyframes floating {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* EDITORIAL AREA PANEL */
#area-panel {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 5vw, 64px);
  background: rgba(235, 239, 245, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}
#area-panel.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.panel-content {
  position: relative;
  width: min(100%, 1040px);
  min-height: min(650px, 82vh);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 5vw, 64px);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(246, 248, 251, 0.96)
  );
  border: 1px solid rgba(130, 142, 158, 0.28);
  border-radius: 3px;
  box-shadow:
    0 30px 90px rgba(25, 35, 50, 0.13),
    0 5px 18px rgba(25, 35, 50, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: translateY(22px) scale(0.985);
  opacity: 0;
  transition:
    transform 0.7s cubic-bezier(0.2, 0.75, 0.25, 1),
    opacity 0.6s ease;
}
#area-panel.visible .panel-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(130, 142, 158, 0.22);
}
#panel-category {
  color: #737d8b;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
#panel-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(130, 142, 158, 0.3);
  border-radius: 50%;
  background: transparent;
  color: #303640;
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}
#panel-close:hover {
  background: #252a32;
  color: #fff;
  border-color: #252a32;
  transform: rotate(90deg);
}
.panel-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 55px 0;
}
#panel-number {
  margin-bottom: 24px;
  color: #a0a8b3;
  font-family: "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
}
#panel-title {
  max-width: 800px;
  margin: 0;
  color: #15191f;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.065em;
}
#panel-description {
  max-width: 560px;
  margin: 28px 0 0;
  color: #697381;
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.8;
}
.panel-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(130, 142, 158, 0.22);
}
.panel-footer > div > span {
  color: #8a94a1;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
}
#panel-services {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 24px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: #424b57;
  font-size: 12px;
}
.panel-signature {
  color: #303640;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  :root {
    --font-size: clamp(2.8rem, 11vw, 4.5rem);
  }
  .brand-line {
    transform: perspective(900px) rotateX(-5deg) rotateY(-5deg);
  }
  #icon-tooltip {
    font-size: 10px;
  }
  #area-panel {
    padding: 14px;
  }
  .panel-content {
    min-height: min(620px, 88svh);
    padding: 25px 22px;
  }
  .panel-main {
    padding: 40px 0;
  }
  .panel-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
  }
  #panel-title {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }
}

/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
  .brand,
  .cursor {
    animation: none;
  }
  #particles,
  #icons3d,
  #area-panel,
  .panel-content,
  #panel-close {
    transition: none;
  }
}

/* ======================================
   KONACTY — SCROLL TRANSITION
   ====================================== */

html {
  scroll-behavior: auto;
}

.experience {
  position: relative;
  height: 200svh;
  width: 100%;
}

.scene-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--scene-background);
}

/* FIRST SCENE */

.hero {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  z-index: 2;
}

/* DARKENING LAYER */

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  background: var(--scene-overlay);
  opacity: var(--scene-darkness, 0);
  pointer-events: none;
}

/* ======================================
   KONACTY — INSTITUTIONAL FOOTER
   ====================================== */

.info-screen {
  position: absolute;
  inset: 0;
  z-index: 1;

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

  padding: clamp(25px, 5vw, 76px);

  background: var(--scene-background);
  color: var(--scene-foreground);
}

.info-content {
  width: min(100%, 1200px);
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  gap: clamp(14px, 2vh, 24px);

  opacity: var(--info-opacity, 0);
  transform: translateY(var(--info-offset, 24px));

  pointer-events: auto;
}

.info-header,
.info-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  color: var(--scene-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.info-main {
  padding: 0;
}

.info-eyebrow {
  display: block;
  margin-bottom: 20px;

  color: var(--scene-muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.info-main h1 {
  max-width: 950px;
  margin: 0;

  color: var(--scene-foreground);
  font-size: clamp(3rem, 7.5vw, 7rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.info-main > p {
  max-width: 580px;
  margin: 22px 0 0;

  color: var(--scene-muted);
  font-size: clamp(13px, 1.3vw, 16px);
  line-height: 1.7;
}

/* ABOUT + CAPABILITIES */

.info-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 7vw, 100px);

  padding-top: 22px;
  border-top: 1px solid var(--scene-border);
}

.info-details h2 {
  margin: 0 0 14px;

  color: var(--scene-foreground);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.info-about p {
  max-width: 430px;
  margin: 0;

  color: var(--scene-muted);
  font-size: 12px;
  line-height: 1.8;
}

.info-capabilities ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 24px;

  margin: 0;
  padding: 0;

  list-style: none;

  color: var(--scene-muted);
  font-size: 11px;
  line-height: 1.5;
}

/* CONTACT */

.info-contact {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;

  padding-top: 22px;
  border-top: 1px solid var(--scene-border);
}

.info-contact-copy .info-eyebrow {
  margin-bottom: 12px;
}

.info-contact h2 {
  margin: 0;

  color: var(--scene-foreground);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.info-contact p {
  margin: 10px 0 0;

  color: var(--scene-muted);
  font-size: 12px;
  line-height: 1.6;
}

.info-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  flex-shrink: 0;

  padding: 13px 17px;

  border: 1px solid var(--scene-foreground);
  border-radius: 2px;

  background: transparent;
  color: var(--scene-foreground);

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  white-space: nowrap;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.info-contact-link::after {
  content: "↗";
  font-size: 14px;
  font-weight: 400;

  transition: transform 0.25s ease;
}

.info-contact-link:hover {
  background: var(--scene-foreground);
  color: var(--scene-background);
  transform: translateY(-2px);
}

.info-contact-link:hover::after {
  transform: translate(2px, -2px);
}

.info-contact-link:focus-visible {
  outline: 2px solid var(--scene-foreground);
  outline-offset: 4px;
}

/* FOOTER */

.info-footer {
  padding-top: 16px;
  border-top: 1px solid var(--scene-border);
}

/* RESPONSIVE */

@media (max-width: 600px) {
  .info-screen {
    padding: 22px;
  }

  .info-content {
    gap: 13px;
  }

  .info-header,
  .info-footer {
    font-size: 8px;
    letter-spacing: 0.09em;
  }

  .info-main {
    padding: 0;
  }

  .info-eyebrow {
    margin-bottom: 13px;
    font-size: 8px;
  }

  .info-main h1 {
    font-size: clamp(2.5rem, 11vw, 4rem);
  }

  .info-main > p {
    margin-top: 13px;
    font-size: 12px;
    line-height: 1.55;
  }

  .info-details {
    grid-template-columns: 1fr 1fr;
    gap: 18px;

    padding-top: 15px;
  }

  .info-details h2 {
    margin-bottom: 10px;
    font-size: 8px;
  }

  .info-about p {
    font-size: 10px;
    line-height: 1.6;
  }

  .info-capabilities ul {
    grid-template-columns: 1fr;
    gap: 5px;
    font-size: 9px;
  }

  .info-contact {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;

    padding-top: 15px;
  }

  .info-contact h2 {
    font-size: 1.6rem;
  }

  .info-contact p {
    margin-top: 6px;
    font-size: 10px;
  }

  .info-contact-link {
    padding: 10px 13px;
    font-size: 9px;
  }

  .info-footer {
    padding-top: 12px;
  }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  .brand,
  .cursor {
    animation: none;
  }
}

/* ======================================
   EDITORIAL PANEL — CONTENT STRUCTURE
   ====================================== */

.panel-main {
  flex: 1;
  justify-content: center;
  padding: 38px 0;
}

#panel-description {
  max-width: 650px;
}

.panel-applications {
  margin-top: 38px;
}

.panel-section-label {
  display: block;
  margin-bottom: 17px;
  color: #8a94a1;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

#panel-applications {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 30px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #424b57;
  font-size: 12px;
  line-height: 1.6;
}

#panel-applications li {
  position: relative;
  padding-left: 13px;
}

#panel-applications li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #929ba7;
}

#panel-services {
  gap: 8px 18px;
  font-size: 11px;
}

@media (max-width: 600px) {
  .panel-main {
    padding: 28px 0;
  }

  .panel-applications {
    margin-top: 28px;
  }

  #panel-applications {
    grid-template-columns: 1fr;
    gap: 9px;
    font-size: 11px;
  }

  .panel-footer {
    padding-top: 18px;
  }
}

/* ======================================
   KONACTY — INTERFACE CONTROLS
   ====================================== */

.interface-controls {
  position: absolute;
  top: clamp(20px, 3vw, 38px);
  right: clamp(20px, 4vw, 54px);
  z-index: 20;

  display: flex;
  align-items: center;
  gap: 20px;

  color: var(--foreground);
  pointer-events: auto;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 7px;

  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.language-switch button,
.theme-toggle {
  border: 0;
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
}

.language-switch button {
  padding: 5px 2px;
  opacity: 0.48;
  transition:
    opacity 0.25s ease,
    color 0.45s ease;
}

.language-switch button[aria-pressed="true"],
.language-switch button:hover {
  opacity: 1;
}

.language-switch span {
  color: var(--muted);
  opacity: 0.6;
}

.theme-toggle {
  width: 32px;
  height: 32px;

  display: grid;
  place-items: center;

  border: 1px solid var(--border);
  border-radius: 50%;

  color: var(--foreground);
  font-size: 19px;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.theme-toggle:hover {
  transform: rotate(20deg);
  background: var(--surface);
}

/* ======================================
   KONACTY — THEME TOKENS
   ====================================== */

:root {
  color-scheme: light;

  /* Primeira cena */
  --background: #ffffff;
  --foreground: #101216;
  --accent: #303640;
  --muted: #737d8b;
  --surface: #ffffff;
  --border: rgba(130, 142, 158, 0.28);

  /* Efeito visual */
  --hero-halo: rgba(190, 200, 215, 0.42);
  --panel-shadow: rgba(25, 35, 50, 0.13);
  --wordmark-depth-1: #e0e2e5;
  --wordmark-depth-2: #cdd0d5;
  --wordmark-depth-3: #a5aab3;

  /* Tooltip */
  --tooltip-background: rgba(255, 255, 255, 0.94);
  --tooltip-foreground: #343b46;

  /* Painel */
  --panel-background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(246, 248, 251, 0.96)
  );
  --panel-title: #15191f;
  --panel-text: #424b57;
  --panel-muted: #737d8b;
  --panel-border: rgba(130, 142, 158, 0.25);
  --panel-overlay: rgba(235, 239, 245, 0.12);

  /* Segunda cena */
  --scene-background: #111419;
  --scene-foreground: #f4f5f6;
  --scene-muted: #a9b0ba;
  --scene-overlay: #111419;

  --scene-border: rgba(169, 176, 186, 0.25);
}

:root[data-theme="dark"] {
  color-scheme: dark;

  /* Primeira cena */
  --background: #111419;
  --foreground: #f2f3f5;
  --accent: #c5ccd6;
  --muted: #a6adb8;
  --surface: #1b2028;
  --border: rgba(165, 176, 192, 0.24);

  /* Efeito visual */
  --hero-halo: rgba(95, 112, 137, 0.2);
  --panel-shadow: rgba(0, 0, 0, 0.35);
  --wordmark-depth-1: #454d59;
  --wordmark-depth-2: #353d49;
  --wordmark-depth-3: #252c36;

  /* Tooltip */
  --tooltip-background: rgba(30, 36, 46, 0.96);
  --tooltip-foreground: #edf0f4;

  /* Painel */
  --panel-background: linear-gradient(
    135deg,
    rgba(27, 32, 40, 0.98),
    rgba(34, 40, 50, 0.98)
  );
  --panel-title: #f0f2f5;
  --panel-text: #d0d5dd;
  --panel-muted: #a6afbd;
  --panel-border: rgba(165, 176, 192, 0.22);
  --panel-overlay: rgba(10, 13, 18, 0.25);

  /* Segunda cena */
  --scene-background: #f0f2f5;
  --scene-foreground: #15191f;
  --scene-muted: #68717e;
  --scene-overlay: #f0f2f5;

  --scene-border: rgba(104, 113, 126, 0.25);
}

/* ======================================
   KONACTY — INTERACTIVE ELEMENTS THEMING
   ====================================== */

#icon-tooltip {
  background: var(--tooltip-background);
  color: var(--tooltip-foreground);
  border-color: var(--border);
  box-shadow: 0 5px 18px var(--panel-shadow);
}

#area-panel {
  background: var(--panel-overlay);
}

.panel-content {
  background: var(--panel-background);
  border-color: var(--panel-border);
  box-shadow:
    0 30px 90px var(--panel-shadow),
    0 5px 18px var(--panel-shadow);
}

.panel-header,
.panel-footer {
  border-color: var(--panel-border);
}

#panel-category,
.panel-section-label,
.panel-footer > div > span {
  color: var(--panel-muted);
}

#panel-title {
  color: var(--panel-title);
}

#panel-description,
#panel-applications,
#panel-services {
  color: var(--panel-text);
}

#panel-close {
  color: var(--foreground);
  border-color: var(--panel-border);
  background: transparent;
}

#panel-close:hover {
  background: var(--foreground);
  color: var(--background);
  border-color: var(--foreground);
}

.panel-signature {
  color: var(--foreground);
}

/* ======================================
   INTERFACE CONTROLS — SCENE CONTRAST
====================================== */

.interface-controls {
  color: color-mix(
    in srgb,
    var(--foreground) calc((1 - var(--info-opacity, 0)) * 100%),
    var(--scene-foreground) calc(var(--info-opacity, 0) * 100%)
  );
}

.interface-controls button {
  color: inherit;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.interface-controls .language-switch button {
  color: inherit;
}

.interface-controls .theme-toggle {
  color: inherit;
  border-color: currentColor;
}

/* INTERFACE CONTROLS — SCENE CONTRAST */

.interface-controls,
.interface-controls button {
  color: var(--foreground);
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}

.interface-controls .theme-toggle {
  border-color: var(--border);
}

:root.info-scene-active .interface-controls,
:root.info-scene-active .interface-controls button {
  color: var(--scene-foreground);
}

:root.info-scene-active .interface-controls .theme-toggle {
  border-color: var(--scene-foreground);
}

:root.info-scene-active .language-switch span {
  color: var(--scene-muted);
}

/* ======================================
   KONACTY — PANEL CONTACT CTA
   ====================================== */

.panel-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  padding: 13px 17px;

  border: 1px solid var(--panel-border);
  border-radius: 2px;

  background: transparent;
  color: var(--panel-title);

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  white-space: nowrap;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.panel-contact::after {
  content: "↗";
  font-size: 14px;
  font-weight: 400;
  transition: transform 0.25s ease;
}

.panel-contact:hover {
  background: var(--foreground);
  color: var(--background);
  border-color: var(--foreground);
  transform: translateY(-2px);
}

.panel-contact:hover::after {
  transform: translate(2px, -2px);
}

.panel-contact:focus-visible {
  outline: 2px solid var(--panel-title);
  outline-offset: 4px;
}

/* ======================================
   KONACTY — FOOTER INTERACTION FIX
   ====================================== */

:root.info-scene-active .hero {
  pointer-events: none;
}

:root.info-scene-active .interface-controls {
  pointer-events: auto;
}

.info-screen,
.info-content {
  pointer-events: auto;
}

@media (max-width: 600px) {
  .info-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;

    padding-top: 48px;
  }

  .info-header span:last-child {
    text-align: left;
  }
}

/* ======================================
   KONACTY — FOOTER INTERACTION
   ====================================== */

/* Desativa toda a primeira cena quando o footer assume */
:root.info-scene-active .hero,
:root.info-scene-active .hero * {
  pointer-events: none !important;
}

/* Preserva os controles de idioma e tema */
:root.info-scene-active .hero .interface-controls,
:root.info-scene-active .hero .interface-controls * {
  pointer-events: auto !important;
}

/* Ativa a interação da segunda cena */
:root.info-scene-active .info-screen,
:root.info-scene-active .info-screen * {
  pointer-events: auto;
}


/* ======================================
   KONACTY — DESKTOP HEIGHT ADAPTATION
   ====================================== */

@media (min-width: 601px) and (max-height: 750px) {

    /* Institutional scene */
    .info-screen {
        padding-block: clamp(16px, 3vh, 24px);
    }

    .info-content {
        gap: clamp(9px, 1.5vh, 14px);
    }

    .info-eyebrow {
        margin-bottom: 12px;
    }

    .info-main h1 {
        font-size: clamp(3rem, 6vw, 5.5rem);
    }

    .info-main > p {
        margin-top: 14px;
        line-height: 1.5;
    }

    .info-details {
        gap: clamp(24px, 4vw, 56px);
        padding-top: 14px;
    }

    .info-contact {
        gap: 20px;
        padding-top: 14px;
    }

    .info-contact h2 {
        font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    }

    .info-footer {
        padding-top: 10px;
    }

    /* Interactive service panels */
    #area-panel {
        padding-block: 18px;
    }

    .panel-content {
        min-height: min(580px, 76svh);
        padding: clamp(24px, 3.5vw, 44px);
    }

    .panel-main {
        padding: 24px 0;
    }

    .panel-applications {
        margin-top: 24px;
    }

    .panel-footer {
        padding-top: 18px;
    }
}
