/* ============================================
   MiawLove — Design System Premium Mobile-First
   Tema claro · Verde Musgo
   ============================================ */

:root {
  --bg-dark: #FDFBF7;
  --bg-card: #FFFFFF;
  --bg-card-soft: #EAF0E6;
  --accent-cream: #E8DFC8;
  --accent-blue: #3B5334;
  --accent-blue-hover: #2D4229;
  --text-main: #2B2D42;
  --text-muted: #6C757D;
  --text-on-accent: #FFFFFF;
  --radius-lg: 20px;
  --radius-sm: 20px;
  --radius-photo: 14px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-border: rgba(59, 83, 52, 0.12);
  --shadow-subtle: 0 8px 24px rgba(43, 45, 66, 0.05);
  --shadow-glow: 0 12px 28px rgba(59, 83, 52, 0.22);
  --max-width-mobile: 30rem;
  --touch-min: 3rem;
  --font-base: 1rem;
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(59, 83, 52, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 100%, rgba(234, 240, 230, 0.65) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

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

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-blue-hover);
}

.app-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width-mobile);
  margin: 0 auto;
  padding: 1.25rem;
  min-height: 100vh;
}

@media (min-width: 48rem) {
  .app-shell {
    padding: 2rem 1.25rem;
  }
}

h1, h2, h3 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-main);
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.125rem; }

@media (min-width: 22.5rem) {
  h1 { font-size: 2rem; }
}

p {
  color: var(--text-muted);
  font-size: var(--font-base);
}

.text-accent { color: var(--accent-blue); }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

.card {
  background: var(--bg-card);
  border: 0.0625rem solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
}

.card:hover {
  border-color: rgba(59, 83, 52, 0.22);
  box-shadow: 0 10px 28px rgba(43, 45, 66, 0.08);
}

.card--soft {
  background: var(--bg-card-soft);
  border-color: rgba(59, 83, 52, 0.1);
}

.card-highlight {
  border-color: rgba(59, 83, 52, 0.35);
  box-shadow: 0 8px 32px rgba(59, 83, 52, 0.12);
  position: relative;
}

.card-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-blue);
  color: var(--text-on-accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--touch-min);
  min-width: var(--touch-min);
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  line-height: 1.2;
}

.btn-primary {
  background: var(--accent-blue);
  color: var(--text-on-accent);
  width: 100%;
  box-shadow: var(--shadow-subtle);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-blue-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 0.0625rem solid var(--glass-border);
  width: 100%;
  box-shadow: var(--shadow-subtle);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(43, 45, 66, 0.08);
}

.btn-ghost {
  background: rgba(58, 134, 240, 0.06);
  color: var(--text-muted);
  width: 100%;
  font-size: 0.875rem;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(58, 134, 240, 0.12);
  color: var(--accent-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-subtle);
}

a.btn-primary,
a.btn-secondary,
a.btn-ghost {
  text-decoration: none;
}

.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

/* Títulos principais de seção (criar.html e formulários) */
.form-section-title {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  color: #2D4229;
  margin-top: 0;
  margin-bottom: 0.625rem;
  letter-spacing: -0.01em;
}

.form-group > .form-section-title:first-child {
  margin-top: 0;
}

.signos-grid .form-label,
.lugar-row .form-label,
.playlist-pending-capa .form-label,
.ia-modo-section .form-label,
.ia-prompt-section .form-label,
.ia-result-section .form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  min-height: var(--touch-min);
  padding: 0.75rem 1rem;
  background: #F8F9FA;
  border: 0.0625rem solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
}

.form-textarea {
  min-height: 6rem;
  resize: vertical;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 0.1875rem rgba(58, 134, 240, 0.15);
  background: var(--bg-card);
}

.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }

.form-error {
  color: #e04545;
  font-size: 0.8125rem;
  margin-top: 0.25rem;
}

.form-hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.375rem;
}

.plan-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.plan-option { position: relative; }

.plan-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.plan-option label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: #F8F9FA;
  border: 0.0625rem solid var(--glass-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  min-height: var(--touch-min);
  transition: var(--transition);
}

.plan-option input[type="radio"]:checked + label {
  border-color: var(--accent-blue);
  background: rgba(58, 134, 240, 0.08);
  box-shadow: var(--shadow-subtle);
}

.plan-price {
  font-weight: 700;
  color: var(--accent-blue);
}

.checkbox-upsell {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(58, 134, 240, 0.05);
  border: 0.0625rem dashed rgba(58, 134, 240, 0.3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  min-height: var(--touch-min);
  transition: var(--transition);
}

.checkbox-upsell:hover {
  background: rgba(58, 134, 240, 0.08);
}

.checkbox-upsell input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: var(--accent-blue);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.upload-zone {
  border: 0.125rem dashed rgba(58, 134, 240, 0.25);
  border-radius: var(--radius-sm);
  padding: 2rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  min-height: 8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #F8F9FA;
}

.upload-zone:hover {
  border-color: var(--accent-blue);
  background: rgba(58, 134, 240, 0.05);
}

.upload-icon { font-size: 2rem; }

.upload-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.upload-preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-photo);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.upload-preview img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-photo);
  width: 100%;
  height: 100%;
}

.upload-remove {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  width: 1.75rem;
  height: 1.75rem;
  min-height: 1.75rem;
  min-width: 1.75rem;
  border: none;
  border-radius: 50%;
  background: rgba(43, 45, 66, 0.65);
  color: var(--text-on-accent);
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.upload-remove:hover {
  background: var(--accent-blue);
  transform: scale(1.05);
}

.upload-status {
  font-size: 0.8125rem;
  margin-top: 0.5rem;
}

.upload-status--muted { color: var(--text-muted); }
.upload-status--loading { color: var(--accent-blue); }
.upload-status--success { color: #2d9f5f; }
.upload-status--error { color: #e04545; }

/* ---- Boas-vindas no criar.html ---- */
.gato-cupido-welcome {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 1.75rem;
  padding: 0.25rem 0;
}

.gato-cupido-avatar {
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--bg-card-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  border: 0.125rem solid rgba(59, 83, 52, 0.2);
}

.gato-cupido-avatar img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  object-position: center;
  background: transparent !important;
}

.gato-cupido-speech {
  position: relative;
  flex: 1;
  background: var(--bg-card);
  border: 0.0625rem solid var(--glass-border);
  border-radius: var(--radius-lg);
  border-top-left-radius: 0.375rem;
  padding: 1rem 1.125rem;
  color: var(--text-main);
  font-size: 0.9375rem;
  line-height: 1.5;
  box-shadow: var(--shadow-subtle);
}

.gato-cupido-speech::before {
  content: '';
  position: absolute;
  top: 1rem;
  left: -0.5rem;
  width: 0;
  height: 0;
  border-top: 0.5rem solid transparent;
  border-bottom: 0.5rem solid transparent;
  border-right: 0.625rem solid var(--bg-card);
}

.gato-cupido-speech strong {
  color: var(--accent-blue);
  font-weight: 700;
}

.hero {
  text-align: center;
  padding: 2rem 0 3rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(58, 134, 240, 0.08);
  color: var(--accent-blue);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.375rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
  border: 0.0625rem solid rgba(58, 134, 240, 0.15);
}

.hero h1 { margin-bottom: 1rem; }

.hero p {
  font-size: 1.0625rem;
  margin-bottom: 2rem;
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta { margin-bottom: 1rem; }

.section { padding: 2.5rem 0; }
.section-title { text-align: center; margin-bottom: 2rem; }

.steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-icon {
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  background: rgba(58, 134, 240, 0.1);
  color: var(--accent-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
}

.step-content h3 { margin-bottom: 0.25rem; color: var(--text-main); }

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial { padding: 1.25rem; }

.testimonial-stars {
  color: #d4a017;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.testimonial-author {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.pricing-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.pricing-card h3 { margin-bottom: 0.5rem; }

.pricing-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin: 1rem 0;
  color: var(--text-main);
}

.pricing-currency {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.pricing-amount {
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
}

.pricing-anchor {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.pricing-value-old {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-thickness: 0.125rem;
}

.pricing-discount-tag {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(169, 183, 165, 0.45) 0%, rgba(143, 158, 139, 0.35) 100%);
  color: #3B5334;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 0.0625rem solid rgba(143, 158, 139, 0.35);
  box-shadow: 0 4px 12px rgba(85, 107, 47, 0.08);
}

.pricing-value span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin: 1.5rem 0;
  text-align: left;
}

.pricing-features li {
  padding: 0.5rem 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-features li::before {
  content: '🐾';
  font-size: 0.75rem;
}

.checkout-summary { margin-bottom: 1.5rem; }

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.625rem 0;
  border-bottom: 0.0625rem solid var(--glass-border);
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.summary-row.total {
  border-bottom: none;
  font-weight: 700;
  font-size: 1.125rem;
  padding-top: 1rem;
  color: var(--text-main);
}

/* ---- QR Code: centralização (checkout / sucesso) ---- */
.pix-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin: 1.5rem 0;
  padding: 0.5rem 0;
}

.pix-qr {
  width: 12rem;
  height: 12rem;
  margin: 1.25rem auto;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-subtle);
  border: 0.0625rem solid var(--glass-border);
}

.pix-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pix-qr canvas,
#pixQrcode img {
  max-width: 100%;
  height: auto;
}

.pix-copy {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
  width: 100%;
}

.pix-copy input {
  flex: 1;
  font-size: 0.75rem;
  padding: 0.75rem;
  background: #F8F9FA;
  border: 0.0625rem solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  min-height: var(--touch-min);
  transition: var(--transition);
}

.pix-copy input:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 0.1875rem rgba(58, 134, 240, 0.15);
}

.pix-copy button {
  min-height: var(--touch-min);
  min-width: var(--touch-min);
  padding: 0 1rem;
  background: var(--accent-blue);
  color: var(--text-on-accent);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow-subtle);
}

.pix-copy button:hover,
.pix-copy button:focus-visible {
  background: var(--accent-blue-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.checkout-page {
  position: relative;
  z-index: 1;
  padding-bottom: 1rem;
}

#container-efeito {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.checkout-particula {
  position: absolute;
  bottom: -2rem;
  animation: checkoutParticulaSubir linear forwards;
  will-change: transform, opacity;
}

.checkout-particula--coracao {
  color: #c0395a;
}

.checkout-particula--estrela {
  color: #d4a017;
}

@keyframes checkoutParticulaSubir {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(-110vh) rotate(360deg);
    opacity: 0;
  }
}

/* ---- Campo de cupom no checkout ---- */
.checkout-cupom-row {
  margin: 0.75rem 0 0.25rem;
}

.checkout-cupom-input-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.checkout-cupom-input {
  flex: 1;
  min-width: 0;
  text-transform: uppercase;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
}

.checkout-cupom-btn {
  white-space: nowrap;
  flex-shrink: 0;
  width: auto;
}

.checkout-cupom-feedback {
  font-size: 0.8125rem;
  margin: 0.3rem 0 0;
  min-height: 1.1em;
  font-weight: 600;
}

.checkout-desconto-row span:last-child {
  color: #16a34a;
  font-weight: 700;
}

/* ---- Upsell de efeito ---- */
.checkout-efeito-upsell {
  margin: 0.75rem 0 0.5rem;
  padding: 0.875rem 1rem;
  background: var(--bg-card-soft);
  border: 0.0625rem solid var(--glass-border);
  border-radius: var(--radius-sm);
}

.checkout-efeito-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  margin: 0;
}

.checkout-efeito-checkbox {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
  accent-color: var(--accent-blue);
}

.checkout-efeito-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--text-main);
}

.checkout-efeito-text small {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.btn-simular-teste {
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.875rem 1rem;
  border: none;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, #c0392b 0%, #e67e22 100%);
  box-shadow: 0 0.25rem 0.875rem rgba(192, 57, 43, 0.35);
  cursor: pointer;
  transition: var(--transition);
}

.btn-simular-teste:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 0.375rem 1.125rem rgba(192, 57, 43, 0.45);
}

.btn-simular-teste:disabled {
  opacity: 0.7;
  cursor: wait;
}

.checkout-header {
  padding: 0.5rem 0 1rem;
}

.checkout-header .site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.pix-qr-dinamico {
  display: block;
  width: 200px;
  height: 200px;
  margin: 0 auto;
  border-radius: 0.5rem;
}

.checkout-pix-card {
  margin-bottom: 1rem;
}

.checkout-contato-card {
  margin-bottom: 1rem;
}

.checkout-contato-intro {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.checkout-contato-hint {
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: italic;
}

.checkout-contato-card--done {
  opacity: 0.85;
}

/* ---- Trava jurídica: checkbox de Termos de Uso ---- */
.checkout-termos-wrap {
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  padding: 0.875rem 1rem;
  background: rgba(143, 158, 139, 0.08);
  border: 1px solid rgba(143, 158, 139, 0.35);
  border-radius: 10px;
}

.checkout-termos-label {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  cursor: pointer;
  line-height: 1.45;
}

.checkout-termos-checkbox {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.15rem;
  accent-color: var(--accent);
  cursor: pointer;
}

.checkout-termos-text {
  font-size: 0.875rem;
  color: var(--text-main);
}

.checkout-termos-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
}

.checkout-termos-link:hover {
  opacity: 0.8;
}

.checkout-btn-termos-locked {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.3);
  transition: opacity 0.2s, filter 0.2s;
}

.checkout-btn-termos-locked:not(:disabled) {
  opacity: 1;
  cursor: pointer;
  filter: none;
}

.checkout-pix-card--locked {
  pointer-events: none;
  opacity: 0.45;
  filter: grayscale(0.35);
  position: relative;
}

.checkout-pix-card--locked::after {
  content: 'Confirme seu WhatsApp acima para liberar o Pix';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.72);
  border-radius: inherit;
  pointer-events: none;
}

.suporte-presentes-resultados {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.suporte-presentes-resultados__btn {
  width: 100%;
  text-align: left;
  border: 1px solid var(--border-soft, #e5e7eb);
  border-radius: 0.5rem;
  padding: 0.625rem 0.75rem;
  background: #fff;
  cursor: pointer;
}

.suporte-presentes-resultados__btn strong {
  display: block;
  font-size: 0.875rem;
}

.suporte-presentes-resultados__btn span,
.suporte-presentes-resultados__btn small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  word-break: break-all;
}

.checkout-pix-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 0.375rem;
}

.checkout-pix-subtitle {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.checkout-pix-subtitle--fallback {
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
}

.checkout-admin-aprovar {
  width: 100%;
  margin-top: 0.75rem;
  border: 1px dashed var(--accent, #2d6a4f);
  color: var(--accent, #2d6a4f);
}

.roleta-premios-container {
  display: grid;
  gap: 0.5rem;
}

.roleta-premio-row {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: center;
}

.roleta-premio-row .form-input {
  flex: 1;
  min-width: 0;
}

.btn-remover-roleta-premio {
  width: auto;
  flex: 0 0 auto;
  min-width: 2.5rem;
  padding: 0.35rem 0.65rem;
  font-size: 1.25rem;
  line-height: 1;
}

.checkout-pix-details {
  display: grid;
  gap: 0.875rem;
  margin-bottom: 0.5rem;
}

.checkout-pix-detail {
  background: var(--bg-card-soft);
  border: 0.0625rem solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1rem;
}

.checkout-pix-detail dt {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.checkout-pix-detail dd {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.45;
}

.checkout-pix-detail-value {
  font-size: 1.375rem !important;
  color: var(--accent-blue) !important;
}

.checkout-pix-cnpj-formatted {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.checkout-pix-cnpj-clean {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  font-family: ui-monospace, monospace;
}

.btn-pix-copy {
  width: 100%;
  border-radius: 999px;
  margin-top: 0.5rem;
}

.checkout-pix-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-blue);
  background: rgba(59, 83, 52, 0.08);
  border: 0.0625rem solid rgba(59, 83, 52, 0.15);
  border-radius: 999px;
  padding: 0.625rem 1rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

.checkout-pix-status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent-blue);
  animation: checkoutPixPulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

.checkout-pix-status--paid {
  background: rgba(59, 83, 52, 0.15);
  color: #2D4229;
}

.checkout-pix-status--paid .checkout-pix-status-dot {
  animation: none;
  background: #2D4229;
}

@keyframes checkoutPixPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.success-icon {
  font-size: 4rem;
  text-align: center;
  margin-bottom: 1rem;
}

.success-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sucesso-page-shell {
  padding-bottom: 2rem;
}

.sucesso-page-card {
  text-align: center;
  padding: 2rem 1.5rem;
  margin-top: 0.5rem;
}

.sucesso-page-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.sucesso-page-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 5vw, 1.875rem);
  color: #1E2A1C;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.sucesso-page-lead {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(43, 45, 66, 0.85);
  margin-bottom: 0.5rem;
}

.sucesso-page-hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.sucesso-comprovante {
  text-align: center;
  padding: 1.25rem 1rem;
  margin-bottom: 1.25rem;
}

.sucesso-comprovante-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3B5334;
  margin-bottom: 0.375rem;
}

.sucesso-comprovante-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  color: #2B2D42;
  margin-bottom: 0.5rem;
}

.sucesso-comprovante-id {
  font-family: ui-monospace, 'Courier New', monospace;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #2D4229;
  margin-bottom: 0.5rem;
  word-break: break-all;
}

.sucesso-comprovante-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

.btn-sucesso-copy {
  width: 100%;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.btn-sucesso-view {
  width: 100%;
  border-radius: 999px;
  margin-bottom: 1rem;
  display: inline-flex;
  justify-content: center;
}

.btn-sucesso-support {
  width: 100%;
  font-size: 0.8125rem;
  line-height: 1.45;
  text-align: center;
  white-space: normal;
  height: auto;
  padding: 0.875rem 1rem;
}

.success-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 0.75rem;
}

.link-box {
  background: #F8F9FA;
  border: 0.0625rem solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  word-break: break-all;
  font-size: 0.875rem;
  margin: 1rem 0;
  color: var(--text-main);
  width: 100%;
  text-align: center;
}

.qr-download {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin: 2rem 0 1.5rem;
  padding: 0.5rem;
}

.qr-download .form-label {
  margin-bottom: 0.5rem;
}

.qr-download #qrcode {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.25rem auto;
  padding: 0.75rem;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-subtle);
  border: 0.0625rem solid var(--glass-border);
}

.qr-download canvas,
.qr-download img {
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-sm);
}

.error-page { text-align: center; padding: 3rem 1rem; }
.error-icon { font-size: 4rem; margin-bottom: 1rem; }

.site-footer {
  text-align: center;
  padding: 2rem 0 1.5rem;
  border-top: 0.0625rem solid var(--glass-border);
  margin-top: 1rem;
}

.site-footer p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---- Landing Page: Header, Menu, Depoimentos ---- */
.app-shell--landing {
  padding-top: 0.75rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0 1.25rem;
  position: relative;
  z-index: 50;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 1;
  min-width: 0;
  min-height: 2.75rem;
}

.site-brand:hover .brand-name {
  color: #7a8a76;
}

.site-logo {
  font-size: 1.75rem;
  line-height: 1;
  filter: drop-shadow(0 0.125rem 0.25rem rgba(59, 83, 52, 0.2));
}

.brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  background: transparent !important;
}

.brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.05rem, 4.5vw, 1.4rem);
  font-weight: 700;
  line-height: 1.1;
  color: #8F9E8B;
  white-space: nowrap;
}

.site-name {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent-blue);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.3125rem;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  padding: 0.5rem;
  border: none;
  background: var(--bg-card-soft);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.menu-toggle:hover {
  background: rgba(59, 83, 52, 0.12);
}

.menu-toggle-bar {
  display: block;
  width: 100%;
  height: 0.125rem;
  background: var(--accent-blue);
  border-radius: 1rem;
  transition: var(--transition);
}

.site-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43, 45, 66, 0.35);
  z-index: 80;
  backdrop-filter: blur(0.125rem);
}

.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(16rem, 85vw);
  height: 100vh;
  background: var(--bg-card);
  box-shadow: -0.5rem 0 2rem rgba(43, 45, 66, 0.12);
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: 4.5rem 1.25rem 1.5rem;
  gap: 0.25rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-nav--open {
  transform: translateX(0);
}

.site-nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  border-radius: 12px;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: var(--transition);
}

.site-nav-link:hover {
  background: var(--bg-card-soft);
  color: var(--accent-blue);
}

.site-nav-link--login {
  margin-top: auto;
  border-top: 0.0625rem solid var(--glass-border);
  padding-top: 1.25rem;
}

.nav-login-icon {
  font-size: 1.125rem;
}

body.menu-open {
  overflow: hidden;
}

.pricing-tagline {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.section--testimonials {
  padding-left: 0;
  padding-right: 0;
}

.section--testimonials .section-title {
  padding: 0 1.25rem;
}

.testimonials-mask {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
}

.testimonials-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding: 0.5rem 1.25rem 1rem;
  animation: testimonialsScroll 45s linear infinite;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

@keyframes testimonialsScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-1 * var(--scroll-distance, 50%))); }
}

.testimonial--slide {
  flex: 0 0 min(18rem, 78vw);
  min-height: 9rem;
}

.hero-badge {
  background: rgba(59, 83, 52, 0.08);
  color: var(--accent-blue);
  border: 0.0625rem solid rgba(59, 83, 52, 0.15);
}

.step-icon {
  background: rgba(59, 83, 52, 0.12);
  color: var(--accent-blue);
}

/* ---- Presente: experiência stories ---- */
.presente-wrapper {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 100;
  max-width: var(--max-width-mobile);
  margin: 0 auto;
  left: 0;
  right: 0;
}

.story-lock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, #FDFBF7 0%, #F5EDE3 45%, #EBF4FF 100%);
  z-index: 50;
  cursor: pointer;
  padding: 2rem;
  text-align: center;
}

.story-lock.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.story-lock h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.story-lock p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.story-lock-paw {
  width: 5rem;
  height: 5rem;
  margin-bottom: 1.75rem;
  position: relative;
  animation: pawBlink 2s ease-in-out infinite;
}

.paw-print {
  position: relative;
  width: 100%;
  height: 100%;
}

.paw-pad {
  position: absolute;
  background: #C9A87C;
  border-radius: 50%;
  box-shadow: 0 0.25rem 0.75rem rgba(201, 168, 124, 0.35);
}

.paw-pad.main {
  width: 2.25rem;
  height: 2rem;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 45% 45% 50% 50%;
}

.paw-pad.toe {
  width: 1rem;
  height: 1.125rem;
}

.paw-pad.t1 { top: 0.25rem; left: 0.625rem; }
.paw-pad.t2 { top: 0; left: 50%; transform: translateX(-50%); }
.paw-pad.t3 { top: 0.25rem; right: 0.625rem; }

@keyframes pawBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.92); }
}

.story-progress {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  display: flex;
  gap: 0.25rem;
  z-index: 20;
}

.progress-bar {
  flex: 1;
  height: 0.1875rem;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 0.125rem;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--text-on-accent);
  border-radius: 0.125rem;
  transition: width 0.1s linear;
}

.progress-fill.done { width: 100%; }

.progress-fill.active {
  animation: progressAnim var(--duration, 5s) linear forwards;
}

@keyframes progressAnim {
  from { width: 0%; }
  to { width: 100%; }
}

.story-viewer {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.story-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

.story-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.story-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.story-slide--light {
  background: linear-gradient(165deg, #EBF4FF 0%, var(--bg-dark) 50%, #F5EDE3 100%);
}

.story-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 45%, rgba(0,0,0,0.2) 100%);
  z-index: 1;
}

.story-slide--light .story-overlay {
  background: linear-gradient(to top, rgba(43,45,66,0.08) 0%, transparent 60%);
}

.story-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.25rem 3rem;
  z-index: 2;
}

.story-content h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--text-on-accent);
  text-shadow: 0 0.125rem 0.5rem rgba(0,0,0,0.45);
}

.story-content p {
  color: rgba(255,255,255,0.92);
  font-size: 1rem;
  text-shadow: 0 0.0625rem 0.25rem rgba(0,0,0,0.45);
}

.story-slide--light .story-content h2,
.story-slide--light .story-content p {
  color: var(--text-main);
  text-shadow: none;
}

.time-counter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}

.time-unit {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(0.5rem);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  text-align: center;
  min-width: 3.5rem;
}

.story-slide--light .time-unit {
  background: rgba(58, 134, 240, 0.1);
  backdrop-filter: none;
}

.time-unit .value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-on-accent);
}

.story-slide--light .time-unit .value {
  color: var(--text-main);
}

.time-unit .label {
  font-size: 0.625rem;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.story-slide--light .time-unit .label {
  color: var(--text-muted);
}

.story-nav {
  position: absolute;
  inset: 0;
  display: flex;
  z-index: 10;
}

.story-nav-left, .story-nav-right {
  flex: 1;
  cursor: pointer;
  min-height: var(--touch-min);
}

.hearts-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 30;
  overflow: hidden;
}

.heart-particle {
  position: absolute;
  bottom: -2rem;
  font-size: 1.25rem;
  animation: floatUp linear forwards;
  opacity: 0.8;
}

@keyframes floatUp {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.8; }
  100% { transform: translateY(-110vh) rotate(360deg); opacity: 0; }
}

.hidden-player {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.divider {
  height: 0.0625rem;
  background: var(--glass-border);
  margin: 1.5rem 0;
}

.page-header { text-align: center; margin-bottom: 2rem; }
.page-header h1 { font-size: 1.75rem; margin-bottom: 0.5rem; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  min-height: var(--touch-min);
  transition: var(--transition);
}

.back-link:hover {
  color: var(--accent-blue);
}

/* ---- Seletor de trilha sonora (criar.html) ---- */
.musica-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  background: #F8F9FA;
  padding: 0.375rem;
  border-radius: var(--radius-sm);
  border: 0.0625rem solid var(--glass-border);
}

.musica-tab {
  flex: 1;
  min-height: 2.75rem;
  padding: 0.625rem 0.75rem;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.musica-tab:hover {
  color: var(--accent-blue);
  background: rgba(58, 134, 240, 0.06);
}

.musica-tab.active {
  background: var(--bg-card);
  color: var(--accent-blue);
  box-shadow: var(--shadow-subtle);
}

.musica-panel {
  margin-top: 0.25rem;
}

.musica-panel--hidden {
  display: none;
}

.musica-catalogo-grid {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  max-height: 14rem;
  overflow-y: auto;
  padding: 0.25rem;
  -webkit-overflow-scrolling: touch;
}

.musica-catalogo-grid::-webkit-scrollbar {
  width: 0.25rem;
}

.musica-catalogo-grid::-webkit-scrollbar-thumb {
  background: rgba(58, 134, 240, 0.25);
  border-radius: 1rem;
}

.musica-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg-card);
  border: 0.0625rem solid var(--glass-border);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
  font-family: inherit;
  box-shadow: var(--shadow-subtle);
}

.musica-card:hover {
  border-color: rgba(58, 134, 240, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(43, 45, 66, 0.08);
}

.musica-card.selecionado {
  border-color: var(--accent-blue);
  background: rgba(58, 134, 240, 0.06);
  box-shadow: 0 0 0 0.125rem rgba(58, 134, 240, 0.15);
}

.musica-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

.musica-card-titulo {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
}

.musica-card-artista {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.musica-card-check {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--accent-blue);
  color: var(--text-on-accent);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  transition: var(--transition);
}

.musica-card.selecionado .musica-card-check {
  opacity: 1;
  transform: scale(1);
}

.form-group--error .musica-tabs {
  border-color: #e04545;
  box-shadow: 0 0 0 0.125rem rgba(224, 69, 69, 0.12);
}

.form-group--error .musica-catalogo-grid,
.form-group--error #youtubeUrlInput {
  border-color: #e04545;
}

/* ---- Ajuste de trecho (Instagram Stories style) ---- */
.ajuste-trecho-container {
  margin-top: 1.25rem;
  padding: 1.125rem 1.25rem;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(234, 240, 230, 0.95) 0%, rgba(253, 251, 247, 0.98) 100%);
  border: 0.0625rem solid rgba(143, 158, 139, 0.28);
  box-shadow: 0 6px 22px rgba(85, 107, 47, 0.08);
  animation: ajusteTrechoIn 0.45s ease forwards;
}

.ajuste-trecho-container[hidden] {
  display: none !important;
}

@keyframes ajusteTrechoIn {
  from { opacity: 0; transform: translateY(0.5rem); }
  to { opacity: 1; transform: translateY(0); }
}

.ajuste-trecho-label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.875rem;
  line-height: 1.45;
}

.ajuste-trecho-row {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.ajuste-trecho-row input[type="range"] {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 0.375rem;
  border-radius: 999px;
  background: rgba(143, 158, 139, 0.25);
  outline: none;
  cursor: pointer;
  accent-color: #8F9E8B;
}

.ajuste-trecho-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #A9B7A5 0%, #8F9E8B 100%);
  box-shadow: 0 4px 14px rgba(85, 107, 47, 0.18);
  border: 0.125rem solid rgba(255, 255, 255, 0.85);
  cursor: grab;
}

.ajuste-trecho-row input[type="range"]::-moz-range-thumb {
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #A9B7A5 0%, #8F9E8B 100%);
  box-shadow: 0 4px 14px rgba(85, 107, 47, 0.18);
  border: 0.125rem solid rgba(255, 255, 255, 0.85);
  cursor: grab;
}

.ajuste-trecho-time {
  flex-shrink: 0;
  min-width: 3.25rem;
  padding: 0.375rem 0.625rem;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(169, 183, 165, 0.35) 0%, rgba(143, 158, 139, 0.22) 100%);
  color: #3B5334;
  font-size: 0.875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
  box-shadow: 0 2px 8px rgba(85, 107, 47, 0.08);
}

.ajuste-trecho-hint {
  margin-top: 0.625rem;
  margin-bottom: 0;
}

.yt-trecho-preview-host {
  position: fixed;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

/* ---- Lugares marcantes (criar.html) ---- */
.lugares-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lugar-row {
  padding: 1rem 1.125rem;
}

.lugar-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.lugar-row-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
}

.lugar-row-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.375rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.125rem 0.375rem;
  border-radius: 999px;
}

.lugar-row-remove:hover {
  background: rgba(143, 158, 139, 0.15);
  color: #3B5334;
}

.lugar-autocomplete-wrap {
  position: relative;
}

.photon-suggestions {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  right: 0;
  z-index: 40;
  margin: 0;
  padding: 0.375rem 0;
  list-style: none;
  background: #fff;
  border: 0.0625rem solid #A9B7A5;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(59, 83, 52, 0.12);
  max-height: 14rem;
  overflow-y: auto;
}

.photon-suggestions__item {
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: var(--text-main);
  cursor: pointer;
  line-height: 1.35;
}

.photon-suggestions__item:hover,
.photon-suggestions__item.is-active {
  background: rgba(169, 183, 165, 0.22);
  color: #3B5334;
}

.lugar-autocomplete.input--error {
  border-color: #c0392b !important;
  box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.18);
}

.lugar-autocomplete.input--geocodificado {
  border-color: #27ae60 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2327ae60' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.25rem;
}

.lugar-foto-upload {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  min-height: auto;
}

.lugar-fotos-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.625rem;
}

.lugar-foto-preview-item {
  position: relative;
  display: inline-block;
}

.lugar-foto-preview-item img {
  width: 4rem;
  height: 4rem;
  border-radius: 10px;
  object-fit: cover;
  border: 0.0625rem solid #A9B7A5;
  display: block;
}

.lugar-foto-preview-item .lugar-foto-remove {
  position: absolute;
  top: -0.375rem;
  right: -0.375rem;
}

.lugar-foto-preview {
  position: relative;
  display: inline-block;
  margin-top: 0.625rem;
}

.lugar-foto-preview-img {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 0.125rem solid #A9B7A5;
  box-shadow: 0 4px 14px rgba(85, 107, 47, 0.12);
}

.pac-container {
  border-radius: 12px;
  border: 0.0625rem solid rgba(143, 158, 139, 0.25);
  box-shadow: 0 8px 24px rgba(85, 107, 47, 0.12);
  font-family: inherit;
  margin-top: 0.25rem;
  z-index: 10000;
}

.pac-item {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}

.pac-item-selected,
.pac-item:hover {
  background: rgba(234, 240, 230, 0.85);
}

/* ---- Playlist capas (criar.html) ---- */
.playlist-faixa-atual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.playlist-faixa-atual .playlist-pending-capa {
  margin-top: 0;
}

.playlist-faixa-atual .ajuste-trecho-container {
  margin-top: 0;
}

.playlist-faixa-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.375rem;
}

.btn-playlist-add {
  align-self: stretch;
  justify-content: center;
  border-radius: 999px;
  border: 0.0625rem solid rgba(143, 158, 139, 0.35);
  background: linear-gradient(145deg, rgba(169, 183, 165, 0.35) 0%, rgba(143, 158, 139, 0.22) 100%);
  color: #3B5334;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  box-shadow: 0 4px 14px rgba(85, 107, 47, 0.08);
  transition: var(--transition);
}

.btn-playlist-add:hover,
.btn-playlist-add:focus-visible {
  background: linear-gradient(145deg, rgba(169, 183, 165, 0.5) 0%, rgba(143, 158, 139, 0.35) 100%);
  box-shadow: 0 6px 18px rgba(85, 107, 47, 0.12);
}

.playlist-faixa-hint {
  margin: 0;
  text-align: center;
  font-size: 0.8125rem;
}

.playlist-list {
  margin-top: 1.25rem;
}

.text-required {
  color: #c0392b;
  font-weight: 700;
}

.playlist-list-item--capa {
  flex-direction: column;
  align-items: stretch;
}

.playlist-list-main {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
}

.playlist-capa-thumb {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  object-fit: cover;
  border: 0.0625rem solid rgba(143, 158, 139, 0.3);
  flex-shrink: 0;
}

.playlist-item-capa {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 0.0625rem dashed rgba(143, 158, 139, 0.25);
}

.playlist-capa-preview img,
.playlist-capa-preview img {
  width: 4rem;
  height: 4rem;
  border-radius: 10px;
  object-fit: cover;
  margin-top: 0.5rem;
  border: 0.0625rem solid #A9B7A5;
}

.playlist-pending-capa {
  padding: 1rem;
}

/* ---- Carta + IA (criar.html) ---- */
.carta-label-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.625rem;
}

.carta-label-row .form-section-title {
  margin-bottom: 0;
}

.carta-label-optional {
  font-size: 0.8125rem;
}

.carta-textarea {
  min-height: 8rem;
}

.carta-char-count--warn {
  color: #b8860b;
}

.carta-char-count--ok {
  color: #3B5334;
}

.btn-ia-carta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 999px;
  border: 0.0625rem solid rgba(143, 158, 139, 0.35);
  background: linear-gradient(145deg, rgba(234, 240, 230, 0.9) 0%, rgba(253, 251, 247, 0.95) 100%);
}

.carta-ia-aviso {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.carta-ia-loading {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #3B5334;
  font-weight: 500;
}

.carta-error-ia-retry {
  margin-top: 0.5rem;
  line-height: 1.45;
}

.ia-sugestao-text--loading {
  color: var(--text-muted);
  font-style: italic;
}

.ia-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ia-prompt-section,
.ia-result-section,
.ia-modo-section {
  padding: 1rem;
}

.ia-modo-options {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.btn-ia-modo {
  justify-content: flex-start;
  text-align: left;
  border-radius: 14px;
  border: 0.0625rem solid rgba(143, 158, 139, 0.35);
  background: linear-gradient(145deg, rgba(234, 240, 230, 0.85) 0%, rgba(253, 251, 247, 0.95) 100%);
  color: #3B5334;
  font-weight: 600;
  padding: 0.75rem 1rem;
  line-height: 1.4;
}

.btn-ia-modo:hover,
.btn-ia-modo:focus-visible {
  background: linear-gradient(145deg, rgba(169, 183, 165, 0.35) 0%, rgba(234, 240, 230, 0.9) 100%);
}

.ia-modo-hint {
  margin-top: 0.625rem;
  margin-bottom: 0;
}

/* ---- Playlist (criar.html) ---- */
.playlist-list {
  list-style: none;
  margin: 0.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.playlist-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.625rem 0.875rem;
  background: #F8F9FA;
  border-radius: 12px;
  border: 0.0625rem solid var(--glass-border);
  font-size: 0.875rem;
}

.playlist-list-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
}

.playlist-list-remove:hover {
  color: #e04545;
}

.signos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: end;
}

.signos-grid > div {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  min-width: 0;
}

.signos-grid .form-label {
  min-height: 2.75rem;
  display: flex;
  align-items: flex-end;
  line-height: 1.3;
  margin-bottom: 0;
}

.signos-grid .form-select {
  width: 100%;
}

@media (min-width: 36rem) {
  .signos-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---- Capa da música (criar.html) ---- */
.capa-musica-section {
  margin-top: 1rem;
  padding-top: 0.25rem;
}

.capa-upload-section {
  margin-top: 1rem;
}

.upload-zone--capa {
  min-height: 6.5rem;
}

.capa-preview {
  position: relative;
  margin-top: 0.75rem;
  border-radius: var(--radius-photo);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  max-width: 12rem;
}

.capa-preview img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.capa-preview-remove {
  position: absolute;
  top: 0.375rem;
  right: 0.375rem;
}

/* ---- Player de música moderno (presente.html) ---- */
.music-player-screen {
  position: absolute;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem 2rem;
  background: linear-gradient(180deg, #FDFBF7 0%, #F5EDE3 40%, #EBF4FF 100%);
  transition: opacity 0.6s ease, transform 0.6s ease;
  overflow: hidden;
}

.music-player-screen--photo {
  background: #1a1b22;
}

.music-player-bg-blur {
  position: absolute;
  inset: -25%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(50px) brightness(0.6);
  transform: scale(1);
  transform-origin: center center;
  animation: musicPlayerBgDrift 18s ease-in-out infinite alternate;
  z-index: 0;
  will-change: transform;
}

.music-player-bg-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, rgba(43, 45, 66, 0.15) 0%, rgba(43, 45, 66, 0.35) 100%);
  pointer-events: none;
}

@keyframes musicPlayerBgDrift {
  0% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.08) rotate(1.5deg);
  }
  100% {
    transform: scale(1.15) rotate(-1.5deg);
  }
}

.music-player-screen.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-1.5rem);
}

.music-player-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 22rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
}

.music-player-cover-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.music-player-cover {
  width: min(78vw, 17.5rem);
  aspect-ratio: 1;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(43, 45, 66, 0.14);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.music-player-cover--gradient {
  background: linear-gradient(135deg, #fce4ec 0%, #e1bee7 35%, #bbdefb 70%, #f8bbd0 100%);
  background-size: 200% 200%;
  animation: coverGradientShift 10s ease-in-out infinite alternate;
}

@keyframes coverGradientShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.music-player-cover--photo {
  border: 0.125rem solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.28),
    0 0 48px rgba(255, 255, 255, 0.12);
}

.music-player-screen--photo .music-player-title {
  color: #ffffff;
  text-shadow: 0 0.125rem 0.75rem rgba(0, 0, 0, 0.35);
}

.music-player-screen--photo .music-player-subtitle {
  color: rgba(255, 255, 255, 0.85);
  opacity: 0.7;
  text-shadow: 0 0.0625rem 0.5rem rgba(0, 0, 0, 0.25);
}

.music-player-screen--photo .music-player-continue {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(0.5rem);
  -webkit-backdrop-filter: blur(0.5rem);
}

.music-player-screen--photo .music-player-continue:hover,
.music-player-screen--photo .music-player-continue:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.music-player-meta {
  width: 100%;
  padding: 0 0.5rem;
}

.music-player-title {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 0.375rem;
  line-height: 1.2;
}

.music-player-subtitle {
  font-size: 0.9375rem;
  color: var(--text-main);
  opacity: 0.7;
  font-weight: 500;
}

.music-player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  width: 100%;
}

.music-player-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  transition: var(--transition);
  font-family: inherit;
  background: var(--bg-card);
  color: var(--text-main);
  box-shadow: var(--shadow-subtle);
}

.music-player-btn--secondary {
  width: 3rem;
  height: 3rem;
  font-size: 1.125rem;
}

.music-player-btn--primary {
  width: 4.25rem;
  height: 4.25rem;
  font-size: 1.375rem;
  background: var(--accent-blue);
  color: var(--text-on-accent);
  box-shadow: 0 10px 28px rgba(58, 134, 240, 0.35);
}

.music-player-btn--primary:hover,
.music-player-btn--primary:focus-visible {
  background: var(--accent-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(58, 134, 240, 0.4);
}

.music-player-btn--secondary:hover,
.music-player-btn--secondary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(43, 45, 66, 0.1);
}

.music-player-btn.active {
  color: var(--accent-blue);
  box-shadow: 0 0 0 0.125rem rgba(58, 134, 240, 0.25);
}

.music-player-btn-icon {
  line-height: 1;
  display: inline-flex;
}

.music-player-continue {
  margin-top: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: none;
  background: transparent;
  color: var(--accent-blue);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  border-radius: 2rem;
}

.music-player-continue:hover,
.music-player-continue:focus-visible {
  background: rgba(58, 134, 240, 0.08);
  transform: translateY(-1px);
}

.yt-player-host {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  left: -9999px;
  top: 0;
}

.story-progress:empty {
  display: none;
}

.story-viewer {
  opacity: 0;
  pointer-events: none;
}

.story-viewer.story-viewer--active {
  opacity: 1;
  pointer-events: auto;
}

.story-nav {
  opacity: 0;
  pointer-events: none;
}

.story-nav.story-nav--active {
  opacity: 1;
  pointer-events: auto;
}

.story-nav.story-nav--active .story-nav-left,
.story-nav.story-nav--active .story-nav-right {
  pointer-events: auto;
}

/* ---- Rodapé Global (fragment footer) ---- */
.site-global-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 2rem;
  padding: 2.5rem 1.25rem 1.75rem;
  background: linear-gradient(180deg, rgba(143, 158, 139, 0.35) 0%, rgba(169, 183, 165, 0.55) 100%);
  border-top: 0.0625rem solid rgba(255, 255, 255, 0.12);
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
}

.site-global-footer__inner {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
}

.site-global-footer__grid {
  display: grid;
  gap: 2rem 1.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 2rem;
}

.site-global-footer__brand {
  max-width: 18rem;
}

.site-global-footer__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.site-global-footer__logo-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.site-global-footer__logo-name {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--accent-blue);
  letter-spacing: -0.02em;
}

.site-global-footer__tagline {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(43, 45, 66, 0.78);
  margin: 0;
}

.site-global-footer__heading {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2D4229;
  margin-bottom: 0.75rem;
}

.site-global-footer__pill-label {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(59, 83, 52, 0.85);
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  margin-bottom: 0.625rem;
}

.site-global-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-global-footer__links a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(43, 45, 66, 0.82);
  text-decoration: none;
  transition: var(--transition);
}

.site-global-footer__links a:hover {
  color: var(--accent-blue);
}

.site-global-footer__link-highlight {
  font-weight: 700 !important;
  color: var(--accent-blue) !important;
}

.site-global-footer__bottom {
  display: grid;
  gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 0.0625rem solid rgba(255, 255, 255, 0.12);
}

.site-global-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-global-footer__copyright,
.site-global-footer__cnpj,
.site-global-footer__contato {
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(43, 45, 66, 0.72);
  margin: 0;
}

.site-global-footer__contato-link {
  color: rgba(43, 45, 66, 0.85);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-global-footer__contato-link:hover {
  color: var(--accent);
}

.site-global-footer__social {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.site-global-footer__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 0.0625rem solid rgba(255, 255, 255, 0.12);
  color: #3B5334;
  font-size: 1.0625rem;
  text-decoration: none;
  transition: var(--transition);
}

.site-global-footer__social-btn:hover {
  background: #3B5334;
  color: #fff;
  transform: translateY(-0.125rem);
  box-shadow: 0 0.375rem 1rem rgba(59, 83, 52, 0.25);
}

.site-global-footer__social-btn--disabled,
.site-global-footer__social-btn--disabled:hover {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  pointer-events: none;
}

.site-global-footer__made {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(43, 45, 66, 0.65);
  margin: 0;
  text-align: left;
}

@media (min-width: 36rem) {
  .site-global-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-global-footer__brand {
    grid-column: 1 / -1;
  }

  .site-global-footer__bottom {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .site-global-footer__social {
    justify-self: end;
  }

  .site-global-footer__made {
    grid-column: 1 / -1;
    text-align: right;
  }
}

@media (min-width: 56rem) {
  .site-global-footer {
    padding: 3rem 2rem 2rem;
  }

  .site-global-footer__grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 2rem 1.25rem;
  }

  .site-global-footer__brand {
    grid-column: auto;
    max-width: none;
    padding-right: 1rem;
  }

  .site-global-footer__bottom {
    grid-template-columns: 1fr auto auto;
  }

  .site-global-footer__made {
    grid-column: auto;
    text-align: right;
  }
}

/* ============================================
   PÁGINAS LEGAIS — Design Premium LGPD/Termos
   ============================================ */

.legal-page {
  padding-bottom: 1rem;
}

/* ── Fundo ── */
.fundo-global-blur {
  min-height: 100vh;
  position: relative;
  background: linear-gradient(165deg, #8F9E8B 0%, #A9B7A5 42%, #B5C2B0 100%);
}

.fundo-global-blur::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255, 255, 255, 0.28) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 90%, rgba(59, 83, 52, 0.12) 0%, transparent 55%);
  backdrop-filter: blur(1.25rem);
  -webkit-backdrop-filter: blur(1.25rem);
  pointer-events: none;
  z-index: 0;
}

/* ── Shell ── */
.app-shell--legal {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  padding-top: 0.75rem;
  padding-bottom: 3rem;
  font-family: 'Plus Jakarta Sans', 'Inter', 'Segoe UI', system-ui, sans-serif;
}

/* ── Card base ── */
.legal-card {
  padding: 2rem 1.75rem;
}

.legal-card-glass {
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 0.0625rem solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 40px rgba(43, 45, 66, 0.08);
}

/* ── Tipografia dos headings ── */
.legal-card-glass h1,
.legal-card-glass h2,
.legal-card h1,
.legal-card h2 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--text-main);
}

.legal-card h1 {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.375rem;
}

.legal-card section {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(59, 83, 52, 0.1);
}

.legal-card section:first-of-type {
  margin-top: 1.25rem;
}

.legal-card h2 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: #2D4229;
}

.legal-card p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

/* ── Número de seção ── */
.legal-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--accent-blue);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
  flex-shrink: 0;
}

/* ── Header da página ── */
.legal-header {
  margin-bottom: 0.5rem;
}

/* ── Badges ── */
.legal-badge {
  display: inline-block;
  background: rgba(59, 83, 52, 0.1);
  color: var(--accent-blue);
  border: 1px solid rgba(59, 83, 52, 0.2);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  margin-bottom: 0.75rem;
}

.legal-badge--lgpd {
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  border-color: rgba(37, 99, 235, 0.2);
}

/* ── Data atualização ── */
.legal-updated {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem !important;
  color: var(--text-muted) !important;
  margin-bottom: 1.25rem !important;
  margin-top: 0.25rem !important;
}

/* ── Índice (TOC) ── */
.legal-toc {
  background: rgba(59, 83, 52, 0.05);
  border: 1px solid rgba(59, 83, 52, 0.12);
  border-left: 3px solid var(--accent-blue);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.legal-toc__title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent-blue);
  margin-bottom: 0.625rem !important;
}

.legal-toc__list {
  margin: 0;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.legal-toc__list li {
  font-size: 0.825rem;
  line-height: 1.5;
}

.legal-toc__list a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-toc__list a:hover {
  color: var(--accent-blue);
  text-decoration: underline;
}

/* ── Callouts ── */
.legal-callout {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  border-radius: 0.75rem;
  padding: 1rem 1.125rem;
  margin: 1rem 0;
  font-size: 0.875rem;
  line-height: 1.65;
}

.legal-callout > i {
  flex-shrink: 0;
  margin-top: 0.15rem;
  font-size: 1rem;
}

.legal-callout p {
  font-size: 0.875rem !important;
  margin-bottom: 0 !important;
  color: inherit;
}

.legal-callout ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.legal-callout ul li {
  font-size: 0.875rem;
  margin-bottom: 0.2rem;
}

.legal-callout--info {
  background: rgba(37, 99, 235, 0.07);
  border: 1px solid rgba(37, 99, 235, 0.18);
  color: #1e40af;
}

.legal-callout--warning {
  background: rgba(217, 119, 6, 0.08);
  border: 1px solid rgba(217, 119, 6, 0.22);
  color: #92400e;
}

.legal-callout--success {
  background: rgba(5, 122, 85, 0.07);
  border: 1px solid rgba(5, 122, 85, 0.18);
  color: #065f46;
}

/* ── Listas ── */
.legal-list {
  padding-left: 1.375rem;
  margin: 0.5rem 0 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.legal-list li {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-main);
}

.legal-list--browsers {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-list--browsers li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.legal-list--browsers i {
  width: 1.25rem;
  text-align: center;
  color: var(--accent-blue);
}

/* ── Tabelas ── */
.legal-table-wrap {
  overflow-x: auto;
  margin: 0.75rem 0;
  border-radius: 0.75rem;
  border: 1px solid rgba(59, 83, 52, 0.12);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  line-height: 1.55;
}

.legal-table caption {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: left;
  padding: 0.5rem 0.875rem;
  background: rgba(59, 83, 52, 0.05);
  border-bottom: 1px solid rgba(59, 83, 52, 0.1);
  font-style: italic;
}

.legal-table th,
.legal-table td {
  padding: 0.625rem 0.875rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(59, 83, 52, 0.09);
}

.legal-table th {
  background: rgba(59, 83, 52, 0.07);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #2D4229;
  white-space: nowrap;
}

.legal-table td code {
  background: rgba(59, 83, 52, 0.08);
  border: 1px solid rgba(59, 83, 52, 0.15);
  border-radius: 0.25rem;
  padding: 0.1rem 0.35rem;
  font-family: 'Fira Code', 'Consolas', monospace;
  font-size: 0.8em;
  color: #2D4229;
}

.legal-table--striped tbody tr:nth-child(even) {
  background: rgba(59, 83, 52, 0.03);
}

.legal-table tbody tr:last-child td {
  border-bottom: none;
}

/* ── Grid de direitos ── */
.legal-rights-grid {
  display: grid;
  gap: 0.875rem;
  margin: 0.75rem 0;
}

@media (min-width: 36rem) {
  .legal-rights-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.legal-right-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: rgba(59, 83, 52, 0.04);
  border: 1px solid rgba(59, 83, 52, 0.1);
  border-radius: 0.75rem;
  padding: 0.875rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.legal-right-item:hover {
  border-color: rgba(59, 83, 52, 0.25);
  box-shadow: 0 4px 12px rgba(59, 83, 52, 0.08);
}

.legal-right-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--accent-blue);
  color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.legal-right-item > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.legal-right-item > div strong {
  font-size: 0.875rem;
  color: #2D4229;
  line-height: 1.3;
}

.legal-right-item > div p {
  font-size: 0.8rem !important;
  color: var(--text-muted) !important;
  margin-bottom: 0 !important;
  line-height: 1.5;
}

/* ── Card de contato ── */
.legal-contact-card {
  background: rgba(59, 83, 52, 0.06);
  border: 1px solid rgba(59, 83, 52, 0.15);
  border-left: 4px solid var(--accent-blue);
  border-radius: 0.75rem;
  padding: 1.125rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.legal-contact-card p {
  font-size: 0.875rem !important;
  margin-bottom: 0 !important;
  color: var(--text-main) !important;
}

/* ── Links dentro do conteúdo legal ── */
.legal-link {
  color: var(--accent-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.legal-link:hover {
  color: var(--accent-blue-hover);
  text-decoration-color: var(--accent-blue-hover);
}

/* ── Utilitário screen-reader-only ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Auth ---- */
.auth-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.auth-card {
  width: 100%;
  max-width: 26rem;
  padding: 1.75rem;
}

.auth-card h1 {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.auth-subtitle {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.auth-form .form-group {
  margin-bottom: 1rem;
}

.auth-form label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.auth-form input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 0.5rem;
  font: inherit;
}

.btn-block {
  width: 100%;
  margin-top: 0.5rem;
}

.auth-footer-link {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.875rem;
}

.auth-back {
  margin-top: 0.75rem;
}

.alert {
  padding: 0.65rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  margin-bottom: 1rem;
}

.alert-error {
  background: #fde8e8;
  color: #9b1c1c;
}

.alert-success {
  background: #def7ec;
  color: #03543f;
}

.field-error {
  display: block;
  color: #c81e1e;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

/* ---- Chat widget (Messenger) ---- */
.chat-widget {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9999;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.chat-widget__bubble,
.chat-minimizado .bolha-chat {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b5334, #5a734f);
  color: #fff;
  border: none;
  box-shadow: 0 8px 24px rgba(59, 83, 52, 0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  position: relative;
}

.chat-minimizado .chat-widget__panel,
.chat-minimizado .janela-chat {
  display: none !important;
}

.chat-minimizado .chat-widget__bubble,
.chat-minimizado .bolha-chat {
  display: flex !important;
}

.chat-widget:not(.chat-minimizado) .chat-widget__bubble,
.chat-widget:not(.chat-minimizado) .bolha-chat {
  display: none !important;
}

.chat-widget__panel,
.janela-chat {
  position: absolute;
  right: 0;
  bottom: 5rem;
  width: min(22rem, calc(100vw - 2rem));
  height: 28rem;
  max-height: calc(100vh - 7rem);
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-widget:not(.chat-minimizado) .chat-widget__panel,
.chat-widget:not(.chat-minimizado) .janela-chat {
  bottom: 0;
  max-height: calc(100vh - 2.5rem);
}

.chat-widget__badge {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  background: #e02424;
  color: #fff;
  font-size: 0.6875rem;
  min-width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-widget__header {
  background: linear-gradient(135deg, #3b5334, #5a734f);
  color: #fff;
  padding: 0.75rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-widget__status {
  display: block;
  font-size: 0.6875rem;
  opacity: 0.85;
}

.chat-widget__actions {
  display: flex;
  gap: 0.25rem;
}

.chat-widget__icon-btn {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.375rem;
  cursor: pointer;
}

.chat-widget__messages,
.chat-panel__messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem;
  background: #f4f6f3;
}

.chat-widget__footer,
.chat-panel__footer {
  display: flex;
  gap: 0.35rem;
  padding: 0.55rem;
  border-top: 1px solid rgba(0,0,0,0.08);
  background: #fff;
}

.chat-widget__input,
.chat-panel__input {
  flex: 1;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  font: inherit;
}

.chat-widget__attach,
.chat-panel__attach,
.chat-widget__send,
.chat-panel__send {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: none;
  background: #eef2ea;
  color: #3b5334;
  cursor: pointer;
}

.chat-widget__send,
.chat-panel__send {
  background: #3b5334;
  color: #fff;
}

.chat-msg {
  max-width: 85%;
  margin-bottom: 0.65rem;
  padding: 0.5rem 0.65rem;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.chat-msg--own {
  margin-left: auto;
  background: #dce8d6;
}

.chat-msg__meta {
  font-size: 0.625rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.chat-msg__text {
  font-size: 0.8125rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-msg__image {
  max-width: 100%;
  border-radius: 0.5rem;
  display: block;
}

.chat-msg__download {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: #3b5334;
  font-weight: 600;
}

/* ---- Painel admin suporte ---- */
.suporte-admin-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 22rem) 1fr;
  min-height: 100vh;
  background: #eef1eb;
}

.suporte-sidebar {
  background: #fff;
  border-right: 1px solid rgba(0,0,0,0.08);
  padding: 1rem;
  overflow-y: auto;
}

.suporte-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.suporte-sidebar__header h1 {
  font-size: 1.125rem;
}

.suporte-sidebar__subtitle {
  font-size: 0.8125rem;
  margin: 1rem 0 0.5rem;
  color: var(--text-muted);
}

.suporte-search-presente {
  margin-bottom: 1rem;
}

.suporte-search-presente__row {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.suporte-search-presente input {
  flex: 1;
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 0.375rem;
}

.presente-admin-form {
  padding: 0.75rem;
  margin-bottom: 1rem;
  max-height: 24rem;
  overflow-y: auto;
}

.presente-admin-form h2 {
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
}

.suporte-chamados-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.suporte-chamados-item {
  padding: 0.65rem;
  border-radius: 0.5rem;
  cursor: pointer;
  border: 1px solid transparent;
  margin-bottom: 0.35rem;
}

.suporte-chamados-item__ficha {
  margin-top: 0.5rem;
  width: 100%;
}

.cliente-ficha-panel {
  margin: 1rem;
  padding: 1rem;
  max-height: 40vh;
  overflow-y: auto;
}

.cliente-ficha-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.cliente-ficha-panel__header h2 {
  font-size: 1rem;
  margin: 0;
}

.cliente-ficha-panel__subtitle {
  font-size: 0.875rem;
  margin: 0.75rem 0 0.5rem;
  color: var(--text-muted);
}

.cliente-ficha-dados {
  display: grid;
  gap: 0.5rem;
  margin: 0;
}

.cliente-ficha-dados dt {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cliente-ficha-dados dd {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
}

.cliente-pedidos-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cliente-pedidos-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.5rem;
  background: #fff;
}

.cliente-pedidos-list__info {
  flex: 1;
  min-width: 0;
}

.cliente-pedidos-list__info strong {
  display: block;
  font-size: 0.875rem;
}

.cliente-pedidos-list__uuid {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  word-break: break-all;
}

.cliente-pedidos-list__status {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}

.cliente-pedidos-list__status--pago {
  background: #dcfce7;
  color: #166534;
}

.cliente-pedidos-list__status--pendente {
  background: #fef3c7;
  color: #92400e;
}

.suporte-editar-presente {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

.suporte-chamados-item:hover,
.suporte-chamados-item.is-active {
  background: #eef2ea;
  border-color: rgba(59,83,52,0.2);
}

.suporte-chamados-item strong {
  display: block;
  font-size: 0.875rem;
}

.suporte-chamados-item span,
.suporte-chamados-item small {
  display: block;
  font-size: 0.6875rem;
  color: #6b7280;
}

.suporte-chat-main {
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.suporte-chat-placeholder {
  margin: auto;
  text-align: center;
  color: #6b7280;
}

.suporte-chat-placeholder i {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.chat-panel--admin {
  flex: 1;
  background: #fff;
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.chat-panel__header {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.chat-panel__subtitle {
  display: block;
  font-size: 0.75rem;
  color: #6b7280;
}

.suporte-page-chat {
  min-height: 24rem;
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.chat-panel__messages--page {
  min-height: 18rem;
}

@media (max-width: 768px) {
  .suporte-admin-layout {
    grid-template-columns: 1fr;
  }
}

.alert-warning {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}

.suporte-guest-banner {
  margin-bottom: 1rem;
}

.suporte-guest-banner a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

/* Modal login obrigatório — chat */
.chat-guest-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.chat-guest-modal[hidden] {
  display: none !important;
}

body.chat-guest-modal-open {
  overflow: hidden;
}

.chat-guest-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 25, 0.55);
  backdrop-filter: blur(4px);
}

.chat-guest-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 22rem);
  padding: 1.5rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.chat-guest-modal__close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  border: none;
  background: none;
  font-size: 1.5rem;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
}

.chat-guest-modal__icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.chat-guest-modal__title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
}

.chat-guest-modal__text {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.5;
}

.chat-guest-modal__cadastro {
  margin-top: 0.5rem;
}

.site-nav-link--admin {
  color: #7c3aed;
  font-weight: 600;
}

.site-nav-link--logout {
  color: #c81e1e;
}

.perfil-card {
  margin-bottom: 1rem;
}

.perfil-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.perfil-dados {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.perfil-dados dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
}

.chat-panel__header--admin {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.btn-encerrar-atendimento {
  flex-shrink: 0;
  white-space: nowrap;
}

.chat-msg--system {
  align-self: center;
  max-width: 92%;
  background: rgba(143, 158, 139, 0.15);
  border: 1px dashed rgba(85, 107, 47, 0.35);
}

.chat-msg--system .chat-msg__meta {
  color: #556B2F;
  font-weight: 600;
}

/* ============================================
   SEÇÕES OPCIONAIS — Toggle Switch Premium
   ============================================ */

.secao-opcional {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(234,240,230,0.4) 100%);
  backdrop-filter: blur(6px);
  transition: var(--transition);
}

.secao-opcional__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.secao-opcional__header .form-section-title {
  margin-bottom: 0;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  cursor: pointer;
}

.toggle-switch input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-switch__track {
  display: block;
  width: 3rem;
  height: 1.625rem;
  background: #d1d5db;
  border-radius: 9999px;
  transition: background 0.25s ease;
  position: relative;
}

.toggle-switch__track::after {
  content: '';
  position: absolute;
  top: 0.1875rem;
  left: 0.1875rem;
  width: 1.25rem;
  height: 1.25rem;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.toggle-switch input:checked + .toggle-switch__track {
  background: var(--accent-blue);
}

.toggle-switch input:checked + .toggle-switch__track::after {
  transform: translateX(1.375rem);
  box-shadow: 0 2px 8px rgba(59, 83, 52, 0.35);
}

.toggle-switch input:focus-visible + .toggle-switch__track {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

/* ============================================
   UPLOAD DE ÁUDIO — Tab "Meu Dispositivo"
   ============================================ */

.audio-upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 2px dashed rgba(59, 83, 52, 0.25);
  border-radius: var(--radius-lg);
  padding: 2rem 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  background: rgba(234, 240, 230, 0.25);
  text-align: center;
}

.audio-upload-zone:hover,
.audio-upload-zone:focus {
  border-color: var(--accent-blue);
  background: rgba(59, 83, 52, 0.05);
  outline: none;
}

.audio-upload-zone.upload-zone--over {
  border-color: var(--accent-blue);
  background: rgba(59, 83, 52, 0.08);
}

.audio-upload-zone.upload-zone--ok {
  border-color: #27ae60;
  border-style: solid;
  background: rgba(39, 174, 96, 0.05);
}

.audio-preview-player {
  width: 100%;
  margin-top: 0.75rem;
  border-radius: 2rem;
}

/* ============================================
   TIPOGRAFIA PREMIUM — Fontes Google (Playfair + Inter)
   Aplicadas nos títulos de seção e cabeçalho da página
   ============================================ */

/* Importação via CSS */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;500;600&display=swap');

.page-header h1,
h1.display-title {
  font-family: 'Playfair Display', 'Georgia', serif;
  letter-spacing: -0.02em;
}

.text-accent {
  font-family: 'Playfair Display', 'Georgia', serif;
}

/* ============================================
   MICROINTERAÇÕES — Fade-in / Slide-up
   ============================================ */

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

.card,
.secao-opcional,
.gato-cupido-welcome,
.ia-modo-section,
.ia-result-section,
.ia-prompt-section {
  animation: fadeSlideUp 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Escalonamento de entrada dos cards do formulário */
.form-group:nth-child(1) .card { animation-delay: 0.04s; }
.form-group:nth-child(2) .card { animation-delay: 0.08s; }
.form-group:nth-child(3) .card { animation-delay: 0.12s; }
.form-group:nth-child(4) .card { animation-delay: 0.16s; }

/* Glassmorphism nas seções card--soft e containers de IA */
.ia-modo-section,
.ia-result-section,
.ia-prompt-section {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 83, 52, 0.14);
}

/* Inputs e botões: focus refinado */
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(59, 83, 52, 0.12);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Hover refinado nos botões ghost */
.btn-ghost:hover {
  background: rgba(59, 83, 52, 0.07);
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  transform: translateY(-1px);
}

.btn-ghost:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

/* ============================================
   ROLETA — linha de prêmio melhorada
   ============================================ */

.roleta-premio-row {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.5rem;
  animation: fadeSlideUp 0.25s ease both;
}

.roleta-premio-row .form-input {
  flex: 1;
  min-width: 0;
}

.roleta-premio-row .btn-remover-roleta-premio {
  width: auto;
  flex: 0 0 auto;
}

/* ============================================
   MUSICA — Tab "Meu Dispositivo" integrada
   ============================================ */

.musica-tab {
  transition: var(--transition);
}

.musica-tab:hover:not(.active) {
  background: rgba(59, 83, 52, 0.06);
  color: var(--accent-blue);
}

/* ============================================
   PRESENÇA DO LOGO MIAWLOVE NO CABEÇALHO
   ============================================ */

.page-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.page-header p {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ============================================================
   PREVIEW BLOQUEADO — travas visuais para presentes não pagos
============================================================ */

.secao-bloqueada {
  position: relative !important;
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

.secao-bloqueada::after {
  content: "🔒 Finalize o pagamento para liberar esta seção";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  text-align: center;
  padding: 1.5rem;
  border-radius: inherit;
  z-index: 10;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  letter-spacing: 0.01em;
}

.marca-agua-preview {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='160' viewBox='0 0 220 160'%3E%3Ctext x='10' y='80' font-family='Inter,sans-serif' font-size='13' font-weight='600' fill='rgba(0,0,0,0.055)' transform='rotate(-28 110 80)'%3EVISUALIZA%C3%87%C3%83O PR%C3%89VIA%20%E2%80%A2%20MIAWLOVE%3C/text%3E%3C/svg%3E");
  background-repeat: repeat;
}

.preview-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  background: linear-gradient(90deg, #1e293b 0%, #334155 100%);
  color: #fff;
  font-size: 0.875rem;
  font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
  flex-wrap: wrap;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.preview-banner__icon { font-size: 1rem; flex-shrink: 0; }

.preview-banner__text { color: rgba(255, 255, 255, 0.9); }

.preview-banner__text strong { color: #fbbf24; font-weight: 700; }

.preview-banner__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 1rem;
  background: #f59e0b;
  color: #1e293b;
  font-weight: 700;
  font-size: 0.8125rem;
  border-radius: 999px;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.preview-banner__btn:hover { background: #fbbf24; transform: scale(1.04); }

.preview-mode .presente-app { padding-top: 44px; }

.preview-audio-alert {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10001;
  background: #1e293b;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 0.625rem;
  max-width: 90vw;
  text-align: center;
  animation: previewAlertIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.preview-audio-alert a { color: #fbbf24; font-weight: 700; text-decoration: none; white-space: nowrap; }

@keyframes previewAlertIn {
  from { opacity: 0; transform: translateX(-50%) translateY(12px) scale(0.95); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0)     scale(1);    }
}
