/* =====================================================================
   ÉLÉONORE PRIVÉ — Design System Midnight Emerald & Champagne Gold
   Imagens & Elementos 100% Canva Engine
   ===================================================================== */
:root {
  --esmeralda: #0B2418;
  --esmeralda-profunda: #04100A;
  --esmeralda-clara: #123D2A;
  --ouro: #D4AF37;
  --ouro-claro: #F5E8C8;
  --creme: #FDFBF7;
  --tinta: #1B221E;
  --suave: #627068;
  --foil: linear-gradient(105deg, #A8842E 0%, #F5E8C8 30%, #D4AF37 55%, #FFF6DF 72%, #A8842E 100%);
  --sc: "Playfair Display SC", Georgia, serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --script: "Pinyon Script", "Great Vibes", cursive;
  --txt: "Plus Jakarta Sans", Montserrat, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

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

body {
  margin: 0;
  background: #020805;
  font-family: var(--txt);
  color: var(--tinta);
  overflow-x: hidden;
}

h1, h2, h3, p, ul, ol, figure {
  margin: 0;
  padding: 0;
}

#paginas {
  max-width: 480px;
  margin: 0 auto;
  padding: 12px 10px 96px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Base de Cada Página / Slide 9:16 */
.pg {
  position: relative;
  aspect-ratio: 9/16;
  overflow: hidden;
  border-radius: 20px;
  container-type: inline-size;
  font-size: 3.4cqw;
  line-height: 1.45;
  box-shadow: 0 18px 40px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(212, 175, 55, 0.2);
}

.pg > * {
  position: absolute;
  z-index: 2;
}

/* Camadas de Fundo Canva */
.fundo, .veu, .moldura {
  inset: 0;
  z-index: 0 !important;
  background-size: cover;
  background-position: center;
}

.veu {
  background: radial-gradient(90% 60% at 50% 40%, rgba(11, 36, 24, 0.15), rgba(4, 16, 10, 0.6));
}

.veu--forte {
  background: linear-gradient(180deg, rgba(11, 36, 24, 0.35) 0%, rgba(4, 16, 10, 0.82) 100%);
}

.contador {
  top: 3.5cqw;
  left: 3.5cqw;
  z-index: 9 !important;
  font-size: 2.5cqw;
  font-weight: 600;
  color: var(--esmeralda-profunda);
  background: rgba(245, 232, 200, 0.95);
  padding: 0.6cqw 2.2cqw;
  border-radius: 99px;
  border: 0.3cqw solid var(--ouro);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.script {
  font-family: var(--script);
  font-weight: 400;
}

.ouro, .titulo--ouro, .ouro-sc {
  background: var(--foil);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ic {
  width: 5cqw;
  height: 5cqw;
  flex: none;
}

.marca {
  left: 0;
  right: 0;
  bottom: 5cqw;
  text-align: center;
  font-family: var(--sc);
  font-size: 3cqw;
  letter-spacing: 0.22em;
  color: var(--ouro);
}

.marca i {
  font-style: normal;
  opacity: 0.6;
}

.kicker {
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--script);
  font-size: 8cqw;
  color: var(--ouro);
  line-height: 1;
}

.kicker--ouro {
  color: var(--ouro-claro);
}

.titulo {
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--sc);
  font-weight: 700;
  font-size: 8.8cqw;
  line-height: 1.05;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--esmeralda);
}

.titulo--ouro {
  color: var(--ouro-claro);
}

/* Elementos Gráficos do Canva */
.espelho {
  width: 78cqw;
  height: 78cqw;
  filter: drop-shadow(0 2cqw 3cqw rgba(0, 0, 0, 0.65));
  pointer-events: none;
}

.orquidea {
  width: 24cqw;
  filter: drop-shadow(0 1.5cqw 2.5cqw rgba(0, 0, 0, 0.5));
  pointer-events: none;
}

.laco {
  width: 26cqw;
  filter: drop-shadow(0 1cqw 2cqw rgba(0, 0, 0, 0.4));
  pointer-events: none;
}

.taca {
  width: 28cqw;
  filter: drop-shadow(0 2cqw 3cqw rgba(0, 0, 0, 0.6));
  pointer-events: none;
}

/* PÁGINA 1 — CAPA */
.capa__topo {
  top: 9cqw;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--sc);
  font-size: 3.2cqw;
  letter-spacing: 0.35em;
  color: var(--ouro-claro);
  text-transform: uppercase;
}

.capa__titulo {
  top: 15cqw;
  left: 0;
  right: 0;
  text-align: center;
  font-weight: 400;
}

.capa__titulo span {
  display: block;
  font-size: 26cqw;
  line-height: 0.95;
}

.capa__titulo b {
  display: block;
  margin-top: -4cqw;
  font-family: var(--sc);
  font-size: 8.5cqw;
  letter-spacing: 0.28em;
  padding-left: 0.28em;
  white-space: nowrap;
}

/* Moldura Barroca com a Foto da Capa */
.foto-quadro {
  left: 11cqw;
  right: 11cqw;
  top: 56cqw;
  height: 78cqw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.foto-recorte {
  position: absolute;
  width: 48cqw;
  height: 48cqw;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
  border: 0.8cqw solid var(--ouro);
}

.foto-recorte img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.arroba {
  margin-top: 1cqw;
  font-family: var(--serif);
  font-style: italic;
  font-size: 3.8cqw;
  color: var(--ouro-claro);
  opacity: 0.9;
}

/* PÁGINA 2 — POLÍTICA */
.moldura {
  inset: 4.5cqw !important;
  border: 0.5cqw solid var(--ouro);
  border-radius: 3.5cqw;
  box-shadow: inset 0 0 0 1.2cqw var(--creme), inset 0 0 0 1.6cqw rgba(212, 175, 55, 0.5);
}

.pg--pol .kicker {
  top: 22cqw;
}

.pg--pol .titulo {
  top: 30cqw;
}

.regras {
  top: 52cqw;
  left: 10cqw;
  right: 10cqw;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 3cqw;
}

.regras li {
  display: flex;
  gap: 3cqw;
  align-items: flex-start;
}

.num {
  flex: none;
  width: 9cqw;
  font-family: var(--sc);
  font-weight: 700;
  font-size: 5.6cqw;
  line-height: 1;
  background: var(--foil);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  border-right: 0.3cqw solid var(--ouro);
  padding-right: 2cqw;
}

.regras p {
  font-size: 3cqw;
  line-height: 1.4;
  color: var(--suave);
}

.regra-t {
  display: block;
  font-family: var(--sc);
  font-weight: 700;
  font-size: 3.3cqw;
  letter-spacing: 0.08em;
  color: var(--esmeralda);
}

.regras strong:not(.regra-t) {
  color: var(--tinta);
  font-weight: 600;
}

/* PÁGINA 3 — CALENDÁRIO */
.pg--cal .kicker {
  top: 11cqw;
}

.pg--cal .titulo {
  top: 19cqw;
  font-size: 11cqw;
}

.cal-card {
  left: 7cqw;
  right: 7cqw;
  top: 38cqw;
  padding: 5cqw 4cqw 4cqw;
  border-radius: 4cqw;
  background: rgba(253, 251, 247, 0.97);
  box-shadow: 0 0 0 0.5cqw var(--ouro), 0 0 0 1.2cqw rgba(212, 175, 55, 0.25), 0 4cqw 8cqw -2cqw rgba(0, 0, 0, 0.7);
}

.cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1.6cqw 0.8cqw;
  text-align: center;
}

.cs {
  font-family: var(--sc);
  font-weight: 700;
  font-size: 3.5cqw;
  color: var(--ouro);
  padding-bottom: 1cqw;
}

.cd {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  font-size: 4cqw;
  font-weight: 500;
  color: var(--tinta);
  border-radius: 50%;
}

.cd--f {
  color: #C0C8C3;
  text-decoration: line-through;
}

.cd--d {
  background: var(--foil);
  color: var(--esmeralda-profunda);
  font-weight: 700;
  box-shadow: 0 0.6cqw 1.4cqw -0.4cqw rgba(168, 132, 46, 0.8);
}

.legenda {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 4cqw;
  margin-top: 4cqw;
  font-size: 2.6cqw;
  color: var(--suave);
}

.legenda li {
  display: flex;
  align-items: center;
  gap: 1.2cqw;
}

.lg {
  width: 3cqw;
  height: 3cqw;
  border-radius: 50%;
  border: 0.35cqw solid var(--tinta);
}

.lg--d {
  border: 0;
  background: var(--foil);
}

.lg--f {
  border-color: #C0C8C3;
  background: repeating-linear-gradient(45deg, #C0C8C3 0 0.3cqw, transparent 0.3cqw 0.9cqw);
}

.cal-aviso {
  left: 9cqw;
  right: 9cqw;
  top: 132cqw;
  text-align: center;
  font-size: 3.2cqw;
  color: var(--ouro-claro);
  line-height: 1.35;
}

/* BOTÕES INTERATIVOS */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2.2cqw;
  padding: 3.2cqw 6cqw;
  border-radius: 99px;
  font-weight: 600;
  font-size: 3.7cqw;
  text-decoration: none;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  transition: all 0.25s ease;
  cursor: pointer;
}

.botao--ouro {
  background: var(--foil);
  color: var(--esmeralda-profunda);
  box-shadow: 0 1.6cqw 3cqw -0.8cqw rgba(0, 0, 0, 0.7);
}

.botao--ouro:active {
  transform: translateX(-50%) scale(0.97);
}

.pg--cal .botao {
  bottom: 11cqw;
}

.botao--esmeralda {
  background: linear-gradient(135deg, var(--esmeralda) 0%, var(--esmeralda-profunda) 100%);
  color: var(--ouro-claro);
  border: 0.3cqw solid var(--ouro);
  box-shadow: 0 1.6cqw 3cqw -1cqw rgba(4, 16, 10, 0.8);
}

/* PÁGINA 4 — COMO AGENDAR + PIX */
.pg--passos .kicker {
  top: 6cqw;
}

.pg--passos .titulo {
  top: 13cqw;
  font-size: 9cqw;
}

.passos {
  top: 33cqw;
  left: 8cqw;
  right: 8cqw;
  list-style: none;
  display: flex;
  flex-direction: column;
}

.passos li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 3cqw;
  padding: 1.1cqw 0;
}

.passos li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 3.4cqw;
  top: 7.2cqw;
  height: 2.5cqw;
  border-left: 0.35cqw dashed var(--ouro);
}

.bola {
  flex: none;
  display: grid;
  place-items: center;
  width: 7cqw;
  height: 7cqw;
  border-radius: 50%;
  background: var(--esmeralda);
  color: var(--ouro-claro);
  font-family: var(--sc);
  font-weight: 700;
  font-size: 3.4cqw;
  box-shadow: 0 0 0 0.35cqw var(--ouro);
}

.passos p {
  font-size: 3cqw;
  color: var(--suave);
  line-height: 1.35;
}

.passos strong {
  font-family: var(--sc);
  color: var(--esmeralda);
  font-size: 3.4cqw;
  letter-spacing: 0.04em;
}

/* SEÇÃO PIX */
.pix-secao {
  left: 6cqw;
  right: 6cqw;
  bottom: 8cqw;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2cqw;
}

.pix-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2cqw;
}

.pix-tag .script {
  font-size: 6cqw;
  color: var(--esmeralda);
  line-height: 1;
}

.pix-valor-tag {
  font-family: var(--sc);
  font-size: 3.6cqw;
  color: var(--esmeralda);
  background: rgba(11, 36, 24, 0.08);
  border: 0.3cqw solid var(--ouro);
  padding: 0.3cqw 2.4cqw;
  border-radius: 99px;
  font-weight: 700;
}

.pix-qr {
  width: 44cqw;
  height: 44cqw;
  background: #fff;
  border-radius: 3.6cqw;
  padding: 2cqw;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0.4cqw solid var(--ouro);
  box-shadow: 0 0 0 0.8cqw rgba(212, 175, 55, 0.25), 0 2cqw 4cqw -1cqw rgba(0, 0, 0, 0.2);
}

.pix-qr svg {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 1.6cqw;
}

.pix-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2cqw;
}

.pix-chave-lbl {
  font-family: var(--sc);
  font-size: 2.5cqw;
  letter-spacing: 0.14em;
  color: var(--suave);
  text-transform: uppercase;
}

.pix-chave-val {
  font-family: var(--txt);
  font-size: 4.6cqw;
  font-weight: 700;
  color: var(--esmeralda);
}

.pix-titular {
  font-size: 2.8cqw;
  color: var(--suave);
}

/* PÁGINA 5 — LOCALIZAÇÃO */
.pg--local .kicker {
  top: 14cqw;
}

.pg--local .titulo {
  top: 22cqw;
}

.local-card {
  left: 7cqw;
  right: 7cqw;
  top: 45cqw;
  padding: 5cqw 4.4cqw;
  border-radius: 4cqw;
  background: rgba(253, 251, 247, 0.97);
  box-shadow: 0 0 0 0.5cqw var(--ouro), 0 4cqw 8cqw -2cqw rgba(0, 0, 0, 0.7);
  text-align: center;
}

.local-rua {
  font-family: var(--sc);
  font-weight: 700;
  font-size: 4cqw;
  color: var(--esmeralda);
  line-height: 1.3;
}

.local-bairro {
  font-size: 3.2cqw;
  color: var(--suave);
  margin-top: 1cqw;
}

.local-pagamentos {
  margin-top: 4cqw;
  padding-top: 3.5cqw;
  border-top: 0.25cqw solid rgba(212, 175, 55, 0.35);
  display: flex;
  justify-content: center;
  gap: 3cqw;
  font-size: 3cqw;
  font-weight: 600;
  color: var(--esmeralda);
}

.pg--local .botao {
  bottom: 12cqw;
}

/* PÁGINA 6 — FINAL / AGRADECIMENTO */
.pg--fim .kicker {
  top: 12cqw;
}

.fim__t {
  top: 20cqw;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--sc);
  font-size: 7cqw;
  color: var(--ouro-claro);
  line-height: 1.1;
  text-transform: uppercase;
}

.fim__t b {
  display: block;
  font-size: 9.6cqw;
}

.fim-quadro {
  left: 17cqw;
  right: 17cqw;
  top: 50cqw;
  height: 60cqw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fim-recorte {
  width: 44cqw;
  height: 44cqw;
  border-radius: 50%;
  overflow: hidden;
  border: 0.7cqw solid var(--ouro);
  box-shadow: 0 2cqw 4cqw rgba(0, 0, 0, 0.7);
}

.fim-recorte img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fim-msg {
  left: 8cqw;
  right: 8cqw;
  top: 114cqw;
  text-align: center;
  font-size: 3.2cqw;
  color: var(--ouro-claro);
  line-height: 1.45;
  font-family: var(--serif);
  font-style: italic;
}

.fim-ass {
  left: 0;
  right: 0;
  bottom: 16cqw;
  text-align: center;
  font-family: var(--script);
  font-size: 8.5cqw;
  color: var(--ouro);
}

/* BOTÃO FLUTUANTE DE WHATSAPP */
.flutuante {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 99;
  background: linear-gradient(135deg, #10B981, #059669);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  padding: 12px 22px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(5, 150, 105, 0.5);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease;
}

.flutuante:active {
  transform: scale(0.96);
}

/* TOAST DE AVISO */
.aviso {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-30px);
  background: var(--esmeralda);
  border: 1px solid var(--ouro);
  color: var(--ouro-claro);
  padding: 10px 20px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 1000;
}

.aviso.visivel {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
