/* ==========================================================================
   iPlace Mobile Funnel - Apple iOS Design System
   Fiel aos padrões de interface oficiais da Apple (Cupertino / HIG)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Cores Oficiais Apple */
  --bg-app: #f5f5f7;
  --bg-card: #ffffff;
  --bg-input: #ffffff;
  --border-color: #d2d2d7;
  --border-focus: #0071e3;
  
  --text-primary: #1d1d1f;
  --text-secondary: #86868b;
  --text-muted: #a1a1a6;
  
  --apple-black: #000000;
  --apple-dark: #1d1d1f;
  --apple-blue: #0071e3;
  --apple-blue-hover: #0077ed;
  --apple-green: #34c759;
  --apple-green-light: #f2fbf5;
  --apple-green-border: #ccebd7;
  --apple-orange: #ff9500;
  --apple-red: #ff3b30;
  
  /* Sombras e Elevações Apple */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.08);
  
  /* Raios de Borda Cupertino (Squircles) */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --radius-pill: 980px;
  
  --font-stack: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "SF Pro", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

body {
  background-color: var(--bg-app);
  color: var(--text-primary);
  font-family: var(--font-stack);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.015em;
  line-height: 1.47;
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

/* App Viewport Container (Centralizado 440px max) */
.app-viewport {
  width: 100%;
  max-width: 440px;
  min-height: 100vh;
  background-color: var(--bg-card);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.06);
}

/* Site Header - Adaptativo (Dark na Landing, Cupertino no Quiz) */
.site-header {
  height: 64px;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 20px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.header-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo {
  height: 48px;
  width: 48px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Badge Circular Dark para a Landing */
.brand-badge-dark {
  display: none;
  align-items: center;
}

.iplace-circle-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #000000;
  border: 1.5px solid #a6e22e;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  box-shadow: 0 0 10px rgba(166, 226, 46, 0.15);
  user-select: none;
}

.iplace-badge-brand {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.iplace-badge-corp {
  font-size: 6.8px;
  font-weight: 600;
  color: #a1a1a6;
  line-height: 1;
  margin-top: 2.5px;
  letter-spacing: 0.02em;
}

/* Botão "Simular Agora" do Topo */
.btn-header-simulate {
  display: none;
  background-color: #00d563;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 9px 18px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 213, 99, 0.28);
  white-space: nowrap;
}

.btn-header-simulate:hover {
  background-color: #00bf58;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 213, 99, 0.38);
}

.btn-header-simulate:active {
  transform: scale(0.97);
}

/* Estado Ativo da Landing (Passo 00) */
.app-viewport.is-landing-active {
  background-color: #000000;
}

.app-viewport.is-landing-active .site-header {
  background-color: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0 18px;
}

.app-viewport.is-landing-active .header-inner {
  justify-content: space-between;
}

.app-viewport.is-landing-active .brand-badge-dark {
  display: flex;
}

.app-viewport.is-landing-active .header-logo-container {
  display: none;
}

.app-viewport.is-landing-active .btn-header-simulate {
  display: inline-flex;
}

.app-viewport.is-landing-active .quiz-progress-bar {
  display: none;
}

.app-viewport.is-landing-active .quiz-main-container {
  padding: 0;
  background-color: #000000;
}

.quiz-progress-fill {
  height: 100%;
  width: 4%;
  background: linear-gradient(90deg, #0071e3, #0077ed);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 0 2px 2px 0;
}

/* Toast Notifications - iOS Banner Style */
.toast-banner {
  position: fixed;
  top: 72px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  width: calc(100% - 32px);
  max-width: 400px;
  padding: 14px 18px;
  border-radius: 14px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  font-size: 14px;
}

.toast-banner.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.toast-banner.toast-danger {
  background-color: #ff3b30;
  color: #ffffff;
}

.toast-banner.toast-success {
  background-color: #34c759;
  color: #ffffff;
}

.toast-title {
  font-weight: 700;
  margin-bottom: 2px;
}

.toast-sub {
  font-size: 13px;
  opacity: 0.95;
}

/* Main Container */
.quiz-main-container {
  flex: 1;
  padding: 22px 18px 48px 18px;
  position: relative;
  background-color: var(--bg-app);
}

/* Steps Transition Views */
.step-view {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-view.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Step Header & Textos - Estilo Tipográfico Apple */
.step-header {
  margin-bottom: 22px;
}

.step-header.text-center {
  text-align: center;
}

.step-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}

.step-subtitle {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Ícone de Badge Circular Prominente (Apple/iPlace) */
.step-icon-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.step-icon-badge img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

/* Cards Genéricos Cupertino */
.card-box {
  background-color: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 26px 20px;
  box-shadow: 0 4px 24px -2px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.font-bold { font-weight: 700; }
.text-success { color: #34c759; }

/* ==========================================================================
   Etapa 00: Landing Hero Section & Card de Simulação
   Fiel à captura de tela oficial de referência
   ========================================================================== */

.landing-hero-section {
  padding: 34px 22px 26px 22px;
  background-color: #000000;
  color: #ffffff;
  text-align: left;
}

.hero-title-white {
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.hero-title-green {
  font-size: 35px;
  font-weight: 800;
  color: #00d563;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.hero-intro-text {
  font-size: 15.5px;
  line-height: 1.55;
  color: #f3f4f6;
  margin-bottom: 30px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero-intro-text strong {
  font-weight: 700;
  color: #ffffff;
}

.hero-features-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 8px;
}

.hero-feature-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.feature-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(0, 213, 99, 0.1);
  border: 1.5px solid rgba(0, 213, 99, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(0, 213, 99, 0.12);
}

.feature-text-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.feature-title {
  font-size: 16px;
  font-weight: 700;
  color: #00d563;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.feature-subtitle {
  font-size: 14px;
  color: #9ca3af;
  line-height: 1.2;
}

/* Card Branco de Simulação (com cantos arredondados superiores) */
.landing-simulation-card {
  background-color: #ffffff;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  padding: 30px 22px 42px 22px;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.35);
  margin-top: 14px;
  text-align: center;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.simulation-card-header {
  margin-bottom: 18px;
}

.simulation-headline {
  font-size: 21px;
  font-weight: 800;
  color: #111827;
  line-height: 1.35;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}

.headline-phone-emoji {
  display: inline-block;
  margin-right: 4px;
}

.simulation-subheadline {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 6px;
  line-height: 1.4;
}

.trust-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-top: 18px;
}

/* ==========================================================================
   Banners Explicativos Oficiais Apple (Carência 30 Dias Boleto)
   ========================================================================== */

/* Apple Pill Callout */
.apple-callout-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 113, 227, 0.08);
  border: 1px solid rgba(0, 113, 227, 0.22);
  border-radius: 980px;
  padding: 6px 14px;
  margin-bottom: 18px;
}

.callout-pill-badge {
  background-color: #0071e3;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 980px;
  text-transform: uppercase;
}

.callout-pill-text {
  font-size: 12.5px;
  font-weight: 500;
  color: #0071e3;
}

/* Apple Informational Banner */
.apple-info-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 16px;
  padding: 14px 16px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.info-banner-icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 2px;
}

.info-banner-body {
  flex: 1;
}

.info-banner-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 2px;
}

.info-banner-desc {
  font-size: 12.5px;
  color: #48484a;
  line-height: 1.45;
}

/* Apple Success Callout */
.apple-success-callout {
  background: #f2fbf5;
  border: 1.5px solid #ccebd7;
  border-radius: 16px;
  padding: 16px;
  margin-top: 16px;
  text-align: left;
}

.success-callout-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #248a3d;
  margin-bottom: 4px;
}

.success-callout-header .check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #34c759;
  color: #ffffff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.apple-success-callout p {
  font-size: 13px;
  color: #1d6a30;
  line-height: 1.45;
  margin: 0;
}

/* Highlight Payment Rule */
.highlight-payment-rule {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fbfbfd;
  border: 1.5px solid #0071e3;
  border-radius: 14px;
  padding: 14px 16px;
  text-align: left;
  margin-top: 10px;
}

.rule-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.rule-content {
  flex: 1;
}

.rule-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0071e3;
}

.rule-desc {
  font-size: 12px;
  color: #48484a;
  margin-top: 2px;
}

/* Green Highlight Box */
.green-highlight-box {
  background-color: var(--apple-green-light);
  border: 1.5px solid var(--apple-green-border);
  border-radius: 16px;
  padding: 16px;
  color: #065f46;
  text-align: center;
  margin: 16px 0;
}

.green-highlight-box .highlight-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #065f46;
}

.green-highlight-box p {
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

/* PIX Explanation Card */
.pix-explanation-card {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 18px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.pix-expl-badge {
  display: inline-block;
  background: #f5f5f7;
  color: #86868b;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.pix-expl-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f7;
}

.pix-expl-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pix-expl-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.pix-expl-text {
  font-size: 13px;
  color: #1d1d1f;
  line-height: 1.45;
}

.pix-expl-text strong {
  color: #1d1d1f;
}

.pix-expl-text p {
  margin-top: 2px;
  color: #48484a;
  font-size: 12.5px;
}

/* ==========================================================================
   Form Controls Cupertino (Inputs, Selects, Labels)
   ========================================================================== */
.input-group {
  margin-bottom: 18px;
  text-align: left;
}

.input-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  height: 50px;
  background-color: var(--bg-input);
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 0 16px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control-lg {
  height: 56px;
  font-size: 20px;
  text-align: center;
  font-weight: 700;
  letter-spacing: 1px;
}

.form-control:focus {
  border-color: var(--border-focus);
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
}

.form-select {
  appearance: none;
  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='%2386868b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}

.row-fields {
  display: flex;
  gap: 10px;
}

/* ==========================================================================
   Botões Oficiais Apple (Pill Shape / Haptic Feel)
   ========================================================================== */
.btn-primary-action {
  width: 100%;
  height: 52px;
  background-color: #000000;
  color: #ffffff;
  border: none;
  border-radius: var(--radius-pill); /* Pill Apple */
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  user-select: none;
}

.btn-primary-action:hover {
  background-color: #1d1d1f;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.btn-primary-action:active {
  transform: scale(0.975);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.btn-disabled {
  background-color: #e5e5ea !important;
  color: #8e8e93 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

.btn-green {
  background-color: var(--apple-green) !important;
  box-shadow: 0 4px 14px rgba(52, 199, 89, 0.3) !important;
}

.btn-green:hover {
  background-color: #28a745 !important;
}

/* ==========================================================================
   Alternativas de Quiz (Cards com Indicador de Rádio Apple)
   ========================================================================== */
.quiz-options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-option-btn {
  width: 100%;
  background-color: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 16px;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  user-select: none;
}

.quiz-option-btn:hover {
  border-color: #86868b;
  background-color: #fbfbfd;
}

.quiz-option-btn:active {
  transform: scale(0.985);
}

/* Indicador Circular de Seleção Apple */
.quiz-option-btn::after {
  content: '';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  background-color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.quiz-option-btn.selected {
  border-color: #0071e3 !important;
  background-color: #f5f9ff !important;
  color: #1d1d1f !important;
  box-shadow: 0 0 0 1px #0071e3, 0 4px 16px rgba(0, 113, 227, 0.12);
}

.quiz-option-btn.selected::after {
  border-color: #0071e3;
  background-color: #0071e3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px;
}

@keyframes errorShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.quiz-option-btn.error-shake {
  animation: errorShake 0.4s ease-in-out;
  border-color: #ff3b30 !important;
  color: #ff3b30 !important;
  background-color: #fff5f5 !important;
}

/* ==========================================================================
   Etapa 01: Saudação Personalizada com Digitação
   ========================================================================== */
.greeting-box {
  padding: 36px 20px;
}

.typing-container {
  margin: 16px 0;
  min-height: 120px;
}

.typing-line {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  margin-bottom: 8px;
}

.typing-line.visible {
  opacity: 1;
  transform: translateY(0);
}

#greetLine1 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

#greetLine2, #greetLine3 {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.user-identified-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #f2fbf5;
  border: 1px solid #ccebd7;
  color: #1d6a30;
  font-size: 13.5px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin: 10px auto 14px auto;
  box-shadow: 0 1px 4px rgba(52, 199, 89, 0.15);
  animation: fadeInBadge 0.4s ease-out;
}

.user-identified-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background-color: #34c759;
  color: #ffffff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}

@keyframes fadeInBadge {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   Loadings Narrativos (Apple Progress Bar)
   ========================================================================== */
.loading-box {
  padding: 48px 24px;
}

.analysis-progress-bar {
  width: 100%;
  height: 6px;
  background-color: #e5e5ea;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 24px;
}

.analysis-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0071e3, #000000);
  transition: width 0.3s linear;
}

/* ==========================================================================
   Termos de Uso
   ========================================================================== */
.terms-card {
  background-color: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  max-height: 380px;
  overflow-y: auto;
  box-shadow: var(--shadow-sm);
}

.terms-section {
  margin-bottom: 18px;
}

.terms-heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.terms-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Catálogo de Modelos (Etapa 10) - Cupertino Product Cards
   ========================================================================== */
.models-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.model-card {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border: 1.5px solid #e5e5ea;
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  gap: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.model-card:hover {
  border-color: #86868b;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.model-card.selected {
  border-color: #0071e3;
  background-color: #fbfdff;
  box-shadow: 0 0 0 1.5px #0071e3, 0 4px 16px rgba(0, 113, 227, 0.1);
}

.model-card-image-wrap {
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.model-card-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.model-card-info {
  flex: 1;
}

.model-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.015em;
  margin-bottom: 3px;
}

.model-card-price-sub {
  font-size: 13px;
  color: var(--text-secondary);
}

.model-card-price-sub strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* ==========================================================================
   Configuração do Produto (Etapa 11) - Apple Store Experience
   ========================================================================== */
.customization-preview {
  background-color: #ffffff;
  border: 1.5px solid #e5e5ea;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.customization-image-wrap {
  width: 180px;
  height: 180px;
  margin: 0 auto 16px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.customization-main-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.config-section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
  margin-bottom: 10px;
}

.color-swatches-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.color-chip-btn {
  padding: 8px 14px;
  background-color: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.color-chip-btn:hover {
  border-color: #86868b;
}

.color-chip-btn.selected {
  border-color: #0071e3;
  background-color: #f5f9ff;
  color: #0071e3;
  box-shadow: 0 0 0 1px #0071e3;
}

.color-chip-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.storage-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.storage-chip-btn {
  padding: 14px 8px;
  background-color: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.storage-chip-btn:hover {
  border-color: #86868b;
}

.storage-chip-btn.selected {
  border-color: #0071e3;
  background-color: #f5f9ff;
  color: #0071e3;
  box-shadow: 0 0 0 1.5px #0071e3, 0 2px 10px rgba(0, 113, 227, 0.1);
}

.selected-product-summary-card {
  background-color: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 16px;
  padding: 16px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.summary-label-muted {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.summary-product-full-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 3px 0;
}

.summary-product-full-price {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
}

/* ==========================================================================
   Cards Horizontais de Produto
   ========================================================================== */
.product-horizontal-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  margin: 16px 0;
}

.product-thumb-sm {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

.product-info-sm {
  flex: 1;
}

.product-name-sm {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.product-badges-sm {
  display: flex;
  gap: 6px;
  margin: 5px 0;
}

.badge-pill {
  font-size: 11px;
  font-weight: 600;
  background-color: #f3f4f6;
  color: #48484a;
  padding: 3px 8px;
  border-radius: 12px;
}

.product-price-sm {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
}

/* ==========================================================================
   Sucesso & Aprovação
   ========================================================================== */
.approved-badge-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #34c759;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 6px 18px rgba(52, 199, 89, 0.35);
}

.approved-badge-circle svg {
  width: 34px;
  height: 34px;
}

.approved-description {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 12px 0;
}

/* ==========================================================================
   Stack de Parcelas (Etapa 14)
   ========================================================================== */
.installments-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.installment-choice-card {
  width: 100%;
  background-color: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.installment-choice-card:hover {
  border-color: #86868b;
}

.installment-choice-card.selected {
  border-color: #0071e3;
  background-color: #f5f9ff;
  box-shadow: 0 0 0 1.5px #0071e3, 0 4px 16px rgba(0, 113, 227, 0.1);
}

.inst-times {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
}

.installment-choice-card.selected .inst-times {
  color: #0071e3;
}

.inst-amount-box {
  text-align: right;
}

.inst-de {
  font-size: 12px;
  color: var(--text-secondary);
}

.inst-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
}

.installment-choice-card.selected .inst-val {
  color: #0071e3;
}

/* ==========================================================================
   Proposta Detalhada (Etapa 15)
   ========================================================================== */
.proposal-details-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.proposal-detail-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.detail-label {
  font-size: 13.5px;
  color: var(--text-secondary);
}

.detail-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.proposal-detail-card.highlight-card {
  flex-direction: column;
  align-items: flex-start;
  background-color: var(--apple-green-light);
  border-color: var(--apple-green-border);
  gap: 4px;
  padding: 16px;
}

.proposal-detail-card.highlight-card .detail-value {
  font-size: 20px;
  color: #065f46;
}

.detail-note {
  font-size: 12px;
  color: #047857;
}

/* ==========================================================================
   Avisos e Vencimentos (Etapas 16 & 17)
   ========================================================================== */
.warning-icon-badge {
  font-size: 40px;
}

.warning-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 8px;
}

.calendar-icon-badge {
  font-size: 36px;
  margin-bottom: 8px;
}

.due-days-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.due-day-btn {
  height: 62px;
  background-color: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.due-day-btn:hover {
  border-color: #86868b;
}

.due-day-btn.selected {
  background-color: #0071e3 !important;
  color: #ffffff !important;
  border-color: #0071e3 !important;
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.25);
}

/* ==========================================================================
   Contrato (Etapa 18)
   ========================================================================== */
.contract-box {
  background-color: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  font-size: 13px;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.contract-clause-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 14px 0 4px 0;
}

.contract-clause-text {
  font-size: 12px;
  color: #4b5563;
}

.contract-checkbox-row {
  margin: 14px 0;
}

.custom-checkbox-container {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.custom-checkbox-container input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #0071e3;
  cursor: pointer;
}

/* ==========================================================================
   PIX Screen (Etapa 21) - Gateway Masterfy / Apple UI
   ========================================================================== */
.pix-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #f2fbf5;
  border: 1px solid #ccebd7;
  color: #1d6a30;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin: 10px auto 0 auto;
}

.pix-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #34c759;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.pix-qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  margin: 16px 0 20px 0;
  position: relative;
  min-height: 250px;
  box-shadow: var(--shadow-sm);
}

.qr-canvas-wrapper {
  position: relative;
  background: #ffffff;
  padding: 12px;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  display: inline-block;
}

.qr-loading-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 12px;
  z-index: 5;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.spinner-loader {
  width: 32px;
  height: 32px;
  border: 3px solid #e5e7eb;
  border-top-color: #0071e3;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

#pixQrCanvas {
  display: block;
  border-radius: 8px;
}

.pix-qr-img {
  display: block;
  max-width: 210px;
  height: auto;
  border-radius: 8px;
}

.qr-center-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.pix-copy-box {
  background-color: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.pix-copy-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: block;
}

.pix-code-field {
  width: 100%;
  background-color: #f5f5f7;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  color: #1d1d1f;
  margin-bottom: 14px;
  word-break: break-all;
  white-space: pre-wrap;
  user-select: all;
  max-height: 80px;
  overflow-y: auto;
}

.btn-copy-pix {
  background-color: #000000;
  color: #ffffff;
  border: none;
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.btn-copy-pix:hover { background-color: #1d1d1f; }
.btn-copy-pix:active { transform: scale(0.98); }
.btn-copy-pix.copied { background-color: #34c759; box-shadow: 0 4px 14px rgba(52, 199, 89, 0.3); }

.pix-instructions-card {
  background-color: #f5f9ff;
  border: 1.5px solid #d0e1fd;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
}

.pix-instructions-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #0071e3;
  margin-bottom: 10px;
}

.pix-instructions-list {
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: #1e3a8a;
  line-height: 1.4;
}

.pix-timer {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
}

/* ==========================================================================
   Sucesso & Rastreio Oficial Apple (Etapa 22)
   ========================================================================== */
.tracking-hero-card {
  margin-top: 22px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.tracking-hero-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f2f2f7;
}

.carrier-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f5f5f7;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid #e5e5ea;
}

.carrier-pulse-dot {
  width: 8px;
  height: 8px;
  background: #34c759;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.6);
  animation: carrierPulse 1.8s infinite;
}

@keyframes carrierPulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(52, 199, 89, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0); }
}

.carrier-name {
  font-size: 12px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.2px;
}

.carrier-badge-status {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #0071e3;
  background: rgba(0, 113, 227, 0.09);
  padding: 4px 10px;
  border-radius: 12px;
  letter-spacing: 0.5px;
}

.carrier-badge-status.carrier-badge-preparing {
  color: #b45309;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.tracking-hero-body {
  padding: 18px 0;
}

.tracking-code-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #86868b;
  margin-bottom: 8px;
}

.tracking-code-display-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f5f5f7;
  border: 1.5px dashed #0071e3;
  padding: 12px 16px;
  border-radius: 14px;
}

.tracking-code-text {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 20px;
  font-weight: 800;
  color: #1d1d1f;
  letter-spacing: 1.5px;
  user-select: all;
  word-break: break-all;
}

.btn-copy-tracking {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0071e3;
  color: #ffffff;
  border: none;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-copy-tracking:hover {
  background: #0077ed;
  transform: translateY(-1px);
}

.btn-copy-tracking:active {
  transform: translateY(0);
}

.btn-copy-tracking.copied {
  background: #34c759;
}

/* Stepper Visual de Rastreio (Linha do Tempo) */
.tracking-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin: 20px 0 16px 0;
  padding: 16px 8px;
  background: #fafafa;
  border-radius: 14px;
  border: 1px solid #f2f2f7;
  position: relative;
}

.tracking-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 2;
}

.step-marker {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e5ea;
  color: #86868b;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  transition: all 0.3s ease;
}

.tracking-step.completed .step-marker {
  background: #34c759;
  color: #ffffff;
}

.tracking-step.active .step-marker {
  background: #0071e3;
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.2);
}

.marker-dot.pulse {
  display: inline-block;
  animation: pulseScale 1.5s infinite;
}

@keyframes pulseScale {
  0% { transform: scale(0.9); }
  50% { transform: scale(1.15); }
  100% { transform: scale(0.9); }
}

.step-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.step-title-text {
  font-size: 11px;
  font-weight: 700;
  color: #1d1d1f;
  line-height: 1.2;
}

.tracking-step.pending .step-title-text {
  color: #86868b;
}

.step-time-text {
  font-size: 9px;
  color: #86868b;
}

.step-connector {
  flex: 1;
  height: 2px;
  background: #e5e5ea;
  margin-top: 15px;
  margin-left: -8px;
  margin-right: -8px;
  position: relative;
  z-index: 1;
}

.step-connector.completed {
  background: #34c759;
}

.tracking-hero-actions {
  margin-top: 14px;
}

.btn-track-scroll {
  width: 100%;
  padding: 12px 18px;
  background: #1d1d1f;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-track-scroll:hover {
  background: #000000;
  transform: translateY(-1px);
}

/* Responsividade Mobile para o Stepper */
@media (max-width: 480px) {
  .tracking-stepper {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
  }
  .step-connector {
    display: none;
  }
  .tracking-step {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    text-align: left;
    width: 100%;
  }
  .step-marker {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .tracking-code-text {
    font-size: 16px;
  }
  .tracking-code-display-row {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-copy-tracking {
    justify-content: center;
  }
}

.summary-card {
  padding: 16px;
}

.summary-section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.summary-field-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6;
}

.summary-field-row:last-child {
  border-bottom: none;
}

.field-label { color: var(--text-secondary); }
.field-val { font-weight: 600; color: var(--text-primary); text-align: right; }

/* ==========================================================================
   Order Bump — Pop-up Modal & Teaser Chamativo (Etapa 20 - Entrega)
   Fiel ao design dos acessórios originais e altamente chamativo
   ========================================================================== */

/* Teaser Card no Formulário de Entrega */
.orderbump-teaser-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.06) 0%, rgba(0, 198, 255, 0.08) 100%);
  border: 1.5px dashed #0071e3;
  border-radius: 16px;
  padding: 14px 16px;
  margin: 16px 0;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
}

.orderbump-teaser-card:hover {
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.12) 0%, rgba(0, 198, 255, 0.14) 100%);
  border-color: #0077ed;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.12);
}

.teaser-lightning-badge {
  display: inline-block;
  background: #0071e3;
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 980px;
  margin-bottom: 4px;
}

.teaser-headline {
  font-size: 14px;
  font-weight: 700;
  color: #1d1d1f;
  line-height: 1.25;
}

.teaser-sub {
  font-size: 11.5px;
  color: #86868b;
  margin-top: 2px;
}

.teaser-btn-pill {
  background: #0071e3;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 980px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.3);
  transition: transform 0.2s ease;
}

.orderbump-teaser-card:hover .teaser-btn-pill {
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   Pop-up Modal Overlay & Dialog
   -------------------------------------------------------------------------- */
.orderbump-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.orderbump-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.orderbump-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.orderbump-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 430px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border: 2px solid #0071e3;
  border-radius: 26px;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 113, 227, 0.35);
  transform: scale(0.9) translateY(24px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.orderbump-modal-overlay.active .orderbump-modal-dialog {
  transform: scale(1) translateY(0);
}

/* Botão Fechar */
.orderbump-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f2f2f7;
  border: none;
  color: #86868b;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.orderbump-modal-close:hover {
  background: #e5e5ea;
  color: #1d1d1f;
  transform: scale(1.08);
}

.orderbump-modal-body {
  padding: 24px 20px 22px 20px;
  text-align: left;
}

/* Header do Pop-up */
.orderbump-modal-header {
  margin-bottom: 16px;
  padding-right: 28px;
}

.orderbump-badges-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.orderbump-flash-badge {
  background: linear-gradient(135deg, #0071e3, #00b4d8);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 980px;
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.35);
  animation: badgeGlow 2.5s infinite alternate ease-in-out;
}

@keyframes badgeGlow {
  0% { box-shadow: 0 2px 8px rgba(0, 113, 227, 0.35); }
  100% { box-shadow: 0 2px 14px rgba(0, 198, 255, 0.65); }
}

.orderbump-countdown-pill {
  background: rgba(255, 59, 48, 0.08);
  border: 1px solid rgba(255, 59, 48, 0.25);
  color: #ff3b30;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 980px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.countdown-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #ff3b30;
  animation: pulseDot 1s infinite alternate;
}

@keyframes pulseDot {
  0% { opacity: 0.4; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1.2); }
}

.orderbump-modal-title {
  font-size: 18px;
  font-weight: 800;
  color: #1d1d1f;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.orderbump-modal-subtitle {
  font-size: 13px;
  color: #6b7280;
  margin-top: 4px;
  line-height: 1.35;
}

/* Lista de Cards de Acessórios */
.orderbump-modal-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.orderbump-modal-item {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1.5px solid #d2d2d7;
  border-radius: 16px;
  padding: 14px 12px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.orderbump-modal-item:hover {
  border-color: #0071e3;
  transform: translateY(-1px);
}

.orderbump-modal-item.checked {
  border-color: #0071e3;
  background: #f2f7ff;
  box-shadow: 0 4px 18px rgba(0, 113, 227, 0.15);
}

/* Tag de Desconto no Canto Superior */
.orderbump-discount-tag {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, #ff9500, #ff3b30);
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 3px 8px;
  border-bottom-left-radius: 8px;
  text-transform: uppercase;
  z-index: 2;
  pointer-events: none;
}

.orderbump-discount-tag.tag-purple {
  background: linear-gradient(135deg, #af52de, #5856d6);
}

.orderbump-discount-tag.tag-emerald {
  background: linear-gradient(135deg, #10b981, #059669);
}

.orderbump-warranty-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: rgba(0, 113, 227, 0.08);
  border: 1px solid rgba(0, 113, 227, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.1);
}

.orderbump-equiv-tag {
  font-size: 11px;
  font-weight: 700;
  color: #059669;
  background: rgba(16, 185, 129, 0.12);
  padding: 2px 7px;
  border-radius: 6px;
  white-space: nowrap;
}

.orderbump-checkbox-wrapper {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.orderbump-checkbox {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.orderbump-custom-check {
  width: 22px;
  height: 22px;
  border: 2px solid #d2d2d7;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  background-color: #ffffff;
}

.orderbump-modal-item.checked .orderbump-custom-check {
  border-color: #0071e3;
  background-color: #0071e3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px;
}

.orderbump-modal-thumb {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 10px;
  background: #f5f5f7;
  padding: 4px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.orderbump-modal-info {
  flex: 1;
  min-width: 0;
}

.orderbump-item-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #1d1d1f;
  line-height: 1.25;
  padding-right: 110px; /* Garante que o badge no canto superior direito não sobreponha o título */
}

.orderbump-item-desc {
  font-size: 11.5px;
  color: #86868b;
  margin: 3px 0 4px 0;
  line-height: 1.3;
}

.orderbump-pricing {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
}

.orderbump-old-price {
  font-size: 11.5px;
  color: #86868b;
  text-decoration: line-through;
}

.orderbump-new-price {
  font-size: 14px;
  font-weight: 800;
  color: #0071e3;
}

/* Resumo Financeiro */
.orderbump-modal-summary {
  background: #f5f5f7;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  margin-bottom: 18px;
}

.orderbump-summary-row {
  display: flex;
  justify-content: space-between;
  color: #48484a;
}

.orderbump-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 8px;
  margin-top: 2px;
  font-size: 13.5px;
  font-weight: 700;
  color: #1d1d1f;
}

.total-highlight {
  font-size: 17px;
  color: #0071e3;
  font-weight: 800;
}

.orderbump-shipping-note {
  font-size: 11.5px;
  color: #34c759;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

/* Ações Chamativas do Pop-up */
.orderbump-modal-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.btn-orderbump-confirm {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 52px;
  background: linear-gradient(135deg, #0071e3 0%, #005bb5 100%);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px rgba(0, 113, 227, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  animation: pulseButtonGlow 2.5s infinite;
}

@keyframes pulseButtonGlow {
  0% { box-shadow: 0 6px 20px rgba(0, 113, 227, 0.35); }
  50% { box-shadow: 0 6px 28px rgba(0, 113, 227, 0.65); transform: translateY(-1px); }
  100% { box-shadow: 0 6px 20px rgba(0, 113, 227, 0.35); }
}

.btn-orderbump-confirm:hover {
  background: linear-gradient(135deg, #0077ed 0%, #0062c4 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 113, 227, 0.55);
}

.btn-orderbump-confirm:active {
  transform: scale(0.98);
}

.btn-shine-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-25deg);
  animation: btnShineAnim 3s infinite;
}

@keyframes btnShineAnim {
  0% { left: -100%; }
  30% { left: 180%; }
  100% { left: 180%; }
}

.btn-orderbump-skip {
  background: none;
  border: none;
  color: #8e8e93;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  padding: 6px 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.btn-orderbump-skip:hover {
  color: #ff3b30;
}

/* Badge de Valor do PIX no Topo da Etapa 21 */
.pix-amount-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1.5px solid #0071e3;
  border-radius: 980px;
  padding: 8px 18px;
  margin: 12px auto 6px auto;
  box-shadow: 0 2px 10px rgba(0, 113, 227, 0.1);
}

.pix-amount-label {
  font-size: 13px;
  color: #48484a;
  font-weight: 500;
}

.pix-amount-value {
  font-size: 18px;
  font-weight: 800;
  color: #0071e3;
}
