:root {
  --spy-header-height: 96px;
  --spy-bg: #0d0d0d;
  --spy-bg-soft: #121211;
  --spy-panel: #151515;
  --spy-panel2: #1c1c1c;
  --spy-card: #111111;
  --spy-cream: #eee9e1;
  --spy-text: #f2f0ec;
  --spy-muted: #a8a39b;
  --spy-line: #33302d;
  --spy-accent: #b99a73;
  --spy-soft: #e7ded2;
  --spy-serif: Georgia, "Times New Roman", serif;
  --spy-sans: Arial, Helvetica, sans-serif;
  --spy-shell: min(90vw, 1440px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--spy-bg);
  color: var(--spy-text);
  font-family: var(--spy-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.has-open-menu {
  overflow: hidden;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.spy-whatsapp-button {
  align-items: center;
  background: #25d366;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  bottom: max(22px, calc(env(safe-area-inset-bottom) + 14px));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32), 0 2px 8px rgba(0, 0, 0, 0.2);
  color: #fff;
  display: inline-flex;
  height: 58px;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: max(22px, calc(env(safe-area-inset-right) + 14px));
  transform: translateY(8px);
  transition: box-shadow 180ms ease, opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
  visibility: hidden;
  width: 58px;
  z-index: 900;
}

.spy-whatsapp-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
  visibility: visible;
}

.spy-whatsapp-button svg {
  fill: currentColor;
  height: 32px;
  width: 32px;
}

.spy-whatsapp-button:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38), 0 3px 10px rgba(0, 0, 0, 0.22);
  color: #fff;
  transform: translateY(-2px);
}

.spy-whatsapp-button:focus-visible {
  color: #fff;
  outline: 3px solid #fff;
  outline-offset: 3px;
}

body.lightbox-open .spy-whatsapp-button,
body.has-open-menu .spy-whatsapp-button {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition-delay: 0s;
  visibility: hidden;
}

@media (max-width: 720px) {
  .spy-whatsapp-button {
    bottom: max(18px, calc(env(safe-area-inset-bottom) + 12px));
    height: 54px;
    right: max(18px, calc(env(safe-area-inset-right) + 12px));
    width: 54px;
  }

  .spy-whatsapp-button svg {
    height: 30px;
    width: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spy-whatsapp-button {
    transition: none;
  }
}

button,
input,
textarea,
select {
  font: inherit;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.skip-link {
  background: var(--spy-cream);
  color: #111;
  left: 1rem;
  padding: 0.7rem 1rem;
  position: fixed;
  top: -5rem;
  z-index: 999;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  left: 0;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 1000;
  transition: background 260ms ease;
}

.home .site-header {
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header.is-scrolled,
.site-header.menu-is-open,
.home .site-header.is-scrolled,
.home .site-header.menu-is-open {
  background: rgba(13, 13, 13, 0.98);
  backdrop-filter: blur(16px);
  position: sticky;
  z-index: 1000;
}

.site-header.menu-is-open {
  backdrop-filter: none;
}

/* Backdrop estendido para integração visual do Header com o Hero da Home */
.site-header__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  transition: opacity 300ms ease;
}

.site-header.is-scrolled .site-header__backdrop,
.site-header.menu-is-open .site-header__backdrop {
  opacity: 0;
}

.site-header__backdrop-slide {
  position: absolute;
  top: -16px;
  bottom: -16px;
  left: -16px;
  right: -16px;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
  pointer-events: none;
}

.site-header__backdrop-slide.is-active {
  opacity: 1;
  z-index: 2;
}

.site-header__backdrop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  filter: blur(5px) brightness(0.78);
  transform-origin: center top;
}

.site-header__backdrop-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.35) 100%);
  z-index: 3;
}

.site-header__inner {
  align-items: center;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: var(--spy-header-height);
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 clamp(20px, 3vw, 42px);
  position: relative;
  width: 100%;
  z-index: 2;
}

.site-nav--left {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  padding-right: clamp(1.25rem, 2.4vw, 2.75rem);
}

.site-nav--right {
  align-items: center;
  display: flex;
  justify-content: flex-start;
  padding-left: clamp(1.25rem, 2.4vw, 2.75rem);
}

.nav-menu {
  align-items: center;
  display: flex;
  gap: clamp(1.15rem, 1.7vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  padding-block: 0.5rem;
  position: relative;
  text-transform: uppercase;
  transition: color 200ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a {
  color: #fff;
}

.nav-menu a::after {
  background: var(--spy-accent);
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms ease;
  width: 100%;
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after,
.nav-menu .current-menu-item > a::after,
.nav-menu .current-menu-ancestor > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-brand {
  align-items: center;
  display: flex;
  justify-content: center;
  justify-self: center;
  text-align: center;
  width: clamp(170px, 17vw, 230px);
}

.site-brand img,
.site-footer__brand img {
  filter: brightness(0) invert(1);
  height: auto;
  max-height: 48px;
  object-fit: contain;
  width: 100%;
}

/* Submenu Dropdown */
.nav-menu .has-submenu,
.nav-menu .menu-item-has-children {
  position: relative;
}

.nav-menu > li > a {
  padding-block: 0.85rem;
}

.submenu-arrow {
  display: inline-block;
  font-size: 9px;
  margin-left: 4px;
  transition: transform 200ms ease;
  vertical-align: middle;
}

.nav-menu .has-submenu:hover .submenu-arrow,
.nav-menu .has-submenu:focus-within .submenu-arrow,
.nav-menu .menu-item-has-children:hover .submenu-arrow,
.nav-menu .menu-item-has-children:focus-within .submenu-arrow {
  transform: rotate(180deg);
}

.nav-menu .sub-menu,
.nav-menu .submenu {
  background: #151515;
  border: 1px solid var(--spy-line);
  border-radius: 4px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  gap: 0;
  left: 50%;
  list-style: none;
  margin: 0;
  min-width: 185px;
  opacity: 0;
  visibility: hidden;
  padding: 8px 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  transform: translateX(-50%) translateY(6px);
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
  z-index: 9999;
}

/* Ponte de hover contínua e invisível entre o item pai e o dropdown */
.nav-menu .sub-menu::before,
.nav-menu .submenu::before {
  content: "";
  position: absolute;
  top: -18px;
  left: -16px;
  right: -16px;
  height: 20px;
  background: transparent;
  pointer-events: auto;
  z-index: 1;
}

.nav-menu .has-submenu:hover > .sub-menu,
.nav-menu .has-submenu:focus-within > .sub-menu,
.nav-menu .menu-item-has-children:hover > .sub-menu,
.nav-menu .menu-item-has-children:focus-within > .sub-menu,
.nav-menu .has-submenu:hover > .submenu,
.nav-menu .has-submenu:focus-within > .submenu,
.nav-menu .menu-item-has-children:hover > .submenu,
.nav-menu .menu-item-has-children:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-menu .sub-menu a,
.nav-menu .submenu a {
  color: #c9c4bc;
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 10px 18px;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-menu .sub-menu a:hover,
.nav-menu .sub-menu a:focus-visible,
.nav-menu .submenu a:hover,
.nav-menu .submenu a:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.nav-menu .sub-menu a::after,
.nav-menu .submenu a::after {
  display: none;
}

.menu-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: none;
  gap: 0.75rem;
  padding: 0.6rem 0;
}

.menu-toggle__lines {
  display: grid;
  gap: 6px;
  width: 28px;
}

.menu-toggle__lines span {
  background: currentColor;
  height: 1px;
  transition: transform 200ms ease;
}

.mobile-navigation {
  display: none;
}

.section {
  padding: 95px 5%;
}

.section-shell {
  margin-inline: auto;
  max-width: var(--spy-shell);
  padding-block: clamp(5rem, 9vw, 9rem);
}

.center {
  text-align: center;
}

.eyebrow {
  color: var(--spy-accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 5px;
  margin: 0 0 14px;
  text-transform: uppercase;
  display: block;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
blockquote {
  font-family: var(--spy-serif);
  font-weight: 400;
}

h2 {
  font-size: clamp(2rem, 3.2vw, 2.625rem);
  line-height: 1.15;
  margin: 14px 0 26px;
}

.lead {
  max-width: 760px;
  margin: 0 auto;
  color: var(--spy-muted);
  line-height: 1.9;
  font-size: 15px;
}

.button {
  align-items: center;
  display: inline-flex;
  font-size: 10px;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 2.5px;
  min-height: 48px;
  padding: 14px 25px;
  text-transform: uppercase;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.button--outline {
  border: 1px solid #fff;
  color: #fff;
  background: transparent;
}

.button--outline:hover,
.button--outline:focus-visible {
  background: #fff;
  color: #111;
}

.button--light {
  background: var(--spy-cream);
  border: 1px solid var(--spy-cream);
  color: #131210;
}

.button--light:hover,
.button--light:focus-visible {
  background: transparent;
  color: var(--spy-cream);
}

.hero {
  background: #000;
  height: calc(100vh - var(--spy-header-height));
  height: calc(100dvh - var(--spy-header-height));
  min-height: 560px;
  overflow: hidden;
  position: relative;
}

.hero__slides,
.hero__slide {
  inset: 0;
  position: absolute;
}

.hero__slide {
  margin: 0;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

.hero__slide.is-active,
.hero__slide.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

.hero__slide img,
.hero__image {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero__shade {
  inset: 0;
  position: absolute;
  z-index: 2;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.20) 48%, rgba(0, 0, 0, 0.50) 100%);
}

.hero__shade--light {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.10) 48%, rgba(0, 0, 0, 0.35) 100%);
}

.hero__shade--medium {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.20) 48%, rgba(0, 0, 0, 0.50) 100%);
}

.hero__shade--dark {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.40) 48%, rgba(0, 0, 0, 0.70) 100%);
}

.hero__content {
  left: 8%;
  bottom: clamp(2.5rem, 8vh, 6rem);
  max-width: 690px;
  position: absolute;
  z-index: 3;
}

.kicker {
  color: var(--spy-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  display: block;
}

.hero h1 {
  color: var(--spy-text);
  font-family: var(--spy-serif);
  font-size: clamp(2.4rem, 4.4vw, 4.125rem);
  font-style: italic;
  font-weight: normal;
  line-height: 1.04;
  margin: 15px 0 20px;
}

.hero__lead {
  color: #e2ded8;
  font-size: 15px;
  line-height: 1.7;
  max-width: 570px;
  margin: 0 0 24px;
}

.dots {
  bottom: 42px;
  display: flex;
  gap: 8px;
  position: absolute;
  right: 5%;
  z-index: 4;
}

.dot {
  background: rgba(255, 255, 255, 0.35);
  border: 0;
  cursor: pointer;
  height: 2px;
  padding: 0;
  transition: background 200ms ease;
  width: 32px;
}

.dot.is-active,
.dot.active {
  background: #fff;
}

.motivation {
  background: var(--spy-panel);
}

.testimonials {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  margin-top: 55px;
}

/* 2 depoimentos: dois cards centralizados como um conjunto, com a mesma largura e gap visual do layout de 3 */
.testimonials:has(> .quote:first-child:nth-last-child(2)) {
  grid-template-columns: repeat(2, minmax(0, calc((100% - 36px) / 3)));
  justify-content: center;
}

/* 1 depoimento: card único centralizado com largura editorial equilibrada sem expandir pela página */
.testimonials:has(> .quote:only-child),
.testimonials:has(> .quote:first-child:last-child) {
  grid-template-columns: minmax(0, min(100%, 580px));
  justify-content: center;
}

.quote {
  background: var(--spy-card);
  border: 1px solid var(--spy-line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 230px;
  padding: 34px;
  text-align: left;
}

.quote p {
  color: #c9c4bc;
  font-family: var(--spy-serif);
  font-size: 16.5px;
  line-height: 1.75;
  margin: 0 0 24px;
}

.quote b {
  color: #fff;
  font-family: var(--spy-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.portfolio {
  background: var(--spy-bg);
}

.works-head {
  align-items: flex-end;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  margin-bottom: 38px;
}

.works-head h2 {
  margin-bottom: 0;
}

.works-head p {
  color: var(--spy-muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 520px;
  margin: 0;
}

.gallery {
  display: grid;
  gap: 14px;
  grid-auto-rows: 300px;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.photo {
  background: #222;
  display: block;
  overflow: hidden;
  position: relative;
}

.photo.big {
  grid-row: span 2;
}

.photo.wide {
  grid-column: span 2;
}

.photo__link {
  display: block;
  height: 100%;
  width: 100%;
}

.photo img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  width: 100%;
}

.photo:hover img {
  transform: scale(1.035);
}

.photo::after {
  background: linear-gradient(transparent 45%, rgba(0, 0, 0, 0.85));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.caption {
  bottom: 20px;
  left: 22px;
  pointer-events: none;
  position: absolute;
  right: 22px;
  z-index: 3;
}

.caption small {
  color: #ddd;
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.caption h3 {
  color: #fff;
  font-family: var(--spy-serif);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: normal;
  margin: 0;
}

.more {
  border: 1px solid #67615a;
  color: var(--spy-text);
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 36px auto 0;
  padding: 13px 25px;
  text-transform: uppercase;
  transition: border-color 200ms ease, background 200ms ease;
  width: max-content;
}

.more:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: #fff;
}

.about {
  background: var(--spy-panel2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 610px;
}

.about__media {
  min-height: 100%;
  overflow: hidden;
}

.about__media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.about__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(45px, 6vw, 75px);
}

.about__copy h2 {
  margin: 14px 0 24px;
}

.about__copy p {
  color: #b8b2aa;
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.proposal {
  background: #000;
  overflow: hidden;
  padding: 115px 20px;
  position: relative;
  text-align: center;
}

.proposal__image,
.proposal__overlay {
  inset: 0;
  position: absolute;
}

.proposal__image {
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  width: 100%;
}

.proposal__overlay {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
}

.proposal__content {
  margin: 0 auto;
  max-width: 880px;
  position: relative;
  z-index: 2;
}

.proposal h2 {
  font-size: clamp(2.2rem, 4vw, 3.125rem);
  margin-bottom: 16px;
}

.proposal__intro {
  color: #e2ded8;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  font-weight: 600;
  letter-spacing: .025em;
  line-height: 1.45;
  margin: 0 auto .65rem;
  max-width: 700px;
}

.proposal__detail {
  color: #c9c3bb;
  line-height: 1.65;
  margin: 0 auto 28px;
  max-width: 660px;
}

.social-bar {
  background: var(--spy-bg);
  border-bottom: 1px solid var(--spy-line);
  border-top: 1px solid var(--spy-line);
  color: #c7c1b9;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 26px 5%;
  text-transform: uppercase;
}

.social-bar__links {
  --social-bar-gap: clamp(20px, 3vw, 35px);
  display: flex;
  flex-wrap: wrap;
  gap: 14px var(--social-bar-gap);
  justify-content: center;
  margin: 0 auto;
  max-width: 1080px;
}

.social-bar a {
  flex: 0 0 calc((100% - (4 * var(--social-bar-gap))) / 5);
  justify-content: center;
  transition: color 200ms ease;
}

.social-bar a:hover {
  color: #fff;
}

.site-footer {
  align-items: center;
  background: var(--spy-bg);
  color: #777;
  display: flex;
  font-size: 10px;
  gap: 30px;
  justify-content: space-between;
  letter-spacing: 1.5px;
  padding: 45px 5%;
  text-transform: uppercase;
}

.site-footer__brand {
  max-width: 280px;
}

.site-footer__brand img {
  width: 180px;
}

.site-footer__brand p {
  color: #777;
  font-size: 10px;
  letter-spacing: 1.5px;
  margin: 8px 0 0;
  text-transform: none;
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-footer__contact a,
.site-footer__contact span {
  color: #777;
  transition: color 200ms ease;
}

.site-footer__contact a:hover {
  color: #fff;
}

.site-footer__bottom {
  align-items: center;
  display: flex;
  gap: 15px;
}

.site-footer__legal,
.site-footer__credit {
  color: #777;
  margin: 0;
}

/* Generic & Internal Page Shells */
.page-shell,
.works-page,
.single-work {
  background: var(--spy-bg);
  color: var(--spy-text);
  min-height: 60vh;
  padding-bottom: clamp(3rem, 6vw, 6rem);
}

.page-header {
  border-bottom: 1px solid var(--spy-line);
  margin-inline: auto;
  max-width: var(--spy-shell);
  padding: clamp(3.5rem, 6vw, 5.5rem) 5% clamp(2rem, 3.5vw, 3rem);
}

.works-hero {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-inline: auto;
  max-width: var(--spy-shell);
  padding: clamp(2rem, 3.5vw, 3rem) 5% clamp(1.2rem, 2vw, 1.8rem);
}

.page-header .eyebrow,
.works-hero .eyebrow {
  color: var(--spy-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.page-header h1 {
  color: var(--spy-text);
  font-family: var(--spy-serif);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-style: italic;
  font-weight: normal;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 12px;
}

.works-hero h1 {
  color: var(--spy-text);
  font-family: var(--spy-serif);
  font-size: clamp(2rem, 3.6vw, 3.125rem);
  font-style: italic;
  font-weight: normal;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 8px;
}

.works-hero p {
  color: var(--spy-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  max-width: 600px;
}

.page-content {
  margin-inline: auto;
  max-width: var(--spy-shell);
  padding: clamp(2.5rem, 5vw, 4rem) 5%;
}

.works-content {
  margin-inline: auto;
  max-width: var(--spy-shell);
  padding: clamp(1.2rem, 2vw, 1.8rem) 5% clamp(2.5rem, 5vw, 4rem);
}

.page-content > p:not([class]) {
  color: #c9c4bc;
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 1.6rem;
}

/* 404 Error Page */
.error-404-page {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
}

.error-404-content {
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 5%;
}

.error-404-content h1 {
  color: var(--spy-text);
  font-family: var(--spy-serif);
  font-size: clamp(4rem, 9vw, 7.5rem);
  font-weight: normal;
  line-height: 1;
  margin: 16px 0 20px;
}

.error-404-content .lead {
  color: var(--spy-muted);
  margin: 0 auto 32px;
  max-width: 540px;
}

/* Works Archive & Filters */
.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(1.5rem, 2.5vw, 2.2rem);
}

.work-filters a {
  border: 1px solid var(--spy-line);
  border-radius: 2px;
  color: #9c978f;
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 7px 18px;
  text-transform: uppercase;
  transition: all 200ms ease;
}

.work-filters a:hover,
.work-filters a.is-active {
  background: rgba(185, 154, 115, 0.14);
  border-color: var(--spy-accent);
  color: #fff;
}

.works-grid {
  display: grid;
  gap: clamp(20px, 2.5vw, 30px);
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}

.work-card {
  background: #121212;
  border: 1px solid #292623;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), border-color 260ms ease, box-shadow 260ms ease;
}

.work-card:hover {
  border-color: rgba(185, 154, 115, 0.5);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  transform: translateY(-4px);
}

.work-card__media {
  aspect-ratio: 16 / 10;
  background: #161616;
  display: block;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.work-card__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.work-card:hover .work-card__media img {
  transform: scale(1.04);
}

.work-card__placeholder {
  align-items: center;
  background: #171717;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.work-card__placeholder-icon {
  stroke: #444;
}

.work-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 20px 22px;
}

.work-card__category {
  color: var(--spy-accent);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.work-card__body h2 {
  font-family: var(--spy-serif);
  font-size: 20px;
  font-weight: normal;
  line-height: 1.25;
  margin: 0 0 8px;
}

.work-card__body h2 a {
  color: var(--spy-text);
  transition: color 200ms ease;
}

.work-card__body h2 a:hover {
  color: var(--spy-soft);
}

.work-card__body p {
  color: var(--spy-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 14px;
  overflow: hidden;
}

.work-card__link {
  align-items: center;
  color: var(--spy-soft);
  display: inline-flex;
  font-size: 10px;
  font-weight: 700;
  gap: 5px;
  letter-spacing: 2px;
  margin-top: auto;
  text-transform: uppercase;
  transition: color 200ms ease;
}

.work-card:hover .work-card__link,
.work-card__link:hover {
  color: #fff;
}

.works-empty {
  border: 1px dashed var(--spy-line);
  padding: 60px 24px;
  text-align: center;
}

.works-empty h2 {
  font-family: var(--spy-serif);
  font-size: 26px;
  font-style: italic;
  font-weight: normal;
  margin-bottom: 10px;
}

.works-empty p {
  color: var(--spy-muted);
  font-size: 15px;
}

/* ==========================================================================
   Página Depoimentos — Layout Dedicado, Ritmo Visual e Integração Dark
   ========================================================================== */

/* Shell Principal */
.page-depoimentos-shell {
  background: var(--spy-bg);
  min-height: 70vh;
  padding-bottom: clamp(3.5rem, 6vw, 6rem);
}

/* Neutralização de Gaps Indesejados do Elementor Flex Container */
.spy-depoimentos-elementor-root {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  margin: 0 auto !important;
  padding: 0 !important;
  width: 100% !important;
}

.spy-depoimentos-elementor-root > .elementor-widget {
  margin-bottom: 0 !important;
  width: 100% !important;
}

/* 1. Hero / Título Depoimentos */
.depoimentos-hero {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-inline: auto;
  max-width: var(--spy-shell);
  padding: clamp(2.2rem, 3.8vw, 3.2rem) 5% clamp(1.6rem, 2.5vw, 2.2rem);
  text-align: center;
}

.depoimentos-hero .eyebrow {
  color: var(--spy-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  margin: 0 auto 8px;
  text-transform: uppercase;
}

.depoimentos-hero h1 {
  color: var(--spy-text);
  font-family: var(--spy-serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-style: italic;
  font-weight: normal;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 auto 10px;
}

.depoimentos-hero .lead {
  color: var(--spy-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 580px;
}

/* 2. Seções de Depoimentos — Escala de Espaçamento e Separação Sutil */
.depoimentos-section {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: clamp(2.8rem, 4.5vw, 4.2rem);
  margin-inline: auto;
  max-width: var(--spy-shell);
  padding: 0 5% clamp(2.8rem, 4.5vw, 4.2rem);
}

.depoimentos-section:first-of-type {
  margin-top: clamp(2.2rem, 3.5vw, 3.2rem);
}

.depoimentos-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Manter a seção do Google alinhada ao shell nativo */
.page-depoimentos-content .elementor-element.depoimentos-section--google.works-shell {
  margin-inline: auto !important;
  width: var(--spy-shell);
}

/* Cabeçalho das Seções */
.depoimentos-section__header {
  margin-bottom: clamp(1.2rem, 1.8vw, 1.6rem);
  text-align: center;
}

.depoimentos-section__header .eyebrow {
  color: var(--spy-accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0 auto 6px;
  text-transform: uppercase;
}

.depoimentos-section__header h2 {
  color: var(--spy-text);
  font-family: var(--spy-serif);
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  font-style: italic;
  font-weight: normal;
  line-height: 1.2;
  margin: 0 auto 8px;
}

.depoimentos-section__header .lead {
  color: var(--spy-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 580px;
}

/* Neutralização Total de Estruturas Antigas / Elementor / Menu Residual */
.page-depoimentos-shell .elementor-element-c640667,
.page-depoimentos-shell .elementor-element-cfc9058,
.page-depoimentos-shell .elementor-element-39eb2b4,
.page-depoimentos-shell .elementor-element-c320fe2,
.page-depoimentos-shell .elementor-widget-nav-menu,
.page-depoimentos-shell .elementor-nav-menu--main,
.page-depoimentos-shell .elementor-nav-menu,
.page-depoimentos-shell .elementor-menu-toggle,
.page-depoimentos-shell .elementor-widget-theme-site-logo,
.page-depoimentos-shell .elementor-widget-spacer,
.page-depoimentos-shell .elementor-spacer,
.page-depoimentos-shell .elementor-heading-title,
.page-depoimentos-shell .elementor-widget-heading,
.page-depoimentos-shell .elementor-element-24b57d2,
.page-depoimentos-shell .elementor-element-e2b3708,
.page-depoimentos-shell .elementor-element-72a373e,
.page-depoimentos-shell .elementor-element-960db86,
.page-depoimentos-shell hr,
.page-depoimentos-shell .elementor-divider,
.page-depoimentos-shell .elementor-divider-separator {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  pointer-events: none !important;
}

/* ==========================================================================
   3 & 4. Google Reviews — Bloco Coeso (Resumo + Carrossel de Avaliações)
   ========================================================================== */

/* Container do Trustindex e Neutralização de Linhas Indevidas */
.depoimentos-trustindex-wrapper {
  margin-inline: auto;
  position: relative;
  width: 100%;
}

.depoimentos-trustindex-wrapper a {
  text-decoration: none !important;
}

/* Remover expressamente qualquer linha horizontal que atravesse os cards */
.depoimentos-trustindex-wrapper hr,
.depoimentos-trustindex-wrapper .ti-controls-line,
.depoimentos-trustindex-wrapper .ti-controls::before,
.depoimentos-trustindex-wrapper .ti-controls::after,
.depoimentos-trustindex-wrapper .ti-slider-line,
.depoimentos-trustindex-wrapper .ti-separator,
.depoimentos-trustindex-wrapper .ti-divider,
.depoimentos-trustindex-wrapper .ti-line,
.depoimentos-trustindex-wrapper .ti-widget::before,
.depoimentos-trustindex-wrapper .ti-widget::after,
.depoimentos-trustindex-wrapper .ti-widget-container::before,
.depoimentos-trustindex-wrapper .ti-widget-container::after,
.depoimentos-trustindex-wrapper .ti-reviews-container-wrapper::before,
.depoimentos-trustindex-wrapper .ti-reviews-container-wrapper::after,
.depoimentos-trustindex-wrapper .ti-reviews-container::before,
.depoimentos-trustindex-wrapper .ti-reviews-container::after,
.depoimentos-trustindex-wrapper .ti-review-item::before,
.depoimentos-trustindex-wrapper .ti-review-item::after,
.depoimentos-trustindex-wrapper .ti-inner::before,
.depoimentos-trustindex-wrapper .ti-inner::after {
  content: none !important;
  display: none !important;
  border: none !important;
  height: 0 !important;
  background: none !important;
}

.depoimentos-trustindex-wrapper .ti-widget.ti-goog .ti-reviews-container-wrapper,
.depoimentos-trustindex-wrapper .ti-widget.ti-goog .ti-reviews-container {
  border: none !important;
  box-shadow: none !important;
}

/* Integração Visual Dark Completa do Widget Trustindex */
.depoimentos-trustindex-wrapper .ti-widget,
.depoimentos-trustindex-wrapper .ti-widget-container,
.depoimentos-trustindex-wrapper .ti-reviews-container-wrapper,
.depoimentos-trustindex-wrapper .ti-reviews-container,
.ti-widget.ti-goog,
.ti-widget[data-layout-id] {
  background: transparent !important;
  background-color: transparent !important;
  color: #f2f0ec !important;
  font-family: var(--spy-sans) !important;
  max-width: 100% !important;
}

/* 3. Resumo Google — Bloco Coeso, Centrado e Integrado */
.depoimentos-trustindex-wrapper .ti-header {
  align-items: center !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  justify-content: center !important;
  margin: 0 auto clamp(1.2rem, 2vw, 1.6rem) !important;
  padding: 0 !important;
  width: 100% !important;
}

.depoimentos-trustindex-wrapper .ti-fade-container {
  align-items: center !important;
  background: #f7f4ef !important;
  background-color: #f7f4ef !important;
  border: 1px solid #ded7cd !important;
  border-radius: 40px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35) !important;
  display: inline-flex !important;
  flex-wrap: wrap !important;
  gap: 10px 18px !important;
  justify-content: center !important;
  margin: 0 auto !important;
  max-width: 100% !important;
  opacity: 1 !important;
  padding: 8px 22px !important;
  transition: border-color 200ms ease, box-shadow 200ms ease !important;
}

.depoimentos-trustindex-wrapper .ti-fade-container:hover {
  border-color: rgba(185, 154, 115, 0.4) !important;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45) !important;
}

.depoimentos-trustindex-wrapper .ti-rating-text {
  align-items: center !important;
  background: transparent !important;
  border: none !important;
  color: #f2f0ec !important;
  display: inline-flex !important;
  font-size: 13px !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.depoimentos-trustindex-wrapper strong.ti-rating-large {
  color: #ffffff !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

.depoimentos-trustindex-wrapper .ti-stars.star-lg {
  align-items: center !important;
  display: inline-flex !important;
  gap: 3px !important;
  line-height: 1 !important;
  margin: 0 !important;
}

.depoimentos-trustindex-wrapper .ti-stars.star-lg .ti-star {
  color: #f5a623 !important;
  display: inline-block !important;
  height: 17px !important;
  margin-right: 0 !important;
  vertical-align: middle !important;
  width: 17px !important;
}

.depoimentos-trustindex-wrapper .ti-rating-text .nowrap {
  color: #b0aaa0 !important;
  display: inline-block !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

.depoimentos-trustindex-wrapper .ti-rating-text .nowrap strong {
  color: #ffffff !important;
  font-weight: 600 !important;
}

.depoimentos-trustindex-wrapper .ti-large-logo {
  align-items: center !important;
  display: inline-flex !important;
  margin: 0 !important;
  padding: 0 !important;
}

.depoimentos-trustindex-wrapper .ti-large-logo .ti-v-center {
  align-items: center !important;
  display: inline-flex !important;
}

.depoimentos-trustindex-wrapper .ti-large-logo img,
.depoimentos-trustindex-wrapper .ti-large-logo .ti-logo-fb {
  display: block !important;
  height: 18px !important;
  margin: 0 !important;
  max-width: 75px !important;
  object-fit: contain !important;
  opacity: 0.9 !important;
  width: auto !important;
}

/* 4. Cards de Avaliações e Carousel */
.depoimentos-trustindex-wrapper .ti-reviews-container {
  margin-top: 0 !important;
  position: relative !important;
  touch-action: pan-y !important;
  width: 100% !important;
}

.depoimentos-trustindex-wrapper .ti-reviews-container-wrapper {
  margin: 0 -8px !important;
  padding-bottom: 8px !important;
  padding-top: 2px !important;
}

.depoimentos-trustindex-wrapper .ti-widget .ti-review-item {
  padding: 0 8px !important;
}

.depoimentos-trustindex-wrapper .ti-widget .ti-review-item > .ti-inner,
.depoimentos-trustindex-wrapper .ti-widget[data-layout-id] .ti-inner,
.depoimentos-trustindex-wrapper .ti-widget.ti-goog .ti-inner {
  background: #f7f4ef !important;
  background-color: #f7f4ef !important;
  background-image: none !important;
  border: 1px solid #ded7cd !important;
  border-radius: 4px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18) !important;
  color: #272421 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  min-height: 230px !important;
  padding: 22px !important;
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease !important;
}

.depoimentos-trustindex-wrapper .ti-widget .ti-inner:hover,
.depoimentos-trustindex-wrapper .ti-widget .ti-review-item > .ti-inner:hover {
  border-color: rgba(151, 112, 67, 0.65) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24) !important;
  transform: translateY(-3px) !important;
}

/* Cabeçalho do Card (Autor, detalhes e avatar) */
.depoimentos-trustindex-wrapper .ti-widget .ti-profile-details,
.depoimentos-trustindex-wrapper .ti-widget .ti-profile-img,
.depoimentos-trustindex-wrapper .ti-widget .ti-review-header {
  color: #272421 !important;
}

.depoimentos-trustindex-wrapper .ti-widget .ti-name,
.depoimentos-trustindex-wrapper .ti-widget .ti-author-name,
.depoimentos-trustindex-wrapper .ti-widget .ti-profile-details .ti-name {
  color: #1d1b19 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.2px !important;
}

/* Data da Avaliação */
.depoimentos-trustindex-wrapper .ti-widget .ti-date,
.depoimentos-trustindex-wrapper .ti-widget .ti-date-text,
.depoimentos-trustindex-wrapper .ti-widget .ti-date-ago {
  color: #6c655d !important;
  font-size: 12px !important;
}

/* Texto da Avaliação */
.depoimentos-trustindex-wrapper .ti-widget .ti-review-text,
.depoimentos-trustindex-wrapper .ti-widget .ti-text,
.depoimentos-trustindex-wrapper .ti-widget .ti-text-container,
.depoimentos-trustindex-wrapper .ti-widget .ti-review-content,
.depoimentos-trustindex-wrapper .ti-widget p {
  color: #403b36 !important;
  font-size: 13.5px !important;
  line-height: 1.65 !important;
}

/* Botão "Ler mais" dentro das avaliações */
.depoimentos-trustindex-wrapper .ti-widget .ti-read-more,
.depoimentos-trustindex-wrapper .ti-widget .ti-read-more a,
.depoimentos-trustindex-wrapper .ti-widget .morelink {
  color: #78562f !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.page-depoimentos .depoimentos-trustindex-wrapper .ti-widget.ti-goog .ti-fade-container,
.page-depoimentos .depoimentos-trustindex-wrapper .ti-widget.ti-goog .ti-fade-container strong,
.page-depoimentos .depoimentos-trustindex-wrapper .ti-widget.ti-goog .ti-fade-container span {
  color: #2c2824 !important;
}

.page-depoimentos .depoimentos-trustindex-wrapper .ti-widget.ti-goog .ti-read-more,
.page-depoimentos .depoimentos-trustindex-wrapper .ti-widget.ti-goog .ti-read-more:hover {
  color: #78562f !important;
}

/* Controles de Navegação (Setas do carrossel Trustindex) */
.depoimentos-trustindex-wrapper .ti-controls {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.depoimentos-trustindex-wrapper .ti-controls .ti-next,
.depoimentos-trustindex-wrapper .ti-controls .ti-prev,
.depoimentos-trustindex-wrapper .ti-next-page,
.depoimentos-trustindex-wrapper .ti-prev-page,
.depoimentos-trustindex-wrapper .ti-control-prev,
.depoimentos-trustindex-wrapper .ti-control-next {
  background: #1e1d1b !important;
  background-color: #1e1d1b !important;
  border: 1px solid #38342f !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
  color: #ffffff !important;
  height: 38px !important;
  outline: none !important;
  transition: all 200ms ease !important;
  width: 38px !important;
}

.depoimentos-trustindex-wrapper .ti-controls .ti-next:hover,
.depoimentos-trustindex-wrapper .ti-controls .ti-prev:hover {
  background: #2a2825 !important;
  background-color: #2a2825 !important;
  border-color: var(--spy-accent) !important;
  transform: scale(1.05);
}

.depoimentos-trustindex-wrapper .ti-controls .ti-next:before,
.depoimentos-trustindex-wrapper .ti-controls .ti-prev:before {
  border-color: #ffffff !important;
}

.depoimentos-trustindex-wrapper .ti-dot {
  background: #3a3733 !important;
}

.depoimentos-trustindex-wrapper .ti-dot.active {
  background: var(--spy-accent) !important;
}

/* Estrelas do Trustindex */
.depoimentos-trustindex-wrapper .ti-star,
.depoimentos-trustindex-wrapper .ti-stars,
.depoimentos-trustindex-wrapper .ti-star.ti-star-full,
.depoimentos-trustindex-wrapper .ti-star.ti-star-100 {
  color: #f5a623 !important;
}

/* ==========================================================================
   5. Seção Casamentos.com.br — Composição Elegante em Painel Dark
   ========================================================================== */

.casamentos-com-br-card {
  background: #141414;
  border: 1px solid #292623;
  border-radius: 4px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  margin-inline: auto;
  max-width: 820px;
  padding: clamp(2rem, 4vw, 3.2rem);
  text-align: center;
}

.casamentos-com-br-card__header .eyebrow {
  color: var(--spy-accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.casamentos-com-br-card__header h2 {
  color: var(--spy-text);
  font-family: var(--spy-serif);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-style: italic;
  font-weight: normal;
  margin: 0 0 8px;
}

.casamentos-com-br-card__header .lead {
  color: var(--spy-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 auto clamp(1.2rem, 2vw, 1.8rem);
  max-width: 560px;
}

/* Widget Oficial de Opiniões Casamentos.com.br — Container e Integração Dark */
.casamentos-official-widget-container {
  margin: 0 auto clamp(1.4rem, 2.2vw, 2rem);
  max-width: 740px;
  width: 100%;
}

#wp-widget-reviews {
  min-height: 48px;
  text-align: left;
}

#wp-widget-preview {
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #292623;
  border-radius: 4px;
  color: #c9c4bc;
  display: inline-flex;
  font-size: 14px;
  gap: 10px;
  justify-content: center;
  padding: 14px 20px;
  width: 100%;
}

#wp-widget-preview a {
  color: var(--spy-soft);
  text-decoration: none;
}

#wp-widget-preview a:hover {
  color: var(--spy-accent);
  text-decoration: underline;
}

/* Estilização dos cards de avaliações injetados pelo script oficial */
#wp-widget-reviews .weddingwireWidget {
  background: #141414 !important;
  border: 1px solid #292623 !important;
  border-radius: 4px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
  color: #f2f0ec !important;
  font-family: var(--spy-sans) !important;
  overflow: hidden;
}

#wp-widget-reviews .weddingwireWidget__header {
  background: #1a1918 !important;
  border-bottom: 1px solid #292623 !important;
  color: #ffffff !important;
  padding: 16px 20px !important;
  text-align: center;
}

#wp-widget-reviews .weddingwireWidget__title {
  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 600 !important;
}

#wp-widget-reviews .weddingwireWidget__rating {
  color: var(--spy-accent) !important;
  font-size: 15px !important;
}

#wp-widget-reviews .weddingWireWidgetReview {
  background: #141414 !important;
  border-bottom: 1px solid #242220 !important;
  color: #d6d1c8 !important;
  padding: 20px !important;
  text-align: left;
}

#wp-widget-reviews .weddingWireWidgetReview:last-of-type {
  border-bottom: none !important;
}

#wp-widget-reviews .weddingWireWidgetReview__title {
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}

/* Correção de recorte dos avatares circulares do widget Casamentos.com.br */
#wp-widget-reviews .weddingWireWidgetReview__header {
  align-items: center !important;
  display: flex !important;
  margin-bottom: 12px !important;
  overflow: visible !important;
}

#wp-widget-reviews .weddingWireWidgetReview__avatar {
  align-items: center !important;
  display: inline-flex !important;
  float: none !important;
  height: 48px !important;
  justify-content: center !important;
  margin: 0 14px 0 0 !important;
  min-height: 48px !important;
  min-width: 48px !important;
  overflow: visible !important;
  padding: 3px !important;
  width: 48px !important;
}

#wp-widget-reviews .weddingWireWidgetReview__avatar .avatar,
#wp-widget-reviews .weddingWireWidgetReview__avatar figure {
  display: block !important;
  height: 100% !important;
  margin: 0 !important;
  overflow: visible !important;
  padding: 0 !important;
  width: 100% !important;
}

#wp-widget-reviews .weddingWireWidgetReview__avatar .avatar-generic,
#wp-widget-reviews .weddingWireWidgetReview__avatar .avatar-thumb,
#wp-widget-reviews .weddingWireWidgetReview__avatar img {
  border: 2px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 50% !important;
  box-sizing: border-box !important;
  display: block !important;
  height: 42px !important;
  margin: 0 !important;
  max-height: 42px !important;
  max-width: 42px !important;
  object-fit: cover !important;
  width: 42px !important;
}

#wp-widget-reviews .weddingWireWidgetReview__user {
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  margin-left: 0 !important;
}

#wp-widget-reviews .weddingWireWidgetReview__timestamp {
  color: #888277 !important;
  font-size: 12.5px !important;
}

#wp-widget-reviews .weddingWireWidgetReview__post {
  color: #d6d1c8 !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}

#wp-widget-reviews .weddingWireWidgetReview__post a {
  color: var(--spy-soft) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

#wp-widget-reviews .weddingWireWidgetReview__post a:hover {
  color: var(--spy-accent) !important;
  text-decoration: underline !important;
}

#wp-widget-reviews .weddingwireWidget__footer {
  background: #161514 !important;
  border-top: 1px solid #242220 !important;
  padding: 14px 20px !important;
  text-align: center;
}

#wp-widget-reviews .weddingwireWidget__btnOutline {
  background: #201e1c !important;
  border: 1px solid #38342f !important;
  border-radius: 2px !important;
  color: #ffffff !important;
  display: inline-block !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  margin: 0 auto !important;
  padding: 8px 18px !important;
  text-decoration: none !important;
  transition: all 200ms ease !important;
}

#wp-widget-reviews .weddingwireWidget__btnOutline:hover {
  background: rgba(185, 154, 115, 0.16) !important;
  border-color: var(--spy-accent) !important;
  color: #ffffff !important;
}

.casamentos-opinioes-btn {
  align-items: center;
  background: #1a1918;
  border: 1px solid var(--spy-line);
  border-radius: 2px;
  color: #ffffff;
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  gap: 8px;
  letter-spacing: 2px;
  padding: 11px 26px;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: all 220ms ease;
}

.casamentos-opinioes-btn:hover {
  background: rgba(185, 154, 115, 0.16);
  border-color: var(--spy-accent);
  color: #ffffff;
  transform: translateY(-2px);
}

.casamentos-opinioes-btn .arrow {
  transition: transform 200ms ease;
}

.casamentos-opinioes-btn:hover .arrow {
  transform: translateX(3px);
}

/* ==========================================================================
   6. Seção Selos Casamentos Awards — Grid Responsivo Centrado
   ========================================================================== */

.awards-grid {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
  grid-template-columns: repeat(4, 1fr);
  margin-inline: auto;
  margin-top: clamp(1.2rem, 2vw, 1.8rem);
  max-width: 980px;
}

.award-card {
  align-items: center;
  background: #141414;
  border: 1px solid #292623;
  border-radius: 4px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 14px 18px;
  text-align: center;
  text-decoration: none !important;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), border-color 260ms ease, box-shadow 260ms ease;
}

.award-card:hover {
  border-color: rgba(185, 154, 115, 0.45);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  transform: translateY(-4px);
}

.award-card__media {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
  min-height: 140px;
  width: 100%;
}

.award-card__media img {
  border-radius: 4px;
  display: block;
  height: auto;
  max-height: 140px;
  max-width: 140px;
  object-fit: contain;
  transition: transform 300ms ease;
  width: auto;
}

.award-card:hover .award-card__media img {
  transform: scale(1.04);
}

.award-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.award-year {
  color: var(--spy-accent);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
}

.award-label {
  color: var(--spy-muted);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Responsividade da Página Depoimentos */
@media (max-width: 992px) {
  .awards-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 540px;
  }
}

@media (max-width: 768px) {
  .depoimentos-hero {
    padding: clamp(1.8rem, 4vw, 2.4rem) 4% clamp(1.4rem, 2.5vw, 1.8rem);
  }

  .depoimentos-section {
    padding: 0 4% clamp(2.2rem, 4vw, 3.2rem);
    margin-bottom: clamp(2.2rem, 4vw, 3.2rem);
  }

  .depoimentos-trustindex-wrapper .ti-fade-container {
    border-radius: 20px !important;
    gap: 8px 14px !important;
    padding: 8px 16px !important;
  }

  .depoimentos-trustindex-wrapper strong.ti-rating-large {
    font-size: 12px !important;
  }

  .depoimentos-trustindex-wrapper .ti-stars.star-lg .ti-star {
    height: 16px !important;
    width: 16px !important;
  }

  .depoimentos-trustindex-wrapper .ti-rating-text .nowrap {
    font-size: 12.5px !important;
  }

  .depoimentos-trustindex-wrapper .ti-large-logo img,
  .depoimentos-trustindex-wrapper .ti-large-logo .ti-logo-fb {
    height: 16px !important;
    max-width: 65px !important;
  }

  .casamentos-com-br-card {
    padding: 1.8rem 1.2rem;
  }

  .depoimentos-section--casamentos {
    padding-inline: 0;
  }

  .depoimentos-section--casamentos .casamentos-com-br-card {
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .awards-grid {
    gap: 12px;
    grid-template-columns: repeat(2, 1fr);
  }

  .award-card {
    padding: 16px 10px 14px;
  }

  .award-card__media {
    min-height: 105px;
  }

  .award-card__media img {
    max-height: 105px;
    max-width: 105px;
  }

  .award-year {
    font-size: 13px;
  }

  .award-label {
    font-size: 9.5px;
  }
}

/* ==========================================================================
   PÁGINA INDIVIDUAL DO TRABALHO (single-spy_trabalho)
   Composição editorial padronizada, consistente e elegante para todas as categorias.
   ========================================================================== */

.single-work__article {
  width: 100%;
}

/* Header Editorial do Trabalho: elegante, centralizado e consistente */
.single-work__header {
  margin: 0 auto;
  max-width: 100%;
  padding-top: clamp(2rem, 3.5vw, 3.25rem);
  padding-bottom: clamp(1.25rem, 2vw, 1.85rem);
  padding-inline: clamp(16px, 4vw, 32px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.single-work__header-inner {
  width: 100%;
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Categoria: pequena, uppercase, tracking, tom dourado */
.single-work__category,
.single-work__header .eyebrow {
  color: var(--spy-accent, #c5a059);
  font-family: var(--spy-sans, "Montserrat", sans-serif);
  font-size: clamp(0.72rem, 0.85vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 clamp(0.6rem, 1vw, 0.9rem);
  line-height: 1.2;
  text-align: center;
}

/* Título: serif/itálico, responsivo, centralizado, largura máxima controlada */
.single-work__title,
.single-work__header h1 {
  color: var(--spy-text, #f2f0ec);
  font-family: var(--spy-serif, Georgia, serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.95rem, 3.6vw, 3.25rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.015em !important;
  margin: 0 0 clamp(0.75rem, 1.3vw, 1.15rem) !important;
  max-width: 820px;
  width: 100%;
  text-align: center;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Descrição Curta: mesma largura, mesma tipografia, alinhada ao centro */
.single-work__lead {
  color: var(--spy-soft, #ded8cd);
  font-family: var(--spy-sans, "Montserrat", sans-serif);
  font-size: clamp(0.96rem, 1.15vw, 1.08rem);
  line-height: 1.68;
  margin: 0 auto clamp(1.15rem, 1.8vw, 1.55rem);
  max-width: 680px;
  width: 100%;
  text-align: center;
}

/* Descrição Completa (exibida apenas quando possui conteúdo real distinto) */
.single-work__content {
  width: 100%;
  margin: clamp(0.75rem, 1.5vw, 1.25rem) auto clamp(1.5rem, 2.5vw, 2.25rem);
  padding-inline: clamp(16px, 4vw, 32px);
}

.single-work__content-inner {
  max-width: 780px;
  margin-inline: auto;
  color: #d1cbc1;
  font-family: var(--spy-sans, "Montserrat", sans-serif);
  font-size: clamp(0.98rem, 1.12vw, 1.06rem);
  line-height: 1.8;
  text-align: center;
}

.single-work__content-inner > :first-child {
  margin-top: 0;
}

.single-work__content-inner > :last-child {
  margin-bottom: 0;
}

.single-work__content-inner p {
  margin: 0 0 1.25rem;
}


/* ==========================================================================
   Galeria Editorial Responsiva (Mosaico Fotográfico de Alto Padrão)
   ========================================================================== */
.single-work__gallery {
  column-count: 3;
  column-gap: clamp(14px, 1.8vw, 24px);
  margin: clamp(0.75rem, 1.5vw, 1.5rem) auto 0;
  max-width: 1320px;
  padding-inline: clamp(16px, 4vw, 32px);
  padding-bottom: clamp(2rem, 3.5vw, 3.5rem);
}

@media (max-width: 1024px) {
  .single-work__gallery {
    column-count: 2;
    column-gap: clamp(12px, 1.5vw, 18px);
  }
}

@media (max-width: 640px) {
  .single-work__gallery {
    column-count: 1;
    column-gap: 0;
  }
}


/* Pagination */
.pagination {
  margin-top: clamp(3rem, 5vw, 4.5rem);
  text-align: center;
}

.nav-links {
  display: inline-flex;
  gap: 8px;
}

.page-numbers {
  border: 1px solid var(--spy-line);
  color: var(--spy-text);
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  transition: all 200ms ease;
}

.page-numbers.current,
.page-numbers:hover {
  background: var(--spy-accent);
  border-color: var(--spy-accent);
  color: #fff;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  :root {
    --spy-header-height: 88px;
  }

  .site-header__inner {
    display: flex;
    height: var(--spy-header-height);
    justify-content: center;
    padding: 0 5%;
    position: relative;
  }

  .site-nav--left,
  .site-nav--right {
    display: none;
  }

  .site-brand {
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: clamp(150px, 42vw, 190px);
    z-index: 2;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
    position: relative;
    z-index: 3;
  }

  .mobile-navigation {
    align-items: stretch;
    -webkit-backdrop-filter: blur(18px) saturate(115%);
    backdrop-filter: blur(18px) saturate(115%);
    background: linear-gradient(145deg, rgba(22, 18, 15, 0.94), rgba(11, 11, 11, 0.9));
    border: 1px solid rgba(218, 182, 125, 0.78);
    border-radius: clamp(18px, 5vw, 28px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.64), inset 0 0 42px rgba(185, 154, 115, 0.05);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 24px);
    height: calc(100dvh - max(24px, env(safe-area-inset-top) + env(safe-area-inset-bottom) + 18px));
    justify-content: flex-start;
    inset: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - max(24px, env(safe-area-inset-top) + env(safe-area-inset-bottom) + 18px));
    opacity: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: clamp(1.25rem, 4.5vh, 2.25rem) clamp(1.25rem, 7vw, 2.75rem) clamp(1.35rem, 4vh, 2.25rem);
    pointer-events: none;
    position: fixed;
    transform: translateY(-0.75rem) scale(0.985);
    transition: opacity 240ms ease, transform 240ms ease;
    -webkit-overflow-scrolling: touch;
    z-index: 1;
  }

  .site-header.menu-is-open::after {
    background: rgba(0, 0, 0, 0.62);
    content: "";
    inset: 0;
    pointer-events: none;
    position: fixed;
    z-index: 0;
  }

  .menu-is-open .site-brand {
    opacity: 0;
    pointer-events: none;
  }

  .menu-is-open .mobile-navigation {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .mobile-navigation__brand {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    justify-content: center;
    margin: 0 auto clamp(0.65rem, 2vh, 1rem);
    min-height: 48px;
    width: clamp(150px, 46vw, 205px);
  }

  .mobile-navigation__brand img {
    filter: brightness(0) invert(1);
    height: auto;
    max-height: 55px;
    object-fit: contain;
    width: 100%;
  }

  .mobile-navigation__ornament {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 0.8rem;
    margin: 0 auto clamp(0.35rem, 1.3vh, 0.7rem);
    max-width: 300px;
    width: 86%;
  }

  .mobile-navigation__ornament::before,
  .mobile-navigation__ornament::after {
    background: linear-gradient(90deg, transparent, rgba(218, 182, 125, 0.66), transparent);
    content: "";
    height: 1px;
    width: 50%;
  }

  .mobile-navigation__ornament::after {
    box-shadow: -10px 0 0 -8px var(--spy-accent);
  }

  .mobile-navigation__ornament--footer {
    margin-bottom: 0;
    margin-top: clamp(0.8rem, 2vh, 1.25rem);
  }

  .menu-is-open .menu-toggle__lines span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-is-open .menu-toggle__lines span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .mobile-menu {
    display: grid;
    gap: 0;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    width: min(100%, 430px);
  }

  .mobile-menu__item > a,
  .mobile-menu__parent > a,
  .mobile-menu > .menu-item > a {
    border-bottom: 1px solid rgba(218, 182, 125, 0.23);
    color: #f4e8d1;
    display: block;
    font-family: var(--spy-serif);
    font-size: clamp(1.55rem, 6.2vw, 2.15rem);
    font-style: italic;
    line-height: 1.25;
    padding: clamp(0.55rem, 1.8vh, 0.85rem) 0;
    text-align: center;
    transition: color 180ms ease, background 180ms ease;
  }

  .mobile-menu__item > a:hover,
  .mobile-menu__item > a:focus-visible,
  .mobile-menu__parent > a:hover,
  .mobile-menu__parent > a:focus-visible {
    color: #fff;
  }

  .mobile-menu__parent {
    align-items: center;
    border-bottom: 1px solid rgba(218, 182, 125, 0.23);
    display: flex;
    justify-content: center;
    position: relative;
  }

  .mobile-menu__parent a {
    border-bottom: 0;
    flex: 1;
  }

  .mobile-submenu-toggle {
    background: transparent;
    border: 0;
    color: var(--spy-accent);
    cursor: pointer;
    font-size: 1.2rem;
    inset-inline-end: 0;
    min-height: 44px;
    min-width: 44px;
    padding: 0.5rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 200ms ease;
  }

  .mobile-menu__item--has-children.is-open .mobile-submenu-toggle {
    transform: translateY(-50%) rotate(180deg);
  }

  .mobile-submenu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0.4rem 0 0.7rem;
  }

  .mobile-menu__item--has-children.is-open .mobile-submenu {
    display: block;
  }

  .mobile-submenu a {
    border-bottom: 0;
    color: var(--spy-muted);
    font-family: var(--spy-sans);
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 0.5rem 0.35rem;
    text-align: center;
    text-transform: uppercase;
  }

  .mobile-submenu a:hover {
    color: #fff;
  }

  .mobile-navigation__contact {
    align-items: center;
    background: rgba(185, 154, 115, 0.06);
    border: 1px solid rgba(224, 178, 101, 0.94);
    border-radius: 999px;
    color: #f2d7aa;
    display: grid;
    flex: 0 0 auto;
    font-family: var(--spy-serif);
    font-size: clamp(1.3rem, 5.4vw, 1.75rem);
    font-style: italic;
    grid-template-columns: 1fr auto 1fr;
    margin: clamp(0.9rem, 2.4vh, 1.4rem) auto 0;
    max-width: 360px;
    min-height: 52px;
    padding: 0.55rem 1.1rem;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
    width: min(100%, 360px);
  }

  .mobile-navigation__contact svg {
    justify-self: end;
    margin-right: 0.75rem;
  }

  .mobile-navigation__contact span:not(.mobile-navigation__contact-arrow) {
    justify-self: center;
  }

  .mobile-navigation__contact-arrow {
    font-family: var(--spy-sans);
    font-style: normal;
    justify-self: end;
  }

  .mobile-navigation__contact:hover,
  .mobile-navigation__contact:focus-visible {
    background: rgba(185, 154, 115, 0.16);
    border-color: #f1ca88;
    color: #fff;
  }

  .hero h1 {
    font-size: 50px;
  }

  .testimonials,
  .testimonials:has(> .quote:first-child:nth-last-child(2)),
  .testimonials:has(> .quote:only-child),
  .testimonials:has(> .quote:first-child:last-child) {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .photo.big {
    grid-row: span 1;
  }

  .photo.wide {
    grid-column: span 2;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .about__media {
    min-height: 480px;
    max-height: 520px;
  }

  .about__copy {
    padding: 50px 7%;
  }
}

@media (max-width: 620px) {
  :root {
    --spy-header-height: 78px;
  }

  .site-header__inner {
    height: var(--spy-header-height);
  }

  .site-brand {
    width: 160px;
  }

  .menu-toggle__label {
    display: none;
  }

  .hero {
    height: calc(100vh - var(--spy-header-height));
    height: calc(100dvh - var(--spy-header-height));
    min-height: 480px;
  }

  .hero__content {
    bottom: clamp(1.5rem, 5vh, 3.5rem);
    left: 7%;
    right: 7%;
  }

  .hero h1 {
    font-size: 39px;
  }

  .section {
    padding: 72px 6%;
  }

  h2 {
    font-size: 34px;
  }

  .works-head {
    display: block;
  }

  .works-head p {
    margin-top: 12px;
  }

  .gallery {
    grid-auto-rows: 390px;
    grid-template-columns: 1fr;
  }

  .photo.wide {
    grid-column: auto;
  }

  .proposal h2 {
    font-size: 36px;
  }

  .social-bar {
    padding: 24px 5%;
    text-align: center;
  }

  .social-bar__links {
    gap: 12px 18px;
  }

  .social-bar a {
    flex: 0 1 auto;
    min-height: 32px;
    min-width: 120px;
    padding: 4px 8px;
  }

  .site-footer {
    display: block;
    line-height: 2.2;
    text-align: center;
  }

  .site-footer__brand {
    margin: 0 auto 15px;
  }

  .site-footer__logo {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .site-footer__bottom {
    justify-content: center;
    margin-top: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Dynamic work archives and single views. */
.works-shell {
  margin-inline: auto;
  max-width: var(--spy-shell);
}

.works-hero {
  background: var(--spy-bg-soft);
  border-bottom: 1px solid var(--spy-line);
  padding: clamp(5rem, 9vw, 9rem) 0 clamp(3.5rem, 6vw, 6rem);
}

.works-hero h1 {
  font-family: var(--spy-serif);
  font-size: clamp(3.2rem, 8vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.92;
  margin: 0;
}

.works-hero > .works-shell > p:last-child {
  color: var(--spy-muted);
  margin: 2rem 0 0;
  max-width: 630px;
}

.works-content {
  padding-block: clamp(3rem, 6vw, 6rem) clamp(6rem, 10vw, 10rem);
}

.work-filters {
  border-bottom: 1px solid var(--spy-line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.work-filters a {
  color: var(--spy-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 0.9rem 0;
  position: relative;
  text-transform: uppercase;
}

.work-filters a::after {
  background: var(--spy-accent);
  bottom: -1px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
  width: 100%;
}

.work-filters a:hover,
.work-filters a:focus-visible,
.work-filters a.is-active {
  color: var(--spy-text);
}

.work-filters a:hover::after,
.work-filters a:focus-visible::after,
.work-filters a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.works-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem) clamp(1.5rem, 3vw, 3rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.work-card__media {
  aspect-ratio: 4 / 3;
  background: var(--spy-panel);
  display: block;
  overflow: hidden;
}

.work-card__media img,
.work-card__placeholder {
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
  width: 100%;
}

.work-card__placeholder {
  background: linear-gradient(135deg, var(--spy-panel), #25231f);
  display: block;
}

.work-card:hover .work-card__media img {
  transform: scale(1.025);
}

.work-card__body {
  padding-top: 1.5rem;
}

.work-card__category {
  color: var(--spy-accent);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 0 0 0.65rem;
  text-transform: uppercase;
}

.work-card h2 {
  font-family: var(--spy-serif);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1.05;
  margin: 0;
}

.work-card__body > p:not(.work-card__category) {
  color: var(--spy-muted);
  margin: 1rem 0;
}

.work-card__link {
  border-bottom: 1px solid var(--spy-accent);
  display: inline-block;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-top: 0.5rem;
  padding-bottom: 0.25rem;
  text-transform: uppercase;
}

.works-empty {
  border: 1px solid var(--spy-line);
  padding: clamp(2rem, 5vw, 5rem);
}

.works-empty h2 {
  font-family: var(--spy-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  margin: 0;
}

.works-empty p {
  color: var(--spy-muted);
  margin-bottom: 0;
}

.navigation.pagination {
  border-top: 1px solid var(--spy-line);
  margin-top: 5rem;
  padding-top: 2rem;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links .page-numbers {
  color: var(--spy-muted);
}

.nav-links .current,
.nav-links a:hover {
  color: var(--spy-text);
}

.single-work__back {
  max-width: 1320px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-inline: clamp(16px, 4vw, 32px);
  padding-block: clamp(1.75rem, 3vw, 2.75rem) clamp(2.5rem, 4.5vw, 4.5rem);
  text-align: center;
}

.single-work__back a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--spy-muted, #a8a39b);
  font-family: var(--spy-sans, "Montserrat", sans-serif);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 200ms ease, transform 200ms ease;
}

.single-work__back a:hover {
  color: var(--spy-accent, #c5a059);
  transform: translateX(-3px);
}


@media (max-width: 720px) {
  .works-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Portfolio Showcase & SPY Photo Core Integration
   ========================================================================== */

/* Neutralização de cabeçalho, rodapé e botões legados do Elementor */
.elementor-element-a6b6e04,
.elementor-element-a70ae05,
.elementor-element-1fbef72,
.elementor-element-98bb582,
.elementor-element-c3f5e54,
.elementor-element-8198c5e,
.elementor-widget-nav-menu,
.whatsapp-float {
  display: none !important;
}

/* Shell do Portfólio */
.page-portfolio-shell {
  padding-bottom: clamp(3rem, 6vw, 6rem);
}

.portfolio-hero {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
}

.portfolio-hero h1 {
  font-family: var(--spy-font-serif, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: #f7f5f1;
  margin: 0.5rem auto 1rem;
  max-width: 800px;
}

.portfolio-hero .lead {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  line-height: 1.6;
  color: #a39e95;
  max-width: 680px;
  margin: 0 auto;
}

/* Barra de Filtros */
.portfolio-filter-nav {
  margin: 1.5rem auto 2.5rem;
}

.portfolio-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  align-items: center;
}

.portfolio-filter-btn {
  background: #141414;
  border: 1px solid #282522;
  border-radius: 40px;
  padding: 0.55rem 1.25rem;
  color: #b5b0a6;
  font-family: var(--spy-font-sans, "Montserrat", sans-serif);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.portfolio-filter-btn:hover {
  background: #1e1d1a;
  border-color: var(--spy-accent, #c5a059);
  color: #fff;
  transform: translateY(-2px);
}

.portfolio-filter-btn.is-active {
  background: var(--spy-accent, #c5a059);
  border-color: var(--spy-accent, #c5a059);
  color: #0d0d0c;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(197, 160, 89, 0.3);
}

.portfolio-filter-btn .filter-count {
  font-size: 0.8em;
  opacity: 0.85;
}

/* Subcabeçalho de status da área filtrada */
.portfolio-active-filter-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-bottom: 0.85rem;
  margin-bottom: 2rem;
}

.portfolio-active-filter-title {
  font-family: var(--spy-font-serif, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  font-weight: 400;
  color: #f7f5f1;
  margin: 0;
}

.portfolio-active-filter-count {
  font-size: 0.88rem;
  color: #8c867c;
  margin: 0;
}

/* Mosaico Responsivo de Trabalhos */
.portfolio-mosaic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: clamp(1.5rem, 2.5vw, 2.25rem);
  margin-bottom: 4rem;
}

.portfolio-mosaic-card {
  background: #111111;
  border: 1px solid #242220;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), border-color 300ms ease, box-shadow 300ms ease;
}

.portfolio-mosaic-card:hover {
  transform: translateY(-5px);
  border-color: rgba(197, 160, 89, 0.6);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
}

.portfolio-mosaic-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #161616;
}

.portfolio-mosaic-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 550ms cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-mosaic-card:hover .portfolio-mosaic-card__img {
  transform: scale(1.05);
}

.portfolio-mosaic-card__media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
}

.portfolio-mosaic-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 300ms ease;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.portfolio-mosaic-card:hover .portfolio-mosaic-card__overlay {
  opacity: 1;
}

.portfolio-mosaic-card__overlay-action {
  background: rgba(197, 160, 89, 0.9);
  color: #0c0b0a;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.95rem;
  border-radius: 2px;
  text-transform: uppercase;
}

.portfolio-mosaic-card__content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-mosaic-card__category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--spy-accent, #c5a059);
  margin: 0 0 0.5rem;
}

.portfolio-mosaic-card__title {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  line-height: 1.35;
}

.portfolio-mosaic-card__title a {
  color: #f7f5f1;
  text-decoration: none;
  display: block;
}

.portfolio-mosaic-card__featured-badge {
  display: block;
  font-family: var(--spy-font-serif, "Cormorant Garamond", Georgia, serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.15rem;
}

.portfolio-mosaic-card__title-text {
  font-size: 0.95rem;
  color: #bbb5ab;
  font-weight: 400;
}

.portfolio-mosaic-card__desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #8c867c;
  margin: 0 0 1.25rem;
  flex-grow: 1;
}

.portfolio-mosaic-card__footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.9rem;
  margin-top: auto;
}

.portfolio-mosaic-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--spy-accent, #c5a059);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: gap 200ms ease, color 200ms ease;
}

.portfolio-mosaic-card__link:hover {
  gap: 0.75rem;
  color: #ebd7a4;
}

/* Estado Vazio */
.portfolio-empty-state {
  margin: 2rem 0 4rem;
  padding: 4rem 1.5rem;
  background: #121212;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  text-align: center;
}

.portfolio-empty-state svg {
  stroke: var(--spy-accent, #c5a059);
  margin-bottom: 1rem;
}

.portfolio-empty-state h3 {
  font-size: 1.25rem;
  color: #f7f5f1;
  margin-bottom: 0.5rem;
}

.portfolio-empty-state p {
  color: #8c867c;
  margin-bottom: 1.5rem;
}

.portfolio-reset-btn {
  background: var(--spy-accent, #c5a059);
  color: #0c0b0a;
  border: none;
  border-radius: 4px;
  padding: 0.65rem 1.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 200ms ease;
}

.portfolio-reset-btn:hover {
  background: #dbb76f;
}

/* Seção de Teasers & Filmes */
.portfolio-teasers-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: clamp(3rem, 6vw, 5rem);
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.portfolio-teasers-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.portfolio-teasers-header h2 {
  font-family: var(--spy-font-serif, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #f7f5f1;
  margin: 0.35rem 0 0.75rem;
}

.portfolio-teasers-header .lead {
  color: #9c978f;
  max-width: 680px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.6;
}

.portfolio-teasers-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.teaser-tab-btn {
  background: #141414;
  border: 1px solid #292623;
  color: #aaa49a;
  padding: 0.7rem 1.5rem;
  border-radius: 4px;
  font-family: var(--spy-font-sans, "Montserrat", sans-serif);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 250ms ease;
}

.teaser-tab-btn:hover {
  background: #1c1a18;
  border-color: var(--spy-accent, #c5a059);
  color: #fff;
}

.teaser-tab-btn.is-active {
  background: #1c1a18;
  border-color: var(--spy-accent, #c5a059);
  color: var(--spy-accent, #c5a059);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.teaser-tab-count {
  font-size: 0.88em;
  opacity: 0.8;
  margin-left: 0.25rem;
  font-weight: 500;
}

.portfolio-teasers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: clamp(1.25rem, 2vw, 1.85rem);
}

.portfolio-teaser-card {
  background: #121212;
  border: 1px solid #242220;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 250ms ease, border-color 250ms ease;
}

.portfolio-teaser-card:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 160, 89, 0.5);
}

.portfolio-teaser-card__media {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
}

.portfolio-teaser-card__media iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.portfolio-teaser-card__body {
  padding: 1rem 1.25rem;
}

.portfolio-teaser-card__title {
  font-size: 0.95rem;
  font-weight: 500;
  color: #dedad4;
  margin: 0;
  line-height: 1.4;
}

/* Compatibilidade dark na página Sobre */
.page-sobre .page-content {
  color: #d6d1c8;
}

.page-sobre .page-content h2,
.page-sobre .page-content h3 {
  color: #f7f5f1 !important;
}

.page-sobre .page-content p {
  color: #b3ada3;
  line-height: 1.7;
}

.page-sobre .elementor-container {
  background: transparent !important;
}

.page-sobre .elementor-element-df06705 {
  background: #141414 !important;
  border: 1px solid #262421;
  border-radius: 8px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.page-sobre .elementor-element-7e4ff6e {
  background: #121212 !important;
  border: 1px solid #222;
  border-radius: 8px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

/* Sobre: leitura editorial em parágrafos e CTAs integrados ao tema. */
.page-sobre .spy-about-bio {
  color: #d6d1c8;
  font-family: "Montserrat", var(--spy-sans);
  font-size: 16px;
  line-height: 1.72;
}

.page-sobre .spy-about-bio p {
  color: #d6d1c8;
  margin: 0 0 1rem;
  text-align: justify;
  text-wrap: pretty;
}

.spy-about-cta,
.page-sobre .spy-about-proposal a {
  align-items: center;
  background: #1a1917;
  border: 1px solid #b99a73;
  border-radius: 3px;
  color: #f7f3ed !important;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: .6rem;
  letter-spacing: 1.4px;
  margin-top: .65rem;
  padding: .78rem 1.35rem;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.spy-about-cta:hover,
.spy-about-cta:focus-visible,
.page-sobre .spy-about-proposal a:hover,
.page-sobre .spy-about-proposal a:focus-visible {
  background: #b99a73;
  color: #111 !important;
  transform: translateY(-1px);
}

.page-sobre .spy-about-proposal {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.page-sobre .spy-about-proposal ul,
.page-sobre .spy-about-proposal li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-bar a {
  align-items: center;
  display: inline-flex;
  gap: .4rem;
}

.social-bar .dashicons {
  font-size: 16px;
  height: 16px;
  width: 16px;
}

@media (max-width: 768px) {
  .home .about__copy p,
  .page-sobre .spy-about-bio p,
  .page-sobre .page-content .elementor-widget-text-editor p {
    -webkit-hyphens: auto;
    hyphens: auto;
    text-align: justify;
    text-justify: inter-word;
    text-wrap: pretty;
  }

  .page-sobre .page-header {
    padding-block: clamp(2rem, 8vw, 2.75rem) clamp(1.25rem, 5vw, 1.75rem);
    text-align: center;
  }

  .page-sobre .page-content {
    padding: clamp(1.25rem, 5vw, 1.75rem) 0 clamp(2.5rem, 8vw, 3.5rem);
  }

  .page-sobre .elementor-element-df06705,
  .page-sobre .elementor-element-7e4ff6e {
    padding: clamp(0.75rem, 3.2vw, 1rem);
  }

  .page-sobre .elementor-element-df06705 > .e-con-inner,
  .page-sobre .elementor-element-7e4ff6e > .e-con-inner {
    gap: clamp(0.9rem, 4vw, 1.3rem);
    padding: 0;
  }

  .page-sobre .elementor-element-602ef32,
  .page-sobre .elementor-element-fd4b376 {
    gap: clamp(0.65rem, 3vw, 1rem);
    padding: 0;
    width: 100%;
  }

  .page-sobre .elementor-element-314d119 img {
    width: 100%;
  }

  .page-sobre .page-content h1,
  .page-sobre .page-content h2,
  .page-sobre .page-content h3,
  .page-sobre .elementor-widget-heading .elementor-heading-title {
    text-align: center;
    text-wrap: balance;
  }

  .page-sobre .elementor-element-2569f66 .elementor-spacer-inner {
    height: clamp(0.75rem, 4vw, 1.5rem);
  }
  .portfolio-mosaic-grid,
  .portfolio-teasers-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-filter-pills {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .portfolio-filter-btn {
    flex-shrink: 0;
  }

  .portfolio-teasers-tabs {
    flex-direction: column;
  }
}

/* ==========================================================================
   ESTATÍSTICAS DE TRABALHOS (VISUALIZAÇÕES E FAVORITOS)
   ========================================================================== */

/* Badges estatísticos nos cards (Home, Portfólio, Arquivos) */
.work-stats-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: #8c867c;
  user-select: none;
}

.work-stats-badge .stat-item {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  transition: color 200ms ease;
}

.work-stats-badge .stat-item svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.work-stats-badge .stat-item--views {
  color: #948e84;
}

.work-stats-badge .stat-item--views svg {
  stroke: currentColor;
}

.work-stats-badge .stat-item--favorites {
  color: #c5a059;
}

.work-stats-badge .stat-item--favorites svg {
  color: #c5a059;
  fill: #c5a059;
}

.work-stats-badge .stat-count {
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Ajuste no rodapé do mosaico do Portfólio */
.portfolio-mosaic-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.portfolio-mosaic-card__footer .work-stats-badge {
  margin-left: auto;
}

/* Ajuste no card de arquivo */
.work-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Ajuste na Home */
.work-stats-badge--home {
  margin-top: 0.55rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #b5b0a6;
}

/* Metadados e stats na página individual do trabalho (single-spy_trabalho) */
.single-work__meta-stats {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 auto;
  pointer-events: none;
}

.single-work__stat {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-family: var(--spy-sans, "Montserrat", sans-serif);
  background: #141414;
  border: 1px solid #282522;
  border-radius: 30px;
  padding: 0.35rem 0.95rem;
  color: #a8a298;
  user-select: none;
}

.single-work__stat .stat-value {
  font-weight: 700;
  color: #f7f5f1;
}

.single-work__stat .stat-label {
  font-size: 0.8em;
  opacity: 0.85;
}

.single-work__stat--views svg {
  stroke: currentColor;
  color: #8c867c;
}

.single-work__stat--favorites {
  border-color: rgba(197, 160, 89, 0.3);
}

.single-work__stat--favorites svg {
  color: #c5a059;
  fill: #c5a059;
}

/* Galeria com botões de favoritar por fotografia e ritmo editorial */
.single-work__gallery-item {
  break-inside: avoid;
  page-break-inside: avoid;
  margin: 0 0 clamp(14px, 1.8vw, 24px);
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #121212;
  transform: translateZ(0);
}

/* Destaque editorial para fotografias horizontais de impacto */
.single-work__gallery-item.gallery-item--featured {
  column-span: all;
  margin-top: clamp(20px, 3.2vw, 40px);
  margin-bottom: clamp(20px, 3.2vw, 40px);
}

.single-work__gallery-item.gallery-item--featured .single-work__gallery-img {
  max-height: 82vh;
  object-fit: cover;
  margin: 0 auto;
}

.single-work__gallery-media {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  cursor: pointer;
  overflow: hidden;
  outline: none;
}

.single-work__gallery-media:focus-visible {
  outline: 2px solid var(--spy-accent, #c5a059);
  outline-offset: 2px;
}

/* Preservação das proporções naturais das fotos (sem deformação ou cortes abruptos) */
.single-work__gallery-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  vertical-align: middle;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1), filter 350ms ease;
}

.single-work__gallery-item:hover .single-work__gallery-img,
.single-work__gallery-item:focus-within .single-work__gallery-img {
  transform: scale(1.025);
}

/* Gradiente sutil inferior para garantir contraste dos botões de ação */
.single-work__gallery-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 90px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.22) 60%, transparent 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
  z-index: 5;
}

/* Ícone discreto de ampliação fotográfica */
.gallery-zoom-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 6;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(14, 14, 14, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f0ebe1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.85);
  transition: all 260ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Barra de ações sobre a fotografia (Facebook + Favorito) */
.photo-actions-bar {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Comportamento Desktop: ações discretas no hover */
@media (hover: hover) and (pointer: fine) {
  .photo-actions-bar {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 280ms ease, transform 280ms ease;
    pointer-events: none;
  }

  .single-work__gallery-item:hover .photo-actions-bar,
  .single-work__gallery-item:focus-within .photo-actions-bar {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .single-work__gallery-item:hover .single-work__gallery-media::after,
  .single-work__gallery-item:focus-within .single-work__gallery-media::after {
    opacity: 1;
  }

  .single-work__gallery-item:hover .gallery-zoom-badge,
  .single-work__gallery-item:focus-within .gallery-zoom-badge {
    opacity: 1;
    transform: scale(1);
  }
}

/* Comportamento Mobile/Touch: botões sempre acessíveis e compactos */
@media (hover: none), (pointer: coarse), (max-width: 768px) {
  .single-work__gallery-media::after {
    opacity: 0.85;
  }

  .photo-actions-bar {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    bottom: 10px;
    right: 10px;
    gap: 0.4rem;
  }

  .gallery-zoom-badge {
    display: none;
  }
}

/* Botões de ação gerais da fotografia */
.photo-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 14, 14, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  color: #e5e0d8;
  font-family: var(--spy-font-sans, "Montserrat", sans-serif);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
  transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  text-decoration: none;
  line-height: 1;
}

/* Botão específico do Facebook */
.photo-fb-btn {
  width: 34px;
  height: 34px;
  padding: 0;
  color: #d1ccc4;
}

.photo-fb-btn:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #ffffff;
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 8px 18px rgba(24, 119, 242, 0.35);
}

.photo-fb-btn:focus-visible {
  outline: 2px solid #1877f2;
  outline-offset: 2px;
}

.photo-fb-btn .fb-svg {
  display: block;
}

/* Botão específico de Favoritar */
.photo-fav-btn {
  gap: 0.45rem;
  height: 34px;
  padding: 0 0.85rem;
}

.photo-fav-btn:hover {
  background: rgba(22, 22, 22, 0.95);
  border-color: var(--spy-accent, #c5a059);
  color: #ffffff;
  transform: translateY(-2px) scale(1.04);
}

.photo-fav-btn:focus-visible {
  outline: 2px solid var(--spy-accent, #c5a059);
  outline-offset: 2px;
}

.photo-action-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.photo-fav-btn .heart-svg--filled {
  display: none;
  color: #e0474e;
  fill: #e0474e;
}

.photo-fav-btn .heart-svg--outline {
  display: inline-block;
  color: #d1ccc4;
  transition: transform 200ms ease;
}

.photo-fav-btn:hover .heart-svg--outline {
  color: #e0474e;
}

.photo-fav-btn.is-favorited {
  background: rgba(26, 20, 20, 0.92);
  border-color: rgba(224, 71, 78, 0.6);
  color: #ffffff;
}

.photo-fav-btn.is-favorited .heart-svg--filled {
  display: inline-block;
}

.photo-fav-btn.is-favorited .heart-svg--outline {
  display: none;
}

.photo-fav-btn.heart-pulse {
  animation: photoHeartPulse 400ms ease-out;
}

@keyframes photoHeartPulse {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.22);
  }
  100% {
    transform: scale(1);
  }
}

.photo-fav-btn.is-loading {
  opacity: 0.8;
  pointer-events: none;
}

/* ==========================================================================
   LIGHTBOX FOTOGRÁFICO EDITORIAL (Nativo, Leve e Responsivo)
   ========================================================================== */
body.lightbox-open {
  overflow: hidden !important;
  touch-action: none;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 300ms cubic-bezier(0.16, 1, 0.3, 1), visibility 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-lightbox.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.photo-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 6, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
}

.photo-lightbox__panel {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.photo-lightbox__panel > * {
  pointer-events: auto;
}

/* Topbar do Lightbox */
.photo-lightbox__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(14px, 2.5vh, 24px) clamp(16px, 3vw, 36px);
  z-index: 10;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
}

.photo-lightbox__counter {
  font-family: var(--spy-font-sans, "Montserrat", sans-serif);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #a8a298;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  user-select: none;
}

.photo-lightbox__curr {
  color: #f7f5f1;
  font-weight: 700;
}

.photo-lightbox__divider {
  color: #635d54;
}

.photo-lightbox__total {
  color: #8c867c;
}

.photo-lightbox__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.photo-lightbox__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(22, 22, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f0ebe1;
  cursor: pointer;
  transition: all 250ms ease;
  padding: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.photo-lightbox__close:hover {
  background: #ffffff;
  color: #121212;
  transform: scale(1.08);
}

.photo-lightbox__close:focus-visible {
  outline: 2px solid var(--spy-accent, #c5a059);
  outline-offset: 2px;
}

/* Palco Central do Lightbox */
.photo-lightbox__stage {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(10px, 2vw, 24px);
  overflow: hidden;
  user-select: none;
}

.photo-lightbox__viewport {
  position: relative;
  max-width: 90vw;
  max-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-lightbox__img {
  max-width: 90vw;
  max-height: calc(100vh - 130px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 3px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.85);
  transition: opacity 250ms ease, transform 250ms ease;
  display: block;
}

.photo-lightbox__img.is-loading {
  opacity: 0.35;
  filter: blur(4px);
}

/* Spinner de carregamento elegante */
.photo-lightbox__spinner {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--spy-accent, #c5a059);
  border-radius: 50%;
  animation: photoSpinner 800ms linear infinite;
  z-index: 5;
  pointer-events: none;
}

@keyframes photoSpinner {
  to {
    transform: rotate(360deg);
  }
}

/* Botões de Navegação (Setas Anterior / Próxima) */
.photo-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(42px, 4vw, 54px);
  height: clamp(42px, 4vw, 54px);
  border-radius: 50%;
  background: rgba(18, 18, 18, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #eae5dc;
  cursor: pointer;
  transition: all 260ms cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  padding: 0;
}

.photo-lightbox__nav:hover {
  background: rgba(230, 220, 205, 0.95);
  color: #121212;
  transform: translateY(-50%) scale(1.08);
  border-color: #ffffff;
}

.photo-lightbox__nav:focus-visible {
  outline: 2px solid var(--spy-accent, #c5a059);
  outline-offset: 2px;
}

.photo-lightbox__nav--prev {
  left: clamp(12px, 2.5vw, 28px);
}

.photo-lightbox__nav--next {
  right: clamp(12px, 2.5vw, 28px);
}

@media (max-width: 640px) {
  .photo-lightbox__nav {
    width: 38px;
    height: 38px;
    background: rgba(14, 14, 14, 0.7);
  }

  .photo-lightbox__nav--prev {
    left: 8px;
  }

  .photo-lightbox__nav--next {
    right: 8px;
  }

  .photo-lightbox__viewport {
    max-width: 96vw;
    max-height: calc(100vh - 100px);
  }

  .photo-lightbox__img {
    max-width: 96vw;
    max-height: calc(100vh - 110px);
  }
}


/* ==========================================================================
   CARDS FOTOGRÁFICOS DE TRABALHOS (HOME, PORTFÓLIO, ARQUIVOS)
   Design predominantemente fotográfico com revelação central suave no hover.
   ========================================================================== */

.work-photo-card {
  position: relative !important;
  overflow: hidden !important;
  background: #121110;
  border-radius: 4px;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: transform 380ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 350ms ease,
              box-shadow 380ms ease;
  user-select: none;
}

/* Ocultação estrita para filtragem de trabalhos no Portfólio */
.work-photo-card.is-hidden,
.portfolio-mosaic-card.is-hidden {
  display: none !important;
}

.work-photo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 160, 89, 0.55);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65);
}

/* Link ocupa 100% do card */
.work-photo-card__link {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  z-index: 1;
}

/* Contêiner da Mídia e Fotografia */
.work-photo-card__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #141414;
}

.work-photo-card__media img,
.work-photo-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1);
}

.work-photo-card:hover .work-photo-card__media img,
.work-photo-card:hover .work-photo-card__img {
  transform: scale(1.055);
}

.work-photo-card__media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #161616;
}

.work-photo-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  width: 100%;
  height: 100%;
}

.work-photo-card__placeholder svg {
  stroke: #555;
}

/* Camada Translúcida de Overlay no Hover */
.work-photo-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem;
  background: rgba(12, 11, 10, 0.68);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 350ms ease, background 350ms ease;
  z-index: 2;
  pointer-events: none;
}

.work-photo-card:hover .work-photo-card__overlay {
  opacity: 1;
}

/* Metadados Centralizados no Card */
.work-photo-card__meta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 90%;
  transform: translateY(8px);
  transition: transform 380ms cubic-bezier(0.16, 1, 0.3, 1);
}

.work-photo-card:hover .work-photo-card__meta {
  transform: translateY(0);
}

/* Categoria */
.work-photo-card__category {
  font-family: var(--spy-font-sans, "Montserrat", sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--spy-accent, #c5a059);
  margin: 0 0 0.45rem;
  display: block;
}

/* Nome em Destaque / Título */
.work-photo-card__title {
  font-family: var(--spy-font-serif, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 500;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 0.85rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}

/* Estatísticas centralizadas (Views e Favoritos) */
.work-photo-card__stats {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  color: #e2ddd4;
  font-family: var(--spy-font-sans, "Montserrat", sans-serif);
  font-size: 0.84rem;
  font-weight: 500;
  user-select: none;
}

.work-photo-card__stats .stat-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #d1ccc4;
  transition: color 200ms ease;
}

.work-photo-card__stats .stat-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.work-photo-card__stats .stat-item--views .stat-icon {
  stroke: #d1ccc4;
  color: #d1ccc4;
}

.work-photo-card__stats .stat-item--favorites .stat-icon {
  stroke: #c5a059;
  color: #c5a059;
  fill: none; /* Coração em contorno conforme modelo de referência */
}

.work-photo-card__stats .stat-count {
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #f7f5f1;
}

/* Responsividade Mobile / Touch (mantém informações acessíveis sem hover) */
@media (hover: none), (max-width: 768px) {
  .work-photo-card__overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(8, 8, 8, 0.88) 0%, rgba(8, 8, 8, 0.4) 50%, rgba(8, 8, 8, 0.05) 75%, transparent 100%);
    align-items: flex-end;
    padding: 1.25rem 1rem;
  }

  .work-photo-card__meta {
    transform: none;
    align-items: flex-start;
    text-align: left;
    max-width: 100%;
  }

  .work-photo-card__title {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
  }

  .work-photo-card__stats {
    gap: 1rem;
    font-size: 0.78rem;
  }
}

/* Suporte estrutural a the_content() e Elementor em templates de páginas */
.home-editorial-content:empty,
.page-portfolio-editorial-content:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.home-editorial-content,
.page-portfolio-editorial-content {
  width: 100%;
  position: relative;
  z-index: 2;
}

/* ==================================================
   Seção Editorial "Nossos Eventos" (.spy-services-*)
   Substituição premium da lista de serviços na página Sobre
   ================================================== */
.spy-services-section {
  background-color: #101010;
  color: #f7f4ee;
  padding: clamp(60px, 8vw, 95px) 20px clamp(65px, 8vw, 100px) 20px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.spy-services-inner {
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
  box-sizing: border-box;
}

.spy-services-eyebrow {
  display: block;
  font-family: var(--spy-sans, "Montserrat", sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: #C59661;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.spy-services-title {
  font-family: var(--spy-serif, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 400;
  color: #f7f4ee;
  line-height: 1.25;
  margin: 0 0 16px 0;
  text-align: center;
}

.spy-services-divider {
  width: 44px;
  height: 1px;
  background-color: #C59661;
  margin: 0 auto 20px auto;
  border: none;
}

.spy-services-subtitle {
  font-family: var(--spy-sans, "Montserrat", sans-serif);
  font-size: 15px;
  line-height: 1.65;
  color: #b5afa5;
  max-width: 660px;
  margin: 0 auto 52px auto;
  text-align: center;
}

/* Grid de Serviços */
.spy-services-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
}

.spy-services-card {
  background-color: #121212;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  padding: 34px 12px 28px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.3s ease;
  min-height: 230px;
}

.spy-services-card:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 150, 97, 0.45);
}

.spy-services-icon-wrapper {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.spy-services-icon {
  width: 44px;
  height: 44px;
  stroke: #C59661;
  display: block;
}

.spy-services-card-title {
  font-family: var(--spy-sans, "Montserrat", sans-serif);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #eae5dc;
  margin: 0 0 14px 0;
  line-height: 1.35;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spy-services-card-line {
  width: 28px;
  height: 1px;
  background-color: #C59661;
  margin: 0 auto;
  display: block;
}

.spy-services-card-desc {
  font-family: var(--spy-sans, "Montserrat", sans-serif);
  font-size: 10.5px;
  color: #8e887e;
  line-height: 1.4;
  margin: 12px 0 0 0;
  text-align: center;
}

/* Bloco Editorial Inferior */
.spy-services-editorial {
  margin-top: 60px;
  text-align: left;
  max-width: 820px;
  padding: 0 4px;
  box-sizing: border-box;
}

.spy-services-editorial-eyebrow {
  display: block;
  font-family: var(--spy-sans, "Montserrat", sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #C59661;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.spy-services-editorial-text {
  font-family: var(--spy-sans, "Montserrat", sans-serif);
  font-size: 15px;
  line-height: 1.7;
  color: #c4bfb6;
  margin: 0;
}

/* Responsividade Controlada */
@media (max-width: 1140px) {
  .spy-services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .spy-services-section {
    padding: 55px 16px 60px 16px;
  }
  .spy-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .spy-services-subtitle {
    margin-bottom: 38px;
  }
  .spy-services-editorial {
    margin-top: 45px;
  }
}

@media (max-width: 480px) {
  .spy-services-section {
    padding: 44px 14px 48px 14px;
  }
  .spy-services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .spy-services-card {
    min-height: auto;
    padding: 24px 14px;
  }
  .spy-services-card-title {
    min-height: auto;
  }
  .spy-services-editorial {
    margin-top: 36px;
  }
}




/* ========================================================================== 
   HOME — TRABALHOS RECENTES
   Mosaico editorial escopado; cada card segue a proporção real de sua capa.
   ========================================================================== */
.home .spy-home-recent-works .spy-home-recent-works__mosaic {
  display: grid;
  gap: 16px;
  grid-auto-flow: row;
  grid-auto-rows: auto;
  align-items: start;
  width: 100%;
}

.home .spy-home-recent-works .work-photo-card {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: var(--spy-home-cover-ratio, 3 / 2) !important;
  overflow: hidden !important;
}

.home .spy-home-recent-works .work-photo-card__link,
.home .spy-home-recent-works .work-photo-card__media {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

.home .spy-home-recent-works .work-photo-card__img,
.home .spy-home-recent-works .work-photo-card__media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
}

.home .spy-home-recent-works .work-photo-card::after {
  display: none !important;
}

.home .spy-home-recent-works__rail {
  position: relative;
  width: 100%;
}

.home .spy-home-recent-works__viewport {
  max-width: 100%;
  outline: 0;
}

.home .spy-home-recent-works__control,
.home .spy-home-recent-works__hint {
  display: none;
}

/* Um destaque contido, centralizado e fiel à proporção da fotografia. */
.home .spy-home-recent-works .gallery--items-1 {
  display: flex;
  justify-content: center;
}

.home .spy-home-recent-works .gallery--items-1 > article {
  max-width: min(720px, 78vw);
}

/* Dois trabalhos: destaque dominante e complemento, sem alturas impostas. */
.home .spy-home-recent-works .gallery--items-2 {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
}

/* Três trabalhos: 1 destaque + 2 retratos naturais empilhados à direita. */
.home .spy-home-recent-works .gallery--items-3 {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
}

.home .spy-home-recent-works .gallery--items-3 > article:first-child {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
}

.home .spy-home-recent-works .gallery--items-3 > article:nth-child(2),
.home .spy-home-recent-works .gallery--items-3 > article:nth-child(3) {
  grid-column: 2;
}

/* Quatro trabalhos: dois secundários acima e um fechamento largo abaixo. */
.home .spy-home-recent-works .gallery--items-4 {
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 0.5fr));
  grid-template-rows: auto auto;
}

.home .spy-home-recent-works .gallery--items-4 > article:first-child {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
}

.home .spy-home-recent-works .gallery--items-4 > article:nth-child(2) {
  grid-column: 2;
}

.home .spy-home-recent-works .gallery--items-4 > article:nth-child(3) {
  grid-column: 3;
}

.home .spy-home-recent-works .gallery--items-4 > article:nth-child(4) {
  grid-column: 2 / span 2;
}

/* Cinco trabalhos: destaque à esquerda e composição 2x2 à direita. */
.home .spy-home-recent-works .gallery--items-5 {
  grid-template-columns: minmax(0, 1fr) repeat(2, minmax(0, 0.5fr));
  grid-template-rows: auto auto;
}

.home .spy-home-recent-works .gallery--items-5 > article:first-child {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
}

.home .spy-home-recent-works .gallery--items-5 > article:nth-child(2),
.home .spy-home-recent-works .gallery--items-5 > article:nth-child(4) {
  grid-column: 2;
}

.home .spy-home-recent-works .gallery--items-5 > article:nth-child(3),
.home .spy-home-recent-works .gallery--items-5 > article:nth-child(5) {
  grid-column: 3;
}

@media (min-width: 1025px) {
  .home .spy-home-recent-works {
    min-height: 100dvh;
    padding-block: clamp(48px, 5dvh, 60px);
  }

  .home .spy-home-recent-works__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: inline proximity;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
    cursor: grab;
  }

  .home .spy-home-recent-works__viewport::-webkit-scrollbar {
    display: none;
  }

  .home .spy-home-recent-works__viewport:active {
    cursor: grabbing;
  }

  .home .spy-home-recent-works__viewport img {
    -webkit-user-drag: none;
  }

  .home .spy-home-recent-works__viewport:focus-visible {
    outline: 1px solid var(--spy-accent);
    outline-offset: 5px;
  }

  .home .spy-home-recent-works__rail.can-scroll-right::after {
    background: linear-gradient(90deg, transparent, rgba(12, 11, 10, 0.52));
    content: "";
    inset: 0 0 0 auto;
    pointer-events: none;
    position: absolute;
    width: 54px;
    z-index: 4;
  }

  .home .spy-home-recent-works__control {
    align-items: center;
    background: rgba(15, 14, 13, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    font-family: Georgia, serif;
    font-size: 30px;
    height: 42px;
    justify-content: center;
    line-height: 1;
    padding: 0 0 4px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background 180ms ease, border-color 180ms ease, opacity 180ms ease;
    width: 42px;
    z-index: 6;
  }

  .home .spy-home-recent-works__rail.is-scrollable .spy-home-recent-works__control:not([hidden]) {
    display: inline-flex;
  }

  .home .spy-home-recent-works__control:hover,
  .home .spy-home-recent-works__control:focus-visible {
    background: rgba(197, 160, 89, 0.92);
    border-color: var(--spy-accent);
    outline: 0;
  }

  .home .spy-home-recent-works__control--previous {
    left: 10px;
  }

  .home .spy-home-recent-works__control--next {
    right: 10px;
  }

  .home .spy-home-recent-works__hint {
    background: rgba(15, 14, 13, 0.76);
    bottom: 12px;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.7px;
    padding: 7px 10px;
    pointer-events: none;
    position: absolute;
    right: 12px;
    text-transform: uppercase;
    z-index: 5;
  }

  .home .spy-home-recent-works__rail.can-scroll-right .spy-home-recent-works__hint {
    display: block;
  }

  .home .spy-home-recent-works .spy-home-recent-works__mosaic {
    width: min(100%, calc(177.78dvh - 533px), 1440px);
    margin-inline: 0 auto;
  }

  .home .spy-home-recent-works .gallery--items-overflow {
    --spy-home-large-column: min(calc(37.8vw - 13.44px), calc(74.67dvh - 237px), 591.36px);
    --spy-home-small-column: min(calc(26.1vw - 9.28px), calc(51.56dvh - 164px), 408.32px);
    --spy-home-mosaic-height: min(50.625vw, calc(100dvh - 300px), 810px);
    grid-auto-columns: var(--spy-home-small-column);
    grid-template-columns: var(--spy-home-large-column) repeat(2, var(--spy-home-small-column));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    height: var(--spy-home-mosaic-height);
    max-width: none;
    width: max-content;
  }

  .home .spy-home-recent-works .gallery--items-overflow > article {
    aspect-ratio: auto !important;
    height: 100% !important;
  }

  .home .spy-home-recent-works .gallery--items-overflow > article:first-child {
    align-self: stretch;
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .home .spy-home-recent-works .gallery--items-overflow > article:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .home .spy-home-recent-works .gallery--items-overflow > article:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
  }

  .home .spy-home-recent-works .gallery--items-overflow > article:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
  }

  .home .spy-home-recent-works .gallery--items-overflow > article:nth-child(5) {
    grid-column: 3;
    grid-row: 2;
  }

  .home .spy-home-recent-works .gallery--items-overflow > .spy-home-extra {
    grid-column: var(--spy-home-grid-column);
    grid-row: var(--spy-home-grid-row);
  }

  .home .spy-home-recent-works .gallery--items-overflow > .spy-home-extra--group-start,
  .home .spy-home-recent-works .gallery--items-overflow > article:first-child {
    scroll-snap-align: start;
  }

  .home .spy-home-recent-works .gallery--items-2 {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    aspect-ratio: 16 / 7;
  }

  .home .spy-home-recent-works .gallery--items-3,
  .home .spy-home-recent-works .gallery--items-4,
  .home .spy-home-recent-works .gallery--items-5 {
    grid-template-columns: minmax(0, 42fr) minmax(0, 29fr) minmax(0, 29fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    aspect-ratio: 16 / 9;
  }

  .home .spy-home-recent-works .gallery--items-3 {
    grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  }

  .home .spy-home-recent-works .gallery--items-3 > article:first-child,
  .home .spy-home-recent-works .gallery--items-4 > article:first-child,
  .home .spy-home-recent-works .gallery--items-5 > article:first-child {
    align-self: stretch;
  }

  .home .spy-home-recent-works .gallery--items-2 > article,
  .home .spy-home-recent-works .gallery--items-3 > article,
  .home .spy-home-recent-works .gallery--items-4 > article,
  .home .spy-home-recent-works .gallery--items-5 > article {
    height: 100% !important;
    aspect-ratio: auto !important;
  }

  .home .spy-home-recent-works .gallery--items-4 > article:nth-child(2),
  .home .spy-home-recent-works .gallery--items-5 > article:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .home .spy-home-recent-works .gallery--items-4 > article:nth-child(3),
  .home .spy-home-recent-works .gallery--items-5 > article:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
  }

  .home .spy-home-recent-works .gallery--items-4 > article:nth-child(4) {
    grid-column: 2 / span 2;
    grid-row: 2;
  }

  .home .spy-home-recent-works .gallery--items-5 > article:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
  }

  .home .spy-home-recent-works .gallery--items-5 > article:nth-child(5) {
    grid-column: 3;
    grid-row: 2;
  }

  .home .spy-home-recent-works .gallery--items-1 {
    justify-content: flex-start;
  }

  .home .spy-home-recent-works .gallery--items-1 > article {
    flex: 0 1 auto;
    height: min(calc(100dvh - 300px), 720px) !important;
    max-height: 720px;
    width: auto !important;
  }
}

@media (max-width: 1024px) {
  .home .spy-home-recent-works__viewport {
    overflow: visible;
  }

  .home .spy-home-recent-works .spy-home-recent-works__mosaic {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    height: auto;
    max-width: none;
  }

  .home .spy-home-recent-works .spy-home-recent-works__mosaic:not(.gallery--items-1) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .home .spy-home-recent-works .spy-home-recent-works__mosaic > article,
  .home .spy-home-recent-works .spy-home-recent-works__mosaic > article:first-child {
    grid-column: auto !important;
    grid-row: auto !important;
    align-self: start;
  }

  .home .spy-home-recent-works .spy-home-recent-works__mosaic:not(.gallery--items-1) > article:first-child {
    grid-column: auto !important;
    justify-self: auto;
    width: 100% !important;
  }
}

@media (max-width: 640px) {
  .home .spy-home-recent-works .spy-home-recent-works__mosaic,
  .home .spy-home-recent-works .spy-home-recent-works__mosaic:not(.gallery--items-1) {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .home .spy-home-recent-works .spy-home-recent-works__mosaic > article,
  .home .spy-home-recent-works .spy-home-recent-works__mosaic > article:first-child,
  .home .spy-home-recent-works .gallery--items-1 > article {
    width: 100% !important;
    max-width: none;
  }
}
