/* Lumyx Studio: quiet editorial motion, illustrations and WhatsApp contact. */
.lumyx-wa-widget {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 3200;
  font-family: Inter, Arial, sans-serif;
  transition: opacity 0.2s;
}
.lumyx-wa-widget[hidden],
.lumyx-wa-menu[hidden] {
  display: none !important;
}
.lumyx-wa-fab {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-left: auto;
  border: 1px solid #d8ff75;
  border-radius: 50%;
  background: #c3f500;
  color: #131313;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.38);
  cursor: pointer;
  transition:
    transform 0.23s ease,
    background 0.23s ease,
    box-shadow 0.23s ease;
}
.lumyx-wa-fab svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.lumyx-wa-fab:focus-visible {
  transform: translateY(-3px) scale(1.1);
  background: #d7ff55;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}
.lumyx-wa-fab::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(195, 245, 0, 0.5);
  border-radius: inherit;
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 0.3s,
    transform 0.35s;
  pointer-events: none;
}
.lumyx-wa-fab[aria-expanded='true']::before {
  opacity: 0.7;
  transform: scale(1);
}
.lumyx-wa-fab[aria-expanded='true'] svg {
  transform: rotate(8deg) scale(1.08);
}
.lumyx-wa-fab:active {
  transform: scale(0.94);
}
.lumyx-wa-fab:focus-visible,
.lumyx-wa-menu a:focus-visible {
  outline: 3px solid #c3f500;
  outline-offset: 3px;
}
.lumyx-wa-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 13px);
  width: min(310px, calc(100vw - 32px));
  padding: 19px;
  background: #1c1d1b;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
  color: #f6f8ef;
  animation: lumyx-wa-appear 0.24s ease both;
}
.lumyx-wa-menu::after {
  content: '';
  position: absolute;
  right: 20px;
  bottom: -7px;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  background: #1c1d1b;
  border-right: 1px solid rgba(255, 255, 255, 0.23);
  border-bottom: 1px solid rgba(255, 255, 255, 0.23);
}
.lumyx-wa-menu h2 {
  font:
    700 16px/1.3 'Space Grotesk',
    Inter,
    sans-serif;
  margin: 0 0 5px;
}
.lumyx-wa-menu p {
  font:
    400 12px/1.5 Inter,
    sans-serif;
  color: #c7cabf;
  margin: 0 0 14px;
}
.lumyx-wa-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  margin-top: 8px;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background: #272926;
  color: #fff;
  text-decoration: none;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.2s,
    border-color 0.2s;
}
.lumyx-wa-menu a:focus-visible {
  transform: translateX(-3px) scale(1.02);
  border-color: #c3f500;
  background: #343b2a;
}
.lumyx-wa-menu a:active {
  transform: scale(0.96);
}
.lumyx-wa-menu:not([hidden]) a {
  animation: lumyx-wa-contact-in 0.32s ease both;
}
.lumyx-wa-menu:not([hidden]) a:nth-of-type(2) {
  animation-delay: 0.05s;
}
.lumyx-wa-menu a strong {
  transition: color 0.25s;
}
.lumyx-wa-menu a .lumyx-wa-flag,
.lumyx-wa-menu a .lumyx-wa-arrow svg {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (hover: hover) and (pointer: fine) {
  .lumyx-wa-fab:hover {
    transform: translateY(-4px) scale(1.12);
    background: #d7ff55;
    box-shadow: 0 13px 28px rgba(0, 0, 0, 0.42);
  }
  .lumyx-wa-fab:hover svg {
    transform: rotate(-12deg) scale(1.08);
  }
  .lumyx-wa-fab:hover::before {
    opacity: 0.7;
    transform: scale(1.05);
  }
  .lumyx-wa-menu a:hover {
    transform: translateX(-3px) scale(1.025);
    border-color: #c3f500;
    background: #343b2a;
  }
  .lumyx-wa-menu a:hover strong {
    color: #c3f500;
  }
  .lumyx-wa-menu a:hover .lumyx-wa-flag {
    transform: rotate(-4deg) scale(1.08);
  }
  .lumyx-wa-menu a:hover .lumyx-wa-arrow svg {
    transform: rotate(-10deg) scale(1.15);
  }
  .lumyx-wa-fab:active {
    transform: scale(0.94);
  }
  .lumyx-wa-menu a:active {
    transform: scale(0.96);
  }
}
@keyframes lumyx-wa-contact-in {
  from {
    opacity: 0;
    translate: 0 7px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lumyx-wa-fab,
  .lumyx-wa-fab svg,
  .lumyx-wa-fab::before,
  .lumyx-wa-menu a,
  .lumyx-wa-flag,
  .lumyx-wa-arrow svg {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
.lumyx-wa-menu a strong {
  font-size: 13px;
}
.lumyx-wa-menu a small {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: #cbcec4;
}
.lumyx-wa-menu a .lumyx-wa-arrow {
  color: #c3f500;
  font-size: 21px;
}
body:has([data-analytics-consent-banner]) .lumyx-wa-widget,
body:has(.lumyx-consult-dialog[open]) .lumyx-wa-widget {
  opacity: 0;
  pointer-events: none;
}
@keyframes lumyx-wa-appear {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.lumyx-editorial {
  position: relative;
  overflow: hidden;
}
.lumyx-editorial .lumyx-editorial-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(25px, 5vw, 80px);
  align-items: center;
}
.lumyx-editorial-copy {
  max-width: 510px;
}
.lumyx-editorial-copy h2 {
  font:
    700 clamp(30px, 4vw, 56px) / 1.08 'Space Grotesk',
    Inter,
    sans-serif;
  letter-spacing: -0.05em;
  margin: 14px 0 20px;
  color: #f5f6ef;
}
.lumyx-editorial-copy h2 span {
  color: #c3f500;
}
.lumyx-editorial-copy p {
  color: #c7cac3;
  line-height: 1.7;
  margin-bottom: 24px;
}
.lumyx-editorial-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  background: #1a1c19;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}
.lumyx-editorial-figure img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.9s cubic-bezier(0.2, 0.78, 0.25, 1);
}
.lumyx-editorial-figure:is(:hover, :focus-within) img {
  transform: scale(1.025);
}
.lumyx-portfolio-focused {
  padding-top: clamp(110px, 13vw, 165px);
}
.lumyx-portfolio-focused .section-head h1 {
  font:
    700 clamp(36px, 5vw, 68px) / 1.05 'Space Grotesk',
    Inter,
    sans-serif;
  letter-spacing: -0.055em;
  margin: 10px 0 0;
}
.lumyx-portfolio-focused .section-head h1 span {
  color: #c3f500;
}
/* Entradas e hover compartilham a transição para o zoom não saltar de tamanho. */
html.lumyx-motion-ready [data-motion] {
  --lumyx-fade-duration: 0.8s;
  --lumyx-move-duration: 0.8s;
  transition:
    opacity var(--lumyx-fade-duration) ease,
    transform var(--lumyx-move-duration) cubic-bezier(0.22, 1, 0.36, 1),
    scale 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    translate 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s,
    box-shadow 0.4s;
}
html.lumyx-motion-ready [data-motion='tracking'] {
  --lumyx-fade-duration: 0.7s;
  --lumyx-move-duration: 0.85s;
  opacity: 0;
  transform: translateY(28px);
}
html.lumyx-motion-ready [data-motion='rise'] {
  opacity: 0;
  transform: translateY(25px);
}
html.lumyx-motion-ready [data-motion='visual'] {
  --lumyx-fade-duration: 1s;
  --lumyx-move-duration: 1s;
  opacity: 0;
  transform: translateY(16px) scale(0.975);
}
html.lumyx-motion-ready [data-motion='copy'] {
  --lumyx-fade-duration: 0.55s;
  --lumyx-move-duration: 0.7s;
  opacity: 0;
  transform: translateY(18px);
}
html.lumyx-motion-ready [data-motion].in-view {
  opacity: 1;
  transform: none;
}
/* A altura das perguntas é animada pelo controle compartilhado, inclusive ao fechar. */
.agency-page .agency-faq-item.is-animating {
  overflow: hidden;
}
.agency-page .agency-faq-question {
  transition:
    background 0.3s,
    color 0.3s,
    translate 0.3s;
}
.agency-page .agency-faq-question-text {
  transition: color 0.3s;
}
.agency-page .agency-faq-arrow {
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s,
    color 0.3s;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .agency-page .agency-faq-question:hover {
    translate: 4px 0;
  }
  .agency-page .agency-faq-question:hover .agency-faq-question-text {
    color: #c3f500;
  }
  .portfolio-card:hover {
    scale: 1.02;
    translate: 0 -5px;
  }
}
.portfolio-card {
  transition:
    opacity 0.8s,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    scale 0.4s,
    translate 0.4s,
    border-color 0.3s;
}
@media (max-width: 760px) {
  .lumyx-editorial .lumyx-editorial-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .lumyx-editorial-copy {
    max-width: none;
  }
  .lumyx-wa-widget {
    right: max(15px, env(safe-area-inset-right));
    bottom: max(15px, env(safe-area-inset-bottom));
  }
  .lumyx-wa-fab {
    width: 54px;
    height: 54px;
  }
  .lumyx-portfolio-focused {
    padding-top: 110px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lumyx-wa-fab,
  .lumyx-wa-menu a,
  .lumyx-editorial-figure img {
    transition: none !important;
  }
  .lumyx-wa-fab:is(:hover, :focus-visible),
  .lumyx-editorial-figure:hover img {
    transform: none;
  }
  .lumyx-wa-menu {
    animation: none;
  }
  html.lumyx-motion-ready [data-motion] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Existing hero layout and brand emblem are preserved. The artwork that the
   editor deleted is intentionally absent; do not recreate or proxy it. */
.agency-page .agency-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #131313;
}
.agency-page .agency-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: none;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.agency-page .agency-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(280px, 0.83fr);
  gap: 5%;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.agency-page .agency-hero-grid > :first-child {
  min-width: 0;
  max-width: 750px;
}
.agency-page .agency-hero .agency-art {
  display: grid;
  place-items: center;
  height: 450px;
  min-width: 0;
  position: relative;
  isolation: isolate;
  background: none;
}
.agency-page .agency-hero .agency-orbit {
  display: block;
}
.agency-page .agency-hero .agency-art-caption {
  display: block;
}
.agency-page .agency-hero h1,
.agency-page .agency-lead {
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}
.portfolio-page .lumyx-portfolio-focused {
  background-image: none;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.agency-page .lumyx-editorial-figure {
  background: #171b16;
}
.agency-page .lumyx-editorial-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
  object-position: center;
  image-rendering: auto;
}
@media (max-width: 950px) {
  .agency-page .agency-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .agency-page .agency-hero .agency-art {
    height: 230px;
  }
  .agency-page .agency-hero .agency-orbit {
    max-width: 150px;
  }
}
@media (max-width: 760px) {
  .agency-page .agency-hero::before {
    background-position: 72% center;
  }
  .agency-page .agency-hero .agency-art {
    height: 185px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .agency-page .agency-hero .agency-art,
  .agency-page .agency-hero .agency-orbit {
    transition: none !important;
    animation: none !important;
  }
}
/* Existing editorial panels use only images still present in assets/. */
.agency-about .agency-history-art {
  background-image:
    linear-gradient(
      115deg,
      rgba(19, 19, 19, 0.63) 0%,
      rgba(19, 19, 19, 0.26) 56%,
      rgba(19, 19, 19, 0.57) 100%
    ),
    url('/assets/editorial/creative-direction.svg');
  background-size: cover;
  background-position: center;
}
.agency-services .agency-services-banner {
  background-image:
    linear-gradient(
      90deg,
      rgba(22, 25, 19, 0.95) 0%,
      rgba(22, 25, 19, 0.88) 44%,
      rgba(22, 25, 19, 0.64) 100%
    ),
    url('/assets/editorial/creative-direction.svg');
  background-size: cover;
  background-position: center;
}

/* Regional service choices retain their accessible text and links. */
.lumyx-wa-region {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.lumyx-wa-flag {
  display: block;
  width: 34px;
  height: 23px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: #fff;
}
.lumyx-wa-region-copy {
  min-width: 0;
}
.lumyx-wa-menu a .lumyx-wa-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.lumyx-wa-menu a .lumyx-wa-arrow svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}
.lumyx-wa-menu h2 {
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
