@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,500;6..96,700;6..96,900&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  background: #000;
  color: #fff;
  font-family: "Inter", Arial, Helvetica, sans-serif;
}

body {
  overflow: hidden;
}

.slider {
  display: flex;
  width: 100vw;
  height: 100vh;
  transition: transform 0.75s ease-in-out;
}

.page {
  width: 100vw;
  height: 100vh;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(234, 179, 8, 0.35);
  background:
    radial-gradient(circle at 18% 12%, rgba(234, 179, 8, 0.08), transparent 28%),
    radial-gradient(circle at 82% 82%, rgba(255, 255, 255, 0.035), transparent 30%),
    #000;
}

/* Fine lines gerais em todas as páginas */
.page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.28;
  background:
    linear-gradient(90deg, transparent 0 9%, rgba(234, 179, 8, 0.16) 9.08%, transparent 9.18%),
    linear-gradient(90deg, transparent 0 91%, rgba(234, 179, 8, 0.12) 91.08%, transparent 91.18%),
    linear-gradient(0deg, transparent 0 14%, rgba(234, 179, 8, 0.10) 14.08%, transparent 14.18%),
    linear-gradient(0deg, transparent 0 86%, rgba(234, 179, 8, 0.10) 86.08%, transparent 86.18%),
    linear-gradient(115deg, transparent 0 28%, rgba(234, 179, 8, 0.10) 28.05%, transparent 28.16%),
    linear-gradient(25deg, transparent 0 68%, rgba(255, 255, 255, 0.07) 68.05%, transparent 68.16%);
}

.page > * {
  position: relative;
  z-index: 2;
}

.cover {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px;
  flex-direction: column;
}

.cover-logo {
  position: absolute;
  top: 36px;
  width: 220px;
  max-width: 42vw;
  opacity: 0.95;
  z-index: 3;
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.glow-left {
  top: -120px;
  left: -120px;
  width: 380px;
  height: 380px;
  background: rgba(234, 179, 8, 0.12);
}

.glow-right {
  bottom: -120px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: rgba(255, 255, 255, 0.06);
}

.eyebrow {
  color: #eab308;
  text-transform: uppercase;
  letter-spacing: 0.45em;
  font-size: 11px;
  font-weight: 500;
  margin: 0 0 24px;
}

h1,
h2,
h3 {
  font-family: "Bodoni Moda", Georgia, serif;
  text-wrap: balance;
}

h1 {
  font-size: clamp(72px, 12vw, 170px);
  line-height: 0.92;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  font-style: italic;
  font-weight: 900;
  margin: 0;
}

h2 {
  font-size: clamp(52px, 7vw, 120px);
  line-height: 0.94;
  letter-spacing: -0.06em;
  font-style: italic;
  font-weight: 900;
  margin: 0;
}

h3 {
  font-size: clamp(34px, 4vw, 70px);
  line-height: 0.96;
  font-style: italic;
  font-weight: 900;
  margin: 0 0 24px;
}

.subtitle {
  margin-top: 32px;
  max-width: 780px;
  color: #d4d4d8;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 300;
  letter-spacing: 0.04em;
}

.signature-line {
  margin-top: 36px;
  height: 2px;
  width: 180px;
  background: linear-gradient(90deg, #eab308, #fff, #eab308);
  transform: rotate(-2deg);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.page-content {
  padding: 64px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.text {
  max-width: 650px;
  color: #d4d4d8;
  font-size: 18px;
  line-height: 1.8;
  font-weight: 300;
  letter-spacing: 0.03em;
}

.image-area {
  padding: 48px;
  background: #09090b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-card {
  width: 100%;
  height: 70vh;
  border: 1px solid rgba(234, 179, 8, 0.7);
  overflow: hidden;
  position: relative;
  background: #050505;
}

.media-img,
.media-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.media-video {
  background: #000;
}

.with-line {
  position: relative;
}

.with-line::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.24;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 30%, transparent 0 90px, rgba(234,179,8,.45) 91px, transparent 92px),
    radial-gradient(circle at 75% 65%, transparent 0 140px, rgba(234,179,8,.4) 141px, transparent 142px),
    linear-gradient(120deg, transparent 20%, rgba(234,179,8,.35) 20.2%, transparent 20.4%),
    linear-gradient(25deg, transparent 55%, rgba(234,179,8,.25) 55.2%, transparent 55.4%);
}

.with-line > * {
  position: relative;
  z-index: 2;
}

.services-page,
.cases-page,
.contact-page,
.tech-overview-page,
.tech-final-page,
.case-detail-page {
  padding: 48px 64px;
}

.section-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 32px;
}

.section-text {
  color: #d4d4d8;
  font-size: 18px;
  line-height: 1.6;
  max-width: 760px;
}

.services-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.services-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 185px;
  border: 1px solid rgba(234, 179, 8, 0.7);
  background: rgba(9, 9, 11, 0.92);
  padding: 20px;
  position: relative;
  transition: 0.35s ease;
}

.service-card:hover,
.tech-card:hover,
.case-card:hover,
.case-detail-media:hover {
  transform: rotate(0deg) scale(1.01);
  box-shadow: 0 0 36px rgba(234, 179, 8, 0.14);
}

.icon {
  font-size: 32px;
  display: block;
  margin-bottom: 18px;
}

.tag {
  position: absolute;
  top: 20px;
  right: 20px;
  border: 1px solid rgba(234,179,8,.5);
  color: #eab308;
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 6px 8px;
}

.service-card h3 {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.1;
  text-transform: uppercase;
  font-style: normal;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.service-card p {
  color: #a1a1aa;
  font-size: 12px;
  line-height: 1.55;
}

.rotate-left {
  transform: rotate(-1deg);
}

.rotate-right {
  transform: rotate(1deg);
}

/* PÁGINAS TÉCNICAS AGRUPADAS */
.tech-overview-page,
.tech-final-page {
  display: flex;
  align-items: center;
}

.tech-overview-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
}

.tech-overview-copy .text {
  font-size: 18px;
  max-width: 680px;
}

.tech-overview-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.tech-final-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.tech-final-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.tech-card {
  border: 1px solid rgba(234, 179, 8, 0.55);
  background: rgba(9, 9, 11, 0.86);
  backdrop-filter: blur(6px);
  padding: 36px;
  transition: 0.35s ease;
}

.tech-card.compact {
  padding: 24px 30px;
}

.tech-card.compact h3 {
  font-size: clamp(42px, 4.2vw, 70px);
  line-height: 0.98;
  margin-bottom: 18px;
}

.tech-card.compact .eyebrow {
  margin-bottom: 16px;
}

.tech-card ul {
  margin: 0;
  padding-left: 18px;
  color: #d4d4d8;
  line-height: 1.65;
  font-size: 14px;
}

.big-text {
  text-align: right;
}

.big-text h2 {
  font-size: clamp(58px, 6.4vw, 112px);
  line-height: 0.98;
}

/* CASES GERAL */
.cases-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cases-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  height: 60vh;
  min-height: 430px;
}

.case-side {
  display: grid;
  gap: 20px;
  min-height: 0;
}

.case-card {
  position: relative;
  border: 1px solid rgba(234, 179, 8, 0.7);
  background: #09090b;
  overflow: hidden;
  transition: 0.35s ease;
  min-height: 0;
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1);
  transition: 0.7s ease;
}

.case-card:hover img {
  filter: grayscale(0);
  transform: scale(1.02);
}

.case-overlay {
  position: absolute;
  inset: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(0,0,0,.92), rgba(0,0,0,.22), transparent);
}

.case-overlay h3 {
  font-size: clamp(34px, 4vw, 68px);
  line-height: 0.98;
  text-transform: uppercase;
}

.case-overlay p:last-child {
  color: #d4d4d8;
  max-width: 620px;
}

/* PÁGINAS INDIVIDUAIS DOS CASES */
.case-detail-page {
  display: flex;
  align-items: center;
}

.case-detail-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.case-detail-grid.reverse {
  grid-template-columns: 0.92fr 1.08fr;
}

.case-detail-media {
  height: 68vh;
  min-height: 460px;
  border: 1px solid rgba(234, 179, 8, 0.7);
  background: #09090b;
  overflow: hidden;
  transition: 0.35s ease;
}

/* Imagens dos cases continuam em preto e branco */
.case-detail-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1);
  transition: 0.7s ease;
}

/* Vídeos dos cases começam coloridos */
.case-detail-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: none;
  transition: 0.7s ease;
}

.case-detail-media:hover img {
  filter: grayscale(0);
  transform: scale(1.02);
}

.case-detail-media:hover .case-detail-video {
  filter: none;
  transform: scale(1.02);
}

.case-detail-copy {
  max-width: 680px;
}

.case-detail-copy h2 {
  margin-bottom: 30px;
}

.case-detail-copy .text {
  font-size: 20px;
  line-height: 1.75;
  max-width: 620px;
}

/* CONTATO */
.contact-page {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
}

.contact-text {
  margin-top: 36px;
  color: #d4d4d8;
  font-size: 20px;
  line-height: 1.7;
}

.buttons {
  margin-top: 42px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.buttons a {
  text-decoration: none;
  padding: 16px 28px;
  border: 1px solid #eab308;
  color: #eab308;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.25em;
  transition: 0.3s ease;
}

.buttons a:nth-child(2) {
  border-color: #fff;
  color: #fff;
}

.buttons a:hover {
  background: #eab308;
  color: #000;
}

.buttons a:nth-child(2):hover {
  background: #fff;
  color: #000;
}

.nav {
  position: fixed;
  z-index: 50;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.45);
  font-size: 62px;
  cursor: pointer;
  transition: .25s ease;
}

.nav:hover {
  color: #eab308;
}

.prev {
  left: 24px;
}

.next {
  right: 24px;
}

.dots {
  position: fixed;
  z-index: 60;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dots button {
  width: 12px;
  height: 5px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.3);
  cursor: pointer;
  transition: .25s ease;
}

.dots button.active {
  width: 34px;
  background: #eab308;
}

/* TABLETS */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-page,
  .cases-page,
  .contact-page,
  .tech-overview-page,
  .tech-final-page,
  .case-detail-page {
    padding: 42px 56px;
  }

  .section-header {
    gap: 32px;
  }

  .tech-overview-content,
  .tech-final-grid,
  .case-detail-grid,
  .case-detail-grid.reverse {
    gap: 36px;
  }

  .tech-card.compact {
    padding: 22px 26px;
  }

  .case-detail-media {
    min-height: 420px;
  }
}

/* MOBILE */
@media (max-width: 900px) {
  html,
  body {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }

  body {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .slider {
    display: block;
    width: 100%;
    height: auto;
    transform: none !important;
    transition: none;
  }

  .page {
    width: 100%;
    min-height: 100svh;
    height: auto;
    overflow: visible;
  }

  .page::after {
    opacity: 0.18;
  }

  .cover {
    min-height: 100svh;
    padding: 120px 24px 64px;
  }

  .cover-logo {
    top: 28px;
    width: 170px;
    max-width: 70vw;
  }

  h1 {
    font-size: clamp(60px, 21vw, 94px);
    line-height: 0.94;
  }

  h2 {
    font-size: clamp(42px, 15vw, 66px);
    line-height: 0.96;
  }

  h3 {
    font-size: clamp(34px, 12vw, 52px);
    line-height: 0.98;
  }

  .subtitle {
    font-size: 17px;
    line-height: 1.55;
  }

  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.32em;
    margin-bottom: 18px;
  }

  .split,
  .section-header,
  .cases-grid,
  .tech-overview-content,
  .tech-final-grid,
  .case-detail-grid,
  .case-detail-grid.reverse {
    grid-template-columns: 1fr;
  }

  .split {
    display: flex;
    flex-direction: column;
  }

  .page-content,
  .services-page,
  .cases-page,
  .contact-page,
  .tech-overview-page,
  .tech-final-page,
  .case-detail-page {
    padding: 72px 24px;
  }

  .text,
  .section-text {
    font-size: 16px;
    line-height: 1.75;
  }

  .image-area {
    display: flex;
    padding: 24px;
    min-height: auto;
  }

  .image-card {
    height: 58svh;
    min-height: 360px;
  }

  .services-page {
    justify-content: flex-start;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-card {
    min-height: auto;
    padding: 22px;
  }

  .tag {
    position: static;
    display: inline-block;
    margin-bottom: 16px;
  }

  .icon {
    margin-bottom: 12px;
  }

  .tech-overview-page,
  .tech-final-page,
  .case-detail-page {
    align-items: flex-start;
  }

  .tech-overview-content,
  .tech-final-grid,
  .case-detail-grid,
  .case-detail-grid.reverse {
    gap: 32px;
  }

  .tech-overview-cards,
  .tech-final-cards {
    gap: 18px;
  }

  .tech-card.compact {
    padding: 24px;
  }

  .tech-card.compact h3 {
    font-size: clamp(38px, 13vw, 58px);
  }

  .tech-card ul {
    font-size: 14px;
  }

  .big-text {
    text-align: left;
  }

  .big-text h2 {
    font-size: clamp(42px, 15vw, 66px);
  }

  .cases-page {
    justify-content: flex-start;
  }

  .cases-grid {
    height: auto;
    min-height: 0;
    gap: 18px;
  }

  .case-side {
    gap: 18px;
  }

  .case-card,
  .case-main {
    height: 62svh;
    min-height: 390px;
  }

  .case-side .case-card {
    height: 52svh;
    min-height: 340px;
  }

  .case-overlay {
    padding: 22px;
  }

  .case-overlay p:last-child {
    font-size: 14px;
    line-height: 1.55;
  }

  .case-detail-grid.reverse .case-detail-copy {
    order: 2;
  }

  .case-detail-grid.reverse .case-detail-media {
    order: 1;
  }

  .case-detail-media {
    height: 62svh;
    min-height: 390px;
  }

  .case-detail-copy .text {
    font-size: 16px;
    line-height: 1.75;
  }

  .contact-page {
    min-height: 100svh;
  }

  .contact-text {
    font-size: 17px;
  }

  .buttons {
    flex-direction: column;
    width: 100%;
    gap: 14px;
  }

  .buttons a {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    padding: 16px 18px;
    font-size: 11px;
    letter-spacing: 0.18em;
  }

  .nav,
  .dots {
    display: none;
  }
}

/* CELULARES PEQUENOS */
@media (max-width: 430px) {
  .cover {
    padding-left: 18px;
    padding-right: 18px;
  }

  .page-content,
  .services-page,
  .cases-page,
  .contact-page,
  .tech-overview-page,
  .tech-final-page,
  .case-detail-page {
    padding-left: 18px;
    padding-right: 18px;
  }

  .image-area {
    padding-left: 18px;
    padding-right: 18px;
  }

  .case-card,
  .case-main {
    min-height: 360px;
  }

  .case-side .case-card {
    min-height: 320px;
  }

  .case-detail-media {
    min-height: 340px;
  }
}