/* =============================================
   QUIZ CONSIGNADO SIAPE — style.css
   Mobile-First | Inter Font | Modern UI
   ============================================= */

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue-900: #001F5B;
  --blue-800: #003399;
  --blue-600: #0052CC;
  --blue-500: #0065FF;
  --blue-400: #2684FF;
  --blue-100: #DEEBFF;
  --blue-50:  #F0F5FF;

  --green-700: #00663B;
  --green-600: #00875A;
  --green-500: #00C781;
  --green-100: #D3F5E8;

  --orange-600: #E05C00;
  --orange-500: #FF6B35;
  --orange-100: #FFF0E9;

  --gray-900: #0D0D0D;
  --gray-800: #1A1A2E;
  --gray-700: #2D2D44;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50:  #F9FAFB;
  --white:    #FFFFFF;

  --gold: #FFB800;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,82,204,.10);
  --shadow-lg: 0 8px 32px rgba(0,82,204,.15);
  --shadow-glow: 0 0 0 4px rgba(0,82,204,.18);

  --transition: 0.22s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: linear-gradient(145deg, #EEF4FF 0%, #F8FBFF 40%, #F0FAF5 100%);
  min-height: 100vh;
  color: var(--gray-900);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===== HEADER ===== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,82,204,.08);
}

.header-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1rem;
  color: var(--blue-600);
  letter-spacing: -.3px;
}

.brand-name-group {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-certified {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: .6rem;
  font-weight: 700;
  color: var(--blue-600);
  opacity: .75;
  line-height: 1;
  letter-spacing: .2px;
  text-transform: uppercase;
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .7rem;
  font-weight: 600;
  color: var(--green-600);
  background: var(--green-100);
  padding: 3px 8px;
  border-radius: 20px;
}

.social-proof-header {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}

.proof-number {
  font-size: .95rem;
  font-weight: 800;
  color: var(--blue-600);
  line-height: 1;
}

.proof-text {
  font-size: .65rem;
  color: var(--gray-500);
  line-height: 1;
}

/* ===== PROGRESS BAR ===== */
.progress-container {
  max-width: 640px;
  margin: 0 auto;
  padding: 16px 20px 0;
}

.progress-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 6px;
}

.progress-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-500);
}

.progress-badge {
  font-size: .72rem;
  font-weight: 600;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--blue-100);
}

.progress-track {
  width: 100%;
  height: 7px;
  background: var(--gray-200);
  border-radius: 20px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-600), var(--green-500));
  border-radius: 20px;
  transition: width .5s cubic-bezier(.4,0,.2,1);
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 0;
  width: 12px;
  height: 7px;
  background: var(--green-500);
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(0,199,129,.6);
}

/* ===== QUIZ WRAPPER ===== */
.quiz-wrapper {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px 120px;
}

/* ===== QUIZ SCREENS ===== */
.quiz-screen {
  display: none;
  animation: fadeSlideIn .35s ease forwards;
}

.quiz-screen.active {
  display: block;
}

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

@keyframes fadeSlideOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-12px); }
}

/* ===== HERO SECTION ===== */
.hero-content { padding-top: 36px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #FFB800 0%, #FF8C00 100%);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: .5px;
  box-shadow: 0 4px 12px rgba(255,184,0,.3);
}

.hero-title {
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.18;
  color: var(--gray-900);
  margin-bottom: 14px;
  letter-spacing: -.5px;
}

.hero-highlight {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 28px;
}

/* ===== BENEFITS ===== */
.hero-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: var(--gray-700);
  font-weight: 500;
}

.benefit-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-green { background: var(--green-100); }

/* ===== BUTTONS ===== */
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 17px 24px;
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-500) 100%);
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 6px 20px rgba(0,82,204,.35);
  min-height: 54px;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, transparent 50%);
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,82,204,.45);
}

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

.btn-hero {
  font-size: 1.05rem;
  padding: 18px 24px;
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
}

.btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 24px;
  background: var(--green-100);
  color: var(--green-700);
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 700;
  border: 2px solid var(--green-500);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  min-height: 50px;
}

.btn-secondary:hover {
  background: var(--green-500);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-secondary-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 24px;
  background: transparent;
  color: var(--gray-700);
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 600;
  border: 2px solid var(--gray-300, #D1D5DB);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  min-height: 50px;
}

.btn-secondary-outline:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
}

.btn-ghost {
  background: none;
  border: none;
  color: var(--gray-500);
  font-family: var(--font);
  font-size: .88rem;
  cursor: pointer;
  padding: 8px;
  width: 100%;
  text-align: center;
}

.btn-ghost:hover { color: var(--gray-700); }

.btn-whatsapp {
  background: linear-gradient(135deg, #128C7E, #25D366) !important;
  border-color: transparent !important;
  color: white !important;
  box-shadow: 0 6px 20px rgba(37,211,102,.35) !important;
}

.btn-whatsapp:hover { box-shadow: 0 10px 28px rgba(37,211,102,.5) !important; }

.btn-video {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-600));
}

.btn-submit {
  margin-top: 8px;
}

/* ===== HERO DISCLAIMER & URGENCY ===== */
.hero-disclaimer {
  text-align: center;
  font-size: .78rem;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.urgency-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #FFF5F0, #FFF9E6);
  border: 1px solid #FFD6B8;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: .84rem;
  color: var(--orange-600);
  margin-bottom: 32px;
}

/* ===== HERO TRUST ===== */
.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px 0 0;
  border-top: 1px solid var(--gray-200);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--gray-500);
}

/* ===== QUESTION HEADER ===== */
.question-header {
  padding-top: 32px;
  margin-bottom: 24px;
  text-align: center;
}

.question-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
  display: block;
}

.question-title {
  font-size: clamp(1.2rem, 4vw, 1.6rem);
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.3px;
  line-height: 1.25;
  margin-bottom: 8px;
}

.question-subtitle {
  font-size: .88rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ===== OPTIONS GRID ===== */
.options-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}

.options-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ===== OPTION CARD ===== */
.option-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  min-height: 64px;
}

.option-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-50), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.option-card:hover {
  border-color: var(--blue-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.option-card:hover::before { opacity: 1; }

.option-card.selected {
  border-color: var(--blue-600);
  background: var(--blue-50);
  box-shadow: var(--shadow-glow);
}

.option-card.selected .option-check svg circle { fill: var(--blue-600); stroke: var(--blue-600); }
.option-card.selected .option-check svg path { stroke: white; }

.option-card-urgent { border-color: rgba(255,107,53,.3); background: #FFFBF8; }
.option-card-urgent:hover { border-color: var(--orange-500); }

.option-card-large {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 16px;
  min-height: 110px;
}

.option-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.option-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  z-index: 1;
}

.option-title {
  font-size: .92rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.3;
}

.option-desc {
  font-size: .78rem;
  color: var(--gray-500);
  line-height: 1.3;
}

.option-check {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.option-check svg circle { transition: all var(--transition); }

/* ===== INFO TIP ===== */
.info-tip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: .8rem;
  color: var(--blue-800);
  line-height: 1.5;
  margin-bottom: 18px;
}

.info-tip svg { flex-shrink: 0; margin-top: 1px; }

/* ===== BANK LIST ===== */
.bank-list-card {
  background: var(--orange-100);
  border: 1px solid #FFD6B8;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 18px;
}

.bank-list-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--orange-600);
  margin-bottom: 10px;
}

.bank-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bank-tag {
  background: var(--white);
  border: 1px solid #FFD6B8;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: .76rem;
  font-weight: 600;
  color: var(--orange-600);
}

/* ===== MARGIN CALCULATOR ===== */
.margin-calculator {
  background: linear-gradient(135deg, var(--blue-50), #F8FBFF);
  border: 1.5px solid var(--blue-100);
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  overflow: hidden;
}

.calc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--blue-600);
  padding: 12px 16px;
  border-bottom: 1px solid var(--blue-100);
  background: rgba(0,82,204,.04);
}

.calc-body { padding: 14px 16px; }

.calc-label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.calc-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.salary-input-wrapper {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex: 1;
}

.currency-prefix {
  padding: 10px 12px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--gray-500);
  background: var(--gray-100);
  border-right: 1px solid var(--gray-200);
}

.salary-input {
  border: none;
  outline: none;
  padding: 10px 12px;
  font-family: var(--font);
  font-size: .92rem;
  font-weight: 600;
  color: var(--gray-900);
  width: 130px;
  background: transparent;
}

.calc-result {
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-600, #4B5563);
  animation: fadeSlideIn .3s ease;
}

.calc-highlight {
  font-size: 1rem;
  font-weight: 800;
  color: var(--blue-600);
}

/* ===== LEAD FORM ===== */
.form-security-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--green-100);
  border: 1px solid #A7EDCF;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: .8rem;
  color: var(--green-700);
  font-weight: 500;
  margin-bottom: 24px;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.lead-form-mini { gap: 14px; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-700);
}

.required { color: var(--orange-500); }

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 1rem;
  color: var(--gray-900);
  background: var(--white);
  outline: none;
  transition: all var(--transition);
  min-height: 52px;
  -webkit-appearance: none;
}

.form-input:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(0,82,204,.12);
}

.form-input.error { border-color: #EF4444; box-shadow: 0 0 0 3px rgba(239,68,68,.12); }
.form-input.success { border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(0,135,90,.12); }
.form-input::placeholder { color: var(--gray-400); }

.field-error {
  font-size: .78rem;
  color: #EF4444;
  font-weight: 500;
  display: none;
  animation: fadeSlideIn .2s ease;
}

.field-error.visible { display: block; }

.field-hint {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .75rem;
  color: var(--gray-400);
}

/* ===== CHECKBOX ===== */
.form-checkbox-group { display: flex; flex-direction: column; gap: 4px; }

.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  padding: 14px;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.checkbox-wrapper:hover { border-color: var(--blue-400); background: var(--blue-50); }

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

.checkbox-custom {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 2px solid var(--gray-300, #D1D5DB);
  border-radius: 6px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  margin-top: 1px;
}

.checkbox-wrapper input:checked ~ .checkbox-custom {
  background: var(--blue-600);
  border-color: var(--blue-600);
}

.checkbox-wrapper input:checked ~ .checkbox-custom::after {
  content: '';
  display: block;
  width: 6px;
  height: 10px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}

.checkbox-label {
  font-size: .82rem;
  color: var(--gray-700);
  line-height: 1.5;
}

.link-inline { color: var(--blue-600); text-decoration: underline; }

/* ===== FORM BOTTOM TRUST ===== */
.form-bottom-trust {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: .75rem;
  color: var(--gray-500);
  font-weight: 500;
  padding-top: 4px;
}

/* ===== SPINNER ===== */
.btn-spinner {
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255,255,255,.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

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

/* ===== RESULT CARDS ===== */
.result-card {
  margin-top: 32px;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  box-shadow: 0 8px 40px rgba(0,0,0,.10);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.result-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
}

.result-approved::before { background: linear-gradient(90deg, var(--blue-600), var(--green-500)); }
.result-pending::before { background: linear-gradient(90deg, var(--orange-500), var(--gold)); }
.result-denied::before { background: linear-gradient(90deg, #999, #BBB); }

.result-confetti {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100px;
  pointer-events: none;
  overflow: hidden;
}

.result-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.approved-badge { background: linear-gradient(135deg, #FFF9E0, #FFEEA8); }
.pending-badge  { background: linear-gradient(135deg, #FFF4F0, #FFE4D6); }
.denied-badge   { background: var(--gray-100); }

.result-title {
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 10px;
  letter-spacing: -.3px;
}

.result-subtitle {
  font-size: .92rem;
  color: var(--gray-600, #4B5563);
  line-height: 1.6;
  margin-bottom: 24px;
}

.result-benefits {
  background: var(--green-100);
  border: 1px solid #A7EDCF;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  text-align: left;
}

.result-benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--gray-800);
}

.result-check {
  color: var(--green-600);
  font-size: 1.1rem;
  font-weight: 900;
  flex-shrink: 0;
}

.result-check-orange { color: var(--orange-500); }

.result-contact-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .88rem;
  color: var(--gray-600, #4B5563);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.video-highlight {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  text-align: left;
  margin-bottom: 24px;
}

.video-highlight-icon { font-size: 1.6rem; flex-shrink: 0; }

.video-highlight-content {
  font-size: .85rem;
  line-height: 1.6;
}

.video-highlight-content strong { font-size: .88rem; display: block; margin-bottom: 6px; }

.video-highlight-content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: rgba(255,255,255,.85);
}

.result-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.result-note {
  font-size: .88rem;
  color: var(--gray-500);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  z-index: 999;
  display: flex;
  align-items: flex-end;
  animation: fadeIn .25s ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-card {
  background: var(--white);
  width: 100%;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 28px 24px 36px;
  position: relative;
  animation: slideUp .35s cubic-bezier(.4,0,.2,1);
  text-align: center;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gray-100);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: .9rem;
  color: var(--gray-600, #4B5563);
}

.modal-icon { font-size: 2.5rem; margin-bottom: 12px; }

.modal-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.modal-text {
  font-size: .88rem;
  color: var(--gray-500);
  margin-bottom: 20px;
  line-height: 1.5;
}

.modal-card .btn-primary { margin-bottom: 10px; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 28px 20px;
  margin-top: 40px;
}

.footer-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-brand .brand-logo {
  color: var(--white);
  font-size: .9rem;
}

.footer-cnpj {
  font-size: .72rem;
  color: var(--gray-500);
}

.footer-disclaimer p {
  font-size: .74rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: 4px;
}

.footer-disclaimer strong { color: var(--gray-400); }

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-link {
  font-size: .76rem;
  color: var(--blue-400);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-link:hover { color: var(--blue-500); text-decoration: underline; }

/* ===== FLOAT CHAT ===== */
.float-chat {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 200;
  background: linear-gradient(135deg, #128C7E, #25D366);
  color: var(--white);
  border-radius: 50px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  transition: all var(--transition);
  animation: floatPulse 3s ease-in-out infinite;
}

.float-chat:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(37,211,102,.5);
}

.float-chat-label {
  font-size: .82rem;
  font-weight: 700;
}

@keyframes floatPulse {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}

/* ===== CONFETTI PIECES ===== */
.confetti-piece {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  animation: confettiFall 2.5s ease-out forwards;
}

@keyframes confettiFall {
  0%   { transform: translate(0,0) rotate(0deg); opacity: 1; }
  100% { transform: translate(var(--tx), 200px) rotate(540deg); opacity: 0; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
  .hero-benefits { grid-template-columns: 1fr; gap: 10px; }
  .hero-title { font-size: 1.55rem; }
  .options-grid-2col { grid-template-columns: 1fr; }
  .header-inner { padding: 10px 16px; }
  .progress-badge { font-size: .65rem; }
}

@media (min-width: 640px) {
  .quiz-wrapper { padding-top: 8px; }
  .hero-content { padding-top: 48px; }
}

/* ===== LOADING SCREEN ===== */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeOut .5s ease 1.5s forwards;
}

@keyframes fadeOut { to { opacity: 0; pointer-events: none; } }

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--blue-100);
  border-top-color: var(--blue-600);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin-bottom: 16px;
}

/* ===== UTILITY ===== */
.hidden  { display: none !important; }
.mt-16   { margin-top: 16px; }
.mt-24   { margin-top: 24px; }

/* ================================================
   FAQ SECTION
   ================================================ */

.faq-section {
  background: #F9FAFB;
  padding: 64px 24px;
  margin-top: 48px;
}

.faq-container {
  max-width: 920px;
  margin: 0 auto;
}

.faq-title {
  font-size: 2rem;
  font-weight: 800;
  color: #111827;
  text-align: center;
  margin-bottom: 12px;
}

.faq-subtitle {
  font-size: 1.05rem;
  color: #6B7280;
  text-align: center;
  margin-bottom: 48px;
}

.faq-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 48px;
}

.faq-item {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #0052CC;
  box-shadow: 0 4px 12px rgba(0, 82, 204, 0.08);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: #F9FAFB;
}

.faq-question-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.5;
}

.faq-icon {
  flex-shrink: 0;
  color: #6B7280;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: #0052CC;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 1000px; /* Ajustar se necessário */
  padding: 0 24px 24px;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 12px;
}

.faq-answer ul {
  margin: 12px 0 16px 0;
  padding-left: 20px;
}

.faq-answer li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 8px;
}

.faq-note {
  background: #F0F5FF;
  border-left: 3px solid #0052CC;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #1E40AF;
  margin-top: 16px !important;
}

.faq-answer a {
  color: #0052CC;
  text-decoration: underline;
  font-weight: 600;
}

.faq-answer a:hover {
  color: #003D99;
}

/* FAQ CTA */
.faq-cta {
  background: white;
  border: 2px dashed #D1D5DB;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}

.faq-cta-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 16px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: #0052CC;
  border: 2px solid #0052CC;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: #0052CC;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 82, 204, 0.2);
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
  .faq-section {
    padding: 48px 20px;
  }
  
  .faq-title {
    font-size: 1.6rem;
  }
  
  .faq-subtitle {
    font-size: 0.95rem;
  }
  
  .faq-question {
    padding: 16px 20px;
  }
  
  .faq-question-text {
    font-size: 0.95rem;
  }
  
  .faq-answer {
    padding: 0 20px;
  }
  
  .faq-item.active .faq-answer {
    padding: 0 20px 20px;
  }
  
  .faq-cta {
    padding: 24px 20px;
  }
  
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* ================================================
   DISCLAIMER BANNER CRÍTICO
   ================================================ */

.critical-disclaimer-banner {
  background: linear-gradient(135deg, #FFF5E6 0%, #FFE8CC 100%);
  border: 2px solid #FF6B35;
  border-left: 6px solid #FF6B35;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 
    0 4px 12px rgba(255, 107, 53, 0.15),
    0 0 0 1px rgba(255, 107, 53, 0.1);
  animation: pulse-attention 3s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

/* Brilho sutil de atenção */
.critical-disclaimer-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.disclaimer-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.disclaimer-content {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #7C3A00;
  position: relative;
  z-index: 1;
}

.disclaimer-content strong {
  font-weight: 700;
  font-size: 0.9rem;
  color: #5A2800;
}

.highlight-red {
  color: #C41E3A;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 8px;
  background: rgba(196, 30, 58, 0.15);
  border-radius: 4px;
  letter-spacing: 0.5px;
  display: inline-block;
  border: 1px solid rgba(196, 30, 58, 0.2);
}

@keyframes pulse-attention {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 
      0 4px 12px rgba(255, 107, 53, 0.15),
      0 0 0 1px rgba(255, 107, 53, 0.1);
  }
  50% { 
    transform: scale(1.01);
    box-shadow: 
      0 6px 16px rgba(255, 107, 53, 0.25),
      0 0 0 2px rgba(255, 107, 53, 0.15);
  }
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
  .critical-disclaimer-banner {
    flex-direction: row;
    text-align: left;
    padding: 8px 10px;
    gap: 8px;
    margin-bottom: 16px;
    border-width: 1px;
    border-left-width: 4px;
  }
  
  .disclaimer-icon {
    font-size: 1.2rem;
  }
  
  .disclaimer-content {
    font-size: 0.65rem;
    line-height: 1.3;
  }
  
  .disclaimer-content strong {
    font-size: 0.7rem;
  }
  
  .disclaimer-content br {
    display: none; /* Remove quebra de linha no mobile */
  }
  
  .disclaimer-content::after {
    content: ' '; /* Adiciona espaço entre as frases */
  }
}

/* Dark mode compatibility (se implementar futuramente) */
@media (prefers-color-scheme: dark) {
  .critical-disclaimer-banner {
    background: linear-gradient(135deg, #3D2817 0%, #2D1E0F 100%);
    border-color: #FF8C5A;
  }
  
  .disclaimer-content {
    color: #FFD6B8;
  }
  
  .disclaimer-content strong {
    color: #FFE8CC;
  }
  
  .highlight-red {
    color: #FF6B6B;
    background: rgba(255, 107, 107, 0.2);
    border-color: rgba(255, 107, 107, 0.3);
  }
}

/* Impressão (não imprimir o banner) */
@media print {
  .critical-disclaimer-banner {
    display: none;
  }
}
