/* =====================================================
   MUSEU DA JULIA — Estilos Globais
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Lato:wght@300;400;700&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --bg:           #060d1a;
  --bg2:          #0b1628;
  --bg3:          #102040;
  --gold:         #c9a84c;
  --gold-light:   #e4c87e;
  --gold-mid:     #d4b45a;
  --gold-dark:    #8a6a1c;
  --gold-shine:   #f5e0a0;
  --blue:         #1e4d8c;
  --blue-light:   #4a90d9;
  --text:         #dde6f2;
  --text-muted:   #7a92aa;
  --white:        #ffffff;
  --paper:        #f7f0e6;
  --paper-dark:   #e8dcc8;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  overflow-x: hidden;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input {
  font-family: inherit;
}

/* =====================================================
   ESTRELAS BRANCAS PISCANDO (fundo global)
   ===================================================== */

.stars-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.star-dot {
  position: absolute;
  border-radius: 50%;
  background: #ffffff;
  animation: star-twinkle var(--dur, 3s) var(--delay, 0s) infinite ease-in-out;
}

@keyframes star-twinkle {
  0%, 100% { opacity: 0;            transform: scale(0.4); }
  30%       { opacity: var(--op, 0.7); transform: scale(1); }
  60%       { opacity: var(--op2, 0.3); transform: scale(0.7); }
}

/* =====================================================
   TELA DE SENHA (index.html)
   ===================================================== */

.senha-body {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: env(safe-area-inset-top, 20px) 24px env(safe-area-inset-bottom, 20px);
  background: var(--bg);
  overflow: hidden;
}

/* Fundo com a foto */
.senha-bg {
  position: fixed;
  inset: 0;
  background-image: url('../background-img/1.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.18) saturate(0.5);
  z-index: 0;
}

/* Card central */
.senha-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.senha-topo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.senha-icon {
  font-size: 42px;
  filter: drop-shadow(0 0 12px rgba(201, 168, 76, 0.5));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.senha-titulo {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 7vw, 38px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.senha-titulo span {
  color: var(--gold-light);
}

.senha-subtitulo {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Form */
.senha-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.senha-input-wrap {
  position: relative;
}

.senha-input {
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--white);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 12px;
  outline: none;
  text-align: center;
  transition: border-color 0.3s, background 0.3s;
  -webkit-appearance: none;
}

.senha-input::placeholder {
  color: var(--text-muted);
  letter-spacing: 0.15em;
  font-size: 14px;
}

.senha-input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.1);
}

.senha-btn {
  width: 100%;
  padding: 16px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 12px;
  transition: opacity 0.2s, transform 0.15s;
  touch-action: manipulation;
}

.senha-btn:active {
  opacity: 0.85;
  transform: scale(0.98);
}

.senha-erro {
  font-size: 13px;
  color: #ff6b6b;
  letter-spacing: 0.05em;
  min-height: 18px;
  transition: opacity 0.3s;
}

.senha-erro.hidden { opacity: 0; }

/* Hub (após senha correta) */
.hub-section {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  text-align: center;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  animation: fadeUp 0.6s ease forwards;
}

.hub-section.visivel {
  display: flex;
}

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

.hub-titulo {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 5.5vw, 30px);
  color: var(--white);
  line-height: 1.3;
}

.hub-titulo span {
  color: var(--gold-light);
  font-style: italic;
}

.hub-sub {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: -20px;
}

.hub-grid {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hub-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 16px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.3s, border-color 0.3s, transform 0.2s;
  touch-action: manipulation;
}

.hub-card:active {
  background: rgba(255,255,255,0.09);
  transform: scale(0.98);
}

.hub-card-num {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: var(--gold);
  line-height: 1;
  min-width: 48px;
  text-align: center;
}

.hub-card-info {
  text-align: left;
}

.hub-card-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.hub-card-info p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

.hub-card-arrow {
  margin-left: auto;
  color: var(--gold);
  font-size: 20px;
  opacity: 0.7;
}

/* =====================================================
   MÊS 1 — Estilos da página
   ===================================================== */

.mes1-body {
  background: var(--bg);
  min-height: 100dvh;
}

/* Overlay "toque para entrar" */
#tap-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background:
    radial-gradient(circle at 50% 50%, rgba(180, 210, 255, 0.05) 0%, rgba(20, 60, 120, 0.09) 35%, transparent 60%),
    var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: manipulation;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#tap-overlay.saindo {
  opacity: 0;
  visibility: hidden;
}

.tap-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: fadeUp 1s ease 0.3s both;
}

.tap-ring {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0.4); }
  50%       { box-shadow: 0 0 0 20px rgba(201,168,76,0); }
}

.tap-ring svg {
  width: 38px;
  height: 38px;
}

.tap-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--white);
  letter-spacing: 0.05em;
}

.tap-content p {
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Player de música (fixo no canto) */
#music-player {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  right: 20px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(6, 13, 26, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 100px;
  padding: 10px 16px 10px 10px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4), 0 0 0 0.5px rgba(201,168,76,0.15) inset;
  transition: opacity 0.3s;
}

#music-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  touch-action: manipulation;
  transition: transform 0.15s;
}

#music-btn:active { transform: scale(0.92); }

#music-btn svg {
  width: 14px;
  height: 14px;
  fill: var(--bg);
  margin-left: 2px;
}

#music-btn.pausado svg { margin-left: 0; }

#music-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  white-space: nowrap;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- HERO ---- */
#hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(env(safe-area-inset-top, 20px) + 60px) 28px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-grad {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(180, 210, 255, 0.025) 0%, rgba(30,77,140,0.045) 35%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-label {
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}

.hero-titulo {
  font-family: 'Playfair Display', serif;
  font-size: clamp(44px, 12vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
}

.hero-titulo em {
  display: block;
  color: var(--gold-light);
  font-style: italic;
}

.hero-linha {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  max-width: 300px;
  line-height: 1.7;
}

/* ---- Animações de scroll ---- */
.animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate.delay-1 { transition-delay: 0.1s; }
.animate.delay-2 { transition-delay: 0.2s; }
.animate.delay-3 { transition-delay: 0.3s; }
.animate.delay-4 { transition-delay: 0.4s; }

.animate.visivel {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   INTRO / BOAS-VINDAS
   ===================================================== */

#intro {
  padding: 0 24px 100px;
  position: relative;
  z-index: 1;
}

.intro-wrap {
  max-width: 580px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  text-align: center;
}

.intro-sub {
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}

.coracao-pulso {
  display: inline-block;
  animation: pulso-coracao 1.2s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(255, 60, 60, 0.7));
}

@keyframes pulso-coracao {
  0%, 100% { transform: scale(1);    filter: drop-shadow(0 0 5px rgba(255, 60, 60, 0.6)); }
  50%       { transform: scale(1.35); filter: drop-shadow(0 0 12px rgba(255, 60, 60, 0.95)); }
}

.intro-texto {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.intro-texto p {
  font-family: 'Lato', sans-serif;
  font-size: clamp(15px, 3.8vw, 17px);
  font-weight: 300;
  color: var(--text);
  line-height: 1.9;
}


/* Seta pra galeria */
.intro-seta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--gold-light);
  margin-top: 8px;
  transition: opacity 0.2s;
}

.intro-seta:active { opacity: 0.7; }

.intro-seta-label {
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.intro-seta-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  animation: bounce-down 2s ease-in-out infinite;
}

.intro-seta-icon svg {
  width: 20px;
  height: 20px;
}

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

/* =====================================================
   GALERIA
   ===================================================== */

#galeria {
  padding: 80px 20px;
  position: relative;
  z-index: 1;
}

.secao-header {
  text-align: center;
  margin-bottom: 56px;
}

.secao-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 7vw, 42px);
  color: var(--gold-light);
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.secao-header p {
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 10px;
  line-height: 1.6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  max-width: 520px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 900px;
    gap: 56px 48px;
  }
}

/* Propriedade animável para o ângulo da borda */
@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes girar-ouro {
  to { --border-angle: 360deg; }
}

/* ── Quadro / Frame – moldura de ouro premium ── */
.frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Sem filter aqui — causava repaint do texto a cada frame da animação */
}

.frame-img-wrap {
  width: 100%;
  position: relative;
  cursor: pointer;
  border-radius: 2px;
  border: 6px solid transparent;
  animation: girar-ouro 20s linear infinite;
  /* Isolamos a animação numa camada própria — evita flickering nos filhos */
  will-change: --border-angle;
  transform: translateZ(0);
  background-image:
    linear-gradient(#08111f, #08111f),
    conic-gradient(
      from var(--border-angle),
      #7a5a10 0%,
      #c9a84c 15%,
      #f5e0a0 25%,
      #e4c87e 35%,
      #f5e0a0 45%,
      #c9a84c 55%,
      #7a5a10 70%,
      #c9a84c 85%,
      #7a5a10 100%
    );
  background-origin: border-box;
  background-clip: padding-box, border-box;
  padding: 10px;
  box-shadow:
    inset 2px 2px 6px rgba(0,0,0,0.6),
    inset -1px -1px 4px rgba(245,224,160,0.1),
    0 14px 44px rgba(0,0,0,0.75),
    0 0 16px rgba(201,168,76,0.25),
    0 0 40px rgba(201,168,76,0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* Fio interno fino dourado */
.frame-img-wrap::before {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(245, 224, 160, 0.45);
  pointer-events: none;
  z-index: 1;
}

/* Cantos decorativos dourados */
.frame-img-wrap::after {
  content: '';
  position: absolute;
  inset: 3px;
  background:
    linear-gradient(135deg, rgba(245,224,160,0.55) 0%, transparent 18%) top left  / 28px 28px no-repeat,
    linear-gradient(225deg, rgba(245,224,160,0.55) 0%, transparent 18%) top right / 28px 28px no-repeat,
    linear-gradient(45deg,  rgba(245,224,160,0.55) 0%, transparent 18%) bottom left  / 28px 28px no-repeat,
    linear-gradient(315deg, rgba(245,224,160,0.55) 0%, transparent 18%) bottom right / 28px 28px no-repeat;
  pointer-events: none;
  z-index: 1;
}

.frame-img-wrap:active {
  transform: scale(0.98);
}

.frame-img-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 1px;
  position: relative;
  z-index: 0;
}

/* Dica visual de clique */
.frame-tap-hint {
  position: absolute;
  bottom: 18px;
  right: 18px;
  z-index: 2;
  background: rgba(6,13,26,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 100px;
  padding: 4px 10px;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0.85;
}

/* Plaquinha */
.frame-plaque {
  background: linear-gradient(180deg, #0e1e36 0%, #0a1728 100%);
  border: 1px solid rgba(201,168,76,0.22);
  border-top: none;
  padding: 14px 18px 16px;
  text-align: center;
  width: 100%;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  /* Camada própria — isola do repaint da animação da moldura */
  transform: translateZ(0);
  backface-visibility: hidden;
}

.frame-plaque p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 8px;
}

.frame-plaque .num-obra {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.65;
}

/* =====================================================
   LIGHTBOX
   ===================================================== */

#lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(4, 9, 18, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  touch-action: none;
}

#lightbox.aberto {
  opacity: 1;
  visibility: visible;
}

#lightbox-img {
  max-width: 100%;
  max-height: calc(100dvh - 100px);
  object-fit: contain;
  border-radius: 2px;
  /* Moldura dourada no lightbox também */
  border: 3px solid var(--gold-dark);
  box-shadow:
    inset 0 0 0 1px rgba(201,168,76,0.4),
    0 0 40px rgba(201,168,76,0.1),
    0 24px 80px rgba(0,0,0,0.8);
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#lightbox.aberto #lightbox-img {
  transform: scale(1);
}

#lightbox-close {
  position: absolute;
  top: calc(env(safe-area-inset-top, 16px) + 16px);
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold-light);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  touch-action: manipulation;
  transition: background 0.2s, transform 0.15s;
}

#lightbox-close:active {
  background: rgba(201,168,76,0.25);
  transform: scale(0.92);
}

/* =====================================================
   CARTA
   ===================================================== */

#carta {
  padding: 80px 20px 60px;
  position: relative;
  z-index: 1;
}

.carta-wrap {
  max-width: 560px;
  margin: 0 auto;
}

.carta-header {
  text-align: center;
  margin-bottom: 48px;
}

.carta-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 7vw, 42px);
  color: var(--white);
  letter-spacing: 0.08em;
}

.carta-header p {
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 10px;
}

.carta-papel {
  background: var(--paper);
  border-radius: 4px;
  padding: 44px 32px 52px;
  position: relative;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.55),
    0 2px 8px rgba(201,168,76,0.1);
}

.carta-papel::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
  margin-bottom: 36px;
  border-radius: 2px;
}

.carta-destinatario {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: #2a2014;
  margin-bottom: 28px;
  font-weight: 600;
}

.carta-texto {
  font-family: 'Playfair Display', serif;
  font-size: 15.5px;
  color: #3a2e1e;
  line-height: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.carta-texto p { margin: 0; }

.carta-assinatura {
  margin-top: 40px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 17px;
  color: #5a4020;
}

.carta-papel::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    transparent,
    transparent calc(2em - 1px),
    rgba(0,0,0,0.055) calc(2em - 1px),
    rgba(0,0,0,0.055) 2em
  );
  background-size: 100% 2em;
  background-position: 0 calc(44px + 3px + 36px + 28px + 3px);
  pointer-events: none;
  border-radius: 4px;
  z-index: 0;
}

.carta-papel > * {
  position: relative;
  z-index: 1;
}

/* =====================================================
   PLAYER DE ÁUDIO DE VOZ
   ===================================================== */

#audio-voz {
  padding: 60px 20px calc(80px + env(safe-area-inset-bottom, 0px));
  position: relative;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(180, 210, 255, 0.04) 0%, rgba(30,77,140,0.07) 40%, transparent 75%);
}

.audio-voz-wrap {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.audio-voz-titulo {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 6vw, 34px);
  color: var(--white);
  font-style: italic;
  line-height: 1.3;
}

.audio-voz-titulo span {
  color: var(--gold-light);
}

.audio-voz-sub {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: -18px;
}

.audio-player-card {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.audio-wave-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(201,168,76,0.08), 0 0 0 16px rgba(201,168,76,0.04);
  flex-shrink: 0;
}

.audio-wave-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--bg);
}

.audio-info {
  text-align: center;
}

.audio-info p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--text-muted);
}

/* Player nativo customizado */
.audio-player-card audio {
  width: 100%;
  height: 44px;
  border-radius: 100px;
  outline: none;
  /* Webkit (iOS Safari) */
  -webkit-appearance: none;
}

/* Botão de play grande */
#voz-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 8px rgba(201,168,76,0.1),
    0 0 0 16px rgba(201,168,76,0.04),
    0 8px 24px rgba(0,0,0,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  touch-action: manipulation;
  flex-shrink: 0;
}

#voz-play-btn:active {
  transform: scale(0.93);
}

#voz-play-btn svg {
  width: 24px;
  height: 24px;
  fill: var(--bg);
}

/* Barra de progresso de voz */
.voz-progress-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.voz-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 100px;
  overflow: hidden;
  cursor: pointer;
}

.voz-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 100px;
  transition: width 0.1s linear;
}

.voz-time {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

/* =====================================================
   RODAPÉ
   ===================================================== */

#rodape {
  text-align: center;
  padding: 40px 24px calc(40px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(201,168,76,0.1);
  position: relative;
  z-index: 1;
}

#rodape p {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  opacity: 0.5;
}
