/* ====================================================================
   DESIGN SYSTEM & CSS — "LAVÍNEA — EXPOSIÇÃO NARRATIVA"
   Direção Artística de Livro Editorial Contemporâneo
   Inspirado em Kinfolk, Aesop, MUJI, Cereal, Apple e Museus de Arte
   ==================================================================== */

:root {
  /* Cores & Iluminação Gradual por Capítulo */
  --bg-warm-base: #FFFDFB;
  --bg-warm-1: #FAF4F1;
  --bg-warm-2: #FBF1EE;
  --bg-warm-3: #FAF0ED;
  --bg-warm-4: #F8EBE7;
  --bg-warm-5: #F5E3DE;

  --text-main: #1D1D1F;
  --text-muted: #5E5E63;
  --text-light: #8E8E93;
  
  --rose-gold: #C58F78;
  --rose-gold-dark: #A6725C;
  --rose-gold-soft: rgba(197, 143, 120, 0.15);
  --accent-pink-soft: rgba(246, 218, 222, 0.45);
  --accent-pink-glow: rgba(248, 210, 218, 0.35);
  
  --border-delicate: rgba(197, 143, 120, 0.18);
  --border-subtle: rgba(0, 0, 0, 0.06);
  --shadow-subtle: 0 10px 40px rgba(197, 143, 120, 0.05);
  --shadow-float: 0 25px 70px rgba(0, 0, 0, 0.05);

  /* Tipografia */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;

  /* Curvas e Transições */
  --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-slide: 0.9s;
}

/* Reset Minimalista */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-warm-base);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background-color 1.2s var(--ease-apple);
}

::selection {
  background: var(--accent-pink-soft);
  color: var(--text-main);
}

/* ====================================================================
   HALO DE ILUMINAÇÃO DIFUSA AMBIENTE
   ==================================================================== */
.ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle at 50% 40%, var(--accent-pink-glow), transparent 70%);
  transition: background 1.5s var(--ease-apple);
}

/* ====================================================================
   CABEÇALHO EDITORIAL & MARCADOR DE LIVRO (STYLEFRAME ALIGNED)
   ==================================================================== */
.editorial-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5vw;
  z-index: 100;
  background: rgba(255, 253, 251, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(197, 143, 120, 0.08);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo-mark {
  width: 28px;
  height: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-ouroboros {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(1.08) brightness(0.95);
  transition: transform 0.4s var(--ease-apple);
}

.header-logo-mark:hover .mini-ouroboros {
  transform: rotate(15deg) scale(1.1);
}

.header-project-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--text-main);
  font-weight: 400;
}

.bookmark-ribbon {
  background: transparent;
  border: 1px solid var(--border-delicate);
  border-radius: 20px;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.4s var(--ease-apple);
}

.bookmark-ribbon:hover {
  background: var(--accent-pink-soft);
  border-color: var(--rose-gold);
  transform: translateY(-1px);
}

/* GAVETA DO ÍNDICE EDITORIAL */
.index-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-apple);
}

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

.index-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 390px;
  height: 100vh;
  background: var(--bg-warm-base);
  padding: 40px 35px;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 50px rgba(0, 0, 0, 0.06);
  transform: translateX(100%);
  transition: transform 0.6s var(--ease-apple);
}

.index-overlay.active .index-drawer {
  transform: translateX(0);
}

.index-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-delicate);
  padding-bottom: 15px;
}

.index-tag {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
}

.close-index-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}

.index-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding-right: 5px;
}

.index-item {
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.18rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px 0;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.index-item .item-tag {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
}

.index-item .item-title {
  color: var(--text-main);
}

.index-item:hover {
  padding-left: 8px;
  color: var(--rose-gold);
}

.index-footer-flower {
  margin-top: auto;
  display: flex;
  justify-content: center;
  padding-top: 20px;
}

.index-ouroboros-stamp {
  width: 45px;
  height: 45px;
  object-fit: contain;
  mix-blend-mode: multiply;
  opacity: 0.4;
}

/* ====================================================================
   FLORAIS BOTÂNICOS NAS MARGENS (EXPANDIDOS & BOTANICAL FINELINE)
   ==================================================================== */
.botanical-margin {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.tulip-cover-margin {
  bottom: -40px;
  left: -20px;
  width: 42vw;
  max-width: 450px;
  height: 85vh;
}

.orchid-lock-margin {
  bottom: -20px;
  right: -30px;
  width: 38vw;
  max-width: 400px;
  height: 75vh;
}

.tulip-cap1-margin {
  top: 5vh;
  left: -40px;
  width: 35vw;
  max-width: 360px;
  height: 80vh;
}

.orchid-cap2-margin {
  bottom: -20px;
  right: -30px;
  width: 38vw;
  max-width: 400px;
  height: 75vh;
}

.rose-letter-margin {
  bottom: -10px;
  right: -20px;
  width: 36vw;
  max-width: 380px;
  height: 70vh;
}

.rose-album-margin {
  bottom: -10px;
  right: -20px;
  width: 35vw;
  max-width: 350px;
  height: 65vh;
}

.rose-final-margin {
  top: 0;
  right: -50px;
  width: 45vw;
  max-width: 520px;
  height: 100vh;
}

.svg-botanical {
  width: 100%;
  height: 100%;
  display: block;
}

.botanical-watermark-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 500px;
  pointer-events: none;
  z-index: 1;
}

/* ====================================================================
   DECK & SLIDES DE EXPOSIÇÃO
   ==================================================================== */
.exhibition-deck {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.exhibition-slide {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 90px 20px 100px 20px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.97) translateY(20px);
  filter: blur(4px);
  transition: opacity var(--duration-slide) var(--ease-apple),
              transform var(--duration-slide) var(--ease-apple),
              filter var(--duration-slide) var(--ease-apple);
}

.exhibition-slide::-webkit-scrollbar {
  width: 6px;
}
.exhibition-slide::-webkit-scrollbar-track {
  background: transparent;
}
.exhibition-slide::-webkit-scrollbar-thumb {
  background: rgba(197, 143, 120, 0.3);
  border-radius: 3px;
}
.exhibition-slide::-webkit-scrollbar-thumb:hover {
  background: rgba(197, 143, 120, 0.6);
}

.exhibition-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
  filter: blur(0);
}

.slide-content {
  max-width: 780px;
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 5;
}

/* ====================================================================
   LÂMINA 0: CAPA (STYLEFRAME ALIGNED)
   ==================================================================== */
.tattoo-logo-container {
  width: 170px;
  height: 170px;
  margin-bottom: 22px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.6s var(--ease-apple);
}

.tattoo-logo-container:hover {
  transform: scale(1.06);
}

.tattoo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(1.08) brightness(0.96);
}

.editorial-title {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
  color: var(--text-main);
}

.hero-quote {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 38px;
}

.btn-minimal {
  background: transparent;
  border: 1px solid var(--text-main);
  border-radius: 30px;
  padding: 12px 42px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.4s var(--ease-apple);
}

.btn-minimal:hover {
  background: var(--text-main);
  color: var(--bg-warm-base);
  transform: translateY(-2px);
  box-shadow: var(--shadow-subtle);
}

.scroll-indicator-arrow, .slide-bottom-arrow {
  margin-top: 30px;
  animation: bounceSlow 3s ease-in-out infinite;
  opacity: 0.6;
}

@keyframes bounceSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ====================================================================
   LÂMINA 1: ÁREA RESERVADA (TELA DE SENHA - STYLEFRAME ALIGNED)
   ==================================================================== */
.lock-emblem-wrapper {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lock-ouroboros-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(1.08) brightness(0.96);
}

.lock-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 6px;
}

.lock-subtitle {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 18px;
}

.lock-prompt {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.lock-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 320px;
}

.input-pill-wrapper {
  width: 100%;
}

.lock-form input {
  width: 100%;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-delicate);
  border-radius: 30px;
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  letter-spacing: 0.2em;
  text-align: center;
  color: var(--text-main);
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(197, 143, 120, 0.05);
}

.lock-form input:focus {
  border-color: var(--rose-gold);
  background: #FFFFFF;
  box-shadow: 0 4px 20px rgba(197, 143, 120, 0.15);
}

.human-error-msg {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-style: italic;
  color: #C86D74;
  margin-top: 18px;
  min-height: 24px;
}

/* ====================================================================
   PRÓLOGO / RESPIRO I (ESTILO DE FONTE EDITORIAL CORMORANT GARAMOND)
   ==================================================================== */
.intro-paragraphs {
  font-family: var(--font-serif);
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}

.intro-p {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.85;
  color: var(--text-main);
  margin-bottom: 16px;
  font-weight: 300;
}

.intro-p.highlight-line {
  font-style: italic;
  color: var(--rose-gold-dark);
  font-size: 1.45rem;
}

.intro-p.soft-break {
  margin-top: 24px;
}

.intro-welcome-heading {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--text-main);
  margin-top: 35px;
  letter-spacing: 0.04em;
}

/* ====================================================================
   LÂMINAS DE CAPÍTULOS & ASYMMETRICAL EDITORIAL LAYOUT
   ==================================================================== */
.editorial-split-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  text-align: left;
  max-width: 950px;
}

.chapter-number {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 12px;
  display: block;
}

.chapter-heading {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 25px;
  color: var(--text-main);
}

.editorial-text {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.85;
  color: var(--text-main);
  margin-bottom: 20px;
}

.editorial-subtitle {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.editorial-photo-card {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-float);
  background: #FFFFFF;
}

.editorial-photo-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.photo-caption-subtle {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-style: italic;
  color: var(--text-light);
  padding: 12px 15px;
  text-align: center;
}

/* MOMENTO FOTOGRÁFICO DE DESTAQUE */
.editorial-hero-photo-wrapper {
  max-width: 620px;
  width: 100%;
  height: 52vh;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-float);
  margin-bottom: 25px;
}

.hero-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-photo-quote {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 20px;
}

.divider-line-subtle {
  width: 60px;
  height: 1px;
  background: var(--rose-gold);
  opacity: 0.4;
}

/* RESPIROS */
.breath-quote {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-main);
  line-height: 1.6;
  max-width: 620px;
}

.audio-personal-note {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-muted);
  margin: 20px 0 35px 0;
  max-width: 580px;
}

.audio-track-card {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-delicate);
  border-radius: 40px;
  padding: 14px 28px;
  cursor: pointer;
  box-shadow: var(--shadow-subtle);
  transition: all 0.4s var(--ease-apple);
  user-select: none;
}

.audio-track-card:hover, .audio-track-card.playing {
  background: #FFFFFF;
  border-color: var(--rose-gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(197, 143, 120, 0.15);
}

.track-icon-wrapper {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--rose-gold-soft);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.audio-track-card:hover .track-icon-wrapper {
  transform: scale(1.08);
}

.track-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.track-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-main);
}

.track-duration {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text-light);
}

.audio-waves-animation {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
  margin-left: 8px;
}

.wave-bar {
  width: 3px;
  height: 100%;
  background: var(--rose-gold);
  border-radius: 2px;
  animation: wavePulse 1s ease-in-out infinite alternate;
}

.wave-bar:nth-child(1) { animation-delay: 0.0s; }
.wave-bar:nth-child(2) { animation-delay: 0.2s; }
.wave-bar:nth-child(3) { animation-delay: 0.4s; }
.wave-bar:nth-child(4) { animation-delay: 0.1s; }

@keyframes wavePulse {
  0% { height: 4px; }
  100% { height: 18px; }
}

/* ====================================================================
   A CARTA (STYLEFRAME EDITORIAL BOOK PAGE)
   ==================================================================== */
.letter-content {
  max-width: 620px;
  align-items: flex-start;
  text-align: left;
}

.letter-salutation {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-style: italic;
  margin-bottom: 22px;
}

.letter-paragraph {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.85;
  color: var(--text-main);
  margin-bottom: 18px;
}

.letter-paragraph.highlight-letter {
  color: var(--rose-gold-dark);
  font-size: 1.4rem;
  font-style: italic;
  margin-top: 25px;
}

.letter-signature-block {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
  cursor: pointer;
  user-select: none;
}

.letter-signature-text {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-style: italic;
  color: var(--text-main);
}

.signature-stamp-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  mix-blend-mode: multiply;
  opacity: 0.6;
}

/* ====================================================================
   PEQUENAS COISAS (4 CARDS CENTRALIZADOS)
   ==================================================================== */
.pequenas-content {
  max-width: 950px;
}

.pequenas-cards-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  max-width: 920px;
  margin: 35px auto 0 auto;
}

.pequena-card {
  flex: 1 1 190px;
  max-width: 210px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border-delicate);
  border-radius: 12px;
  padding: 30px 15px 25px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s var(--ease-apple);
  box-shadow: 0 4px 20px rgba(197, 143, 120, 0.04);
}

.pequena-card:hover {
  background: #FFFFFF;
  border-color: var(--rose-gold);
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(197, 143, 120, 0.12);
}

.pequena-card-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pequena-card-icon svg {
  width: 100%;
  height: 100%;
}

.pequena-card-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 12px;
}

.pequena-card-more {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose-gold);
  margin-top: auto;
  opacity: 0.7;
}

/* ====================================================================
   ENTRE NÓS (CARDS HORIZONTALIZADOS DE MÍDIA)
   ==================================================================== */
.entre-nos-content {
  max-width: 1100px;
  width: 100%;
}

.entre-nos-media-grid {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 22px;
  width: 100%;
  overflow-x: auto;
  padding: 20px 10px 30px 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.entre-nos-media-grid::-webkit-scrollbar {
  height: 6px;
}
.entre-nos-media-grid::-webkit-scrollbar-track {
  background: rgba(197, 143, 120, 0.08);
  border-radius: 3px;
}
.entre-nos-media-grid::-webkit-scrollbar-thumb {
  background: rgba(197, 143, 120, 0.35);
  border-radius: 3px;
}

.entre-nos-media-card {
  flex: 1 1 230px;
  min-width: 220px;
  max-width: 250px;
  scroll-snap-align: center;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-delicate);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.4s var(--ease-apple);
}

.entre-nos-media-card:hover {
  transform: translateY(-5px);
  border-color: var(--rose-gold);
  box-shadow: 0 15px 35px rgba(197, 143, 120, 0.12);
}

.entre-nos-img-wrap, .entre-nos-video-wrap {
  width: 100%;
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 15px;
  background: #F0EAE5;
}

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

.entre-nos-card-caption {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--text-main);
  margin-top: auto;
}

.entre-nos-card-caption .caption-highlight {
  color: var(--rose-gold-dark);
  font-style: italic;
  margin-top: 4px;
}

.entre-nos-card-caption .caption-subtle {
  font-size: 0.88rem;
  color: var(--text-light);
  font-style: italic;
}

/* ====================================================================
   O TEMPO (CONTADOR)
   ==================================================================== */
.counter-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-top: 35px;
  padding: 35px 45px;
  border: 1px solid var(--border-delicate);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-subtle);
}

.counter-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.counter-number {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 300;
  color: var(--text-main);
}

.counter-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 6px;
}

.counter-dot {
  color: var(--rose-gold);
  font-size: 1.4rem;
}

/* ====================================================================
   ÁLBUM (POLAROID STACK CONFORME STYLEFRAME)
   ==================================================================== */
.album-mandatory-text-box {
  border-left: 2px solid var(--rose-gold-soft);
  padding-left: 20px;
}

.album-text-line {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.album-text-line.highlight-future {
  color: var(--text-main);
  font-style: italic;
  font-size: 1.3rem;
  margin-top: 20px;
}

.polaroid-stack-wrapper {
  position: relative;
  width: 100%;
  height: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.polaroid-card {
  position: absolute;
  width: 200px;
  background: #FFFFFF;
  padding: 10px 10px 30px 10px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.07);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.4s var(--ease-apple);
}

.polaroid-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.tape-strip {
  position: absolute;
  width: 60px;
  height: 20px;
  background: rgba(240, 230, 220, 0.65);
  backdrop-filter: blur(2px);
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  border-radius: 1px;
}

.polaroid-1 { transform: rotate(-8deg) translate(-30px, -10px); z-index: 1; }
.polaroid-2 { transform: rotate(5deg) translate(30px, 15px); z-index: 2; }
.polaroid-3 { transform: rotate(-3deg) translate(-10px, 25px); z-index: 3; }
.polaroid-4 { transform: rotate(7deg) translate(20px, -20px); z-index: 4; }

.polaroid-card:hover {
  z-index: 10 !important;
  transform: scale(1.1) rotate(0deg) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.btn-open-full-album {
  margin-top: 30px;
}

/* ====================================================================
   FINAL SLIDE
   ==================================================================== */
.dots-divider {
  letter-spacing: 0.6em;
  font-size: 0.85rem;
  color: var(--rose-gold);
  margin-bottom: 25px;
}

.final-title {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  font-weight: 300;
  margin-bottom: 15px;
}

.final-quote {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.final-signature-emblem {
  width: 110px;
  height: 110px;
  margin: 0 auto;
}

.final-ouroboros-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(1.08) brightness(0.95);
}

/* ====================================================================
   BARRA INFERIOR DE NAVEGAÇÃO ALINHADA AO STYLEFRAME
   ==================================================================== */
.exhibition-nav-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5vw;
  z-index: 100;
  background: rgba(255, 253, 251, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(197, 143, 120, 0.08);
}

.nav-bar-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-bar-ouroboros {
  width: 24px;
  height: 24px;
  object-fit: contain;
  mix-blend-mode: multiply;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.nav-bar-ouroboros:hover {
  opacity: 1;
}

.chapter-dots-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chapter-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-delicate);
  cursor: pointer;
  transition: all 0.3s ease;
}

.chapter-dot.active {
  background: var(--rose-gold);
  transform: scale(1.4);
}

.slide-indicator {
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  color: var(--text-light);
  font-weight: 400;
}

.indicator-sep {
  margin: 0 4px;
  opacity: 0.4;
}

.nav-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-arrow {
  background: transparent;
  border: 1px solid var(--border-delicate);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-arrow:hover {
  background: var(--accent-pink-soft);
  border-color: var(--rose-gold);
}

/* ====================================================================
   MODAIS
   ==================================================================== */
.editorial-modal {
  position: fixed;
  inset: 0;
  background: rgba(255, 253, 251, 0.95);
  backdrop-filter: blur(16px);
  z-index: 300;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-apple);
}

.editorial-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-inner {
  max-width: 640px;
  width: 100%;
  position: relative;
  text-align: center;
}

.pequena-modal-inner {
  max-width: 500px;
}

.pequena-modal-photo-frame {
  width: 100%;
  height: 280px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-float);
}

.pequena-modal-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pequena-modal-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  margin-bottom: 15px;
}

.pequena-modal-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.gallery-modal-inner {
  max-width: 1000px;
  max-height: 85vh;
  overflow-y: auto;
}

.gallery-full-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  padding: 20px 0;
}

.gallery-grid-item {
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-grid-item:hover {
  transform: scale(1.04);
}

.gallery-grid-item img, .gallery-grid-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-close-btn {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-media-wrapper img, .modal-media-wrapper video {
  max-height: 65vh;
  width: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: var(--shadow-float);
}

/* ====================================================================
   RESPONSIVIDADE (MOBILE & TABLET)
   ==================================================================== */
@media (max-width: 900px) {
  .editorial-split-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .pequenas-cards-container {
    grid-template-columns: repeat(3, 1fr);
  }
  .editorial-title { font-size: 3.2rem; }
  .chapter-heading { font-size: 2.2rem; }
  .hero-photo-quote { font-size: 1.4rem; }
}

@media (max-width: 600px) {
  .pequenas-cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .entre-nos-grid {
    grid-template-columns: 1fr;
  }
  .counter-wrapper {
    gap: 12px;
    padding: 20px 10px;
  }
  .counter-number { font-size: 2.2rem; }
  .botanical-margin { opacity: 0.25; }
  .polaroid-card { width: 160px; }
}
