/* ==========================================================================
   ALEANDRA NUNES CERIMONIALISTA — ZORVIX SIGNATURE
   Paleta Institucional:
   Ameixa escuro: #29171E | Vinho: #702C40 | Dourado: #C9A063
   Marfim: #F5EADD | Ébano: #211B19
   ========================================================================== */

:root {
  --plum: #29171e;
  --plum-deep: #1d0f15;
  --plum-soft: #3a212b;
  --wine: #702c40;
  --wine-deep: #4e1c2b;
  --gold: #c9a063;
  --gold-bright: #e4c58d;
  --gold-muted: #9c7944;
  --ivory: #f5eadd;
  --ivory-light: #faf4ec;
  --ivory-warm: #ead9c5;
  --ebony: #211b19;
  --ink-muted: #5b4b47;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-script: 'Great Vibes', cursive;

  --ease-cinematic: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-silk: cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1240px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}

body {
  margin: 0;
  background-color: var(--plum);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.intro-locked,
body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 2000;
  padding: 10px 18px;
  background: var(--gold);
  color: var(--plum-deep);
  font-size: 0.875rem;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(100% - 32px, var(--container-max));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .container {
    width: min(100% - 64px, var(--container-max));
  }
}

/* ==========================================================================
   1. ABERTURA CINEMATOGRÁFICA — CONVITE 3D
   ========================================================================== */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(112, 44, 64, 0.36), transparent 62%),
    linear-gradient(155deg, #1b0e13 0%, #29171e 55%, #160b10 100%);
  opacity: 1;
  transition: opacity 0.85s var(--ease-cinematic), visibility 0.85s ease;
}

.intro-overlay[hidden] {
  display: none;
}

.intro-overlay.is-leaving {
  opacity: 0;
  pointer-events: none;
}

.intro-ambient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 68% 55% at 50% 45%, rgba(201, 160, 99, 0.16), transparent 70%);
  pointer-events: none;
}

.intro-veil {
  position: absolute;
  inset: -10%;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(245, 234, 221, 0.08) 42%,
    rgba(201, 160, 99, 0.18) 52%,
    rgba(245, 234, 221, 0.06) 64%,
    transparent 82%
  );
  transform: translateX(-110%) skewX(-10deg);
  pointer-events: none;
  z-index: 5;
}

.intro-overlay.phase-veil .intro-veil {
  transform: translateX(115%) skewX(-10deg);
  transition: transform 1.1s var(--ease-cinematic);
}

.intro-stage {
  position: relative;
  z-index: 2;
  perspective: 1400px;
  padding: 24px;
}

.envelope-3d {
  position: relative;
  width: clamp(276px, 78vw, 410px);
  height: clamp(190px, 52vw, 276px);
  transform-style: preserve-3d;
  transform: rotateX(6deg) translateY(8px);
  transition: transform 0.9s var(--ease-cinematic);
}

.intro-overlay.phase-open .envelope-3d {
  transform: rotateX(2deg) translateY(22px);
}

.envelope-shadow {
  position: absolute;
  inset: 14% -4% -16% -4%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.65) 0%, transparent 72%);
  filter: blur(18px);
  transform: translateZ(-20px);
}

.envelope-back {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(201, 160, 99, 0.12), transparent 55%),
    linear-gradient(180deg, #ede0cf 0%, #dfd0bc 100%);
  border: 1px solid rgba(201, 160, 99, 0.45);
  box-shadow: inset 0 0 32px rgba(41, 23, 30, 0.16);
}

.envelope-letter {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 8%;
  bottom: 8%;
  z-index: 2;
  background:
    radial-gradient(circle at top right, rgba(201, 160, 99, 0.14), transparent 55%),
    linear-gradient(180deg, #fcf8f2 0%, #f3e7d8 100%);
  border: 1px solid rgba(201, 160, 99, 0.55);
  padding: 14px;
  display: grid;
  place-items: center;
  transform: translateY(0) translateZ(2px);
  transition: transform 0.95s var(--ease-cinematic);
  box-shadow: 0 12px 30px rgba(20, 10, 14, 0.28);
}

.intro-overlay.phase-letter .envelope-letter {
  transform: translateY(-48%) translateZ(18px);
}

.letter-frame {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(201, 160, 99, 0.42);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  gap: 6px;
}

.letter-monogram {
  width: clamp(54px, 14vw, 76px);
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(41, 23, 30, 0.16));
}

.letter-kicker {
  margin: 0;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 500;
}

.letter-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3.8vw, 1.8rem);
  font-weight: 500;
  font-style: italic;
  color: var(--plum);
  line-height: 1.15;
}

.envelope-pocket {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(150deg, #f5eadd 0%, #eadac6 48%, #dfccb5 100%);
  clip-path: polygon(0 0, 50% 52%, 100% 0, 100% 100%, 0 100%);
  border-bottom: 1px solid rgba(201, 160, 99, 0.5);
  box-shadow: inset 0 -10px 24px rgba(41, 23, 30, 0.12);
}

.envelope-flap {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 58%;
  z-index: 4;
  transform-origin: top center;
  transform: rotateX(0deg);
  transition: transform 0.85s var(--ease-cinematic), z-index 0s linear 0.3s;
  background:
    linear-gradient(180deg, #f7ede0 0%, #e8d6c1 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  filter: drop-shadow(0 8px 12px rgba(20, 8, 12, 0.25));
}

.intro-overlay.phase-open .envelope-flap {
  transform: rotateX(174deg);
  z-index: 1;
}

.wax-seal-wrap {
  position: absolute;
  left: 50%;
  top: 52%;
  z-index: 5;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.55s var(--ease-cinematic), opacity 0.45s ease;
  filter: drop-shadow(0 8px 14px rgba(24, 8, 12, 0.48));
}

.wax-seal-img {
  width: clamp(64px, 16vw, 84px);
  height: auto;
}

.intro-overlay.phase-open .wax-seal-wrap {
  transform: translate(-50%, -88%) scale(0.84);
  opacity: 0;
}

.intro-skip {
  position: fixed;
  bottom: max(20px, env(safe-area-inset-bottom));
  right: 20px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  background: rgba(29, 15, 21, 0.72);
  border: 1px solid rgba(201, 160, 99, 0.48);
  color: var(--ivory);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.intro-skip:hover {
  background: rgba(112, 44, 64, 0.72);
  border-color: var(--gold-bright);
}

/* ==========================================================================
   2. CABEÇALHO FIXO (CONTRATO 3 ZONAS)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid rgba(201, 160, 99, 0.12);
  background: linear-gradient(180deg, rgba(29, 15, 21, 0.84) 0%, rgba(29, 15, 21, 0.28) 100%);
  backdrop-filter: blur(6px);
}

.site-header.is-scrolled {
  background: rgba(29, 15, 21, 0.94);
  border-bottom-color: rgba(201, 160, 99, 0.28);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(100% - 32px, 1320px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (min-width: 768px) {
  .header-inner {
    width: min(100% - 64px, 1320px);
    gap: 32px;
  }
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-monogram {
  width: 34px;
  height: 24px;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ivory);
  white-space: nowrap;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 28px;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
  }
}

.nav-link {
  position: relative;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 234, 221, 0.86);
  white-space: nowrap;
  flex-shrink: 0;
  padding-block: 6px;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-silk);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--gold-bright);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid rgba(201, 160, 99, 0.58);
  background: rgba(112, 44, 64, 0.36);
  color: var(--ivory);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-header-cta:hover {
  background: var(--wine);
  border-color: var(--gold-bright);
  transform: translateY(-1px);
}

.wa-icon {
  width: 16px;
  height: 16px;
  color: var(--gold-bright);
}

@media (max-width: 479px) {
  .btn-header-cta {
    padding: 8px 12px;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }
}

.mobile-menu-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(201, 160, 99, 0.35);
  cursor: pointer;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.menu-line {
  width: 20px;
  height: 1.5px;
  background: var(--ivory);
  transition: transform 0.25s ease;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  pointer-events: none;
  visibility: hidden;
}

.mobile-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 7, 10, 0.76);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.mobile-drawer.is-open .mobile-drawer-backdrop {
  opacity: 1;
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(88vw, 360px);
  background: linear-gradient(175deg, #29171e 0%, #1b0e13 100%);
  border-left: 1px solid rgba(201, 160, 99, 0.3);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.42s var(--ease-cinematic);
}

.mobile-drawer.is-open .mobile-drawer-panel {
  transform: translateX(0);
}

.mobile-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(201, 160, 99, 0.2);
}

.mobile-drawer-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold-bright);
}

.mobile-drawer-close {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(201, 160, 99, 0.35);
  color: var(--ivory);
  font-size: 1.1rem;
  cursor: pointer;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-block: 20px;
}

.mobile-nav-link {
  padding: 12px 4px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--ivory);
  border-bottom: 1px solid rgba(245, 234, 221, 0.08);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-nav-link:hover {
  color: var(--gold-bright);
  padding-left: 8px;
}

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-drawer-city {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 234, 221, 0.68);
}

/* ==========================================================================
   BOTÕES GERAIS
   ========================================================================== */
.btn-primary,
.btn-secondary,
.btn-outline-gold,
.btn-secondary-dark,
.btn-outline-plum {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 26px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.24s var(--ease-silk),
    color 0.24s var(--ease-silk),
    border-color 0.24s var(--ease-silk),
    transform 0.24s var(--ease-silk),
    box-shadow 0.24s var(--ease-silk);
}

.btn-primary {
  background: linear-gradient(135deg, #d7b277 0%, #c9a063 55%, #b18649 100%);
  color: var(--plum-deep);
  border: 1px solid rgba(245, 234, 221, 0.3);
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(15, 7, 10, 0.34);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e5c690 0%, #d4ab6d 100%);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15, 7, 10, 0.45);
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-arrow {
  transition: transform 0.24s var(--ease-silk);
}

.btn-secondary {
  border: 1px solid rgba(245, 234, 221, 0.44);
  background: rgba(29, 15, 21, 0.42);
  color: var(--ivory);
  backdrop-filter: blur(6px);
}

.btn-secondary:hover {
  border-color: var(--gold-bright);
  background: rgba(112, 44, 64, 0.5);
}

.btn-outline-gold {
  border: 1px solid var(--wine);
  color: var(--wine);
  background: transparent;
}

.btn-outline-gold:hover {
  background: var(--wine);
  color: var(--ivory);
}

.btn-secondary-dark {
  border: 1px solid rgba(41, 23, 30, 0.32);
  color: var(--plum);
  background: transparent;
}

.btn-secondary-dark:hover {
  border-color: var(--wine);
  color: var(--wine);
}

.btn-outline-plum {
  border: 1px solid var(--plum);
  background: var(--plum);
  color: var(--ivory);
}

.btn-outline-plum:hover {
  background: var(--wine);
  border-color: var(--wine);
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   3. PRIMEIRA DOBRA — HERO CINEMATOGRÁFICO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-h) + 28px);
  padding-bottom: clamp(56px, 8vh, 92px);
  overflow: hidden;
  background: var(--plum-deep);
}

.hero-media {
  position: absolute;
  inset: -4% 0;
  z-index: 0;
  will-change: transform;
}

.hero-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: sepia(0.14) saturate(1.06) contrast(1.04) brightness(0.84);
  transform: scale(1.04);
  animation: heroCameraPush 18s var(--ease-cinematic) infinite alternate;
}

@media (max-width: 767px) {
  .hero {
    align-items: flex-end;
    padding-bottom: 68px;
  }

  .hero-photo {
    object-position: center 22%;
    filter: sepia(0.12) saturate(1.04) contrast(1.05) brightness(0.76);
  }
}

@keyframes heroCameraPush {
  0% {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.1) translate3d(-0.8%, -1%, 0);
  }
}

.hero-scrim-base {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(29, 15, 21, 0.62) 0%,
      rgba(29, 15, 21, 0.18) 38%,
      rgba(29, 15, 21, 0.72) 74%,
      rgba(29, 15, 21, 0.94) 100%
    );
}

.hero-scrim-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(29, 15, 21, 0.84) 0%, rgba(29, 15, 21, 0.42) 48%, rgba(29, 15, 21, 0.16) 100%);
}

@media (max-width: 767px) {
  .hero-scrim-vignette {
    background: linear-gradient(180deg, rgba(29, 15, 21, 0.3) 0%, rgba(29, 15, 21, 0.86) 80%);
  }
}

.hero-silk-layer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 180px;
  background: url('../assets/svg/silk-veil.svg') center bottom / 100% 100% no-repeat;
  opacity: 0.72;
  pointer-events: none;
}

.hero-botanical {
  position: absolute;
  z-index: 1;
  width: clamp(160px, 22vw, 290px);
  opacity: 0.42;
  pointer-events: none;
}

.hero-botanical--left {
  top: 88px;
  left: -24px;
  transform: rotate(12deg);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, var(--container-max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: end;
}

@media (min-width: 768px) {
  .hero-inner {
    width: min(100% - 64px, var(--container-max));
    grid-template-columns: minmax(0, 1.35fr) auto;
    gap: 48px;
  }
}

.hero-content {
  max-width: 680px;
}

.hero-kicker {
  margin: 0 0 14px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.hero-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 6.2vw, 5.1rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--ivory);
  text-wrap: balance;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-bright);
  font-weight: 500;
}

.title-line {
  display: block;
}

.hero-subtitle {
  margin: 0 0 28px;
  max-width: 56ch;
  font-size: clamp(0.95rem, 1.25vw, 1.1rem);
  color: rgba(245, 234, 221, 0.9);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 540px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}

.hero-emblem {
  display: none;
}

@media (min-width: 768px) {
  .hero-emblem {
    display: block;
    text-align: right;
  }
}

.emblem-ten {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 26px;
  border: 1px solid rgba(201, 160, 99, 0.35);
  background: rgba(29, 15, 21, 0.48);
  backdrop-filter: blur(8px);
}

.emblem-number {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 0.85;
  font-weight: 600;
  background: linear-gradient(155deg, #f3ddb4 0%, #c9a063 55%, #8f6831 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.emblem-script {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--gold-bright);
  line-height: 0.8;
  margin-top: -4px;
}

.emblem-year {
  margin-top: 8px;
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  color: rgba(245, 234, 221, 0.78);
  font-variant-numeric: tabular-nums;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 3;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-label {
  font-size: 0.625rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ivory);
}

.scroll-hairline {
  width: 1px;
  height: 22px;
  background: linear-gradient(180deg, var(--gold-bright), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.7); opacity: 0.45; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ==========================================================================
   ESTRUTURA DE CAPÍTULOS EDITORIAIS
   ========================================================================== */
.chapter {
  position: relative;
  padding-block: clamp(72px, 9vw, 124px);
}

.chapter-index {
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-muted);
  font-variant-numeric: tabular-nums;
}

.chapter-index--dark {
  color: var(--wine);
}

.section-title {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.4vw, 3.65rem);
  font-weight: 500;
  line-height: 1.06;
  color: var(--plum);
  text-wrap: balance;
}

.section-title em {
  font-style: italic;
  color: var(--wine);
}

.section-title--light {
  color: var(--ivory);
}

.section-title--light em {
  color: var(--gold-bright);
}

.lead-prose {
  margin: 0 0 18px;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.75;
  color: var(--ebony);
  max-width: 60ch;
}

.lead-prose--ivory {
  color: rgba(245, 234, 221, 0.88);
}

.body-prose {
  margin: 0 0 24px;
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--ink-muted);
  max-width: 58ch;
}

/* ==========================================================================
   4. APRESENTAÇÃO DA CERIMONIALISTA (MARFIM EDITORIAL)
   ========================================================================== */
.about-chapter {
  background:
    radial-gradient(circle at 88% 18%, rgba(201, 160, 99, 0.14), transparent 45%),
    linear-gradient(180deg, var(--ivory-light) 0%, var(--ivory) 100%);
  color: var(--ebony);
}

.silk-divider {
  position: absolute;
  top: -86px;
  left: 0;
  right: 0;
  height: 92px;
  pointer-events: none;
  overflow: hidden;
}

.silk-divider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}

@media (min-width: 960px) {
  .about-grid {
    grid-template-columns: 1fr 1.08fr;
    gap: 64px;
  }
}

.about-signature {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 14px;
  border-top: 1px solid rgba(112, 44, 64, 0.2);
  max-width: 320px;
}

.signature-script {
  font-family: var(--font-script);
  font-size: 2.35rem;
  line-height: 1.1;
  color: var(--wine);
}

.signature-role {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.about-cta-row {
  margin-top: 28px;
}

.about-portraits {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
}

.portrait-frame {
  margin: 0;
}

.portrait-mat {
  padding: 10px;
  background: #fffaf4;
  border: 1px solid rgba(201, 160, 99, 0.42);
  box-shadow: 0 22px 48px rgba(41, 23, 30, 0.14);
}

.portrait-mat img {
  width: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.portrait-primary {
  grid-column: 1 / 10;
  grid-row: 1;
  z-index: 1;
}

.portrait-primary img {
  aspect-ratio: 4 / 4.3;
}

.portrait-secondary {
  grid-column: 7 / 13;
  grid-row: 1;
  z-index: 2;
  transform: translateY(34px);
}

.portrait-secondary img {
  aspect-ratio: 3 / 3.8;
}

.portrait-caption {
  margin-top: 10px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

@media (max-width: 639px) {
  .portrait-primary {
    grid-column: 1 / 11;
  }
  .portrait-secondary {
    grid-column: 6 / 13;
    transform: translateY(22px);
  }
}

/* ==========================================================================
   5. UMA DÉCADA DE HISTÓRIA (AMEIXA PROFUNDO + 10 MONUMENTAL)
   ========================================================================== */
.decade-chapter {
  background:
    radial-gradient(circle at 20% 25%, rgba(112, 44, 64, 0.34), transparent 55%),
    radial-gradient(circle at 85% 75%, rgba(201, 160, 99, 0.1), transparent 50%),
    var(--plum);
  border-top: 1px solid rgba(201, 160, 99, 0.22);
  border-bottom: 1px solid rgba(201, 160, 99, 0.22);
}

.decade-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: clamp(44px, 6vw, 72px);
}

@media (min-width: 900px) {
  .decade-header {
    grid-template-columns: auto 1fr;
    gap: 56px;
  }
}

.monumental-ten {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-right: 16px;
  overflow: hidden;
  user-select: none;
}

.ten-numeral {
  font-family: var(--font-display);
  font-size: clamp(6.5rem, 15vw, 11.5rem);
  font-weight: 600;
  line-height: 0.78;
  letter-spacing: -0.04em;
  background: linear-gradient(145deg, #f6e3be 0%, #c9a063 48%, #8f662e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.42));
}

.ten-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 245, 224, 0.34) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: goldSheen 6.5s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: overlay;
}

@keyframes goldSheen {
  0%, 60% { transform: translateX(-120%); }
  88%, 100% { transform: translateX(130%); }
}

.ten-script {
  font-family: var(--font-script);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--gold-bright);
  line-height: 0.85;
  margin-top: -10px;
}

.decade-mosaic {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 768px) {
  .decade-mosaic {
    grid-template-columns: repeat(12, 1fr);
    gap: 28px;
    align-items: start;
  }

  .decade-piece--cake {
    grid-column: 1 / 6;
  }

  .decade-piece--team {
    grid-column: 6 / 13;
    margin-top: 32px;
  }

  .decade-piece--stationery {
    grid-column: 2 / 7;
    margin-top: -28px;
  }
}

.decade-piece {
  margin: 0;
}

.piece-frame {
  overflow: hidden;
  border: 1px solid rgba(201, 160, 99, 0.32);
  background: var(--plum-deep);
}

.piece-frame img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-cinematic);
}

.decade-piece:hover .piece-frame img {
  transform: scale(1.03);
}

.decade-piece--cake .piece-frame img {
  aspect-ratio: 1 / 1;
}

.decade-piece--team .piece-frame img {
  aspect-ratio: 4 / 3;
  object-position: center 22%;
}

.decade-piece--stationery .piece-frame img {
  aspect-ratio: 4 / 3;
}

.piece-caption {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.piece-caption strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ivory);
}

.piece-caption span {
  font-size: 0.8125rem;
  color: rgba(245, 234, 221, 0.72);
}

/* ==========================================================================
   6. SERVIÇOS E EXPERIÊNCIAS (PALCO INTERATIVO)
   ========================================================================== */
.services-chapter {
  background: var(--ivory-light);
  color: var(--ebony);
}

.services-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 36px;
}

@media (min-width: 900px) {
  .services-top {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
    gap: 48px;
  }
}

.services-note {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ink-muted);
  border-top: 1px solid rgba(112, 44, 64, 0.22);
  padding-top: 12px;
}

.services-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 960px) {
  .services-stage {
    grid-template-columns: 360px 1fr;
    gap: 44px;
    align-items: stretch;
  }
}

.services-selector {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(41, 23, 30, 0.14);
}

@media (max-width: 959px) {
  .services-selector {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    border-top: none;
  }
}

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

.service-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 56px;
  padding: 16px 14px;
  text-align: left;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(41, 23, 30, 0.14);
  cursor: pointer;
  transition: background-color 0.2s ease, padding-left 0.25s var(--ease-silk), color 0.2s ease;
}

@media (max-width: 959px) {
  .service-tab {
    border: 1px solid rgba(41, 23, 30, 0.18);
    padding: 12px 14px;
  }
}

.tab-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold-muted);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.tab-label {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--plum);
  line-height: 1.2;
}

.service-tab:hover {
  background: rgba(201, 160, 99, 0.1);
}

.service-tab.is-active {
  background: var(--plum);
  border-color: var(--plum);
}

@media (min-width: 960px) {
  .service-tab.is-active {
    padding-left: 22px;
  }
}

.service-tab.is-active .tab-num {
  color: var(--gold-bright);
}

.service-tab.is-active .tab-label {
  color: var(--ivory);
}

.service-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 20px;
  background: #fffaf3;
  border: 1px solid rgba(201, 160, 99, 0.4);
  transition: opacity 0.28s ease;
}

.service-showcase.is-swapping {
  opacity: 0.45;
}

@media (min-width: 720px) {
  .service-showcase {
    grid-template-columns: 0.92fr 1.08fr;
    padding: 28px;
    align-items: center;
  }
}

.service-image-wrap {
  overflow: hidden;
  border: 1px solid rgba(201, 160, 99, 0.35);
}

.service-image-wrap img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  object-position: center 20%;
}

.service-kicker {
  margin: 0 0 8px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 600;
}

.service-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 500;
  color: var(--plum);
  line-height: 1.1;
}

.service-description {
  margin: 0 0 18px;
  font-size: 0.95rem;
  color: var(--ebony);
}

.service-highlights {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-highlights li {
  position: relative;
  padding-left: 18px;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.service-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 1px;
  background: var(--gold-muted);
}

/* ==========================================================================
   7. PORTFÓLIO — ÁLBUM EDITORIAL DE LUXO
   ========================================================================== */
.portfolio-chapter {
  background:
    radial-gradient(circle at 78% 15%, rgba(112, 44, 64, 0.32), transparent 52%),
    var(--plum-deep);
  color: var(--ivory);
}

.portfolio-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

@media (min-width: 960px) {
  .portfolio-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.moment-btn {
  min-height: 40px;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid rgba(201, 160, 99, 0.28);
  color: rgba(245, 234, 221, 0.8);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.moment-btn:hover {
  border-color: var(--gold-bright);
  color: var(--ivory);
}

.moment-btn.is-active {
  background: var(--wine);
  border-color: var(--gold);
  color: var(--ivory);
}

.album-spread {
  border: 1px solid rgba(201, 160, 99, 0.28);
  background: rgba(41, 23, 30, 0.56);
  padding: clamp(16px, 3vw, 34px);
  perspective: 1200px;
}

.album-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}

@media (min-width: 768px) {
  .album-stage {
    grid-template-columns: 48px 1fr 48px;
    gap: 20px;
  }
}

.album-nav {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(201, 160, 99, 0.42);
  background: rgba(29, 15, 21, 0.72);
  color: var(--gold-bright);
  font-size: 1.2rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.album-nav:hover {
  background: var(--wine);
  border-color: var(--gold-bright);
  transform: scale(1.04);
}

@media (max-width: 767px) {
  .album-nav {
    display: none;
  }
}

.album-canvas {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  transform-origin: center left;
  transition: opacity 0.36s var(--ease-cinematic), transform 0.45s var(--ease-cinematic);
}

.album-canvas.is-turning {
  opacity: 0.25;
  transform: rotateY(-5deg) scale(0.985);
}

@media (min-width: 900px) {
  .album-canvas {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 40px;
  }
}

.album-feature {
  margin: 0;
}

.album-zoom-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(201, 160, 99, 0.35);
  background: var(--plum-deep);
  cursor: zoom-in;
  overflow: hidden;
}

.album-zoom-trigger img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  max-height: 540px;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.7s var(--ease-cinematic);
}

.album-zoom-trigger:hover img {
  transform: scale(1.03);
}

.zoom-cue {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 12px;
  background: rgba(29, 15, 21, 0.84);
  border: 1px solid rgba(201, 160, 99, 0.45);
  color: var(--ivory);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.album-moment-label {
  margin: 0 0 8px;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.album-caption-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ivory);
}

.album-caption-text {
  margin: 0 0 16px;
  font-size: 0.96rem;
  color: rgba(245, 234, 221, 0.86);
}

.album-credit {
  margin: 0 0 24px;
  font-size: 0.78rem;
  color: rgba(245, 234, 221, 0.64);
}

.album-progress-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.album-counter {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.album-progress-track {
  flex: 1;
  height: 1px;
  background: rgba(245, 234, 221, 0.18);
  position: relative;
}

.album-progress-bar {
  height: 2px;
  width: 12.5%;
  background: var(--gold);
  transition: width 0.35s var(--ease-cinematic);
}

.album-thumbs {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(201, 160, 99, 0.18);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
  gap: 10px;
}

.thumb-btn {
  padding: 0;
  border: 1px solid rgba(201, 160, 99, 0.22);
  background: var(--plum-deep);
  cursor: pointer;
  overflow: hidden;
  opacity: 0.56;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.thumb-btn img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 20%;
}

.thumb-btn:hover,
.thumb-btn.is-active {
  opacity: 1;
  border-color: var(--gold-bright);
  transform: translateY(-2px);
}

.portfolio-disclaimer {
  margin: 18px 0 0;
  font-size: 0.78rem;
  color: rgba(245, 234, 221, 0.6);
  max-width: 78ch;
}

/* ==========================================================================
   8. BASTIDORES E EQUIPE (DOCUMENTAL)
   ========================================================================== */
.backstage-chapter {
  background: var(--ivory);
  color: var(--ebony);
}

.backstage-header {
  max-width: 720px;
  margin-bottom: 40px;
}

.backstage-sequence {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.doc-frame {
  margin: 0;
  overflow: hidden;
}

.doc-frame img {
  width: 100%;
  object-fit: cover;
  border: 1px solid rgba(41, 23, 30, 0.14);
}

.img-face-safe {
  object-position: center 18%;
}

.doc-frame--wide img {
  aspect-ratio: 16 / 9;
  max-height: 540px;
  object-position: center 22%;
}

.doc-grid-asymmetric {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 900px) {
  .doc-grid-asymmetric {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 28px;
  }
}

.doc-frame--tall img {
  aspect-ratio: 3 / 4.2;
}

.doc-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 600px) {
  .doc-stack {
    grid-template-columns: repeat(2, 1fr);
  }
  .doc-stack .doc-frame:first-child {
    grid-column: 1 / -1;
  }
}

.doc-stack .doc-frame img {
  aspect-ratio: 16 / 10;
  object-position: center 22%;
}

.doc-caption {
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   9. DIFERENCIAIS E COMPROMISSO
   ========================================================================== */
.pillars-chapter {
  background:
    linear-gradient(165deg, #29171e 0%, #321a23 55%, #221218 100%);
  color: var(--ivory);
}

.pillars-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: start;
}

@media (min-width: 960px) {
  .pillars-layout {
    grid-template-columns: 0.88fr 1.12fr;
    gap: 64px;
  }
}

.pillars-photo-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pillars-photo-main {
  margin: 0;
  border: 1px solid rgba(201, 160, 99, 0.34);
  overflow: hidden;
}

.pillars-photo-main img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
}

.commitment-manifesto {
  padding: 24px;
  border: 1px solid rgba(201, 160, 99, 0.28);
  background: rgba(29, 15, 21, 0.65);
}

.manifesto-kicker {
  margin: 0 0 10px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.manifesto-quote {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.35;
  color: var(--ivory);
}

.manifesto-source {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(245, 234, 221, 0.7);
}

.pillars-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(201, 160, 99, 0.26);
}

.pillar-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding-block: 22px;
  border-bottom: 1px solid rgba(201, 160, 99, 0.2);
  align-items: start;
}

.pillar-num {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.pillar-copy h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ivory);
  line-height: 1.2;
}

.pillar-copy p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(245, 234, 221, 0.8);
}

/* ==========================================================================
   10. ENCERRAMENTO CINEMATOGRÁFICO — CARTA DE CASAMENTO
   ========================================================================== */
.closing-chapter {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(112, 44, 64, 0.22), transparent 65%),
    linear-gradient(180deg, #211218 0%, #2d1820 100%);
}

.closing-veil {
  position: absolute;
  inset: 0;
  background: url('../assets/svg/silk-veil.svg') center bottom / cover no-repeat;
  opacity: 0.35;
  pointer-events: none;
}

.closing-botanical {
  position: absolute;
  width: clamp(150px, 20vw, 240px);
  opacity: 0.34;
  pointer-events: none;
}

.closing-botanical--tl {
  top: 24px;
  left: -20px;
}

.closing-botanical--br {
  bottom: 24px;
  right: -20px;
  transform: rotate(180deg);
}

.invitation-card {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin-inline: auto;
  padding: clamp(12px, 2vw, 20px);
  background:
    radial-gradient(circle at top, rgba(201, 160, 99, 0.14), transparent 65%),
    linear-gradient(180deg, #faf4ec 0%, #f1e3d1 100%);
  border: 1px solid rgba(201, 160, 99, 0.65);
  box-shadow: 0 32px 72px rgba(10, 4, 7, 0.55);
}

.invitation-inner {
  border: 1px solid rgba(112, 44, 64, 0.26);
  padding: clamp(28px, 5vw, 56px);
  text-align: center;
  color: var(--plum);
}

.closing-seal {
  margin-inline: auto;
  margin-bottom: 18px;
}

.closing-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3.35rem);
  font-weight: 500;
  line-height: 1.06;
  color: var(--plum);
  text-wrap: balance;
}

.closing-title em {
  font-style: italic;
  color: var(--wine);
}

.closing-text {
  margin: 0 auto 28px;
  max-width: 50ch;
  font-size: 1rem;
  color: var(--ink-muted);
}

.closing-direct-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.wa-composer {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(112, 44, 64, 0.18);
  text-align: left;
}

.wa-composer-toggle {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--wine);
  cursor: pointer;
  list-style: none;
  padding: 6px;
}

.wa-composer-toggle::-webkit-details-marker {
  display: none;
}

.wa-composer-toggle::after {
  content: ' +';
}

.wa-composer[open] .wa-composer-toggle::after {
  content: ' −';
}

.wa-form {
  margin-top: 20px;
}

.wa-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 640px) {
  .wa-form-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .wa-field--full {
    grid-column: 1 / -1;
  }
}

.wa-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wa-field span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--plum);
}

.wa-field input,
.wa-field select,
.wa-field textarea {
  width: 100%;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(41, 23, 30, 0.25);
  color: var(--ebony);
  font-size: 0.9rem;
}

.wa-field input:focus,
.wa-field select:focus,
.wa-field textarea:focus {
  border-color: var(--wine);
  outline: none;
}

.wa-form-footer {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.wa-form-feedback {
  margin: 0;
  font-size: 0.82rem;
  color: var(--wine);
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.site-footer {
  background: var(--plum-deep);
  border-top: 1px solid rgba(201, 160, 99, 0.24);
  padding-block: 40px 88px;
  color: rgba(245, 234, 221, 0.8);
}

@media (min-width: 768px) {
  .site-footer {
    padding-block: 44px;
  }
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-name {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ivory);
}

.footer-meta {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--gold-bright);
  text-decoration: underline;
}

.footer-legal {
  padding-top: 16px;
  border-top: 1px solid rgba(245, 234, 221, 0.1);
  font-size: 0.78rem;
  color: rgba(245, 234, 221, 0.62);
}

.footer-legal p {
  margin: 0 0 4px;
}

/* ==========================================================================
   BOTÃO FLUTUANTE WHATSAPP
   ========================================================================== */
.wa-floating {
  position: fixed;
  right: 18px;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 850;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #702c40 0%, #4e1c2b 100%);
  border: 1px solid rgba(201, 160, 99, 0.72);
  color: var(--ivory);
  box-shadow: 0 14px 32px rgba(10, 4, 7, 0.5);
  transition: transform 0.22s var(--ease-silk), background-color 0.22s ease;
}

.wa-floating svg {
  width: 22px;
  height: 22px;
  color: var(--gold-bright);
  flex-shrink: 0;
}

.wa-floating-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wa-floating:hover {
  transform: translateY(-2px);
  background: var(--wine);
}

@media (max-width: 520px) {
  .wa-floating {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
  }
  .wa-floating-label {
    display: none;
  }
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: grid;
  place-items: center;
  padding: 20px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 7, 11, 0.93);
  backdrop-filter: blur(8px);
}

.lightbox-stage {
  position: relative;
  z-index: 2;
  width: min(100%, 980px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}

@media (max-width: 640px) {
  .lightbox-stage {
    grid-template-columns: 1fr;
  }
  .lightbox-nav {
    display: none;
  }
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 5;
  width: 46px;
  height: 46px;
  background: rgba(41, 23, 30, 0.88);
  border: 1px solid rgba(201, 160, 99, 0.6);
  color: var(--ivory);
  font-size: 1.15rem;
  cursor: pointer;
}

.lightbox-nav {
  width: 46px;
  height: 46px;
  background: rgba(41, 23, 30, 0.8);
  border: 1px solid rgba(201, 160, 99, 0.45);
  color: var(--gold-bright);
  font-size: 1.2rem;
  cursor: pointer;
}

.lightbox-figure {
  margin: 0;
  text-align: center;
}

.lightbox-figure img {
  margin-inline: auto;
  max-height: 78vh;
  max-width: 100%;
  object-fit: contain;
  border: 1px solid rgba(201, 160, 99, 0.35);
}

.lightbox-caption {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--ivory);
  font-size: 0.88rem;
}

.lightbox-caption span:last-child {
  font-size: 0.76rem;
  color: rgba(245, 234, 221, 0.65);
}

/* ==========================================================================
   ANIMAÇÕES DISTINTAS POR CAPÍTULO (INTERSECTION OBSERVER)
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.85s var(--ease-cinematic), transform 0.85s var(--ease-cinematic), clip-path 0.95s var(--ease-cinematic);
}

[data-reveal='mask-up'] {
  clip-path: inset(14% 0 0 0);
  transform: translateY(20px);
}

[data-reveal='slide-right'] {
  transform: translateX(-28px);
}

[data-reveal='slide-left'] {
  transform: translateX(28px);
}

[data-reveal='curtain'] {
  clip-path: inset(0 12% 0 12%);
  transform: scale(0.985);
}

[data-reveal='zoom-soft'] {
  transform: scale(0.95);
}

[data-reveal='fade-prose'] {
  transform: translateY(14px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
}

/* ==========================================================================
   ACESSIBILIDADE: PREFERS-REDUCED-MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-photo,
  .ten-sheen,
  .scroll-hairline {
    animation: none;
  }

  [data-reveal],
  .reveal-line,
  .envelope-3d,
  .envelope-flap,
  .envelope-letter,
  .intro-veil,
  .album-canvas {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}

/* Correção pontual: largura dos serviços e cabeçalho no celular. */
@media (max-width: 767px) {
  .services-stage, .service-showcase { grid-template-columns: minmax(0, 1fr); }
  .services-stage > *, .service-showcase > * { min-width: 0; }
  .service-cta-bar .btn-primary { max-width: 100%; white-space: normal; text-align: center; padding-inline: 14px; }
  .service-cta-bar .btn-primary > span:first-child { min-width: 0; overflow-wrap: anywhere; }
  .service-cta-bar .btn-arrow { flex-shrink: 0; }
  .header-inner { gap: 8px; }
  .header-actions { gap: 8px; }
  .brand-lockup { min-width: 0; flex-shrink: 1; gap: 6px; }
  .brand-name { white-space: normal; line-height: 1.05; }
  .mobile-menu-btn { flex-shrink: 0; }
}
@media (max-width: 479px) {
  .btn-header-cta { padding-inline: 8px; gap: 5px; letter-spacing: 0.04em; }
  .brand-name { font-size: 1.1rem; }
}
