/* ═══════════════════════════════════════════════════════════════
   Kampy Landing — Design System & Landing Styles
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* ── Brand ── */
  --kf-blue:        #007ACC;
  --kf-blue-700:    #0063A6;
  --kf-blue-800:    #004E84;
  --kf-blue-300:    #5BAEE3;
  --kf-blue-100:    #DCEEF9;
  --kf-blue-050:    #EFF7FC;

  /* ── Surfaces ── */
  --kf-dark:        #0B1A2B;
  --kf-slate:       #1A2332;
  --kf-slate-700:   #283449;
  --kf-gray-900:    #111827;
  --kf-gray-700:    #374151;
  --kf-gray-500:    #6B7280;
  --kf-gray-400:    #9CA3AF;
  --kf-gray-300:    #D1D5DB;
  --kf-gray-200:    #E5E7EB;
  --kf-surface:     #EEF2F7;
  --kf-white:       #FFFFFF;

  /* ── Navigation ── */
  --kf-nav-bg:      rgba(238, 242, 247, 0.78);

  /* ── Semantic ── */
  --kf-success:     #16a34a;
  --kf-success-100: #dcfce7;
  --kf-warning:     #C2840A;
  --kf-warning-100: #FBF1D9;
  --kf-danger:      #D64545;
  --kf-danger-100:  #FBE6E6;

  /* ── Typography ── */
  --font-sans: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* ── Spacing ── */
  --space-1:   4px;
  --space-2:   8px;
  --space-3:   12px;
  --space-4:   16px;
  --space-5:   20px;
  --space-6:   24px;
  --space-8:   32px;
  --space-10:  40px;
  --space-12:  48px;
  --space-16:  64px;

  /* ── Radii ── */
  --radius-xs:   6px;
  --radius-sm:   10px;
  --radius-md:   14px;
  --radius-lg:   16px;
  --radius-xl:   20px;
  --radius-pill: 999px;

  /* ── Shadows ── */
  --shadow-xs:    0 1px 2px rgba(13, 17, 23, 0.04);
  --shadow-sm:    0 1px 3px rgba(13, 17, 23, 0.06), 0 1px 2px rgba(13, 17, 23, 0.04);
  --shadow-md:    0 4px 12px rgba(13, 17, 23, 0.07);
  --shadow-lg:    0 12px 32px rgba(13, 17, 23, 0.10);
  --shadow-brand: 0 6px 18px rgba(0, 122, 204, 0.28);

  /* ── Motion ── */
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --dur-fast:   0.12s;
  --dur-normal: 0.18s;
  --dur-slow:   0.28s;
}

/* ═══════════════════════════════════════════════════════════════
   Base
   ═══════════════════════════════════════════════════════════════ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--kf-surface);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--kf-blue-100); }

/* ═══════════════════════════════════════════════════════════════
   Navigation
   ═══════════════════════════════════════════════════════════════ */
.kf-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 76px;
  background: rgba(238,242,247,.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(13,17,23,.05);
}
.kf-nav-inner {
  max-width: 1200px; margin: 0 auto; height: 100%;
  padding: 0 clamp(20px,5vw,40px);
  display: flex; align-items: center; justify-content: space-between;
}
.kf-nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.kf-nav-links { display: flex; align-items: center; gap: 38px; }
.kf-navlink {
  font-size: 15px; font-weight: 500; color: var(--kf-gray-700);
  text-decoration: none; transition: color .2s ease;
}
.kf-navlink:hover { color: var(--kf-dark) !important; }

/* ═══════════════════════════════════════════════════════════════
   Buttons
   ═══════════════════════════════════════════════════════════════ */
.kf-btn {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.kf-btn-primary {
  height: 58px; padding: 0 32px; border-radius: var(--radius-sm);
  background: var(--kf-blue); color: #fff; font-weight: 600; font-size: 17px;
  box-shadow: var(--shadow-brand);
}
.kf-btn-primary:hover {
  background: var(--kf-blue-700); transform: translateY(-2px);
  box-shadow: 0 12px 30px -8px rgba(0,122,204,.5); color: #fff;
}
.kf-btn-primary-sm {
  height: 42px; padding: 0 22px; border-radius: var(--radius-sm);
  background: var(--kf-blue); color: #fff; font-weight: 600; font-size: 15px;
  box-shadow: var(--shadow-brand);
}
.kf-btn-primary-sm:hover {
  background: var(--kf-blue-700); transform: translateY(-2px);
  box-shadow: 0 12px 30px -8px rgba(0,122,204,.5); color: #fff;
}
.kf-btn-secondary {
  height: 58px; padding: 0 32px; border-radius: var(--radius-sm);
  background: #fff; color: var(--kf-dark);
  border: 1px solid var(--kf-gray-300); font-weight: 600; font-size: 17px;
  box-shadow: var(--shadow-xs);
}
.kf-btn-secondary:hover {
  background: var(--kf-dark); color: #fff; border-color: var(--kf-dark);
  transform: translateY(-2px);
}
.kf-btn-bright {
  height: 58px; padding: 0 34px; border-radius: var(--radius-sm);
  background: var(--kf-blue-300); color: var(--kf-dark);
  font-weight: 700; font-size: 17px;
}
.kf-btn-bright:hover {
  background: #7cc6ee; transform: translateY(-2px);
  box-shadow: 0 14px 32px -8px rgba(91,174,227,.45); color: var(--kf-dark);
}
.kf-btn-bright-lg {
  height: 60px; padding: 0 36px; border-radius: var(--radius-sm);
  background: var(--kf-blue-300); color: var(--kf-dark);
  font-weight: 700; font-size: 18px;
}
.kf-btn-bright-lg:hover {
  background: #7cc6ee; transform: translateY(-2px);
  box-shadow: 0 14px 32px -8px rgba(91,174,227,.45); color: var(--kf-dark);
}
.kf-arrow { transition: transform .25s ease; }
.kf-btn-primary:hover .kf-arrow,
.kf-btn-secondary:hover .kf-arrow,
.kf-btn-bright:hover .kf-arrow,
.kf-btn-bright-lg:hover .kf-arrow { transform: translateX(4px); }

/* ═══════════════════════════════════════════════════════════════
   Sections
   ═══════════════════════════════════════════════════════════════ */
.kf-section { padding: clamp(80px,11vw,150px) 0; }
.kf-section-container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px,5vw,40px); }
.kf-section-dark { background: var(--kf-dark); color: #fff; }
.kf-section-light { background: #EEF2F7; }
.kf-section-soft { background: #F6F9FC; }

.kf-section-label {
  font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--kf-blue); margin: 0 0 22px;
}
.kf-section-label-dark {
  font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--kf-blue-300); margin: 0 0 22px;
}
.kf-section-title {
  font-weight: 700; letter-spacing: -.03em; line-height: 1.04;
  font-size: clamp(38px,5.2vw,64px); color: var(--kf-dark); margin: 0;
}
.kf-section-title-dark {
  font-weight: 700; letter-spacing: -.03em; line-height: 1.04;
  font-size: clamp(38px,5.2vw,64px); color: #fff; margin: 0;
}
.kf-section-sub {
  font-size: clamp(17px,1.5vw,20px); line-height: 1.55;
  color: var(--kf-gray-500); max-width: 600px; margin: 28px 0 0;
}
.kf-section-sub-dark {
  font-size: clamp(17px,1.5vw,20px); line-height: 1.55;
  color: rgba(255,255,255,.62); max-width: 600px; margin: 28px 0 0;
}

/* ═══════════════════════════════════════════════════════════════
   Hero
   ═══════════════════════════════════════════════════════════════ */
.kf-hero { padding: clamp(132px,17vh,190px) 0 clamp(80px,9vw,120px); }
.kf-hero-container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px,5vw,40px); }
.kf-eyebrow {
  font-size: 14px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--kf-blue); margin: 0 0 26px;
}
.kf-hero-h {
  font-weight: 700; letter-spacing: -.035em; line-height: .95;
  font-size: clamp(52px,7.5vw,104px); color: var(--kf-dark); margin: 0;
}
.kf-hero-p {
  font-size: clamp(18px,1.7vw,22px); line-height: 1.5;
  color: var(--kf-gray-700); max-width: 640px; margin: 34px 0 0;
}
.kf-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 44px 0 0; }
.kf-hero-trust { margin: 64px 0 0; border-top: 1px solid var(--kf-gray-300); padding-top: 24px; max-width: 1120px; }
.kf-hero-trust p { font-size: 16px; color: var(--kf-gray-500); margin: 0; }

/* ═══════════════════════════════════════════════════════════════
   Grids
   ═══════════════════════════════════════════════════════════════ */
.kf-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.kf-grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; align-items: start; }
.kf-grid4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }

/* ═══════════════════════════════════════════════════════════════
   Stats (Pesquisa)
   ═══════════════════════════════════════════════════════════════ */
.kf-stat { padding: 0 40px 0 0; border-left: 1px solid rgba(255,255,255,.12); padding-left: 36px; }
.kf-stat-num {
  font-family: var(--font-mono); font-weight: 500;
  font-size: clamp(56px,6vw,84px); line-height: 1;
  color: var(--kf-blue-300); letter-spacing: -.04em;
}
.kf-stat-pct { font-size: .4em; vertical-align: super; }
.kf-stat-txt { font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.7); margin: 24px 0 0; max-width: 280px; }
.kf-stat-note {
  font-family: var(--font-mono); font-size: 13px; color: rgba(255,255,255,.4);
  margin: clamp(48px,6vw,72px) 0 0; border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px;
}

/* ═══════════════════════════════════════════════════════════════
   Pilares
   ═══════════════════════════════════════════════════════════════ */
.kf-pillar { padding: 0 36px; border-left: 1px solid var(--kf-gray-300); }
.kf-pillar-num { font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: .1em; color: var(--kf-blue); margin: 0; }
.kf-pillar-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: #fff; border: 1px solid var(--kf-gray-200);
  display: flex; align-items: center; justify-content: center;
  color: var(--kf-blue); margin: 28px 0 26px; box-shadow: var(--shadow-xs);
}
.kf-pillar-title { font-weight: 700; letter-spacing: -.02em; font-size: clamp(24px,2.2vw,30px); color: var(--kf-dark); margin: 0; }
.kf-pillar-desc { font-size: 16px; line-height: 1.55; color: var(--kf-gray-500); margin: 16px 0 28px; }
.kf-pillar-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.kf-pillar-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 0; border-top: 1px solid var(--kf-gray-200);
  font-size: 15px; color: var(--kf-gray-700);
}
.kf-pillar-dot { margin-top: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--kf-blue); flex: 0 0 6px; }

/* ═══════════════════════════════════════════════════════════════
   Antes/Depois
   ═══════════════════════════════════════════════════════════════ */
.kf-compare-card { padding: clamp(28px,3vw,40px); }
.kf-compare-list { list-style: none; margin: 0; padding: 0; }
.kf-compare-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 0; border-top: 1px solid var(--kf-gray-200);
  font-size: 16px; line-height: 1.5; color: var(--kf-gray-700);
}
.kf-compare-dot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--kf-gray-400); margin-top: 5px; }
.kf-compare-check { flex: 0 0 18px; margin-top: 2px; }

/* ═══════════════════════════════════════════════════════════════
   Calculator
   ═══════════════════════════════════════════════════════════════ */
.kf-calc-section { position: relative; overflow: hidden; }
.kf-calc-glow {
  position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 760px; height: 520px;
  background: radial-gradient(ellipse at center, rgba(0,122,204,.22), transparent 70%);
  pointer-events: none;
}
.kf-calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.kf-calc-card { background: var(--kf-slate); border: 1px solid var(--kf-slate-700); border-radius: var(--radius-xl); padding: clamp(24px,3vw,40px); }
.kf-calc-inputs { display: flex; flex-direction: column; gap: clamp(24px,3vw,38px); padding: clamp(8px,1.5vw,20px); }
.kf-calc-label { display: flex; justify-content: space-between; align-items: baseline; }
.kf-calc-label span:first-child { font-size: 16px; color: rgba(255,255,255,.78); }
.kf-calc-val { font-family: var(--font-mono); font-weight: 500; font-size: 20px; color: var(--kf-blue-300); }
.kf-range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px;
  border-radius: 999px; background: rgba(255,255,255,.15); outline: none; margin: 14px 0 0;
}
.kf-range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--kf-blue-300); border: 3px solid var(--kf-dark);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 4px 12px rgba(0,0,0,.4);
  cursor: pointer; transition: transform .15s ease;
}
.kf-range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.kf-range::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--kf-blue-300); border: 3px solid var(--kf-dark);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 4px 12px rgba(0,0,0,.4);
  cursor: pointer; transition: transform .15s ease;
}
.kf-range-hint { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,.35); }
.kf-calc-result { background: var(--kf-dark); border: 1px solid var(--kf-slate-700); border-radius: var(--radius-lg); padding: clamp(22px,2.5vw,32px); display: flex; flex-direction: column; }
.kf-calc-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08);
  font-family: var(--font-sans); font-size: 15px; color: rgba(255,255,255,.6);
}
.kf-calc-row-val { font-family: var(--font-mono); font-weight: 500; font-size: 19px; color: rgba(255,255,255,.85); }
.kf-calc-row-val-bright { font-family: var(--font-mono); font-weight: 600; font-size: 19px; color: #fff; }
.kf-calc-highlight { padding: 20px 0 0; }
.kf-calc-highlight-label { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 6px; }
.kf-calc-highlight-mes { font-family: var(--font-mono); font-weight: 500; font-size: clamp(34px,4vw,52px); line-height: 1; color: #fff; letter-spacing: -.03em; }
.kf-calc-highlight-ano { font-family: var(--font-mono); font-weight: 500; font-size: clamp(44px,5.5vw,72px); line-height: 1; color: var(--kf-blue-300); letter-spacing: -.03em; }
.kf-calc-cta-txt { font-size: 17px; color: rgba(255,255,255,.78); margin: 0 0 26px; }
.kf-calc-disclaimer { font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.4); max-width: 620px; margin: 36px auto 0; }

/* ═══════════════════════════════════════════════════════════════
   Plan Cards
   ═══════════════════════════════════════════════════════════════ */
.plan-card {
  background: #fff; border: 1px solid var(--kf-gray-200);
  border-radius: var(--radius-lg); padding: clamp(26px,2.4vw,34px);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.plan-card--featured {
  position: relative; background: var(--kf-dark);
  border-radius: var(--radius-lg); padding: clamp(28px,2.6vw,38px);
  box-shadow: var(--shadow-lg); transform: scale(1.03);
  border: 1px solid rgba(255,255,255,.1);
}
.plan-card--featured:hover { transform: scale(1.04); }

.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--kf-blue-300); color: var(--kf-dark);
  font-weight: 700; font-size: 12px; letter-spacing: .04em;
  padding: 5px 16px; border-radius: 999px; white-space: nowrap;
}

.plan-name { font-weight: 700; font-size: 24px; letter-spacing: -.02em; color: var(--kf-dark); margin: 0; }
.plan-name--dark { font-weight: 700; font-size: 24px; letter-spacing: -.02em; color: var(--kf-blue-300); margin: 0; }
.plan-desc { font-size: 15px; color: var(--kf-gray-500); margin: 8px 0 0; }
.plan-desc--dark { font-size: 15px; color: rgba(255,255,255,.6); margin: 8px 0 0; }
.plan-price { margin: 28px 0 4px; display: flex; align-items: baseline; gap: 4px; }
.plan-rs { font-family: var(--font-mono); font-size: 20px; color: var(--kf-gray-500); }
.plan-rs--dark { font-family: var(--font-mono); font-size: 20px; color: rgba(255,255,255,.55); }
.plan-amount { font-family: var(--font-mono); font-weight: 500; font-size: 56px; line-height: 1; color: var(--kf-dark); letter-spacing: -.03em; }
.plan-amount--dark { font-family: var(--font-mono); font-weight: 500; font-size: 56px; line-height: 1; color: #fff; letter-spacing: -.03em; }
.plan-period { font-family: var(--font-sans); font-size: 16px; color: var(--kf-gray-500); }
.plan-period--dark { font-family: var(--font-sans); font-size: 16px; color: rgba(255,255,255,.55); }
.plan-sub { font-size: 13px; font-weight: 500; line-height: 1.45; color: var(--kf-gray-500); margin: 22px 0 0; padding-bottom: 18px; border-bottom: 1px solid var(--kf-gray-200); }
.plan-sub--dark { font-size: 13px; font-weight: 500; line-height: 1.45; color: rgba(255,255,255,.6); margin: 22px 0 0; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
.plan-features { list-style: none; margin: 20px 0 28px; padding: 0; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.plan-features li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--kf-gray-700); }
.plan-features--dark li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: rgba(255,255,255,.85); }
.plan-features .check-icon { flex: 0 0 18px; margin-top: 1px; }
.plan-cta {
  display: flex; align-items: center; justify-content: center;
  height: 50px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px; text-decoration: none;
  transition: background .25s ease, transform .25s ease;
}
.plan-cta--outline { background: #fff; border: 1px solid var(--kf-gray-300); color: var(--kf-dark); }
.plan-cta--outline:hover { background: var(--kf-dark); color: #fff; border-color: var(--kf-dark); transform: translateY(-1px); }
.plan-cta--primary { background: var(--kf-blue-300); color: var(--kf-dark); font-weight: 700; }
.plan-cta--primary:hover { background: #7cc6ee; transform: translateY(-1px); }
.plan-footer-txt { font-size: 15px; text-align: center; color: var(--kf-gray-500); margin: clamp(36px,4vw,52px) 0 0; }

/* ═══════════════════════════════════════════════════════════════
   Garantia (Sem amarras)
   ═══════════════════════════════════════════════════════════════ */
.kf-garantia-icon { width: 52px; height: 52px; border-radius: var(--radius-md); background: var(--kf-blue-050); display: flex; align-items: center; justify-content: center; color: var(--kf-blue); margin-bottom: 28px; }
.kf-garantia-icon-dark { width: 52px; height: 52px; border-radius: var(--radius-md); background: rgba(91,174,227,.14); display: flex; align-items: center; justify-content: center; color: var(--kf-blue-300); margin-bottom: 28px; }
.kf-garantia-title { font-weight: 700; letter-spacing: -.02em; font-size: clamp(23px,2.3vw,30px); color: var(--kf-dark); margin: 0 0 14px; }
.kf-garantia-title-dark { font-weight: 700; letter-spacing: -.02em; font-size: clamp(23px,2.3vw,30px); color: #fff; margin: 0 0 14px; }
.kf-garantia-desc { font-size: 16px; line-height: 1.6; color: var(--kf-gray-500); margin: 0; }
.kf-garantia-desc-dark { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.65); margin: 0; }

/* ═══════════════════════════════════════════════════════════════
   Depoimentos
   ═══════════════════════════════════════════════════════════════ */
.kf-test-card {
  background: #fff; border: 1px solid var(--kf-gray-200);
  border-radius: var(--radius-lg); padding: clamp(26px,2.6vw,34px);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.kf-test-card:hover { transform: translateY(-4px); }
.kf-test-quote { font-size: 18px; line-height: 1.55; color: var(--kf-dark); margin: 0 0 28px; }
.kf-test-author { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--kf-gray-200); padding-top: 22px; }
.kf-test-avatar { width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--kf-blue-100); color: var(--kf-blue-800); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; }
.kf-test-name { font-weight: 600; font-size: 15px; color: var(--kf-dark); }
.kf-test-role { font-size: 13px; color: var(--kf-gray-500); }

/* ═══════════════════════════════════════════════════════════════
   Metrics Row
   ═══════════════════════════════════════════════════════════════ */
.kf-metric { text-align: center; border-right: 1px solid var(--kf-gray-300); padding: 0 16px; }
.kf-metric:last-child { border-right: none; }
.kf-metric-num { font-family: var(--font-mono); font-weight: 500; font-size: clamp(36px,4vw,56px); line-height: 1; color: var(--kf-dark); letter-spacing: -.03em; }
.kf-metric-label { font-family: var(--font-sans); font-size: 14px; color: var(--kf-gray-500); margin-top: 12px; }

/* ═══════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════ */
.kf-faq { border-top: 1px solid var(--kf-gray-300); }
.kf-faq:last-child { border-bottom: 1px solid var(--kf-gray-300); }
.kf-faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 26px 0; text-align: left;
  font-weight: 600; font-size: clamp(17px,1.6vw,20px); color: var(--kf-dark);
  transition: color .2s ease;
}
.kf-faq:hover .kf-faq-q { color: var(--kf-blue); }
.kf-faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease, opacity .4s ease; opacity: 0; }
.kf-faq.kf-open .kf-faq-a { max-height: 240px; opacity: 1; }
.kf-faq-a p { font-size: 17px; line-height: 1.6; color: var(--kf-gray-500); margin: 0; padding: 0 0 26px; max-width: 680px; }
.kf-faq-plus { transition: transform .3s ease; flex: 0 0 22px; }
.kf-faq.kf-open .kf-faq-plus { transform: rotate(45deg); }

/* ═══════════════════════════════════════════════════════════════
   CTA Final
   ═══════════════════════════════════════════════════════════════ */
.kf-cta-final { position: relative; overflow: hidden; }
.kf-cta-final-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(0,122,204,.25), transparent 68%);
  pointer-events: none;
}
.kf-cta-final-title { font-weight: 700; letter-spacing: -.035em; line-height: .98; font-size: clamp(44px,7vw,96px); color: #fff; margin: 0; }
.kf-cta-final-sub { font-size: clamp(17px,1.6vw,21px); line-height: 1.5; color: rgba(255,255,255,.65); max-width: 600px; margin: 30px auto 0; }
.kf-cta-final-tagline { font-weight: 600; font-size: 17px; color: var(--kf-blue-300); margin: 40px 0 0; }

/* ═══════════════════════════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════════════════════════ */
.kf-footer { background: #090D12; padding: clamp(64px,8vw,96px) 0 40px; }
.kf-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.kf-footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.kf-footer-brand span { font-weight: 700; font-size: 22px; letter-spacing: -.03em; color: #fff; }
.kf-footer-desc { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.5); max-width: 300px; margin: 0; }
.kf-footer-col-title { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4); margin: 0 0 20px; }
.kf-footer-col { display: flex; flex-direction: column; gap: 14px; }
.kf-foot-link { font-size: 15px; color: rgba(255,255,255,.6); text-decoration: none; transition: color .2s ease; }
.kf-foot-link:hover { color: #fff !important; }
.kf-footer-bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-top: clamp(48px,6vw,72px); padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); }
.kf-footer-copy { font-size: 14px; color: rgba(255,255,255,.4); margin: 0; }
.kf-footer-links { display: flex; gap: 32px; }

/* ═══════════════════════════════════════════════════════════════
   Reveal Animations
   ═══════════════════════════════════════════════════════════════ */
.kf-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.25,.46,.45,.94), transform .8s cubic-bezier(.25,.46,.45,.94); }
.kf-reveal.kf-in { opacity: 1; transform: none; }
.kf-hero-anim { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.25,.46,.45,.94), transform .9s cubic-bezier(.25,.46,.45,.94); }
.kf-hero-anim.kf-in { opacity: 1; transform: none; }
.kf-d1 { transition-delay: .1s; }
.kf-d2 { transition-delay: .25s; }
.kf-d3 { transition-delay: .4s; }
.kf-d4 { transition-delay: .55s; }

/* ═══════════════════════════════════════════════════════════════
   Onboarding — Stepper & Forms
   ═══════════════════════════════════════════════════════════════ */
.onboarding-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--kf-dark) 0%, #1e293b 50%, #0f172a 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
}

.onboarding-header {
  z-index: 2;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.onboarding-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.onboarding-logo:hover { color: #fff; }

/* Stepper */
.onboarding-stepper {
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 1rem 0 2rem;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.step-dot {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.step-item.active .step-dot {
  background: var(--kf-blue);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 122, 204, 0.4);
}

.step-item.completed .step-dot {
  background: var(--kf-success);
  border-color: var(--kf-success);
  color: #fff;
}

.step-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #94a3b8;
  white-space: nowrap;
}

.step-item.active .step-label { color: #fff; }

.step-line {
  width: 3rem;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 0.75rem;
  align-self: center;
  margin-top: -1rem;
}

.step-line.completed { background: var(--kf-success); }

/* Onboarding Card */
.onboarding-card {
  z-index: 2;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 620px;
  width: 100%;
  margin: 0 auto 3rem;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.onboarding-card-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #fff;
}

.onboarding-card-subtitle {
  color: #94a3b8;
  font-size: 0.9375rem;
  margin-bottom: 2rem;
}

/* Onboarding Form */
.onboarding-form .form-label {
  color: #cbd5e1;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
}

.onboarding-form .form-control,
.onboarding-form .form-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.9375rem;
  padding: 0.75rem 1rem;
  transition: all 0.2s ease;
}

.onboarding-form .form-control::placeholder { color: #64748b; }

.onboarding-form .form-control:focus,
.onboarding-form .form-select:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--kf-blue-300);
  box-shadow: 0 0 0 3px rgba(0, 122, 204, 0.2);
  color: #fff;
  outline: none;
}

.onboarding-form .form-control.is-invalid,
.onboarding-form .form-select.is-invalid {
  border-color: var(--kf-danger);
  background: rgba(239, 68, 68, 0.05);
}

.onboarding-form .invalid-feedback {
  color: #f87171;
  font-size: 0.8125rem;
  margin-top: 0.25rem;
}

.onboarding-form .form-text { color: #64748b; font-size: 0.8125rem; }

/* Onboarding Button */
.onboarding-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background: var(--kf-blue);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-sm);
  border: none;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.onboarding-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -10px rgba(0, 122, 204, 0.5);
  color: #fff;
}

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

/* Plan Option Cards */
.plan-options {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 1.5rem;
}

.plan-option {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.plan-option:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.plan-option.selected {
  border-color: var(--kf-blue);
  background: rgba(0, 122, 204, 0.08);
  box-shadow: 0 0 0 3px rgba(0, 122, 204, 0.15);
}

.plan-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: transparent;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s ease;
}

.plan-option input[type="radio"]:checked {
  border-color: var(--kf-blue);
  background: var(--kf-blue);
}

.plan-option input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 0.375rem;
  height: 0.375rem;
  background: #fff;
  border-radius: 50%;
}

.plan-option-info { flex: 1; }

.plan-option-name {
  font-weight: 600;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.125rem;
}

.plan-option-desc {
  color: #94a3b8;
  font-size: 0.8125rem;
}

.plan-option-price {
  font-weight: 700;
  color: var(--kf-blue-300);
  font-size: 1.125rem;
  white-space: nowrap;
}

.plan-option-badge {
  position: absolute;
  top: -0.5rem;
  right: 1rem;
  background: var(--kf-blue);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
}

/* Ciclo Selector */
.ciclo-selector {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.ciclo-option { flex: 1; position: relative; }

.ciclo-option input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.ciclo-option label {
  display: block;
  text-align: center;
  padding: 0.875rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ciclo-option input[type="radio"]:checked + label {
  border-color: var(--kf-blue);
  background: rgba(0, 122, 204, 0.08);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(0, 122, 204, 0.15);
}

/* Resumo / Alert */
.onboarding-alert {
  background: rgba(91, 174, 227, 0.08);
  border: 1px solid rgba(91, 174, 227, 0.2);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  color: #67e8f9;
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

.onboarding-alert strong { color: #fff; }

.onboarding-footer {
  z-index: 2;
  text-align: center;
  padding: 1.5rem;
  color: #64748b;
  font-size: 0.8125rem;
}

/* ═══════════════════════════════════════════════════════════════
   Payment Page
   ═══════════════════════════════════════════════════════════════ */
.payment-page { min-height: 100vh; background: var(--kf-surface); }

.qr-code-container {
  background: #fff;
  border: 2px solid var(--kf-gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: inline-block;
  margin: 1.5rem 0;
}

.qr-code-container img { max-width: 220px; }

.resumo-box {
  background: var(--kf-blue-050);
  border: 1px solid var(--kf-blue-100);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  color: var(--kf-dark);
  font-size: 0.9375rem;
}

.pix-copia-cola {
  background: #f8fafc;
  border: 1px solid var(--kf-gray-200);
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--kf-gray-700);
  word-break: break-all;
  max-height: 100px;
  overflow-y: auto;
  margin: 1rem 0;
}

/* ═══════════════════════════════════════════════════════════════
   Obrigado / Success Page
   ═══════════════════════════════════════════════════════════════ */
.success-page { min-height: 100vh; background: var(--kf-surface); display: flex; align-items: center; justify-content: center; }
.success-check { width: 80px; height: 80px; border-radius: 50%; background: var(--kf-success); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 2rem; font-size: 2.5rem; }
.success-title { font-size: clamp(28px,3.5vw,44px); font-weight: 700; color: var(--kf-dark); margin-bottom: 1rem; }
.success-sub { color: var(--kf-gray-500); font-size: 1.125rem; margin-bottom: 2rem; }
.success-countdown { font-size: 1.25rem; font-weight: 600; color: var(--kf-blue); }

/* ═══════════════════════════════════════════════════════════════
   Toast Notifications (Django messages pattern)
   ═══════════════════════════════════════════════════════════════ */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kf-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #16a34a;
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
  font-weight: 500;
  font-size: 15px;
  min-width: 280px;
  max-width: 420px;
  animation: kf-toast-slide-in .35s var(--ease-standard) forwards;
  transition: opacity .3s ease, transform .3s ease;
}

.kf-toast--error   { background: var(--kf-danger); }
.kf-toast--warning { background: var(--kf-warning); color: var(--kf-dark); }
.kf-toast--info    { background: var(--kf-blue-700); }

.kf-toast .toast-close {
  margin-left: auto;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  opacity: 0.7;
  font-size: 1.1rem;
  padding: 0 4px;
  line-height: 1;
}
.kf-toast .toast-close:hover { opacity: 1; }

.kf-toast--out {
  opacity: 0;
  transform: translateX(40px);
}

@keyframes kf-toast-slide-in {
  from { opacity: 0; transform: translateX(60px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ═══════════════════════════════════════════════════════════════
   Form Error Banner
   ═══════════════════════════════════════════════════════════════ */
.form-error-banner {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: #f87171;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.form-error-banner ul {
  margin: 0;
  padding-left: 1.25rem;
}

/* ═══════════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 880px) {
  .kf-grid3, .kf-grid2, .kf-grid4 { grid-template-columns: 1fr !important; }
  .kf-nav-links { display: none !important; }
  .kf-calc-grid { grid-template-columns: 1fr !important; }
  .kf-hero-h { font-size: clamp(52px,15vw,80px) !important; }
  .plan-card--featured { transform: none !important; }
  .kf-footer-grid { grid-template-columns: 1fr 1fr !important; }
  .onboarding-card { margin: 0 1rem 2rem; padding: 1.75rem; }
}

@media (max-width: 576px) {
  .kf-footer-grid { grid-template-columns: 1fr !important; }
}
