:root {
  --bg-color: #fdfaf2;
  --primary-gold: #a67c37;
  --text-dark: #1e293b;
  --cta-gradient: linear-gradient(135deg, #1e293b, #0f172a);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.5;
}

/* Banner */
.top-banner {
  background-color: #B71C1C;
  color: white;
  text-align: center;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.main-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 20px 10px;
  background: transparent;
  border: none;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-gold);
}

/* Seletor de Idioma */
.lang-selector {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang-btn {
  background: none;
  border: 2px solid transparent;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
  padding: 3px 5px;
  opacity: 0.55;
  transition: all 0.25s ease;
  line-height: 1;
}

.lang-btn:hover {
  opacity: 1;
  transform: scale(1.15);
}

.lang-btn.active {
  opacity: 1;
  border-color: var(--primary-gold);
  background: rgba(30, 41, 59, 0.05);
}

/* Hero */
.hero {
  text-align: center;
  padding: 10px 20px 20px;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 15px;
  line-height: 1.2;
}

h1 .highlight {
  color: var(--primary-gold);
  font-style: italic;
  position: relative;
  font-weight: 600;
}

h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-gold);
  opacity: 0.5;
}

.subtitle {
  font-size: 13px;
  color: #666;
  margin-bottom: 30px;
}

/* Steps Inline */
.steps-inline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.step-inline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: white;
  border: 1.5px solid #F0F0F0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(220, 163, 17, 0.1);
  color: var(--primary-gold);
}

.step-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.5px;
}

.step-text {
  font-size: 11px;
  font-weight: 700;
  color: #555;
}

.step-arrow {
  color: #ddd;
  font-size: 16px;
  margin-top: -15px;
}

/* Slider Container */
.slider-container {
  width: 320px;
  height: 380px;
  margin: 0 auto 30px;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  background: #000;
}

.slider-img {
  width: 320px;
  height: 380px;
  display: block;
  object-fit: cover;
}

.slider-img-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.slider-img-after img {
  width: 320px;
  height: 380px;
  object-fit: cover;
  display: block;
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: white;
  cursor: ew-resize;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.slider-handle-button {
  width: 30px;
  height: 30px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
}

.slider-handle-button::before {
  content: '◀';
  font-size: 10px;
  margin-right: 2px;
}

.slider-handle-button::after {
  content: '▶';
  font-size: 10px;
  margin-left: 2px;
}

/* Labels updated to bottom position */
.label-antes,
.label-depois {
  position: absolute;
  bottom: 10px;
  top: auto;
  background: rgba(0, 0, 0, 0.65);
  color: white;
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 800;
  pointer-events: none;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.label-antes {
  left: 10px;
}

.label-depois {
  right: 10px;
}


/* Action Card Section */
.action-card-section {
  padding: 0 20px;
}

.action-card {
  background: white;
  border-radius: 20px;
  padding: 30px 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  max-width: 500px;
  margin: 0 auto;
}

/* Service Selector */
.service-selector {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
}

.service-card {
  flex: 1;
  border: 1.5px solid #eaeaea;
  border-radius: 10px;
  padding: 12px 6px;
  text-align: center;
  cursor: pointer;
  background: white;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.service-card.active {
  border-color: var(--primary-gold);
  background-color: #fffdf9;
  box-shadow: 0 4px 10px rgba(220, 163, 17, 0.1);
}

.service-card strong {
  font-size: 13px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 5px;
}

.service-card span {
  font-size: 9px;
  color: #777;
  margin-top: 4px;
}

.badge-novo {
  background: #4CAF50;
  color: white;
  font-size: 8px;
  padding: 2px 4px;
  border-radius: 4px;
  font-weight: 800;
}

/* Upload Area */
.upload-area {
  border: 1.5px dashed var(--primary-gold);
  border-radius: 12px;
  background-color: #fffdf9;
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  margin-bottom: 20px;
  transition: all 0.2s;
}

.upload-area:hover {
  background-color: #fffaf0;
}

.upload-icon {
  width: 32px;
  height: 32px;
  color: var(--primary-gold);
  margin-bottom: 12px;
}

#upload-text strong {
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 700;
}

.upload-subtext {
  font-size: 11px;
  display: inline-block;
  margin-top: 10px;
  background: #FFF3E0;
  padding: 4px 12px;
  border-radius: 20px;
  color: #E65100;
  font-weight: 600;
}

.upload-area input {
  display: none;
}

/* CTA */
.btn-cta {
  background: var(--cta-gradient);
  color: white;
  width: 100%;
  border: none;
  padding: 18px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 15px rgba(230, 81, 0, 0.25);
  transition: transform 0.2s;
  text-transform: uppercase;
}

.btn-cta:hover {
  transform: translateY(-2px);
}

.eta-text {
  font-size: 10px;
  color: #999;
  text-align: center;
  margin-top: 12px;
}

.card-divider {
  border: none;
  border-top: 1px solid #f0f0f0;
  margin: 25px 0;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #555;
}

.badge svg {
  width: 20px;
  height: 20px;
  color: var(--primary-gold);
}

.badge span {
  font-size: 10px;
  font-weight: 600;
}

/* Gemini Badge */
.gemini-badge {
  text-align: center;
  margin-top: 25px;
  margin-bottom: 40px;
}

.gemini-text {
  font-size: 10px;
  color: #bbb;
}

/* Specialties Inline */
.specialties-inline {
  background-color: #FFFDF9;
  padding: 30px 20px;
  text-align: center;
  border-top: 1px solid #FAF0D9;
}

.specialties-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary-gold);
  margin-bottom: 12px;
}

.specialty-links-inline {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 10px;
  color: #777;
}

.specialty-links-inline a {
  color: #777;
  text-decoration: none;
  transition: color 0.2s;
}

.specialty-links-inline a:hover {
  color: var(--primary-gold);
}

.dot {
  color: #ccc;
}

/* Footer */
footer {
  background-color: #3E2723;
  color: white;
  text-align: center;
  padding: 30px 20px;
}

footer p {
  font-size: 12px;
  margin-bottom: 6px;
  color: #E0E0E0;
}

footer p strong {
  color: white;
}

footer a {
  color: var(--primary-gold);
  font-size: 11px;
  text-decoration: none;
  font-weight: 500;
}

footer a:hover {
  text-decoration: underline;
}

/* Whatsapp Float overriden to match original scale approx */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: transform 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 35px;
  height: 35px;
  fill: white;
}

/* Privacy Page Overrides */
.privacy-page {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.privacy-page h1 {
  font-size: 30px;
}

.privacy-page h2 {
  font-size: 22px;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--primary-gold);
  font-family: 'Playfair Display', serif;
}

.privacy-page p {
  margin-bottom: 15px;
  font-size: 14px;
  color: #555;
}

/* Upload Area active state for uniting people */
.upload-area.two-photos {
  border-color: #2196F3;
}

/* Loading Overlay - Fullscreen */
.loading-overlay {
  display: none;
  /* Hidden by default */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #FAFAFA;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

.loading-overlay.active {
  display: flex;
}

#upload-form.hidden {
  display: none;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--primary-gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.loading-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #3e2723;
  margin-bottom: 10px;
}

.loading-subtitle {
  font-size: 13px;
  color: #777;
  margin-bottom: 30px;
}

.progress-bar-container {
  width: 100%;
  height: 6px;
  background-color: #eee;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 15px;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: var(--cta-gradient);
  border-radius: 10px;
  transition: width 0.4s ease;
}

.loading-detail {
  font-size: 11px;
  color: #999;
}

/* Error Container */
.error-container {
  background-color: #FFEFEF;
  border: 1.5px solid #F5B0B0;
  color: #D32F2F;
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.error-container.hidden {
  display: none;
}

.error-icon {
  font-size: 16px;
}

.service-card.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
/* NOVOS ESTILOS RESULTADO */
.result-container { animation: fadeIn 0.4s ease; }
.result-header { background: #2e7d32; color: white; padding: 12px; border-radius: 12px 12px 0 0; text-align: center; font-weight: 700; font-size: 14px; margin: -30px -20px 20px -20px; }
.ready-badge { color: #2e7d32; font-weight: 700; text-align: center; margin-bottom: 20px; font-size: 18px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.pix-warning-banner { background: #c62828; color: white; text-align: center; padding: 6px; font-size: 10px; font-weight: 700; border-radius: 0 0 6px 6px; margin-top: -10px; margin-bottom: 15px; text-transform: uppercase; }
.waiting-row { display: flex; align-items: center; justify-content: center; gap: 8px; background: #fff8e1; border: 1.1px dashed #ffb300; padding: 8px; border-radius: 30px; font-size: 11px; color: #E65100; font-weight: 700; margin-bottom: 25px; }
.price-box { text-align: center; margin: 25px 0; }
.price-old { text-decoration: line-through; color: #999; font-size: 12px; display: block; margin-bottom: 2px; }
.price-new { color: #2e7d32; font-size: 38px; font-weight: 900; display: block; }
.price-sub { font-size: 10px; color: #777; font-weight: 500; }
.upsell-box { border: 1px solid #bbdefb; background: #e3f2fd; padding: 15px; border-radius: 12px; margin-bottom: 15px; display: flex; gap: 12px; align-items: center; }
.upsell-check { width: 20px; height: 20px; }
.upsell-content strong { font-size: 12px; color: #1565c0; display: block; margin-bottom: 2px; }
.upsell-content p { font-size: 10px; color: #555; line-height: 1.3; }
.pix-code-box { border: 2px solid #e0e0e0; background: #f5f5f5; padding: 20px; border-radius: 14px; margin-top: 25px; }
.pix-code-label { font-size: 11px; color: #555; margin-bottom: 15px; font-weight: 700; }
.btn-pix-copy { background: #1976d2; color: white; padding: 14px; border-radius: 12px; font-weight: 800; font-size: 14px; border: none; width: 100%; }
