/* ==========================================================================
   DESIGN SYSTEM & VARIABLES - MOBILE FIRST SALES PAGE
   ========================================================================== */

:root {
  /* Google AI Color Palette */
  --google-blue: #4285F4;
  --google-red: #EA4335;
  --google-yellow: #FBBC05;
  --google-green: #34A853;
  --whatsapp-green: #25D366;
  --whatsapp-dark: #128C7E;
  
  /* Brand Gradients & Accents */
  --gradient-ai: linear-gradient(135deg, #4285F4 0%, #9B51E0 50%, #E91E63 100%);
  --gradient-ai-dark: linear-gradient(145deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  --gradient-glow: radial-gradient(circle at 50% 0%, rgba(66, 133, 244, 0.25), transparent 70%);
  
  /* UI Colors */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  
  /* Shadows & Radius */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 30px rgba(66, 133, 244, 0.3);
  
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 75px; /* space for mobile sticky bar */
}

/* Container limits width for mobile-first layout (max 480px for phone view, up to 768px tablet) */
.container {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

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

/* Helper Utilities */
.text-success { color: var(--google-green); }
.text-whatsapp { color: var(--whatsapp-green); }
.text-teal { color: #0d9488; }
.strikethrough { text-decoration: line-through; opacity: 0.6; font-weight: 500; }

/* Brand Letter Colors */
.g-blue { color: var(--google-blue); }
.g-red { color: var(--google-red); }
.g-yellow { color: var(--google-yellow); }
.g-green { color: var(--google-green); }

.ai-gradient-text {
  background: linear-gradient(135deg, #4285F4 0%, #a855f7 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.brand-google-light {
  background: linear-gradient(90deg, #60a5fa, #c084fc, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1.1rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover, .btn-primary:active {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.5);
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
}

.btn-green {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

.btn-green:hover, .btn-green:active {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.5);
}

.btn-whatsapp-large {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-large .fa-whatsapp {
  font-size: 2rem;
}

.btn-text-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.btn-main-text {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2;
}

.btn-subtext {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.9;
  text-transform: none;
}

/* Button Pulse Effect */
.btn-pulse {
  animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* ==========================================================================
   TOP NOTIFICATION BAR
   ========================================================================== */

.top-bar {
  background: linear-gradient(90deg, #1e1b4b, #311b92);
  color: #ffffff;
  padding: 0.6rem 0;
  font-size: 0.82rem;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar .fa-bolt {
  color: var(--google-yellow);
}

.timer-badge {
  background: rgba(255, 255, 255, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  letter-spacing: 0.5px;
  font-family: monospace;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  padding: 2.2rem 0 1.5rem;
  background: radial-gradient(circle at 50% 0%, rgba(66, 133, 244, 0.12), transparent 70%);
  text-align: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(66, 133, 244, 0.1);
  color: var(--google-blue);
  border: 1px solid rgba(66, 133, 244, 0.25);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.hero-title {
  font-size: 1.95rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-dark);
  margin-bottom: 0.9rem;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.8rem;
  padding: 0 0.5rem;
}

/* Visual AI Graphic Card */
.hero-graphic-card {
  background: var(--bg-card);
  border: 1px solid rgba(66, 133, 244, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  box-shadow: var(--shadow-md), var(--shadow-glow);
  margin-bottom: 1.8rem;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.sparkle-icon {
  position: absolute;
  color: var(--google-blue);
  opacity: 0.3;
  font-size: 1.5rem;
}
.sparkle-top-right { top: 10px; right: 15px; }
.sparkle-bottom-left { bottom: 10px; left: 15px; }

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
  margin-bottom: 0.85rem;
}

.mockup-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-dark);
}
.brand-icon {
  background: var(--gradient-ai);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.2rem;
}

.status-dot {
  font-size: 0.75rem;
  color: var(--google-green);
  font-weight: 700;
  background: rgba(52, 168, 83, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.mockup-prompt-box {
  background: var(--bg-main);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  border: 1px dashed var(--border-color);
}

.prompt-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

.prompt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
}

/* Hero Price Box */
.price-box-hero {
  background: #ffffff;
  border: 2px solid var(--google-blue);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.2rem;
  box-shadow: var(--shadow-lg);
}

.price-duration {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--google-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin: 0.4rem 0;
  color: var(--text-dark);
}

.price-amount .currency {
  font-size: 1.4rem;
  font-weight: 700;
  margin-right: 0.2rem;
}

.price-amount .value {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  color: var(--text-dark);
}

.price-amount .cents {
  font-size: 1.5rem;
  font-weight: 800;
}

.price-tagline {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.cta-subnote {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.85rem;
  line-height: 1.4;
}

/* ==========================================================================
   RECURSOS EXCLUSIVOS SECTION
   ========================================================================== */

.section {
  padding: 2.8rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.6rem;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: -0.3px;
}

.highlight-blue {
  color: var(--google-blue);
}

.section-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 480px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(66, 133, 244, 0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 0.9rem;
}

.icon-blue { background: rgba(66, 133, 244, 0.12); color: var(--google-blue); }
.icon-green { background: rgba(52, 168, 83, 0.12); color: var(--google-green); }
.icon-purple { background: rgba(147, 51, 234, 0.12); color: #9333ea; }
.icon-amber { background: rgba(251, 188, 5, 0.15); color: #d97706; }
.icon-indigo { background: rgba(79, 70, 229, 0.12); color: #4f46e5; }
.icon-pink { background: rgba(236, 72, 153, 0.12); color: #ec4899; }

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.features-footer-banner {
  margin-top: 1.5rem;
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.08) 0%, rgba(52, 168, 83, 0.08) 100%);
  border: 1px dashed var(--google-blue);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.features-footer-banner i {
  color: var(--google-blue);
  font-size: 1.2rem;
}

/* ==========================================================================
   COMO FUNCIONA SECTION
   ========================================================================== */

.how-it-works-section {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  position: relative;
}

.step-number {
  background: var(--google-blue);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(66, 133, 244, 0.1);
  color: var(--google-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.step-icon-wrap.whatsapp-theme {
  background: rgba(37, 211, 102, 0.15);
  color: var(--whatsapp-green);
}

.step-icon-wrap.lock-theme {
  background: rgba(147, 51, 234, 0.15);
  color: #9333ea;
}

.step-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.step-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.step-arrow {
  text-align: center;
  color: var(--text-light);
  font-size: 1rem;
  margin: -0.2rem 0;
}

/* ==========================================================================
   OFERTA ESPECIAL (DARK CARD SECTION)
   ========================================================================== */

.dark-offer-card {
  background: var(--gradient-ai-dark);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.4rem;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.4);
}

.offer-glow-effect {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(66, 133, 244, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.offer-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  color: var(--google-yellow);
}

.ai-sparkle-graphic {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #60a5fa, #c084fc, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.offer-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
  line-height: 1.25;
}

.offer-subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.offer-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.offer-price .currency { font-size: 1.4rem; font-weight: 700; margin-right: 0.2rem; }
.offer-price .amount { font-size: 3.8rem; font-weight: 800; line-height: 1; letter-spacing: -2px; }
.offer-price .cents { font-size: 1.6rem; font-weight: 800; }

.offer-tag {
  display: inline-block;
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.offer-checklist {
  list-style: none;
  text-align: left;
  margin-bottom: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.offer-checklist li {
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.9);
}

.offer-checklist li i {
  color: #4ade80;
  font-size: 1.1rem;
}

.guarantee-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* ==========================================================================
   DÚVIDAS FREQUENTES (FAQ ACCORDION)
   ========================================================================== */

.faq-section {
  background: var(--bg-main);
}

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

.accordion-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}

.accordion-item.active {
  border-color: var(--google-blue);
}

.accordion-header {
  width: 100%;
  padding: 1.1rem 1.25rem;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.accordion-icon {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  color: var(--google-blue);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
  padding: 0 1.25rem;
}

.accordion-item.active .accordion-content {
  padding: 0 1.25rem 1.1rem;
}

.accordion-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.75rem;
}

/* ==========================================================================
   CTA FINAL SECTION
   ========================================================================== */

.final-cta-section {
  padding-top: 1rem;
}

.final-cta-card {
  background: #ffffff;
  border: 2px solid rgba(37, 211, 102, 0.4);
  border-radius: var(--radius-lg);
  padding: 2rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.wa-large-icon {
  width: 64px;
  height: 64px;
  background: rgba(37, 211, 102, 0.12);
  color: var(--whatsapp-green);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 1.2rem;
}

.final-cta-title {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.6rem;
  color: var(--text-dark);
}

.final-cta-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.final-price-box {
  margin-bottom: 1.5rem;
}

.final-price-box .price-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--google-blue);
  line-height: 1;
}

.final-price-box .price-type {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.security-seal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 1rem;
}

.security-seal i {
  color: var(--google-green);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-copy {
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.footer-disclaimer {
  font-size: 0.75rem;
  opacity: 0.8;
}

/* ==========================================================================
   STICKY MOBILE BOTTOM BAR
   ========================================================================== */

.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 0.65rem 1rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  z-index: 99;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.mobile-sticky-bar.visible {
  transform: translateY(0);
}

.sticky-bar-content {
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.sticky-price-info {
  display: flex;
  flex-direction: column;
}

.sticky-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.sticky-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.sticky-price small {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--google-green);
}

.btn-whatsapp-sm {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-md);
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  white-space: nowrap;
}

/* ==========================================================================
   MODALS & OVERLAYS
   ========================================================================== */

.modal-overlay, .config-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active, .config-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  width: 100%;
  max-width: 440px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.modal-header {
  text-align: center;
  margin-bottom: 1.2rem;
}

.modal-wa-icon {
  font-size: 2.5rem;
  color: var(--whatsapp-green);
  margin-bottom: 0.5rem;
}

.modal-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.modal-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-message-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 0.9rem;
  position: relative;
  font-size: 0.85rem;
  color: #166534;
  margin-bottom: 1.2rem;
  line-height: 1.45;
  font-style: italic;
}

.quote-icon {
  position: absolute;
  top: 6px;
  right: 10px;
  opacity: 0.2;
  font-size: 1.2rem;
}

/* Quick PIX Box inside Modal */
.pix-quick-box {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.2rem;
  text-align: center;
}

.pix-title {
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: var(--text-dark);
}

.pix-qr-container {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.8rem;
  display: inline-block;
  margin-bottom: 0.8rem;
  box-shadow: var(--shadow-sm);
}

.pix-qr-img {
  width: 170px;
  height: 170px;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-sm);
}

.pix-qr-instructions {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.pix-copia-cola-box {
  text-align: left;
  margin-top: 0.5rem;
}

.pix-copia-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.pix-key-wrapper {
  display: flex;
  gap: 0.4rem;
}

.pix-key-wrapper input {
  flex: 1;
  padding: 0.6rem 0.75rem;
  font-size: 0.78rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #ffffff;
  font-family: monospace;
}

.btn-copy {
  background: var(--text-dark);
  color: #ffffff;
  border: none;
  padding: 0 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.btn-copy-pix {
  background: linear-gradient(135deg, #0d9488 0%, #059669 100%);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}

.btn-copy-pix:hover {
  background: linear-gradient(135deg, #0f766e 0%, #047857 100%);
}

.pix-hint {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
  text-align: center;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   CONFIGURATOR DRAWER (PUBLICATION SETTINGS TOOL)
   ========================================================================== */

.config-fab {
  position: fixed;
  top: 60px;
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--text-dark);
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.4);
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 95;
  box-shadow: var(--shadow-md);
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.config-fab:hover {
  opacity: 1;
  transform: rotate(45deg);
}

.config-drawer-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
}

.config-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.config-header h3 {
  font-size: 1.1rem;
  font-weight: 800;
}

.config-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--google-blue);
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.15);
}
