/* =========================================================
   Boa noite, Dona Moça — Arquivo Espiritual Canalizado
   ========================================================= */

:root {
  --noite: #14060B;
  --veludo: #230910;
  --vinho: #4A0F1E;
  --carmim: #B3203A;
  --carmim-vivo: #D02A47;
  --ouro: #D8B365;
  --ouro-claro: #F0D79A;
  --vela: #F5E8D0;
  --texto: rgba(245, 232, 208, .86);
  --texto-suave: rgba(245, 232, 208, .8);
  --linha-ouro: rgba(216, 179, 101, .32);
  --papel: #EFE2C6;
  --tinta: #3A1019;

  --f-display: 'Gloock', 'Times New Roman', serif;
  --f-texto: 'Hanken Grotesk', system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --largura: 1180px;
  --topo-h: 68px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--topo-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--noite);
  color: var(--texto);
  font-family: var(--f-texto);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* grão de veludo por cima de tudo */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .8 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
b { font-weight: 600; }

:focus-visible { outline: 2px solid var(--ouro-claro); outline-offset: 3px; border-radius: 4px; }

[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ouro); color: var(--noite); padding: 10px 16px; border-radius: 6px; font-weight: 600; text-decoration: none;
}
.pular:focus { top: 12px; }

.titulo-secao {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--vela);
  text-wrap: balance;
}

.secao { position: relative; padding: clamp(84px, 11vw, 148px) 0; }

/* ---------- Botões ---------- */
.botao {
  --b-bg: linear-gradient(180deg, #C62A44 0%, #96182E 100%);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 6px 28px 6px 6px;
  border-radius: 999px;
  background: var(--b-bg);
  color: var(--vela);
  font-weight: 600;
  font-size: 16.5px;
  letter-spacing: .01em;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(240, 215, 154, .45), inset 0 1px 0 rgba(255, 235, 200, .3), 0 14px 34px -12px rgba(179, 32, 58, .75);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s;
}
.botao::after { /* moldura dourada externa */
  content: "";
  position: absolute; inset: -5px;
  border-radius: inherit;
  border: 1px solid var(--linha-ouro);
  pointer-events: none;
  transition: inset .25s var(--ease), border-color .25s;
}
.botao:hover { transform: translateY(-2px); filter: brightness(1.08); }
.botao:hover::after { inset: -8px; border-color: rgba(216, 179, 101, .6); }
.botao:active { transform: translateY(0); }
.botao-selo {
  display: grid; place-items: center;
  width: 44px; height: 44px; flex: none;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #F6DFA6, #C9A04F 60%, #9C7733);
  color: #5A1222;
  box-shadow: inset 0 -2px 4px rgba(0,0,0,.25), 0 2px 6px rgba(0,0,0,.3);
}
.botao-selo svg { width: 22px; height: 22px; }
.botao-grande { min-height: 64px; font-size: 17.5px; width: 100%; justify-content: center; padding-right: 62px; }
.botao-grande .botao-selo { position: absolute; left: 8px; width: 50px; height: 50px; }
.botao-grande .botao-selo svg { width: 26px; height: 26px; }

.link-suave {
  color: var(--ouro-claro);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(240, 215, 154, .4);
  text-underline-offset: 5px;
  transition: text-decoration-color .2s;
}
.link-suave:hover { text-decoration-color: var(--ouro-claro); }
button.link-suave { padding: 9px 0; }

/* ---------- Topo ---------- */
.topo {
  position: fixed; inset: 0 0 auto; z-index: 80;
  height: var(--topo-h);
  transition: background .35s, box-shadow .35s;
}
.topo.rolou {
  background: rgba(20, 6, 11, .86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--linha-ouro);
}
.topo-inner {
  height: 100%;
  width: min(var(--largura), 100% - 2 * var(--gutter));
  margin: 0 auto;
  display: flex; align-items: center; gap: 32px;
}
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; padding: 4px 0; }
.marca-selo {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #D63A55, #8E1528 70%);
  color: var(--ouro-claro);
  box-shadow: inset 0 0 0 1px rgba(240, 215, 154, .5);
}
.marca-selo svg { width: 18px; height: 18px; }
.marca-nome { font-family: var(--f-display); font-size: 19px; color: var(--vela); letter-spacing: .01em; }
.menu { display: flex; gap: 28px; }
.menu a { text-decoration: none; font-size: 15px; color: var(--texto-suave); position: relative; padding: 6px 0; transition: color .2s; }
.menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--ouro); transform: scaleX(0); transition: transform .3s var(--ease);
}
.menu a:hover, .menu a.ativo { color: var(--vela); }
.menu a.ativo::after, .menu a:hover::after { transform: scaleX(1); }
.topo-cta {
  text-decoration: none; font-weight: 600; font-size: 14.5px;
  padding: 10px 18px; border-radius: 999px;
  color: var(--vela);
  background: rgba(179, 32, 58, .3);
  box-shadow: inset 0 0 0 1px rgba(240, 215, 154, .5);
  transition: background .2s;
}
.topo-cta:hover { background: var(--carmim); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--topo-h) + 40px) 0 72px;
  overflow: hidden;
  isolation: isolate;
}
.hero-fundo, .hero-fundo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-fundo { z-index: -2; }
.hero-fundo img { object-fit: cover; object-position: 62% 30%; transition: transform 2.4s var(--ease), opacity 1.6s; }
.js .hero-fundo img { opacity: 0; transform: scale(1.06); }
.hero::before { /* véu de noite sobre a foto */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(20,6,11,.96) 0%, rgba(20,6,11,.86) 34%, rgba(20,6,11,.45) 62%, rgba(20,6,11,.72) 100%),
    linear-gradient(0deg, var(--noite) 0%, transparent 30%),
    radial-gradient(60% 50% at 75% 55%, rgba(179,32,58,.18), transparent 70%);
}
.hero-brasas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

.hero-inner {
  width: min(var(--largura), 100% - 2 * var(--gutter));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}
.hero-tipo {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500; color: var(--ouro-claro);
  margin-bottom: 18px;
}
.hero-tipo svg { width: 18px; height: 18px; }
.hero-titulo {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(56px, 7.6vw, 108px);
  line-height: .94;
  letter-spacing: -.025em;
  color: var(--vela);
}
.hero-titulo .linha { display: block; overflow: hidden; padding-bottom: .08em; white-space: nowrap; }
.hero-titulo .linha > span { display: inline-block; }
.hero-titulo .linha:nth-child(2) > span {
  background: linear-gradient(100deg, #F0D79A 0%, #D8B365 40%, #F7E6BC 55%, #C99D4E 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-left: .5em;
}
.hero-sub {
  margin-top: 22px;
  font-family: var(--f-display);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.25;
  color: var(--vela);
}
.hero-desc { margin-top: 14px; max-width: 34em; color: var(--texto); }
.hero-acoes { margin-top: 34px; display: flex; align-items: center; flex-wrap: wrap; gap: 18px 30px; }
.hero-garantias { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14.5px; color: var(--texto-suave); }
.hero-garantias li { display: flex; align-items: center; gap: 8px; }
.hero-garantias svg { width: 18px; height: 18px; color: var(--ouro); flex: none; }

/* sequência de entrada (uma só, orquestrada) */
.js .hero-tipo, .js .hero-sub, .js .hero-desc, .js .hero-acoes, .js .hero-garantias { opacity: 0; transform: translateY(14px); }
.js .hero-titulo .linha > span { transform: translateY(105%); }
.js .hero-produto { opacity: 0; transform: translateY(40px) scale(.96); }
.pronto .hero-fundo img { opacity: 1; transform: scale(1); }
.pronto .hero-titulo .linha > span { transform: none; transition: transform 1.1s var(--ease); }
.pronto .hero-titulo .linha:nth-child(2) > span { transition-delay: .12s; }
.pronto .hero-tipo, .pronto .hero-sub, .pronto .hero-desc, .pronto .hero-acoes, .pronto .hero-garantias {
  opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.pronto .hero-tipo { transition-delay: .05s; }
.pronto .hero-sub { transition-delay: .45s; }
.pronto .hero-desc { transition-delay: .55s; }
.pronto .hero-acoes { transition-delay: .65s; }
.pronto .hero-garantias { transition-delay: .8s; }
.pronto .hero-produto { opacity: 1; transform: none; transition: opacity 1.2s var(--ease) .35s, transform 1.4s var(--ease) .35s; }

/* ---------- Dossiê (produto) ---------- */
.hero-produto { display: flex; flex-direction: column; align-items: center; perspective: 1400px; }
.dossie {
  --rx: 0deg; --ry: 0deg;
  position: relative;
  width: min(360px, 74vw);
  aspect-ratio: 3 / 4.15;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(calc(var(--ry) - 8deg)) rotateZ(2deg);
  transition: transform .5s var(--ease);
}
.dossie::before { /* brilho de vela no chão */
  content: ""; position: absolute; left: -20%; right: -20%; bottom: -14%; height: 30%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(240, 180, 90, .28), transparent 70%);
  filter: blur(10px); transform: translateZ(-60px);
}
.dossie-folha, .dossie-miolo, .dossie-capa {
  position: absolute; inset: 0; border-radius: 4px 10px 10px 4px;
}
.dossie-folha {
  background: linear-gradient(90deg, #CDBB98, var(--papel) 8%, #E7D7B7);
  box-shadow: 0 20px 40px -14px rgba(0,0,0,.6);
}
.dossie-folha.f2 { transform: translate3d(16px, 12px, -20px) rotate(3.5deg); filter: brightness(.7); }
.dossie-folha.f1 { transform: translate3d(8px, 6px, -10px) rotate(1.5deg); filter: brightness(.85); }

.dossie-miolo {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,.35), transparent 60%),
    linear-gradient(90deg, #D8C6A2, var(--papel) 6%, #EADBBC);
  color: var(--tinta);
  padding: 11% 11% 9% 13%;
  display: flex; flex-direction: column;
  box-shadow: inset 6px 0 14px -6px rgba(60, 20, 10, .45);
  overflow: hidden;
}
.miolo-titulo { font-family: var(--f-display); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.1; padding-bottom: 12px; border-bottom: 1px solid rgba(58, 16, 25, .3); }
.miolo-lista { margin-top: 6px; }
.miolo-lista li { padding: 12px 0; border-bottom: 1px solid rgba(58, 16, 25, .16); display: grid; gap: 2px; }
.miolo-lista b { font-family: var(--f-display); font-weight: 400; font-size: 19px; color: #8E1528; }
.miolo-lista span { font-size: 13.5px; line-height: 1.4; }
.miolo-lista i { font-style: normal; font-size: 12px; color: rgba(58, 16, 25, .75); }
.miolo-assin { margin-top: auto; font-family: var(--f-display); font-size: 15px; color: #8E1528; }

.dossie-capa {
  transform-origin: left center;
  transform-style: preserve-3d;
  transition: transform 1.2s var(--ease);
  background:
    radial-gradient(90% 60% at 30% 15%, rgba(214, 58, 85, .45), transparent 60%),
    radial-gradient(80% 70% at 80% 100%, rgba(10, 2, 5, .7), transparent 70%),
    linear-gradient(160deg, #6A1426, #3B0A16 55%, #23060D);
  box-shadow:
    inset 5px 0 0 rgba(0,0,0,.35),
    inset 0 0 0 1px rgba(240, 215, 154, .15),
    0 40px 70px -24px rgba(0,0,0,.85),
    0 0 90px -30px rgba(214, 58, 85, .55);
  backface-visibility: hidden;
  padding: 9%;
}
.capa-moldura {
  position: relative; height: 100%;
  border: 1px solid rgba(216, 179, 101, .7);
  outline: 1px solid rgba(216, 179, 101, .35); outline-offset: -7px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 10% 8%;
  color: var(--ouro-claro);
}
.capa-topo { font-size: 12px; letter-spacing: .06em; color: rgba(240, 215, 154, .85); }
.capa-orn { width: 64%; margin: 9% 0 7%; color: var(--ouro); }
.capa-titulo {
  font-family: var(--f-display);
  font-size: clamp(34px, 3.6vw, 46px);
  line-height: 1;
  background: linear-gradient(170deg, #FBEBC4, #D8B365 55%, #A97F38);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.capa-sub { margin-top: 14px; font-size: 13.5px; line-height: 1.45; color: rgba(245, 232, 208, .85); max-width: 16em; }
.capa-base { margin-top: auto; padding-top: 14px; font-size: 12px; color: rgba(240, 215, 154, .8); }

.selo {
  position: absolute; right: -26px; top: 57%;
  width: 86px; height: 86px; border-radius: 50%;
  transform: translateZ(30px);
  transition: transform .5s var(--ease), opacity .5s;
  z-index: 3;
}
.selo-cera {
  position: absolute; inset: 0; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 36% 30%, #E2475F, #B3203A 45%, #7C1022 85%);
  box-shadow:
    inset 0 0 0 6px rgba(124, 16, 34, .55),
    inset 0 0 0 7px rgba(240, 160, 160, .25),
    inset -4px -6px 10px rgba(0,0,0,.35),
    0 10px 22px -6px rgba(0,0,0,.65);
  /* bordas irregulares da cera */
  clip-path: polygon(50% 0, 61% 3%, 72% 2%, 80% 9%, 90% 13%, 95% 24%, 100% 35%, 98% 47%, 100% 58%, 96% 70%, 90% 80%, 82% 90%, 71% 96%, 59% 99%, 48% 100%, 37% 98%, 26% 95%, 17% 88%, 8% 80%, 4% 68%, 0 57%, 1% 45%, 0 33%, 6% 22%, 13% 12%, 24% 6%, 36% 2%);
}
.selo-cera span {
  font-family: var(--f-display); font-size: 28px; color: rgba(255, 210, 200, .85);
  text-shadow: 0 -1px 0 rgba(0,0,0,.35), 0 1px 0 rgba(255,255,255,.18);
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255, 200, 190, .35);
}
.selo:hover { transform: translateZ(30px) scale(1.06) rotate(-6deg); }
.selo::after { /* convite pulsante */
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 1px solid rgba(240, 215, 154, .55);
  animation: pulso 2.4s ease-out infinite;
}
@keyframes pulso { from { transform: scale(.9); opacity: .9; } to { transform: scale(1.35); opacity: 0; } }

.dossie-chip {
  position: absolute; left: -14px; top: 9%;
  transform: translateZ(26px) rotate(-8deg);
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  color: var(--noite); background: var(--ouro-claro);
  padding: 5px 10px; border-radius: 4px;
  box-shadow: 0 8px 16px -6px rgba(0,0,0,.6);
  transition: opacity .4s;
}
.dossie-dica { margin-top: 34px; font-size: 14px; color: var(--texto-suave); transition: opacity .4s; }

.dossie.is-aberto .dossie-capa { transform: rotateY(-148deg); }
.dossie.is-aberto .selo { opacity: 0; transform: translateZ(30px) scale(1.4) rotate(18deg); pointer-events: none; }
.dossie.is-aberto .dossie-chip { opacity: 0; }
.dossie.is-aberto { transform: rotateX(var(--rx)) rotateY(calc(var(--ry) + 6deg)) translateX(18%); }

/* ---------- Dor / vela ---------- */
.noite {
  background:
    radial-gradient(60% 70% at 85% 50%, rgba(74, 15, 30, .55), transparent 70%),
    var(--noite);
}
.noite-inner {
  width: min(var(--largura), 100% - 2 * var(--gutter));
  margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 90px); align-items: center;
}
.noite-texto p { margin-top: 20px; max-width: 32em; }
.noite-texto .titulo-secao + p { margin-top: 28px; }
.noite-destaque {
  padding-left: 20px;
  border-left: 2px solid var(--carmim);
  color: var(--vela);
  font-size: 18px;
}

.vela {
  --x: 50%; --y: 45%; --raio: 150px;
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: 6px;
  overflow: hidden;
  background:
    radial-gradient(circle at var(--x) var(--y), rgba(255, 170, 80, .1), transparent 40%),
    #0C0306;
  box-shadow: inset 0 0 0 1px var(--linha-ouro), inset 0 0 80px rgba(0,0,0,.8);
  cursor: none;
  touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
}
.vela-camada { position: absolute; inset: 0; }
.vela-camada span {
  position: absolute; top: var(--t);
  transform: translateY(-50%);
  font-family: var(--f-display);
  font-size: clamp(19px, 2.2vw, 30px);
  line-height: 1.1;
  white-space: nowrap;
}
.vela-camada .esq { left: var(--x0); }
.vela-camada .dir { right: var(--x0); text-align: right; }
.vela-escuro span { color: rgba(245, 232, 208, .07); }
.vela-luz {
  -webkit-mask-image: radial-gradient(circle var(--raio) at var(--x) var(--y), #000 0%, rgba(0,0,0,.85) 40%, transparent 100%);
          mask-image: radial-gradient(circle var(--raio) at var(--x) var(--y), #000 0%, rgba(0,0,0,.85) 40%, transparent 100%);
}
.vela-luz span { color: var(--ouro-claro); text-shadow: 0 0 18px rgba(255, 180, 90, .45); }
.vela-chama {
  position: absolute; left: var(--x); top: var(--y);
  width: 18px; height: 28px; margin: -34px 0 0 -9px;
  pointer-events: none;
}
.vela-chama i {
  position: absolute; inset: 0;
  border-radius: 50% 50% 45% 45% / 62% 62% 38% 38%;
  background: radial-gradient(circle at 50% 75%, #FFF6D8 0%, #FFD27A 35%, #FF8A2A 70%, rgba(255, 90, 30, 0) 100%);
  filter: blur(.4px);
  box-shadow: 0 0 22px 6px rgba(255, 160, 60, .45);
  animation: chama 1.6s ease-in-out infinite alternate;
  transform-origin: 50% 100%;
}
@keyframes chama {
  0% { transform: scale(1, 1) rotate(-2deg); }
  40% { transform: scale(.94, 1.08) rotate(2deg); }
  100% { transform: scale(1.04, .95) rotate(-1deg); }
}
.vela-dica {
  position: absolute; left: 0; right: 0; bottom: 14px;
  text-align: center; font-size: 13.5px; color: var(--texto-suave);
  pointer-events: none;
  transition: opacity .5s;
}
.vela.tocou .vela-dica { opacity: 0; }
.dica-touch { display: none; }
@media (hover: none) { .dica-desk { display: none; } .dica-touch { display: inline; } }

/* ---------- O arquivo ---------- */
.arquivo { background: linear-gradient(180deg, var(--noite), var(--veludo) 30%, var(--veludo)); }
.arquivo-inner {
  width: min(var(--largura), 100% - 2 * var(--gutter));
  margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 90px); align-items: start;
}
.arquivo-foto { align-self: center; }
.arquivo-foto img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 42% 50%;
  border-radius: 200px 200px 6px 6px;
  box-shadow: 0 0 0 1px var(--linha-ouro), 0 0 0 10px var(--veludo), 0 0 0 11px rgba(216, 179, 101, .22), 0 40px 80px -30px rgba(0,0,0,.8);
}
.arquivo-foto figcaption { margin-top: 26px; font-size: 14px; color: var(--texto-suave); text-align: center; }
.arquivo-texto > p { margin-top: 20px; max-width: 34em; }
.arquivo-texto .titulo-secao + p { margin-top: 28px; }

.blocos { margin-top: 44px; counter-reset: none; }
.bloco {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 22px; align-items: start;
  padding: 26px 0;
  border-top: 1px solid var(--linha-ouro);
}
.bloco:last-child { border-bottom: 1px solid var(--linha-ouro); }
.bloco h3 { font-family: var(--f-display); font-weight: 400; font-size: 24px; line-height: 1.15; color: var(--vela); }
.bloco p { margin-top: 6px; font-size: 16px; }
.bloco-faixa { font-size: 13px; color: var(--ouro-claro); white-space: nowrap; padding-top: 6px; }
.bloco-cartas { position: relative; height: 58px; margin-top: 2px; }
.bloco-cartas i {
  position: absolute; left: 10px; top: 0; width: 36px; height: 56px; border-radius: 3px;
  background: linear-gradient(160deg, #7A1A2E, #3B0A16);
  box-shadow: inset 0 0 0 1px rgba(216, 179, 101, .6), inset 0 0 0 4px #3B0A16, inset 0 0 0 5px rgba(216, 179, 101, .3), 0 4px 10px rgba(0,0,0,.4);
  transform-origin: 50% 110%;
}
.bloco-cartas i:nth-child(1) { transform: rotate(-14deg); }
.bloco-cartas i:nth-child(2) { transform: rotate(-4deg); }
.bloco-cartas i:nth-child(3) { transform: rotate(6deg); }
.bloco-cartas i:nth-child(4) { transform: rotate(16deg); }

.ancestral {
  margin-top: 34px;
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 22px; align-items: center;
  padding: 26px 26px 26px 22px;
  border-radius: 8px;
  background:
    radial-gradient(80% 140% at 0% 50%, rgba(255, 170, 80, .16), transparent 60%),
    rgba(74, 15, 30, .5);
  box-shadow: inset 0 0 0 1px rgba(216, 179, 101, .4);
}
.ancestral-ic { width: 48px; height: 48px; color: var(--ouro-claro); margin-left: 8px; filter: drop-shadow(0 0 10px rgba(255, 180, 90, .55)); }
.ancestral h3 { font-family: var(--f-display); font-weight: 400; font-size: 23px; line-height: 1.15; color: var(--vela); }
.ancestral p { margin-top: 6px; font-size: 16px; }

/* ---------- A mesa: 11 cartas ---------- */
.mesa {
  background:
    radial-gradient(70% 60% at 50% 45%, rgba(179, 32, 58, .38), transparent 70%),
    radial-gradient(120% 100% at 50% 50%, #4A0F1E 0%, #2A0811 60%, #170509 100%);
  overflow: hidden;
}
.mesa::before { /* barra dourada do pano */
  content: ""; position: absolute; inset: 18px;
  border: 1px solid rgba(216, 179, 101, .3);
  outline: 1px solid rgba(216, 179, 101, .14); outline-offset: 6px;
  pointer-events: none;
}
.mesa-inner { position: relative; width: min(var(--largura), 100% - 2 * var(--gutter)); margin: 0 auto; }
.mesa-cabeca { text-align: center; max-width: 720px; margin: 0 auto; }
.mesa-cabeca p { margin-top: 18px; }

.mesa-corpo {
  margin-top: clamp(40px, 6vw, 70px);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(28px, 4vw, 60px); align-items: start;
}
.pano { display: grid; gap: 26px; justify-content: center; }
.grupo { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 16px; }
.grupo-nome {
  font-family: var(--f-display); font-size: 24px; color: var(--ouro-claro);
  text-align: right;
}
.grupo-cartas { display: flex; gap: clamp(10px, 1.4vw, 16px); }

.carta {
  position: relative;
  width: clamp(88px, 9vw, 116px);
  aspect-ratio: 5 / 8;
  perspective: 900px;
  flex: none;
  border-radius: 8px;
}
.carta-giro {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transition: transform .8s var(--ease);
}
.carta:hover .carta-giro { transform: translateY(-6px) rotateZ(-1.5deg); }
.carta.is-aberta .carta-giro { transform: rotateY(180deg); }
.carta.is-aberta:hover .carta-giro { transform: rotateY(180deg) translateY(-4px); }
.carta-verso, .carta-face {
  position: absolute; inset: 0; border-radius: 8px;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.carta-verso {
  background:
    radial-gradient(80% 60% at 50% 30%, rgba(214, 58, 85, .35), transparent 70%),
    linear-gradient(160deg, #6A1426, #2E0812);
  color: var(--ouro);
  box-shadow: 0 10px 22px -8px rgba(0,0,0,.7), inset 0 0 0 1px rgba(216, 179, 101, .35);
  display: grid; place-items: center;
}
.carta-verso svg { width: 100%; height: 100%; }
.carta-face {
  transform: rotateY(180deg);
  background:
    radial-gradient(90% 60% at 50% 35%, rgba(255, 255, 255, .45), transparent 70%),
    linear-gradient(170deg, #F4E7CB, #E2CDA2);
  color: var(--tinta);
  box-shadow: 0 10px 22px -8px rgba(0,0,0,.7), inset 0 0 0 1px rgba(142, 21, 40, .35), inset 0 0 0 5px #F1E3C4, inset 0 0 0 6px rgba(142, 21, 40, .3);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 12% 8% 11%;
  text-align: center;
}
.carta-face .num { font-family: var(--f-display); font-size: 15px; color: #8E1528; line-height: 1; }
.carta-face svg { width: 54%; color: #8E1528; }
.carta-face .nome { font-family: var(--f-display); font-size: clamp(12px, 1.15vw, 14.5px); line-height: 1.1; }
.carta.is-atual { box-shadow: 0 0 0 2px var(--ouro-claro), 0 0 30px 4px rgba(240, 190, 100, .35); }

.leitura {
  position: sticky; top: calc(var(--topo-h) + 24px);
  padding: 30px clamp(22px, 2.6vw, 34px) 32px;
  border-radius: 10px;
  background:
    radial-gradient(100% 60% at 50% 0%, rgba(240, 215, 154, .1), transparent 70%),
    rgba(20, 6, 11, .72);
  box-shadow: inset 0 0 0 1px rgba(216, 179, 101, .4), 0 30px 60px -30px rgba(0,0,0,.8);
}
.leitura-progresso p { font-size: 14px; color: var(--texto-suave); }
.leitura-progresso b { color: var(--ouro-claro); font-weight: 700; }
.pips { display: flex; gap: 5px; margin-top: 10px; }
.pips li { flex: 1; height: 3px; border-radius: 2px; background: rgba(216, 179, 101, .2); transition: background .4s; }
.pips li.on { background: var(--ouro); }
.leitura-conteudo { margin-top: 26px; min-height: 250px; }
.leitura-num { font-size: 14px; color: var(--ouro-claro); }
.leitura-nome { margin-top: 6px; font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 3vw, 40px); line-height: 1.05; color: var(--vela); }
.leitura-pergunta { margin-top: 12px; font-size: 18px; color: var(--vela); }
.leitura-desc { margin-top: 12px; font-size: 16px; }
.leitura-conteudo.troca { animation: troca .55s var(--ease); }
@keyframes troca { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.leitura-acoes { margin-top: 18px; }
.leitura-final { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--linha-ouro); }
.leitura-final p { color: var(--vela); margin-bottom: 20px; }
.leitura.completa .leitura-acoes { display: none; }

/* ---------- Citação ---------- */
.citacao {
  position: relative; isolation: isolate;
  min-height: min(80vh, 680px);
  display: grid; place-items: center;
  padding: 110px var(--gutter);
  overflow: hidden;
}
.citacao-fundo, .citacao-fundo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.citacao-fundo { z-index: -2; }
.citacao-fundo img { object-fit: cover; transform: translateY(var(--par, 0px)) scale(1.15); }
.citacao::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 50% 50%, rgba(20,6,11,.55), rgba(20,6,11,.92)),
    linear-gradient(180deg, var(--veludo) 0%, transparent 18%, transparent 82%, var(--noite) 100%);
}
.citacao-texto { max-width: 920px; text-align: center; }
.citacao-texto p {
  font-family: var(--f-display);
  font-size: clamp(32px, 4.6vw, 62px);
  line-height: 1.12;
  color: var(--vela);
  text-wrap: balance;
  text-shadow: 0 4px 30px rgba(0,0,0,.6);
}

/* ---------- Como funciona ---------- */
.como { background: var(--noite); }
.como-inner { width: min(var(--largura), 100% - 2 * var(--gutter)); margin: 0 auto; }
.como-cabeca { max-width: 640px; }
.como-cabeca p { margin-top: 16px; }
.passos {
  --progresso: 0;
  position: relative;
  margin-top: clamp(48px, 6vw, 72px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
}
.passos::before, .passos::after { /* fio dourado que se preenche com o scroll */
  content: ""; position: absolute; left: 28px; right: 28px; top: 27px; height: 1px;
  background: rgba(216, 179, 101, .2);
}
.passos::after {
  background: linear-gradient(90deg, var(--ouro), var(--ouro-claro));
  transform-origin: left; transform: scaleX(var(--progresso));
  box-shadow: 0 0 10px rgba(240, 215, 154, .6);
}
.passo { position: relative; z-index: 1; }
.passo-num {
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  font-family: var(--f-display); font-size: 24px; color: var(--ouro-claro);
  background: var(--noite);
  box-shadow: inset 0 0 0 1px rgba(216, 179, 101, .4);
  transition: background .4s, color .4s, box-shadow .4s;
}
.passo.ativo .passo-num {
  background: radial-gradient(circle at 36% 30%, #D63A55, #8E1528 75%);
  color: var(--vela);
  box-shadow: inset 0 0 0 1px rgba(240, 215, 154, .7), 0 0 24px rgba(214, 58, 85, .5);
}
.passo h3 { margin-top: 24px; font-family: var(--f-display); font-weight: 400; font-size: 23px; line-height: 1.15; color: var(--vela); }
.passo p { margin-top: 10px; font-size: 16px; }

/* ---------- Duas mulheres ---------- */
.clareza { background: linear-gradient(180deg, var(--noite), var(--veludo)); }
.clareza-inner {
  width: min(var(--largura), 100% - 2 * var(--gutter));
  margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 90px); align-items: start;
}
.clareza-foto { position: relative; border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 1px var(--linha-ouro), 0 40px 80px -30px rgba(0,0,0,.8); }
.clareza-foto img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%;
  transition: filter 1.1s var(--ease), transform 1.4s var(--ease);
}
.clareza-foto::after { /* luz que acende no modo "com" */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 75% 45%, rgba(255, 170, 70, .35), transparent 70%);
  opacity: 0; transition: opacity 1.1s var(--ease);
  mix-blend-mode: screen;
}
.clareza[data-modo="sem"] .clareza-foto img { filter: grayscale(.85) brightness(.5) contrast(1.1); transform: scale(1.04); }
.clareza[data-modo="com"] .clareza-foto::after { opacity: 1; }

.chave {
  position: relative;
  margin-top: 32px;
  display: inline-grid; grid-template-columns: 1fr 1fr;
  padding: 5px;
  border-radius: 999px;
  background: rgba(10, 2, 5, .6);
  box-shadow: inset 0 0 0 1px var(--linha-ouro);
}
.chave-op {
  position: relative; z-index: 1;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600;
  color: var(--texto-suave);
  transition: color .4s;
  white-space: nowrap;
}
.chave-op[aria-pressed="true"] { color: var(--vela); }
.chave-cursor {
  position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px);
  border-radius: 999px;
  background: #3A1019;
  box-shadow: inset 0 0 0 1px rgba(245, 232, 208, .18);
  transition: transform .55s var(--ease), background .55s;
}
.clareza[data-modo="com"] .chave-cursor {
  transform: translateX(100%);
  background: linear-gradient(180deg, #C62A44, #96182E);
  box-shadow: inset 0 0 0 1px rgba(240, 215, 154, .5), 0 0 24px rgba(214, 58, 85, .45);
}
.caminho { margin-top: 28px; display: grid; gap: 4px; min-height: 290px; align-content: start; }
.caminho li {
  display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(216, 179, 101, .14);
  font-size: 17px;
}
.caminho svg { width: 22px; height: 22px; margin-top: 2px; }
.caminho[data-lista="sem"] li { color: var(--texto-suave); }
.caminho[data-lista="sem"] svg { color: #C9566A; }
.caminho[data-lista="com"] li { color: var(--vela); }
.caminho[data-lista="com"] svg { color: var(--ouro-claro); }
.caminho.entra li { animation: troca .5s var(--ease) both; }
.caminho.entra li:nth-child(2) { animation-delay: .05s; }
.caminho.entra li:nth-child(3) { animation-delay: .1s; }
.caminho.entra li:nth-child(4) { animation-delay: .15s; }
.caminho.entra li:nth-child(5) { animation-delay: .2s; }
.clareza-cta { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.clareza-cta p { font-family: var(--f-display); font-size: 21px; color: var(--vela); }

/* ---------- Depoimentos ---------- */
.depo {
  background:
    radial-gradient(40% 50% at 88% 20%, rgba(240, 215, 154, .07), transparent 70%),
    var(--veludo);
  overflow: hidden;
}
.depo::before { /* lua grande ao fundo */
  content: ""; position: absolute; right: -140px; top: 40px; width: 460px; height: 460px; border-radius: 50%;
  box-shadow: inset -70px 30px 0 0 rgba(216, 179, 101, .06);
  pointer-events: none;
}
.depo-inner { position: relative; width: min(980px, 100% - 2 * var(--gutter)); margin: 0 auto; }
.depo-cabeca { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; }
.depo-total { font-size: 15px; color: var(--texto-suave); }
.depo-total b { font-family: var(--f-display); font-weight: 400; font-size: 40px; color: var(--ouro-claro); margin-right: 8px; vertical-align: -6px; }

.depo-palco { margin-top: clamp(40px, 5vw, 60px); }
.depo-lista { display: grid; }
.depo-item {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), visibility 0s .6s;
}
.depo-item.is-ativo { opacity: 1; visibility: visible; transform: none; transition: opacity .6s var(--ease) .1s, transform .6s var(--ease) .1s; }
.depo-item blockquote { position: relative; padding-left: clamp(0px, 5vw, 64px); }
.depo-item blockquote::before {
  content: "“"; position: absolute; left: -6px; top: -.35em;
  font-family: var(--f-display); font-size: 120px; line-height: 1; color: var(--carmim);
}
.depo-item p {
  font-family: var(--f-display);
  font-size: clamp(23px, 2.6vw, 33px);
  line-height: 1.3;
  color: var(--vela);
  max-width: 34em;
}
.depo-item figcaption { margin-top: 24px; padding-left: clamp(0px, 5vw, 64px); display: flex; gap: 12px; align-items: baseline; font-size: 15px; }
.depo-item figcaption b { color: var(--ouro-claro); font-size: 16px; }
.depo-item figcaption span { color: var(--texto-suave); }
.depo-item figcaption::before { content: "★★★★★"; color: var(--ouro); letter-spacing: 2px; font-size: 14px; }

.depo-rostos { margin-top: 36px; padding-left: clamp(0px, 5vw, 64px); display: flex; gap: 14px; }
.rosto { position: relative; width: 62px; height: 62px; border-radius: 50%; }
.rosto img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; filter: grayscale(.7) brightness(.7); transition: filter .4s; }
.rosto-anel { position: absolute; inset: -4px; border-radius: 50%; }
.rosto-anel::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(var(--ouro) calc(var(--p, 0) * 1%), rgba(216, 179, 101, .18) 0);
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 63%);
          mask: radial-gradient(circle, transparent 62%, #000 63%);
  opacity: 0; transition: opacity .3s;
}
.rosto.is-ativo img, .rosto:hover img { filter: none; }
.rosto.is-ativo .rosto-anel::before { opacity: 1; }

/* ---------- Oferta ---------- */
.oferta {
  background:
    radial-gradient(60% 70% at 25% 50%, rgba(179, 32, 58, .4), transparent 70%),
    radial-gradient(100% 100% at 50% 50%, #3E0C19, #1A0509 80%);
  overflow: hidden;
}
.oferta-inner {
  width: min(1060px, 100% - 2 * var(--gutter));
  margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 80px); align-items: center;
}
.oferta-produto { display: grid; place-items: center; perspective: 1200px; }
.mini-dossie {
  position: relative; width: min(300px, 64vw); aspect-ratio: 3 / 4.15;
  transform: rotateY(14deg) rotateZ(-3deg);
  transform-style: preserve-3d;
}
.mini-folha {
  position: absolute; inset: 0; border-radius: 4px 10px 10px 4px;
  background: linear-gradient(90deg, #CDBB98, var(--papel) 8%, #E7D7B7);
  transform: translate3d(12px, 10px, -12px) rotate(3deg); filter: brightness(.75);
}
.mini-capa {
  position: absolute; inset: 0; border-radius: 4px 10px 10px 4px;
  background:
    radial-gradient(90% 60% at 30% 15%, rgba(214, 58, 85, .45), transparent 60%),
    linear-gradient(160deg, #6A1426, #3B0A16 55%, #23060D);
  box-shadow: inset 5px 0 0 rgba(0,0,0,.35), 0 40px 70px -24px rgba(0,0,0,.85), 0 0 120px -20px rgba(214, 58, 85, .5);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 14%;
  color: var(--ouro-claro);
}
.mini-capa::before { content: ""; position: absolute; inset: 7%; border: 1px solid rgba(216, 179, 101, .6); pointer-events: none; }
.mini-capa .capa-titulo { font-size: clamp(30px, 3vw, 38px); }
.mini-selo {
  position: absolute; right: -24px; bottom: 7%;
  width: 70px; height: 70px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 36% 30%, #E2475F, #B3203A 45%, #7C1022 85%);
  box-shadow: inset 0 0 0 5px rgba(124, 16, 34, .55), inset -4px -6px 10px rgba(0,0,0,.35), 0 10px 22px -6px rgba(0,0,0,.65);
  transform: translateZ(20px);
}
.mini-selo span { font-family: var(--f-display); font-size: 22px; color: rgba(255, 210, 200, .85); }

.oferta-card {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 12px;
  background: rgba(20, 6, 11, .78);
  box-shadow: inset 0 0 0 1px rgba(216, 179, 101, .45), 0 50px 90px -40px rgba(0,0,0,.9);
}
.oferta-card::before { content: ""; position: absolute; inset: 8px; border-radius: 8px; border: 1px solid rgba(216, 179, 101, .14); pointer-events: none; }
.oferta-titulo { font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.08; color: var(--vela); }
.oferta-sub { margin-top: 8px; color: var(--texto-suave); }
.inclui { margin-top: 26px; display: grid; gap: 12px; }
.inclui li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; font-size: 16px; color: var(--vela); }
.inclui svg { width: 22px; height: 22px; color: var(--ouro-claro); margin-top: 1px; }
.preco { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--linha-ouro); }
.preco-de { font-size: 15px; color: var(--texto-suave); }
.preco-de s { text-decoration-color: var(--carmim-vivo); text-decoration-thickness: 2px; }
.preco-por { display: flex; align-items: flex-start; color: var(--vela); font-family: var(--f-display); line-height: 1; margin-top: 4px; }
.preco-rs { font-size: 26px; margin-top: 14px; margin-right: 6px; color: var(--ouro-claro); }
.preco-valor { font-size: clamp(76px, 9vw, 104px); letter-spacing: -.03em; }
.preco-cent { font-size: 30px; margin-top: 12px; color: var(--ouro-claro); }
.preco-cond { margin-top: 8px; font-size: 15px; color: var(--texto-suave); }
.oferta-card .botao-grande { margin-top: 28px; }
.oferta-nota { margin-top: 18px; display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 13.5px; color: var(--texto-suave); text-align: center; }
.oferta-nota svg { width: 16px; height: 16px; flex: none; color: var(--ouro); }

/* ---------- Dúvidas ---------- */
.duvidas { background: var(--noite); }
.duvidas-inner { width: min(820px, 100% - 2 * var(--gutter)); margin: 0 auto; }
.faq { margin-top: 40px; border-top: 1px solid var(--linha-ouro); }
.faq details { border-bottom: 1px solid var(--linha-ouro); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0;
  font-family: var(--f-display); font-size: clamp(19px, 2vw, 22px); line-height: 1.25; color: var(--vela);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(var(--ouro-claro), var(--ouro-claro)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--ouro-claro), var(--ouro-claro)) center / 1.5px 14px no-repeat;
  transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 24px 0; max-width: 40em; }
.faq details[open] p { animation: troca .45s var(--ease); }
.duvidas-mais { margin-top: 30px; color: var(--texto-suave); }
.duvidas-mais a { color: var(--ouro-claro); text-underline-offset: 4px; }

/* ---------- Rodapé ---------- */
.rodape { padding: 64px var(--gutter) 110px; text-align: center; border-top: 1px solid var(--linha-ouro); background: var(--noite); }
.rodape-marca { font-family: var(--f-display); font-size: 30px; color: var(--vela); }
.rodape-frase { margin-top: 6px; color: var(--ouro-claro); }
.rodape-legal { margin-top: 14px; font-size: 13.5px; color: var(--texto-suave); }
.rodape-legal + .rodape-legal { margin-top: 4px; }

/* ---------- Barra de compra (mobile) ---------- */
.barra-compra { display: none; }


/* ---------- Janela do pedido (dados do casal + pagamento) ---------- */
.pedido {
  padding: 0; border: 0; margin: auto;
  width: min(640px, 100% - 32px);
  max-height: min(860px, 100dvh - 40px);
  background: transparent; color: var(--texto);
  overflow: visible;
}
.pedido::backdrop { background: rgba(10, 2, 5, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pedido[open] { animation: pedido-entra .45s var(--ease); }
.pedido[open]::backdrop { animation: fade .35s ease; }
@keyframes pedido-entra { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } }
html.travado { overflow: hidden; }

.pedido-caixa {
  position: relative;
  display: flex; flex-direction: column;
  height: min(860px, 100dvh - 40px);
  border-radius: 14px;
  background:
    radial-gradient(90% 40% at 50% 0%, rgba(179, 32, 58, .3), transparent 70%),
    var(--veludo);
  box-shadow: inset 0 0 0 1px rgba(216, 179, 101, .45), 0 50px 100px -30px rgba(0,0,0,.9);
  overflow: hidden;
}
.pedido-topo { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 18px 14px 22px; }
.pedido-produto { display: flex; align-items: center; gap: 14px; }
.pedido-capa {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 54px; border-radius: 3px 6px 6px 3px;
  background: linear-gradient(160deg, #6A1426, #2E0812);
  box-shadow: inset 0 0 0 1px rgba(216, 179, 101, .6), inset 0 0 0 4px #3B0A16, inset 0 0 0 5px rgba(216, 179, 101, .3), 0 6px 14px rgba(0,0,0,.5);
  color: var(--ouro);
}
.pedido-capa svg { width: 18px; height: 18px; }
.pedido-nome { font-family: var(--f-display); font-size: 21px; line-height: 1.1; color: var(--vela); }
.pedido-preco { font-size: 14px; color: var(--texto-suave); }
.pedido-preco b { color: var(--ouro-claro); white-space: nowrap; }
.pedido-caixa:focus { outline: none; }
.pedido-fechar {
  display: grid; place-items: center; flex: none;
  width: 42px; height: 42px; border-radius: 50%;
  color: var(--vela);
  box-shadow: inset 0 0 0 1px var(--linha-ouro);
  transition: background .2s;
}
.pedido-fechar:hover { background: rgba(245, 232, 208, .08); }
.pedido-fechar svg { width: 20px; height: 20px; }

.pedido-etapas {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin: 0 22px; padding: 12px 0 14px;
  border-top: 1px solid var(--linha-ouro);
}
.pedido-etapas li {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--texto-suave);
  padding-bottom: 10px;
}
.pedido-etapas li::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: rgba(216, 179, 101, .18);
}
.pedido-etapas span {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  font-family: var(--f-display); font-size: 14px;
  box-shadow: inset 0 0 0 1px rgba(216, 179, 101, .45);
  color: var(--ouro-claro);
  transition: background .4s, color .4s;
}
[data-etapa="1"] .pe-1, [data-etapa="2"] .pe-1, [data-etapa="2"] .pe-2 { color: var(--vela); }
[data-etapa="1"] .pe-1::after, [data-etapa="2"] .pe-1::after, [data-etapa="2"] .pe-2::after { background: var(--ouro); }
[data-etapa="1"] .pe-1 span, [data-etapa="2"] .pe-2 span { background: var(--carmim); color: var(--vela); box-shadow: inset 0 0 0 1px rgba(240, 215, 154, .6); }
[data-etapa="2"] .pe-1 span { background: var(--ouro); color: var(--noite); }

.pedido-passo { display: none; flex: 1; min-height: 0; flex-direction: column; }
[data-etapa="1"] .passo-dados, [data-etapa="2"] .passo-pagamento { display: flex; }
[data-etapa="2"] .passo-pagamento { animation: troca .5s var(--ease); }

.pedido-intro { padding: 0 22px 14px; font-size: 15px; }
.pedido-form {
  position: relative; flex: 1; min-height: 0;
  margin: 0 12px;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.pedido-form iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .4s; }
.pedido-form.pronto iframe { opacity: 1; }
.pedido-carregando {
  position: absolute; inset: 0;
  display: grid; place-items: center; align-content: center; gap: 16px;
  background: #1C070D; color: var(--texto-suave); font-size: 14px;
}
.pedido-form.pronto .pedido-carregando { display: none; }
.pc-chama {
  width: 16px; height: 24px; border-radius: 50% 50% 45% 45% / 62% 62% 38% 38%;
  background: radial-gradient(circle at 50% 75%, #FFF6D8 0%, #FFD27A 35%, #FF8A2A 70%, rgba(255, 90, 30, 0) 100%);
  box-shadow: 0 0 22px 6px rgba(255, 160, 60, .4);
  animation: chama 1.4s ease-in-out infinite alternate;
  transform-origin: 50% 100%;
}
.pedido-rodape {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 10px;
  padding: 14px 22px 18px;
  font-size: 15px; color: var(--texto-suave);
}

.passo-pagamento { padding: 18px 26px 26px; text-align: center; align-items: center; overflow-y: auto; outline: none; }
.pedido-selo {
  display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #F6DFA6, #C9A04F 60%, #9C7733);
  color: #5A1222;
  box-shadow: 0 0 40px rgba(240, 190, 100, .35);
}
.pedido-selo svg { width: 30px; height: 30px; }
.pedido-ok { margin-top: 18px; font-family: var(--f-display); font-weight: 400; font-size: 34px; line-height: 1.1; color: var(--vela); }
.passo-pagamento > p { margin-top: 10px; max-width: 30em; }
.pedido-resumo {
  width: 100%; max-width: 440px;
  margin: 24px 0 26px; padding: 6px 18px;
  border-radius: 10px;
  background: rgba(20, 6, 11, .6);
  box-shadow: inset 0 0 0 1px var(--linha-ouro);
  text-align: left;
}
.pedido-resumo p { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; font-size: 15px; }
.pedido-resumo p + p { border-top: 1px solid rgba(216, 179, 101, .16); }
.pedido-resumo b { font-family: var(--f-display); font-weight: 400; font-size: 20px; color: var(--vela); }
.pedido-resumo span:last-child { color: var(--texto-suave); white-space: nowrap; }
.passo-pagamento .botao-grande { max-width: 440px; }
.pedido-voltar { margin-top: 18px; font-size: 14.5px; }

@media (max-width: 760px) {
  .pedido { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; }
  .pedido-caixa { height: 100dvh; border-radius: 0; }
  .pedido-topo { padding: 12px 12px 10px 16px; }
  .pedido-nome { font-size: 19px; }
  .pedido-etapas { margin: 0 16px; }
  .pedido-intro { padding: 0 16px 12px; font-size: 14.5px; }
  .pedido-form { margin: 0 8px; }
  .pedido-rodape { padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); }
  .passo-pagamento { padding: 14px 18px 26px; }
  .pedido-ok { font-size: 30px; }
  .passo-pagamento .botao-grande { font-size: 16px; }
}

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1060px) {
  .menu { display: none; }
  .mesa-corpo { grid-template-columns: minmax(0, 1fr); }
  .pano { justify-content: center; }
  .leitura { position: relative; top: auto; max-width: 620px; margin: 0 auto; width: 100%; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .hero-produto { margin-top: 20px; }
  .noite-inner, .arquivo-inner, .clareza-inner, .oferta-inner { grid-template-columns: minmax(0, 1fr); }
  .arquivo-foto { position: relative; top: auto; width: 100%; max-width: 460px; margin: 0 auto; }
  .passos { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-left: 0; }
  .passos::before, .passos::after { left: 27px; right: auto; top: 28px; bottom: 28px; width: 1px; height: auto; }
  .passos::after { transform-origin: top; transform: scaleY(var(--progresso)); }
  .passo { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 22px; }
  .passo-num { grid-row: span 2; }
  .passo h3 { margin-top: 12px; }
  .clareza-foto { max-width: 520px; }
  .clareza-foto img { aspect-ratio: 16 / 11; }
}

@media (max-width: 760px) {
  body { font-size: 16.5px; }
  :root { --topo-h: 60px; }
  .marca-nome { font-size: 18px; white-space: nowrap; }
  .topo-cta { display: none; }

  .hero { min-height: auto; padding-top: calc(var(--topo-h) + 28px); padding-bottom: 56px; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(20,6,11,.55) 0%, rgba(20,6,11,.82) 40%, rgba(20,6,11,.95) 70%, var(--noite) 100%);
  }
  .hero-fundo img { object-position: 60% 20%; height: 70%; }
  .hero-titulo .linha:nth-child(2) > span { padding-left: .3em; }
  .hero-acoes .botao { width: 100%; justify-content: center; padding-right: 58px; }
  .hero-acoes .botao .botao-selo { position: absolute; left: 6px; }
  .hero-acoes { justify-content: center; }
  .hero-garantias { flex-direction: column; gap: 8px; margin-top: 30px; }
  .dossie { width: min(290px, 70vw); }
  .selo { width: 74px; height: 74px; right: -18px; }
  .selo-cera span { font-size: 24px; width: 48px; height: 48px; }
  .capa-sub { max-width: 10.5em; font-size: 12.5px; }
  .capa-moldura { padding-right: 14%; }
  .dossie.is-aberto { transform: rotateX(var(--rx)) rotateY(var(--ry)) translateX(10%); }
  .dossie-miolo { padding: 9% 8% 8% 10%; }
  .miolo-lista li { padding: 7px 0; gap: 1px; }
  .miolo-lista b { font-size: 16px; }
  .miolo-lista span { font-size: 11.5px; line-height: 1.35; }
  .miolo-lista i { font-size: 11px; }
  .miolo-titulo { font-size: 19px; padding-bottom: 8px; }
  .miolo-assin { font-size: 12.5px; }

  .vela { aspect-ratio: 4 / 5; --raio: 120px; }
  .vela-camada span { white-space: normal; max-width: 78%; font-size: 21px; }

  .bloco { grid-template-columns: 52px minmax(0, 1fr); gap: 16px; }
  .bloco-faixa { grid-column: 2; padding-top: 0; margin-top: -8px; }
  .bloco-cartas i { width: 30px; height: 46px; left: 6px; }
  .ancestral { grid-template-columns: 1fr; gap: 12px; padding: 22px; }
  .ancestral-ic { margin-left: 0; }

  .mesa::before { inset: 10px; }
  .pano { justify-content: stretch; }
  .grupo { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .grupo-nome { text-align: left; font-size: 21px; }
  .grupo-cartas { gap: 8px; }
  .carta { width: calc((100% - 24px) / 4); }
  .carta-face { padding: 12% 6% 10%; }
  .carta-face .num { font-size: 13px; }
  .carta-face .nome { font-size: 11.5px; }
  .leitura-conteudo { min-height: 230px; }

  .citacao { min-height: 0; padding: 96px var(--gutter); }

  .chave { display: grid; width: 100%; }
  .chave-op { padding: 12px 10px; font-size: 14.5px; }
  .caminho { min-height: 340px; }
  .clareza-cta .botao { width: 100%; justify-content: center; padding-right: 58px; }
  .clareza-cta .botao .botao-selo { position: absolute; left: 6px; }

  .depo-item p { font-size: 22px; }
  .depo-item figcaption { flex-wrap: wrap; }
  .depo-total b { font-size: 34px; }

  .oferta-produto { order: -1; }
  .mini-dossie { width: min(220px, 56vw); }
  .preco-valor { font-size: 84px; }
  .oferta-card { padding: 26px 20px; }
  .botao-grande { font-size: 16px; padding-left: 64px; padding-right: 20px; }

  .barra-compra {
    position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 85;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 8px 8px 8px 18px;
    border-radius: 999px;
    background: rgba(20, 6, 11, .92);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: inset 0 0 0 1px rgba(216, 179, 101, .45), 0 16px 40px -10px rgba(0,0,0,.8);
    transform: translateY(140%);
    transition: transform .45s var(--ease);
  }
  .barra-compra.visivel { transform: none; }
  .barra-compra p { display: grid; line-height: 1.15; }
  .barra-compra p span { font-size: 12px; color: var(--texto-suave); }
  .barra-compra p b { font-family: var(--f-display); font-weight: 400; font-size: 22px; color: var(--vela); }
  .botao-barra { min-height: 46px; padding: 6px 20px; font-size: 15px; white-space: nowrap; }
  .botao-barra::after { display: none; }
}

@media (max-width: 360px) {
  .hero-titulo { font-size: 52px; }
  .dossie-capa { padding: 8%; }
  .capa-moldura { padding: 9% 7%; padding-right: 13%; }
  .capa-topo { font-size: 11px; }
  .capa-orn { margin: 6% 0 5%; }
  .capa-titulo { font-size: 27px; }
  .capa-sub { font-size: 11.5px; margin-top: 10px; }
  .capa-base { font-size: 11px; }
  .dossie-miolo { padding: 8% 7% 7% 9%; }
  .miolo-titulo { font-size: 17px; }
  .miolo-lista li { padding: 5px 0; }
  .miolo-lista b { font-size: 14.5px; }
  .miolo-lista span { font-size: 10.5px; }
  .miolo-assin { display: none; }
  .marca-nome { font-size: 16px; }
  .botao-barra { padding: 6px 14px; font-size: 14px; }
  .barra-compra { padding-left: 14px; }
  .chave-op { font-size: 13.5px; padding: 11px 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .hero-brasas { display: none; }
}
