/* ══════════════════════════════════════════
   FAZ 1 CONSORCIO — Combined Stylesheet
   Fonts (self-hosted) + Variables + Layout +
   Components + Animations
   ══════════════════════════════════════════ */

/* ── SELF-HOSTED FONTS ── */

/* Bebas Neue — latin-ext */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/bebas-neue-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Bebas Neue — latin */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/bebas-neue-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* DM Sans — latin-ext (variable: 300-700) */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* DM Sans — latin (variable: 300-700) */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── CSS CUSTOM PROPERTIES ── */
:root {
  --black: #080c18;
  --dark: #0d1225;
  --card: #141b2d;
  --border: #1e2a42;
  --red: #e8192c;
  --red-dark: #b5111f;
  --red-glow: rgba(232, 25, 44, 0.12);
  --gold: #c9a84c;
  --gold-dark: #a6893d;
  --gold-glow: rgba(201, 168, 76, 0.12);
  --white: #f5f5f5;
  --muted: #7a8499;
  --success: #22c55e;
  --success-glow: rgba(34, 197, 94, 0.12);
  --card-hover: #192236;
  --danger: #ef4444;
}
/* ── RESET ── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ── FOCUS VISIBLE ── */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── TAP HIGHLIGHT RESET ── */
* {
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 10;
  opacity: 0.3;
}

.app {
  max-width: 560px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* ── BACKGROUND ORBS (subtle) ── */
.bg-orbs {
  position: fixed;
  inset: 0;
  max-width: 560px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.orb-1 {
  width: 400px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.03) 0%, transparent 70%);
  bottom: 10%;
  left: -80px;
}

/* ── SCREENS ── */
.screen {
  display: none;
  min-height: 100vh;
  padding: 32px 24px 48px;
  padding-top: max(32px, env(safe-area-inset-top));
  padding-bottom: max(48px, env(safe-area-inset-bottom));
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
  flex-direction: column;
  animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  position: relative;
  z-index: 1;
}

.screen.active {
  display: flex;
}

/* Extra bottom padding on screens with a sticky CTA so content isn't hidden */
#screen-result,
#screen-compare {
  padding-bottom: max(120px, calc(80px + env(safe-area-inset-bottom)));
}

/* ── LOGO BAR ── */
.logo-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(145deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', cursive;
  font-size: 16px;
  letter-spacing: 0.5px;
  color: var(--black);
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(201, 168, 76, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.logo-name {
  font-family: 'Bebas Neue', cursive;
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--white);
}

.logo-name span {
  color: var(--gold);
}

/* ── PROGRESS ── */
.progress-wrap {
  margin-bottom: 32px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.progress-bar {
  height: 4px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 99px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 8px rgba(201, 168, 76, 0.3);
}

/* ── QUESTION LABEL ── */
.step-label {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  padding: 4px 10px;
  background: rgba(201, 168, 76, 0.06);
  border-radius: 99px;
  border: 1px solid rgba(201, 168, 76, 0.15);
  width: fit-content;
}

/* ── HEADINGS ── */
h1 {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(42px, 10.5vw, 66px);
  line-height: 0.95;
  letter-spacing: 1px;
  margin-bottom: 18px;
  position: relative;
}

#hero-heading {
  position: relative;
  isolation: isolate;
}

#hero-heading::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 260px;
  background: radial-gradient(ellipse, rgba(201, 168, 76, 0.22) 0%, rgba(201, 168, 76, 0.08) 40%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  filter: blur(20px);
}

h2 {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(30px, 7vw, 42px);
  line-height: 1.05;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.subtitle {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 32px;
}

.subtitle--sm {
  font-size: 13px;
}

/* ── HERO SCREEN ── */
#screen-hero {
  justify-content: center;
  text-align: center;
  padding-top: 56px;
  position: relative;
}

.hero-bg {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 560px;
  height: 260px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
  animation: fadeUp 1.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.3s;
}

.hero-car-bg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.hero-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-width: 90%;
  height: 28px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
  background: rgba(201, 168, 76, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 26px;
  white-space: nowrap;
  line-height: 28px;
}

.hero-badge-track {
  display: inline-block;
  padding: 0 14px;
  font-size: 12px;
  animation: marquee 18s linear infinite;
  will-change: transform;
}

.badge-arrow {
  color: rgba(255, 255, 255, 0.35);
  font-size: 8px;
  font-weight: 300;
  vertical-align: middle;
  line-height: 1;
}

.hero-footer {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
  letter-spacing: 0.3px;
  opacity: 0.7;
}

.trust-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 4px 0 36px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 99px;
}

.trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── TRUST PROOF (contemplation image) ── */
.trust-proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 8px 0 32px;
}

.trust-proof-circle {
  width: 100%;
  max-width: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-proof-img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.trust-proof-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
}

/* ── SECTION LABEL ── */
.section-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 600;
}

/* ── FEATURES LIST (fintech style) ── */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 5px;
}

.feature-number {
  font-family: 'Bebas Neue', cursive;
  font-size: 22px;
  color: var(--gold);
  opacity: 0.5;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.feature-item--accent {
  border-left: 2px solid rgba(201, 168, 76, 0.25);
  border-color: var(--border);
  border-left-color: rgba(201, 168, 76, 0.25);
}

.feature-text {
  flex: 1;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

/* ── SPACER ── */
.spacer {
  flex: 1;
}

.mt-auto {
  margin-top: auto;
}

/* ── UTILITY CLASSES ── */
.text-red {
  color: var(--gold);
}

.text-gold {
  color: var(--gold);
}

.text-highlight {
  color: var(--white);
  font-weight: 600;
  border-bottom: 1px solid rgba(201, 168, 76, 0.4);
  padding-bottom: 1px;
}

.logo-bar--center {
  justify-content: center;
}
/* ── STICKY CTA ── */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 560px;
  padding: 16px 24px max(16px, env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--black) 55%, rgba(8, 12, 24, 0.85) 80%, transparent);
  z-index: 20;
}

.btn-primary--stacked {
  flex-direction: column;
  gap: 2px;
  padding: 14px 24px;
}

.btn-primary__main {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.btn-primary__sub {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.7;
  letter-spacing: 0.2px;
}


/* ── CTA BUTTON ── */
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 18px 24px;
  background: linear-gradient(145deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--black);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 16px rgba(201, 168, 76, 0.2), 0 0 0 1px rgba(201, 168, 76, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover::before {
  left: 160%;
}

.btn-primary:hover {
  background: linear-gradient(145deg, #d4b35a 0%, var(--gold) 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(201, 168, 76, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 8px rgba(201, 168, 76, 0.2);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 2px;
  background: linear-gradient(90deg, transparent 20%, rgba(255, 255, 255, 0.45) 50%, transparent 80%);
  background-size: 200% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: cta-border-sweep 4s ease-in-out infinite;
  pointer-events: none;
}

.btn-secondary {
  width: 100%;
  padding: 14px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 10px;
}

.btn-secondary:hover {
  border-color: var(--muted);
  color: var(--white);
  background: rgba(255, 255, 255, 0.02);
}

/* ── OPTION CARDS ── */
.options-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.option-emoji {
  font-size: 14px;
  margin-right: 4px;
  vertical-align: middle;
}

.option-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.option-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  border-radius: 14px 0 0 14px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.option-card:hover {
  border-color: rgba(201, 168, 76, 0.25);
  background: var(--card-hover);
  transform: translateX(2px);
}

.option-card.selected {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.05);
  box-shadow: 0 0 0 1px var(--gold), 0 2px 12px rgba(201, 168, 76, 0.08);
  transform: translateX(0);
}

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

.option-text {
  flex: 1;
}

.option-title {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 4px;
}

.option-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.option-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.option-card.selected .option-check {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
  transform: scale(1.05);
}

.option-card.selected .option-check::after {
  content: '\2713';
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* ── INPUT FIELDS ── */
.input-group {
  margin-bottom: 24px;
}

.input-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.input-field {
  width: 100%;
  padding: 18px 20px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  color: var(--white);
  font-size: 18px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
  outline: none;
}

.input-field:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.08), 0 2px 12px rgba(0, 0, 0, 0.2);
  background: var(--card-hover);
}

.input-field::placeholder {
  color: var(--muted);
  font-size: 16px;
}

/* ── RESULT SCREEN ── */
#screen-result,
#screen-compare {
  padding-top: 24px;
  padding-bottom: max(100px, calc(env(safe-area-inset-bottom) + 90px));
}

.result-header {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.5s ease both;
}

.result-header::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.result-name {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 2px;
  letter-spacing: 0.3px;
}

.result-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 32px;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 20px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.metric-card {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 16px;
  border-top: 2px solid var(--gold);
}

.metric-card--full {
  text-align: center;
}

.metric-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.metric-value {
  font-family: 'Bebas Neue', cursive;
  font-size: 30px;
  letter-spacing: 0.5px;
  color: var(--white);
  line-height: 1;
}

.metric-value.highlight {
  color: var(--gold);
}

.metric-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

/* ── ECONOMY HIGHLIGHT (hero card) ── */
.economy-highlight {
  position: relative;
  text-align: center;
  padding: 28px 20px 24px;
  margin-bottom: 16px;
  background: linear-gradient(160deg, rgba(201, 168, 76, 0.06) 0%, rgba(201, 168, 76, 0.02) 100%);
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: 18px;
  overflow: hidden;
  animation: celebrate-pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both,
             celebrate-border-glow 2s ease 0.6s both;
}

.economy-highlight::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.18), transparent);
  animation: celebrate-shine 1.2s ease 0.9s both;
  pointer-events: none;
}

.economy-highlight__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.10) 0%, transparent 65%);
  pointer-events: none;
  animation: economy-pulse 4s ease-in-out infinite;
}

.economy-highlight__label {
  position: relative;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--gold);
  margin-bottom: 8px;
  opacity: 0.85;
}

.economy-highlight__value {
  position: relative;
  font-family: 'Bebas Neue', cursive;
  font-size: 52px;
  letter-spacing: 1.5px;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 30px rgba(201, 168, 76, 0.2);
}

.economy-highlight__sub {
  position: relative;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-top: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.85;
}

/* ── ECONOMY BOX ── */
.economy-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  animation: fadeUp 0.5s ease 0.15s both;
}

.economy-header {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 16px;
}

.economy-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.economy-label {
  font-size: 14px;
  color: var(--white);
  font-weight: 500;
}

.economy-tag {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}

.economy-val {
  font-family: 'Bebas Neue', cursive;
  font-size: 22px;
  letter-spacing: 0.5px;
}

.economy-val--good {
  color: var(--success);
}

.economy-val--bad {
  color: var(--danger);
}

.economy-divider {
  height: 1px;
  background: var(--border);
}

.result-badge {
  padding: 14px 18px;
  background: rgba(34, 197, 94, 0.04);
  border: 1px solid rgba(34, 197, 94, 0.12);
  border-left: 3px solid var(--success);
  border-radius: 0 12px 12px 0;
  font-size: 13px;
  color: rgba(34, 197, 94, 0.85);
  margin-bottom: 16px;
  font-weight: 500;
  line-height: 1.6;
  animation: fadeUp 0.5s ease 0.2s both;
}

/* ── ACCORDION ── */
.accordion {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
  cursor: pointer;
  transition: border-color 0.25s ease;
}

.accordion:hover {
  border-color: rgba(201, 168, 76, 0.2);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 600;
  gap: 12px;
}

.accordion-arrow {
  font-size: 18px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--gold);
  flex-shrink: 0;
}

.accordion.open .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-body {
  display: none;
  padding: 0 18px 18px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.accordion.open .accordion-body {
  display: block;
}

/* ── COMPARISON ── */
.big-number {
  font-family: 'Bebas Neue', cursive;
  font-size: 48px;
  letter-spacing: 1px;
  line-height: 1;
}

.vs-block {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: stretch;
  margin: 24px 0;
}

.vs-side {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.vs-side:hover {
  transform: translateY(-1px);
}

.vs-side.winner {
  border-color: rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.03);
}

.vs-side.loser {
  border-color: rgba(239, 68, 68, 0.2);
  background: rgba(239, 68, 68, 0.03);
}

.vs-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 600;
}

.vs-value {
  font-family: 'Bebas Neue', cursive;
  font-size: 28px;
}

.vs-value.green {
  color: var(--success);
}

.vs-value.red {
  color: var(--danger);
}

.vs-sep {
  font-family: 'Bebas Neue', cursive;
  font-size: 20px;
  color: var(--muted);
  text-align: center;
  opacity: 0.5;
  display: flex;
  align-items: center;
}

.vs-sep--sm {
  font-size: 18px;
}

.vs-block--compact {
  margin: 12px 0 20px;
}

.vs-side--compact {
  padding: 12px 6px;
}

.vs-value--sm {
  font-size: 22px;
}

.vs-footnote {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.highlight-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(201, 168, 76, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 12px;
  padding: 16px;
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 24px;
}

.highlight-box--centered {
  justify-content: center;
  text-align: center;
  flex-direction: column;
  gap: 6px;
}

.highlight-box__title {
  font-size: 14px;
}

.highlight-box__text {
  font-size: 13px;
  color: var(--muted);
}

/* ── WHATSAPP CARD ── */
.whatsapp-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(37, 211, 102, 0.06);
  border: 1px solid rgba(37, 211, 102, 0.2);
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: 8px;
}

.whatsapp-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 211, 102, 0.12);
  border-radius: 50%;
  color: #25d366;
}

.whatsapp-card__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.whatsapp-card__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.whatsapp-card__text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.whatsapp-card__text strong {
  color: #25d366;
  font-weight: 600;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 16px 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.compare-table th {
  padding: 11px 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
  background: var(--dark);
  text-align: left;
}

.compare-table td {
  padding: 13px 14px;
  font-size: 13px;
  border-top: 1px solid var(--border);
}

.compare-table .col-faz1 {
  color: var(--success);
  font-weight: 600;
}

.compare-table .col-fin {
  color: var(--danger);
  font-weight: 500;
}

.compare-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.015);
}

/* ── CALENDAR ── */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 16px;
}

.cal-day-label {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  padding: 6px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.cal-day {
  text-align: center;
  padding: 10px 4px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.cal-day:hover:not(.empty):not(.past):not(.unavailable) {
  background: rgba(201, 168, 76, 0.08);
  border-color: rgba(201, 168, 76, 0.2);
  color: var(--white);
}

.cal-day.unavailable {
  color: var(--red);
  cursor: default;
  text-decoration: line-through;
  opacity: 0.5;
}

.cal-day.today:not(.past) {
  border-color: rgba(201, 168, 76, 0.25);
  color: var(--gold);
  font-weight: 700;
}

.cal-day.selected {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  box-shadow: 0 2px 10px rgba(201, 168, 76, 0.25);
  font-weight: 700;
}

.cal-day.empty {
  cursor: default;
}

.cal-day.past {
  color: var(--border);
  cursor: default;
}

.cal-month {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Bebas Neue', cursive;
  font-size: 20px;
  letter-spacing: 1px;
  margin-bottom: 16px;
  padding: 0 2px;
}

.cal-nav {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 8px;
  transition: all 0.2s;
  line-height: 1;
}

.cal-nav:hover {
  color: var(--white);
  border-color: var(--muted);
  background: var(--card-hover);
}

/* ── TIME SLOTS ── */
.time-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.time-slot {
  padding: 12px 4px;
  min-height: 44px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.time-slot:hover {
  border-color: rgba(201, 168, 76, 0.3);
  background: rgba(201, 168, 76, 0.04);
  color: var(--white);
}

.time-slot.selected {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  box-shadow: 0 2px 10px rgba(201, 168, 76, 0.25);
}

.time-slot.unavailable {
  opacity: 0.35;
  text-decoration: line-through;
  cursor: not-allowed;
  pointer-events: none;
  color: var(--muted);
  border-color: var(--border);
  background: var(--card);
}

/* ── SUCCESS ── */
#screen-success {
  justify-content: center;
  align-items: center;
  text-align: center;
}

.success-icon {
  width: 90px;
  height: 90px;
  background: rgba(201, 168, 76, 0.06);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  margin: 0 auto 24px;
  animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  position: relative;
  color: var(--gold);
}

.success-icon::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.15);
  animation: ring-pulse 2.5s ease-out 0.5s 3;
}

.success-icon::after {
  content: '';
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.06);
  animation: ring-pulse 2.5s ease-out 0.8s 3;
}

.success-details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  margin: 24px 0;
  text-align: left;
  width: 100%;
}

.success-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

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

.success-row .label {
  color: var(--muted);
}

.success-row .value {
  font-weight: 600;
}

.success-row .value.text-red {
  color: var(--gold);
}

/* ── PARCELA SLIDER ── */
.slider-container {
  margin-bottom: 28px;
  padding: 0 16px;
}

.slider-display {
  text-align: center;
  margin-bottom: 20px;
}

.slider-value-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--muted);
  margin-bottom: 6px;
}

.slider-value {
  font-family: 'Bebas Neue', cursive;
  font-size: 48px;
  letter-spacing: 1.5px;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 30px rgba(201, 168, 76, 0.15);
}

/* Custom range input */
.parcela-slider {
  --slider-percent: 0%;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  touch-action: none;
  background: linear-gradient(
    to right,
    var(--gold) 0%,
    var(--gold) var(--slider-percent),
    var(--border) var(--slider-percent),
    var(--border) 100%
  );
  outline: none;
  cursor: pointer;
  margin: 8px 0;
}

.parcela-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--dark);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.2), 0 2px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}

.parcela-slider::-webkit-slider-thumb:hover {
  box-shadow: 0 0 0 5px rgba(201, 168, 76, 0.25), 0 2px 12px rgba(0, 0, 0, 0.4);
}

.parcela-slider::-webkit-slider-thumb:active {
  box-shadow: 0 0 0 6px rgba(201, 168, 76, 0.3), 0 2px 16px rgba(0, 0, 0, 0.5);
  transform: scale(1.05);
}

.parcela-slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--dark);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.2), 0 2px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.parcela-slider::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: var(--border);
}

.parcela-slider::-moz-range-progress {
  height: 6px;
  border-radius: 3px;
  background: var(--gold);
}

.slider-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}


/* ── ANIMATIONS (subtle & elegant) ── */

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

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

@keyframes pulse-glow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.7;
  }
}

@keyframes popIn {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes ring-pulse {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.25);
  }
}

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

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes economy-pulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

/* ── CTA BORDER SWEEP ── */

@keyframes cta-border-sweep {
  0%, 65%, 100% { background-position: 200% 0; }
  30% { background-position: -100% 0; }
}

/* ── CELEBRATE (economy card "you won" effect) ── */

@keyframes celebrate-pop {
  0% {
    opacity: 0;
    transform: scale(0.82);
  }
  55% {
    opacity: 1;
    transform: scale(1.04);
  }
  75% {
    transform: scale(0.98);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes celebrate-shine {
  0% {
    left: -100%;
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    left: 200%;
    opacity: 0;
  }
}

@keyframes celebrate-border-glow {
  0% {
    border-color: rgba(201, 168, 76, 0.22);
    box-shadow: 0 0 0 0 rgba(201, 168, 76, 0);
  }
  35% {
    border-color: rgba(201, 168, 76, 0.65);
    box-shadow: 0 0 24px 3px rgba(201, 168, 76, 0.2);
  }
  100% {
    border-color: rgba(201, 168, 76, 0.22);
    box-shadow: 0 0 0 0 rgba(201, 168, 76, 0);
  }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
