/* ==========================================================
   CASA TARUMÃ — DIREÇÃO DE ARTE & EXPERIÊNCIA CINEMATOGRÁFICA
   Arquitetura de Cenas, Transições Contínuas & Editorial Luxury
   ========================================================== */

:root {
  /* Paleta Nobre & Orgânica */
  --bg:          #16120f;
  --bg-alt:      #1f1915;
  --bg-alt-2:    #2a201a;
  --cream:       #f5efe6;
  --cream-soft:  #ded5c8;
  --muted:       #a39585;
  --copper:      #c1793c;
  --copper-light:#df985c;
  --wine:        #6b2332;
  --line:        rgba(245, 239, 230, 0.12);
  --line-strong: rgba(245, 239, 230, 0.24);

  /* Tipografia Editorial */
  --font-display: 'Fraunces', serif;
  --font-body:    'Manrope', sans-serif;

  /* Geometria & Escala */
  --container: 1240px;
  --gap: clamp(1.5rem, 4vw, 3.5rem);
  --hero-height: 500vh;

  /* Transição de Atmosfera */
  --scene-transition: background-color 0.8s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: var(--scene-transition);
}

/* Transições Sutis de Cor de Fundo por Cena */
body[data-scene="hero"]         { --bg: #14100d; }
body[data-scene="espaco"]       { --bg: #181411; }
body[data-scene="experiencias"] { --bg: #120e0c; }
body[data-scene="casamentos"]   { --bg: #1b1512; }
body[data-scene="gastronomia"]  { --bg: #20130f; }
body[data-scene="galeria"]      { --bg: #16120f; }
body[data-scene="detalhes"]     { --bg: #1a1410; }
body[data-scene="reserva"]      { --bg: #0d0a08; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

p { color: var(--muted); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Contêiner Geral de Cena */
.scene {
  position: relative;
  padding: clamp(5rem, 10vw, 8.5rem) clamp(1.5rem, 5vw, 4rem);
  overflow: hidden;
}

.scene-container {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.scene-kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: clamp(0.72rem, 1.2vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--copper-light);
  margin-bottom: clamp(0.6rem, 1.8vw, 1rem);
}
.kicker-gold   { color: #d4a76a; }
.kicker-copper { color: var(--copper-light); }
.kicker-light  { color: var(--cream-soft); }

.scene-heading-huge {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  color: var(--cream);
  line-height: 1.08;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  letter-spacing: -0.02em;
}

.scene-subhead {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  color: #d1c7bc;
  max-width: 64ch;
  line-height: 1.55;
}

.scene-lead-center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
}
.scene-lead-center .scene-subhead { margin: 0 auto; }

/* ==========================================================
   PRELOADER MINIMALISTA & PREMIUM
   ========================================================== */
.cinematic-preloader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
}
.cinematic-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-content {
  text-align: center;
  padding: 2rem;
  max-width: 360px;
  width: 100%;
}
.preloader-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  color: var(--cream);
  display: block;
  margin-bottom: 1.8rem;
  text-transform: uppercase;
}
.preloader-progress-track {
  width: 100%;
  height: 2px;
  background: rgba(245, 239, 230, 0.12);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.preloader-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--copper), var(--copper-light));
  transition: width 0.15s ease-out;
}
.preloader-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* ==========================================================
   BOTÕES & LINKS PREMIUM
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.95rem 1.8rem;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              color 0.3s ease,
              transform 0.3s ease,
              box-shadow 0.3s ease;
}

.btn-primary {
  background: var(--copper);
  color: #140f0c;
  font-weight: 700;
}
.btn-primary:hover {
  background: var(--copper-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(193, 121, 60, 0.4);
}

.btn-outline {
  border-color: var(--line-strong);
  color: var(--cream);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--copper);
  color: var(--copper-light);
  transform: translateY(-1px);
}

.btn-small { padding: 0.6rem 1.25rem; font-size: 0.85rem; }

.btn-cta {
  padding: 1.15rem 2.5rem;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(193, 121, 60, 0.35);
}

.btn-cta-grand {
  padding: 1.35rem 3.2rem;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 14px 40px rgba(193, 121, 60, 0.45);
}

.btn-whatsapp-direct {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
}
.btn-whatsapp-direct:hover {
  border-color: #25d366;
  color: #25d366;
}

/* ==========================================================
   HEADER FIXO COM TRANSIÇÃO EDITORIAL
   ========================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(20, 16, 13, 0.94);
  backdrop-filter: blur(12px);
  border-color: var(--line);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.2rem clamp(1.5rem, 5vw, 2rem);
}
.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-right: auto;
}
.header-logo-img {
  height: 38px;
  width: auto;
  display: block;
}
.footer-logo-img {
  height: 34px;
  width: auto;
  display: block;
  margin-bottom: 0.5rem;
}
.nav { display: flex; gap: 1.75rem; }
.nav a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.25s ease;
  letter-spacing: 0.03em;
}
.nav a:hover { color: var(--cream); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--cream); transition: 0.25s ease; }

/* ==========================================================
   HERO CINEMATOGRÁFICO — PRESERVADO & INTOCADO
   ========================================================== */
#cinematic-hero {
  position: relative;
  height: var(--hero-height, 500vh);
  width: 100%;
  background: var(--bg);
  touch-action: pan-y;
  padding: 0;
}

.cinematic-sticky {
  position: sticky;
  top: 0;
  left: 0;
  width: 100vw;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  z-index: 10;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(20, 16, 13, 0.22) 0%, rgba(20, 16, 13, 0.6) 70%, rgba(20, 16, 13, 0.9) 100%),
    linear-gradient(to bottom, rgba(20, 16, 13, 0.45) 0%, transparent 25%, transparent 75%, rgba(20, 16, 13, 0.8) 100%);
  z-index: 2;
  pointer-events: none;
}

#hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 4rem);
}

.narrative-block {
  position: absolute;
  text-align: center;
  max-width: 840px;
  width: 100%;
  padding: 0 1.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(22px) scale(0.97);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.5s;
  pointer-events: none;
}

.narrative-block.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.narrative-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: clamp(0.72rem, 1.2vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--copper-light);
  margin-bottom: clamp(0.6rem, 1.8vw, 1.1rem);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.narrative-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 6.5vw, 4.8rem);
  font-weight: 500;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: clamp(0.9rem, 2.2vw, 1.4rem);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.85);
  letter-spacing: -0.02em;
}

.narrative-lead {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 400;
  color: #ede5da;
  line-height: 1.5;
  max-width: 580px;
  margin: 0 auto;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}

.narrative-action {
  margin-top: clamp(1.4rem, 2.8vw, 2.2rem);
}

.scroll-indicator {
  position: absolute;
  bottom: clamp(1.5rem, 4vh, 2.8rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  opacity: 1;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.scroll-indicator.faded { opacity: 0; }
.scroll-text {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-soft);
}
.scroll-line {
  width: 1px;
  height: 26px;
  background: linear-gradient(to bottom, var(--copper-light), transparent);
  animation: scrollPulse 2s infinite ease-in-out;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  50.1% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ==========================================================
   CENA 01: O ESPAÇO — REVELAÇÃO EDITORIAL EM PROFUNDIDADE
   ========================================================== */
.scene-espaco {
  padding-top: clamp(6rem, 12vw, 10rem);
}

.espaco-header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.espaco-stage {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: var(--gap);
  align-items: center;
}

.espaco-visual-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  background: var(--bg-alt);
}
.espaco-visual-img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  transform: scale(var(--espaco-scale, 1.05));
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.espaco-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 16, 13, 0.6) 0%, transparent 60%);
  pointer-events: none;
}
.espaco-caption-pill {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(22, 18, 15, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--cream-soft);
  letter-spacing: 0.04em;
}
.pill-dot {
  width: 6px;
  height: 6px;
  background: var(--copper);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--copper);
}

.espaco-narrative {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.editorial-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-left: 2px solid var(--copper);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 2px;
}
.editorial-card-title {
  color: var(--cream);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  margin-bottom: 1.2rem;
}
.editorial-card-text {
  font-size: 1.02rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.editorial-card-text:last-child { margin-bottom: 0; }

.espaco-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.spec-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 1.2rem 1rem;
  border-radius: 2px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.spec-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--copper-light);
}
.spec-label {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.35;
}

/* ==========================================================
   MOMENTO TRANSIÇÃO 01: IMAGEM ATRAVESSANDO A TELA (PORTAL)
   ========================================================== */
.scene-portal-expand {
  position: relative;
  min-height: 120vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  overflow: hidden;
}

.portal-frame {
  position: relative;
  width: 100%;
  max-width: 1360px;
  height: 82vh;
  border-radius: var(--portal-radius, 24px);
  transform: scale(var(--portal-scale, 0.88));
  overflow: hidden;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.6);
  transition: border-radius 0.2s ease-out, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, border-radius;
}

.portal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.portal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 12, 10, 0.85) 0%, rgba(16, 12, 10, 0.35) 60%, rgba(16, 12, 10, 0.6) 100%);
}

.portal-content {
  position: absolute;
  bottom: clamp(2rem, 6vw, 4.5rem);
  left: clamp(2rem, 6vw, 4.5rem);
  right: clamp(2rem, 6vw, 4.5rem);
  max-width: 760px;
  z-index: 2;
}
.portal-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 0.8rem;
}
.portal-desc {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--cream-soft);
  line-height: 1.6;
}

/* ==========================================================
   CENA 02: EXPERIÊNCIAS — "CELEBRE DO SEU JEITO" (TRIPTYCH)
   ========================================================== */
.scene-experiencias {
  background: var(--bg);
}

.cards-triptych {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
}

.editorial-card-grand {
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(var(--card-scale, 0.94));
  opacity: var(--card-opacity, 0.85);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s ease,
              border-color 0.3s ease,
              box-shadow 0.4s ease;
  will-change: transform, opacity;
}

.editorial-card-grand.active-focus,
.editorial-card-grand:hover {
  transform: scale(1.0);
  opacity: 1;
  border-color: var(--copper);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 20px rgba(193, 121, 60, 0.2);
  z-index: 5;
}

.card-grand-media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}
.card-grand-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.editorial-card-grand:hover .card-grand-media img {
  transform: scale(1.08);
}
.card-grand-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-alt) 0%, transparent 65%);
}

.card-grand-content {
  padding: clamp(1.8rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-grand-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--copper-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.card-grand-category {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.card-grand-title {
  color: var(--cream);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  margin-bottom: 1rem;
}

.card-grand-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.card-grand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--copper-light);
  transition: color 0.2s ease, gap 0.2s ease;
}
.card-grand-link:hover {
  color: var(--cream);
  gap: 0.8rem;
}

/* ==========================================================
   CENA 03: CASAMENTOS — FOTOGRAFIAS FLUTUANTES EM CAMADAS
   ========================================================== */
.scene-casamentos {
  min-height: 120vh;
  padding-bottom: clamp(6rem, 12vw, 10rem);
}

.casamentos-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(3.5rem, 7vw, 6rem);
}

.floating-gallery-stage {
  position: relative;
  height: clamp(520px, 68vh, 760px);
  width: 100%;
}

.floating-photo {
  position: absolute;
  border-radius: 3px;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.55);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  will-change: transform;
}

.photo-matting {
  background: #241d18;
  padding: 10px;
  border-radius: 3px;
  border: 1px solid var(--line);
}
.photo-matting img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.floating-legend {
  position: absolute;
  bottom: -3.2rem;
  left: 0;
  right: 0;
  text-align: center;
  opacity: 0.85;
}
.legend-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--copper-light);
  text-transform: uppercase;
  display: block;
}
.floating-legend p {
  font-size: 0.82rem;
  color: var(--cream-soft);
}

/* Posições relativas das 3 fotos no desktop */
.photo-primary {
  width: clamp(340px, 44vw, 540px);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(var(--p1-scale, 1));
  z-index: 3;
}
.photo-secondary {
  width: clamp(260px, 32vw, 380px);
  left: 10%;
  top: 42%;
  transform: translate(var(--p2-x, -20px), -50%) rotate(-3.5deg) scale(var(--p2-scale, 0.95));
  z-index: 2;
}
.photo-tertiary {
  width: clamp(260px, 32vw, 380px);
  right: 10%;
  top: 48%;
  transform: translate(var(--p3-x, 20px), -50%) rotate(3deg) scale(var(--p3-scale, 0.95));
  z-index: 2;
}

/* ==========================================================
   MOMENTO TRANSIÇÃO 02: CORTINA CINEMATOGRÁFICA CASAMENTO -> GASTRONOMIA
   ========================================================== */
.curtain-divider-stage {
  position: relative;
  height: 380px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.curtain-leaf {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.leaf-left {
  background: linear-gradient(135deg, rgba(107, 35, 50, 0.45) 0%, transparent 70%);
  clip-path: polygon(0 0, 100% 0, 65% 100%, 0% 100%);
}
.leaf-right {
  background: linear-gradient(315deg, rgba(193, 121, 60, 0.3) 0%, transparent 65%);
  clip-path: polygon(35% 0, 100% 0, 100% 100%, 0% 100%);
}

.curtain-emblem {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.emblem-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: var(--copper-light);
  display: block;
  margin-bottom: 0.5rem;
}
.emblem-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--cream);
  font-style: italic;
}

/* ==========================================================
   CENA 04: GASTRONOMIA — "CAMERA MOVE THROUGH" EM CAMADAS
   ========================================================== */
.scene-gastronomia {
  background: var(--bg);
}

.gastronomia-header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.camera-move-stage {
  position: relative;
  min-height: clamp(580px, 85vh, 850px);
  border-radius: 4px;
  overflow: hidden;
}

.camera-layer {
  position: absolute;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.layer-bg {
  inset: 0;
  z-index: 1;
  transform: scale(var(--cam-bg-scale, 1.08));
}
.layer-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.layer-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(22, 18, 15, 0.9) 0%, rgba(22, 18, 15, 0.5) 50%, rgba(22, 18, 15, 0.85) 100%);
}

.layer-mid {
  left: clamp(2rem, 5vw, 4rem);
  top: 12%;
  width: clamp(240px, 30vw, 360px);
  z-index: 2;
  transform: translateY(var(--cam-mid-y, 0px));
}

.layer-fore {
  right: clamp(2rem, 5vw, 4rem);
  bottom: 10%;
  width: clamp(240px, 28vw, 340px);
  z-index: 3;
  transform: translateY(var(--cam-fore-y, 0px));
}

.layer-card-wrap {
  background: var(--bg-alt);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}
.layer-card-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.layer-card-caption {
  padding: 1.2rem;
}
.layer-card-caption h4 {
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 0.3rem;
}
.layer-card-caption p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

.layer-text {
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  pointer-events: none;
  padding: 2rem;
}

.gastronomia-feature-box {
  background: rgba(22, 18, 15, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong);
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: 4px;
  max-width: 580px;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  pointer-events: auto;
}
.feature-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--copper-light);
  display: block;
  margin-bottom: 0.8rem;
}
.feature-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  color: var(--cream);
  margin-bottom: 1rem;
}
.feature-p {
  font-size: 0.98rem;
  color: #ded5ca;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.feature-stats {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
.feature-stats div { display: flex; flex-direction: column; }
.feature-stats strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--copper-light);
}
.feature-stats span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ==========================================================
   CENA 05: GALERIA EDITORIAL — MOSAICO ASSIMÉTRICO DINÂMICO
   ========================================================== */
.editorial-mosaic {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.mosaic-col {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  transform: translateY(var(--mosaic-y, 0px));
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.mosaic-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  transition: border-color 0.3s ease, transform 0.4s ease;
}
.mosaic-item:hover {
  border-color: var(--copper);
  transform: translateY(-4px);
}
.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.mosaic-item:hover img {
  transform: scale(1.05);
}

.item-portrait { aspect-ratio: 3 / 4; }
.item-landscape { aspect-ratio: 16 / 11; }
.item-monumental {
  aspect-ratio: 16 / 14;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
}

.mosaic-caption {
  position: absolute;
  bottom: 0.8rem;
  left: 0.8rem;
  right: 0.8rem;
  background: rgba(22, 18, 15, 0.8);
  backdrop-filter: blur(8px);
  padding: 0.4rem 0.8rem;
  border-radius: 2px;
  font-size: 0.75rem;
  color: var(--cream-soft);
  letter-spacing: 0.04em;
}

.mosaic-monumental-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 16, 13, 0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.overlay-tag {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--copper-light);
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.mosaic-monumental-overlay h4 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  color: var(--cream);
}

/* ==========================================================
   CENA 06: CADA DETALHE IMPORTA — PONTOS FOCAIS INTERATIVOS
   ========================================================== */
.scene-detalhes {
  background: var(--bg);
}

.detalhes-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(3rem, 6vw, 4.5rem);
}

.hotspot-stage {
  position: relative;
  min-height: clamp(540px, 75vh, 700px);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.hotspot-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}
.hotspot-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(22, 18, 15, 0.4) 0%, rgba(22, 18, 15, 0.85) 100%);
}

.hotspots-container {
  position: absolute;
  inset: 0;
  padding: clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  z-index: 2;
}

.hotspot-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0.85;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.hotspot-node.active,
.hotspot-node:hover {
  opacity: 1;
  transform: translateY(-8px);
}

.node-pin {
  position: relative;
  width: 52px;
  height: 52px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pin-core {
  width: 42px;
  height: 42px;
  background: var(--copper);
  color: #16120f;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(193, 121, 60, 0.6);
  z-index: 2;
}
.pin-pulse {
  position: absolute;
  inset: -6px;
  border: 1px solid var(--copper-light);
  border-radius: 50%;
  animation: pulsePin 2.5s infinite;
}
@keyframes pulsePin {
  0%   { transform: scale(0.8); opacity: 0.8; }
  50%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(0.8); opacity: 0; }
}

.node-card {
  background: rgba(22, 18, 15, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 1.8rem 1.4rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}
.node-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--copper-light);
  display: block;
  margin-bottom: 0.4rem;
}
.node-title {
  color: var(--cream);
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}
.node-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ==========================================================
   CENA 07: DESACELERAÇÃO & CONVERSÃO FINAL (O FINAL DE UM FILME)
   ========================================================== */
.scene-reserva {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  overflow: hidden;
}

.reserva-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
}
#reserva-zoom-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--reserva-scale, 1.12));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.reserva-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(16, 12, 10, 0.5) 0%, rgba(16, 12, 10, 0.88) 75%, rgba(16, 12, 10, 0.98) 100%),
    linear-gradient(to bottom, rgba(16, 12, 10, 0.8) 0%, transparent 35%, transparent 70%, rgba(16, 12, 10, 0.95) 100%);
}

.reserva-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}
.reserva-kicker {
  font-size: 0.82rem;
  letter-spacing: 0.25em;
  color: var(--copper-light);
  font-weight: 700;
  display: block;
  margin-bottom: 1.2rem;
}
.reserva-title {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  color: var(--cream);
  line-height: 1.06;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}
.reserva-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  color: #dfd6cb;
  margin-bottom: 2.8rem;
}

.reserva-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.reserva-meta-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  flex-wrap: wrap;
}

/* ==========================================================
   CENA 08: CONTATO & FOOTER
   ========================================================== */
.scene-contato {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.contato-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--gap);
  align-items: start;
}

.contato-form-wrapper h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  color: var(--cream);
  margin-bottom: 0.8rem;
}
.contato-lead-p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contato-form input,
.contato-form select,
.contato-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 0.25rem;
  margin-bottom: 1.2rem;
  outline: none;
  transition: border-color 0.25s ease;
}
.contato-form select {
  background: var(--bg-alt);
  cursor: pointer;
}
.contato-form select option {
  background: var(--bg-alt);
  color: var(--cream);
}
.contato-form input:focus,
.contato-form select:focus,
.contato-form textarea:focus {
  border-color: var(--copper);
}

.btn-submit-luxury {
  width: 100%;
  padding: 1.1rem 2rem;
  margin-top: 0.5rem;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.contato-info-panel {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.info-group {
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.2rem;
}
.info-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.info-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--copper-light);
  display: block;
  margin-bottom: 0.35rem;
}
.info-val-strong {
  font-size: 1.05rem;
  color: var(--cream);
}
.info-val-strong a {
  transition: color 0.2s ease;
}
.info-val-strong a:hover {
  color: var(--copper-light);
}
.info-val-sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem clamp(1.5rem, 5vw, 4rem) 2rem;
  background: #0f0c0a;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.footer-col-brand .logo {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
  display: block;
}
.footer-tagline {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-nav a {
  font-size: 0.88rem;
  color: var(--muted);
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--cream); }

.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
}
.footer-social a {
  color: var(--muted);
  transition: color 0.2s ease;
}
.footer-social a:hover { color: var(--copper-light); }

.footer-bottom-bar {
  max-width: var(--container);
  margin: 1.5rem auto 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ==========================================================
   ANIMAÇÕES REVEAL (INTERSECTION OBSERVER)
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================
   ACESSIBILIDADE & REDUCED MOTION
   ========================================================== */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .narrative-block, .portal-frame, .mosaic-col, .camera-layer, .floating-photo {
    transition: none !important;
    transform: none !important;
  }
}

/* ==========================================================
   RESPONSIVIDADE (TABLET & MOBILE)
   ========================================================== */
@media (max-width: 1024px) {
  .espaco-stage {
    grid-template-columns: 1fr;
  }
  .cards-triptych {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .editorial-card-grand {
    transform: none !important;
    opacity: 1 !important;
  }
  .editorial-mosaic {
    grid-template-columns: 1fr 1fr;
  }
  .mosaic-col.col-center {
    grid-column: 1 / -1;
  }
  .hotspots-container {
    grid-template-columns: 1fr;
    position: relative;
    padding: 2rem 1.5rem;
    gap: 2rem;
  }
  .hotspot-stage {
    min-height: auto;
  }
  .hotspot-bg-img {
    position: absolute;
    inset: 0;
  }
  .camera-move-stage {
    min-height: 600px;
  }
  .layer-mid, .layer-fore {
    display: none;
  }
}

@media (max-width: 860px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(20, 16, 13, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
  }
  .nav.nav-open { display: flex; }
  .nav a {
    padding: 1.1rem clamp(1.5rem, 5vw, 2rem);
    border-top: 1px solid var(--line);
  }
  .nav-toggle { display: flex; }
  .header-inner .btn-outline { display: none; }

  .contato-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .floating-gallery-stage {
    height: 480px;
  }
  .photo-secondary, .photo-tertiary {
    display: none;
  }
  .photo-primary {
    width: 90%;
  }

  .editorial-mosaic {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 600px) {
  .espaco-specs-grid {
    grid-template-columns: 1fr;
  }
  .reserva-actions {
    flex-direction: column;
    width: 100%;
  }
  .reserva-actions .btn {
    width: 100%;
  }
}
