:root {
  color-scheme: light;
  --ink: #0a0a0a;
  --muted: #5d5d5d;
  --paper: #ffffff;
  --surface: rgba(255, 255, 255, 0.86);
  --line: rgba(0, 0, 0, 0.22);
  --line-strong: rgba(0, 0, 0, 0.58);
  --accent: #0a0a0a;
  --accent-dark: #000000;
  --grid-line: rgba(0, 0, 0, 0.34);
  --soft-shadow: 0 18px 60px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.72) 48%, #ffffff 100%),
    #ffffff;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body::before,
body::after {
  position: fixed;
  left: -25vw;
  right: -25vw;
  z-index: -2;
  pointer-events: none;
  content: "";
}

body::before {
  bottom: -18vh;
  height: 68vh;
  background-image:
    linear-gradient(var(--grid-line) 2px, transparent 2px),
    linear-gradient(90deg, var(--grid-line) 2px, transparent 2px);
  background-size: 82px 82px;
  opacity: 0.62;
  transform: perspective(520px) rotateX(63deg);
  transform-origin: center bottom;
  mask-image: linear-gradient(0deg, #000 0%, #000 55%, transparent 100%);
}

body::after {
  top: -26vh;
  height: 64vh;
  background-image:
    linear-gradient(var(--grid-line) 2px, transparent 2px),
    linear-gradient(90deg, var(--grid-line) 2px, transparent 2px);
  background-size: 82px 82px;
  opacity: 0.5;
  transform: perspective(520px) rotateX(-63deg);
  transform-origin: center top;
  mask-image: linear-gradient(180deg, #000 0%, #000 50%, transparent 100%);
}

body::selection {
  background: #0a0a0a;
  color: #ffffff;
}

.scroll-bottom {
  opacity: 0;
  transition: 0.8s !important;
  transform: translate(0, 30px);
}

.scroll-top {
  opacity: 0;
  transition: 0.8s !important;
  transform: translate(0, -30px);
}

.scroll-left {
  opacity: 0;
  transition: 0.8s !important;
  transform: translate(-30px, 0);
}

.scroll-right {
  opacity: 0;
  transition: 0.8s !important;
  transform: translate(30px, 0);
}

.elementor-editor-active .scroll-bottom,
.elementor-editor-active .scroll-top,
.elementor-editor-active .scroll-left,
.elementor-editor-active .scroll-right,
.ativo {
  opacity: 1;
  transition: 0.8s !important;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-bottom,
  .scroll-top,
  .scroll-left,
  .scroll-right,
  .icon-whatsapp,
  .icon-whatsapp::after {
    opacity: 1;
    animation: none;
    transition: none !important;
    transform: none;
  }
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.main-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 38px;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 0;
  font-size: 0.82rem;
}

.main-nav {
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 750;
}

.main-nav a {
  padding: 8px 0;
}

.main-nav a:hover {
  color: var(--ink);
}

.icon-whatsapp {
  position: fixed;
  right: clamp(18px, 4vw, 34px);
  bottom: clamp(18px, 4vw, 34px);
  z-index: 60;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  background: #25d366;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  font-size: 2rem;
  animation: whatsappPulse 1.8s ease-in-out infinite;
}

.icon-whatsapp::after {
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(37, 211, 102, 0.48);
  border-radius: 50%;
  content: "";
  animation: whatsappRing 1.8s ease-in-out infinite;
}

.icon-whatsapp:hover {
  animation-play-state: paused;
  transform: translateY(-3px);
}

.icon-whatsapp:hover::after {
  animation-play-state: paused;
}

@keyframes whatsappPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

@keyframes whatsappRing {
  0% {
    opacity: 0.72;
    transform: scale(0.88);
  }

  100% {
    opacity: 0;
    transform: scale(1.36);
  }
}

.hero {
  position: relative;
  min-height: clamp(610px, 82vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 54%, rgba(255, 255, 255, 0.96) 0 15%, rgba(255, 255, 255, 0.66) 33%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.15), #ffffff 88%);
}

.hero-content {
  display: grid;
  width: min(1240px, 100%);
  grid-template-columns: minmax(300px, 0.9fr) minmax(300px, 0.86fr);
  gap: clamp(16px, 3vw, 42px);
  align-items: center;
  padding: clamp(42px, 6vw, 72px) clamp(20px, 5vw, 64px) clamp(34px, 5vw, 58px);
  color: var(--ink);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-topline {
  display: flex;
  max-width: 700px;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: clamp(42px, 7vw, 82px);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-topline span {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.76);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.intro h2,
.section-heading h2,
.contact h2,
.project-hero h1 {
  margin: 0;
  max-width: 980px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-family: Impact, "Arial Black", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.55rem, 6.6vw, 6.6rem);
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.7;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-tags span {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-portrait {
  position: relative;
  align-self: end;
  display: flex;
  min-height: 0;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-portrait img {
  position: relative;
  z-index: 2;
  width: min(158%, 880px);
  height: auto;
  max-height: clamp(700px, 94vh, 980px);
  object-fit: contain;
}

.portrait-blur {
  position: absolute;
  right: -8%;
  bottom: 0;
  left: -8%;
  z-index: 3;
  height: 34%;
  pointer-events: none;
}

.blur {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blur-1 {
  z-index: 1;
  backdrop-filter: blur(0.25px);
  -webkit-backdrop-filter: blur(0.25px);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 12.5%, rgba(0, 0, 0, 1) 25%, rgba(0, 0, 0, 0) 37.5%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 12.5%, rgba(0, 0, 0, 1) 25%, rgba(0, 0, 0, 0) 37.5%);
}

.blur-2 {
  z-index: 2;
  backdrop-filter: blur(0.5px);
  -webkit-backdrop-filter: blur(0.5px);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 12.5%, rgba(0, 0, 0, 1) 25%, rgba(0, 0, 0, 1) 37.5%, rgba(0, 0, 0, 0) 50%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 12.5%, rgba(0, 0, 0, 1) 25%, rgba(0, 0, 0, 1) 37.5%, rgba(0, 0, 0, 0) 50%);
}

.blur-3 {
  z-index: 3;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 1) 37.5%, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 62.5%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 1) 37.5%, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 62.5%);
}

.blur-4 {
  z-index: 4;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 37.5%, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 1) 62.5%, rgba(0, 0, 0, 0) 75%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 37.5%, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 1) 62.5%, rgba(0, 0, 0, 0) 75%);
}

.blur-5 {
  z-index: 5;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 1) 62.5%, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 0) 87.5%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 1) 62.5%, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 0) 87.5%);
}

.blur-6 {
  z-index: 6;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 62.5%, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 1) 87.5%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 62.5%, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 1) 87.5%, rgba(0, 0, 0, 0) 100%);
}

.blur-7 {
  z-index: 7;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 1) 87.5%, rgba(0, 0, 0, 1) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 1) 87.5%, rgba(0, 0, 0, 1) 100%);
}

.blur-8 {
  z-index: 8;
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 87.5%, rgba(0, 0, 0, 1) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 87.5%, rgba(0, 0, 0, 1) 100%);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 0 20px;
  font-weight: 900;
  line-height: 1.1;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary,
.button-dark {
  background: var(--ink);
  color: white;
}

.button-primary:hover,
.button-dark:hover {
  background: white;
  color: var(--ink);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink);
}

.button-secondary:hover {
  background: var(--ink);
  color: white;
}

.intro,
.portfolio-section,
.services,
.videos-section,
.forms-section,
.contact {
  position: relative;
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 72px);
}

.intro,
.services,
.videos-section,
.portfolio-section,
.project-hero,
.project-gallery {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.68));
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro h2,
.section-heading h2,
.contact h2 {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
}

.intro p,
.section-heading p,
.contact p,
.service-list p,
.project-hero p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.intro p {
  margin: 28px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.section-heading {
  margin-bottom: clamp(28px, 5vw, 48px);
}

.portfolio-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: white;
  box-shadow: none;
}

.project-card img {
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(0.15) contrast(1.08);
  transition:
    transform 360ms ease,
    object-position 5s ease-in-out;
}

.project-card img.logo-cover {
  padding: clamp(10px, 3vw, 26px);
  background: #ffffff;
  object-fit: contain;
  object-position: center;
  filter: none;
}

.project-card.logo-card::after {
  top: auto;
  height: 38%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0));
}

.project-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.04) 58%);
  content: "";
}

.project-card:hover img {
  object-position: bottom center;
  transform: scale(1.04);
}

.project-card:hover img.logo-cover {
  object-position: center;
}

.project-card:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 5px;
}

.project-card div {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  z-index: 1;
  color: white;
}

.project-card p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 0;
  max-width: 480px;
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.08;
}

.project-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 738px;
}

.project-featured {
  grid-column: span 2;
  min-height: 360px;
}

.project-wide {
  grid-column: span 2;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
}

.service-list article {
  min-height: 235px;
  padding: clamp(24px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.92);
}

.service-list h3,
.contact-details {
  margin: 0 0 14px;
}

.service-list h3 {
  margin: 0 0 14px;
  font-size: 1.45rem;
}

.video-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.55fr);
  gap: 18px;
}

.video-card {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.92);
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-frame-vertical {
  aspect-ratio: 9 / 16;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.96)),
    var(--ink);
  color: var(--paper);
}

.contact .section-kicker,
.contact p {
  color: rgba(255, 255, 255, 0.72);
}

.contact p {
  max-width: 620px;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.contact-details a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.contact-details a:hover {
  color: white;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: #000000;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer p {
  margin: 0;
}

.project-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(300px, 1.2fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.project-hero h1 {
  font-size: clamp(2.8rem, 7vw, 6rem);
}

.project-cover {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: white;
  box-shadow: var(--soft-shadow);
}

.project-cover img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
}

.project-gallery {
  padding: clamp(52px, 7vw, 90px) clamp(20px, 5vw, 72px) clamp(70px, 9vw, 120px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.gallery-item {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: white;
  box-shadow: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: top center;
  transition: object-position 5s ease-in-out;
}

.gallery-item:hover img {
  object-position: bottom center;
}

.gallery-item.logo-image img {
  object-fit: contain;
  object-position: center;
  padding: clamp(16px, 4vw, 42px);
}

.compact-gallery .gallery-item img {
  height: clamp(320px, 42vw, 460px);
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

.back-link {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .intro,
  .service-list {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .project-featured {
    grid-column: span 2;
    min-height: 390px;
  }

  .project-large {
    min-height: 520px;
  }

  .contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body::before,
  body::after {
    background-size: 58px 58px;
  }

  .site-header {
    position: relative;
  }

  .hero {
    min-height: 670px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding-top: 86px;
  }

  .hero-portrait {
    width: 100%;
    max-width: none;
    margin-top: 12px;
  }

  .hero-portrait img {
    width: min(150%, 700px);
    max-height: none;
  }

  .button {
    width: 100%;
  }

  .icon-whatsapp {
    width: 56px;
    height: 56px;
    font-size: 1.75rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-featured,
  .project-large,
  .project-wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 390px;
  }

  .site-footer {
    flex-direction: column;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    min-height: 300px;
  }

  .compact-gallery .gallery-item img {
    height: 300px;
  }
}
