/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #090a0b;
  --bg-card: #131416;
  --bg-soft: #191b1f;
  --text-primary: #f7f7f7;
  --text-secondary: #9ea3ad;
  --accent: #d0aa71;
  --accent-light: #ecd2a1;
  --accent-warm: #ba754f;
  --accent-deep: #7e3f2f;
  --ring-soft: rgba(208, 170, 113, 0.18);
  --glass: rgba(255, 255, 255, 0.04);
  --gradient-warm: linear-gradient(135deg, #d0aa71 0%, #ba754f 48%, #7e3f2f 100%);
  --gradient-glow: linear-gradient(135deg, rgba(208,170,113,0.18) 0%, rgba(186,117,79,0.12) 48%, rgba(126,63,47,0.08) 100%);
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-card: 0 24px 70px rgba(0, 0, 0, 0.4);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before,
body::after {
  content: '';
  position: fixed;
  pointer-events: none;
  z-index: -1;
}

body::before {
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(208, 170, 113, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(186, 117, 79, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(126, 63, 47, 0.1) 0%, transparent 45%);
}

body::after {
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.15;
}

h1, h2, h3 {
  font-family: inherit;
  letter-spacing: -0.02em;
}

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 4%;
  background: rgba(10, 10, 10, 0.58);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(208, 170, 113, 0.12);
  transition: background 0.3s, border-color 0.3s;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-icon {
  font-size: 1.6rem;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-text {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 2.4px;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gradient-warm);
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  width: min(1200px, 92%);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 2rem;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 40%, rgba(186, 117, 79, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 70%, rgba(126, 63, 47, 0.13) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 20%, rgba(208, 170, 113, 0.1) 0%, transparent 60%),
    var(--bg-dark);
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 2.2rem 1.2rem;
  max-width: 680px;
  animation: fadeUp 1s ease-out;
}

.hero-content::before {
  content: '';
  position: absolute;
  left: 44%;
  top: 52%;
  width: min(86vw, 620px);
  height: 320px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(208, 170, 113, 0.16) 0%, rgba(186, 117, 79, 0.08) 38%, rgba(126, 63, 47, 0.03) 65%, transparent 78%);
  filter: blur(16px);
  z-index: -1;
  pointer-events: none;
}

.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border: 1px solid var(--ring-soft);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 1.2rem;
}

.hero h1 em {
  font-style: italic;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.05rem;
  color: #b5bbc5;
  margin-bottom: 2.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hero-desc::after {
  content: '';
  display: block;
  width: 84px;
  height: 2px;
  margin: 1.4rem auto 0;
  background: var(--gradient-warm);
  opacity: 0.85;
}

.hero-film {
  position: relative;
  width: min(100%, 430px);
  margin-left: auto;
  padding: 14px 28px;
  border-radius: 22px;
  background: linear-gradient(170deg, rgba(12, 12, 13, 0.95), rgba(18, 18, 20, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5);
}

.hero-film::before,
.hero-film::after {
  content: '';
  position: absolute;
  top: 14px;
  bottom: 14px;
  width: 14px;
  border-radius: 8px;
  background:
    radial-gradient(circle, rgba(9, 10, 11, 0.9) 58%, transparent 60%) center top / 100% 26px repeat-y;
}

.hero-film::before {
  left: 8px;
}

.hero-film::after {
  right: 8px;
}

.film-window {
  height: 620px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b0c0d;
}

.film-track {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  animation: filmScroll 24s linear infinite;
}

.hero-film:hover .film-track {
  animation-play-state: paused;
}

.film-track img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@keyframes filmScroll {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(calc(-50% - 5px));
  }
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  background: var(--gradient-warm);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 34px rgba(186, 117, 79, 0.38);
  filter: brightness(1.1);
}

/* ===== SECTION COMMON ===== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section-tag {
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.8rem;
}

.section-header h2,
.sobre h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
}

.section-line {
  width: 50px;
  height: 2px;
  background: var(--gradient-warm);
  margin: 1.2rem auto 0;
}

/* ===== OBRAS ===== */
.obras {
  padding: 7rem 4% 5rem;
  position: relative;
}

.obras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

/* -- CARD COM BLUR -- */
.obra-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
}

.obra-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.52);
  border-color: var(--ring-soft);
}

/* Fundo blur com a cor da imagem */
.obra-blur-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.obra-blur-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(60px) saturate(1.6) brightness(0.35);
  transform: scale(1.4);
  opacity: 0.7;
}

/* Imagem principal */
.obra-image-wrapper {
  position: relative;
  z-index: 1;
  padding: 1.5rem 1.5rem 0;
}

.obra-image-wrapper img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease;
}

.obra-card:hover .obra-image-wrapper img {
  transform: scale(1.02);
}

/* Info */
.obra-info {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
}

.obra-badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border: 1px solid rgba(184, 112, 74, 0.25);
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.8rem;
}

.obra-info h3 {
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.obra-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.obra-cta {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: opacity 0.3s;
  position: relative;
  padding-bottom: 0.2rem;
}

.obra-cta::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.obra-card:hover .obra-cta {
  opacity: 0.8;
}

.obra-card:hover .obra-cta::after {
  width: 100%;
}

/* ===== PÁGINA FULL-PAGE DE ETAPAS ===== */
.page-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(201, 169, 110, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(184, 112, 74, 0.14) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(139, 69, 51, 0.12) 0%, transparent 50%),
    #0a0a0a;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.page-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.page-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem 4%;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(184, 112, 74, 0.1);
}

.page-back {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-size: 0.85rem;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.page-back:hover {
  background: rgba(184, 112, 74, 0.2);
  border-color: rgba(184, 112, 74, 0.3);
}

.page-title {
  font-size: 1.3rem;
  font-weight: 500;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.page-gallery {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2.5rem 4% 4rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeSlideUp 0.5s ease backwards;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.56);
  border-color: var(--ring-soft);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.gallery-item .etapa-label {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(8px);
  color: var(--accent);
  border: 1px solid rgba(201, 169, 110, 0.2);
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== SOBRE ===== */
.sobre {
  padding: 6rem 4%;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(186, 117, 79, 0.11) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 70%, rgba(126, 63, 47, 0.09) 0%, transparent 50%),
    #0f1012;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sobre-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.sobre h2 {
  margin-bottom: 1.2rem;
}

.sobre > .sobre-content > p {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto 3rem;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  min-width: 180px;
  padding: 1.2rem 1.1rem;
  background: var(--glass);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 300;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-plus, .stat-percent {
  font-size: 1.6rem;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.3rem;
  letter-spacing: 0.5px;
}

/* ===== CONTATO ===== */
.contato {
  padding: 6rem 4%;
  position: relative;
}

.contato-info {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.contato-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.contato-acoes {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  background: #25d366;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 50px;
  transition: all 0.3s;
}

.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, #833ab4 0%, #e1306c 55%, #f77737 100%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 50px;
  transition: all 0.3s;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.btn-instagram:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 8px 25px rgba(225, 48, 108, 0.32);
}

.contato-cidades {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.contato-cidades span {
  opacity: 0.7;
}

.contato-form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}

.form-row {
  display: flex;
  gap: 1rem;
}

.contato-form input,
.contato-form textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
}

.contato-form input:focus,
.contato-form textarea:focus {
  border-color: rgba(186, 117, 79, 0.55);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(186, 117, 79, 0.16);
}

.contato-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contato-form .btn-primary {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* ===== FOOTER ===== */
.footer {
  padding: 2.5rem 4%;
  border-top: 1px solid rgba(208, 170, 113, 0.18);
  background: rgba(8, 8, 9, 0.85);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.obra-card:nth-child(2n) {
  transform-origin: top left;
}

.obra-card:nth-child(2n):hover {
  transform: translateY(-10px) rotate(-0.4deg);
}

.obra-card:nth-child(2n + 1):hover {
  transform: translateY(-10px) rotate(0.4deg);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 1.5rem 4%;
    gap: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .obras-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    width: min(1200px, 94%);
  }

  .hero-content {
    text-align: center;
    padding: 2rem 1.2rem;
    max-width: 100%;
  }

  .hero-content::before {
    left: 50%;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-desc::after {
    margin: 1.4rem auto 0;
  }

  .hero-film {
    width: min(100%, 420px);
    margin: 0 auto;
    padding: 10px 22px;
  }

  .hero-film::before,
  .hero-film::after {
    width: 12px;
  }

  .film-window {
    height: 310px;
  }

  .film-track img {
    height: 145px;
  }

  .obra-image-wrapper img {
    height: 220px;
  }

  .form-row {
    flex-direction: column;
  }

  .contato-acoes {
    flex-direction: column;
    align-items: center;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .stats {
    gap: 0.8rem;
  }

  .stat {
    min-width: 150px;
  }

  .page-header {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .page-subtitle {
    display: none;
  }

  .page-gallery {
    grid-template-columns: 1fr;
    padding: 1.5rem 4% 3rem;
  }

  .contato-form {
    padding: 1rem;
  }

  .gallery-item img {
    height: 240px;
  }
}

@media (max-width: 520px) {
  .obras-grid {
    grid-template-columns: 1fr;
  }

  .obra-image-wrapper {
    padding: 1rem 1rem 0;
  }

  .hero-film {
    padding: 8px 18px;
  }

  .film-window {
    height: 260px;
  }

  .film-track img {
    height: 125px;
  }

  .obra-info {
    padding: 1rem;
  }

  .obra-card:hover,
  .obra-card:nth-child(2n):hover,
  .obra-card:nth-child(2n + 1):hover {
    transform: translateY(-6px);
  }

  .gallery-item img {
    height: 200px;
  }
}
