/* ================================================
   TVA Finanças — LP-01 Isca Digital
   ================================================ */

:root {
  --dark:       #0F0626;
  --navy:       #1E0A4C;
  --purple:     #6B21A8;
  --accent:     #9333EA;
  --gold:       #C9A84C;
  --gold-hover: #D4B55A;
  --light:      #F5F2FF;
  --white:      #FFFFFF;
  --text:       #1E0A4C;
  --muted:      #6B7280;
  --border:     #E5E7EB;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- HELPERS ---- */
.section-light { background: var(--light); }
.section-dark  { background: var(--navy); color: var(--white); }

.centered { text-align: center; }

.section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 56px;
}

.section-header h2 { font-size: 38px; font-weight: 800; line-height: 1.2; margin-bottom: 14px; }
.section-header p  { font-size: 16px; color: var(--muted); line-height: 1.7; }

.section-cta { text-align: center; margin-top: 44px; }

/* ---- BUTTONS ---- */
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201,168,76,0.35);
}

/* ---- HEADER ---- */
.header {
  background: var(--dark);
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-logo {
  height: 50px;
  width: auto;
}

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--navy) 55%, #2D1264 100%);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -60px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(147,51,234,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 36px;
  line-height: 1.7;
}

/* Form card inside hero */
.form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}

.form-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.form-card input {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 12px;
  transition: border-color 0.2s;
  outline: none;
}

.form-card input:focus { border-color: var(--purple); }

.form-card input::placeholder { color: #9CA3AF; }

.btn-form-submit {
  display: block;
  width: 100%;
  background: var(--gold);
  color: var(--dark);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  margin-top: 4px;
}

.btn-form-submit:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}

/* ---- STATS ---- */
.stats {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 30px 0;
}

.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 52px;
}

.stat-item strong {
  font-size: 26px;
  font-weight: 800;
  color: var(--purple);
  line-height: 1;
}

.stat-item span {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
  flex-shrink: 0;
}

/* ---- PROFILES ---- */
.profiles { padding: 88px 0; }

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.profile-card {
  background: var(--white);
  border-radius: 14px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  border-top: 4px solid transparent;
  transition: transform 0.25s, box-shadow 0.25s;
}

.profile-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.profile-card.c1 { border-top-color: #EF4444; }
.profile-card.c2 { border-top-color: #F59E0B; }
.profile-card.c3 { border-top-color: #3B82F6; }
.profile-card.c4 { border-top-color: #10B981; }

.profile-icon { font-size: 38px; margin-bottom: 14px; }

.profile-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.profile-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.profile-risk {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 4px 12px;
  border-radius: 100px;
}

.risk-high { background: #FEE2E2; color: #DC2626; }
.risk-mid  { background: #FEF3C7; color: #D97706; }
.risk-low  { background: #DBEAFE; color: #2563EB; }
.risk-none { background: #D1FAE5; color: #059669; }

/* ---- DELIVERABLES ---- */
.deliverables { padding: 88px 0; }

.deliverables-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.deliverables-text h2 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 32px;
}

.deliverables-text h2 em {
  font-style: normal;
  color: var(--gold);
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 36px;
}

.check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.check-icon { font-size: 18px; flex-shrink: 0; margin-top: 2px; }

.check-list li div {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  line-height: 1.55;
}

.check-list li div strong { color: var(--white); }

/* Mockup */
.mockup-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.45);
}

.mockup-header {
  background: #1C1C1E;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dots span:nth-child(1) { background: #FF5F57; }
.mockup-dots span:nth-child(2) { background: #FFBD2E; }
.mockup-dots span:nth-child(3) { background: #28C840; }

.mockup-title {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  font-family: 'Inter', monospace;
}

.mockup-body { padding: 16px; }

.mockup-table { width: 100%; }

.mockup-row {
  display: grid;
  grid-template-columns: 1fr 56px 90px;
  gap: 8px;
  padding: 9px 10px;
  border-bottom: 1px solid #F3F4F6;
  font-size: 12.5px;
  align-items: center;
  color: #374151;
}

.mockup-row.mrow-header {
  background: #F9FAFB;
  font-size: 10px;
  font-weight: 700;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.score-high { color: #059669; font-weight: 700; }
.score-mid  { color: #D97706; font-weight: 700; }
.score-low  { color: #DC2626; font-weight: 700; }

.tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  text-align: center;
  white-space: nowrap;
}

.tag-green  { background: #D1FAE5; color: #059669; }
.tag-blue   { background: #DBEAFE; color: #2563EB; }
.tag-purple { background: #EDE9FE; color: #7C3AED; }
.tag-orange { background: #FEF3C7; color: #D97706; }

.mockup-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 10px 6px;
  margin-top: 10px;
  border-top: 2px solid var(--gold);
}

.mockup-result span { font-size: 11px; color: #9CA3AF; }
.mockup-result strong { font-size: 15px; font-weight: 800; color: var(--purple); }

/* ---- FOR WHO ---- */
.for-who { padding: 88px 0; }

.for-who h2 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 48px;
}

.for-who h2 em {
  font-style: normal;
  color: var(--purple);
}

.for-who-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}

.for-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  padding: 20px 24px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.for-check { font-size: 20px; flex-shrink: 0; }
.for-item p { font-size: 15px; color: var(--text); line-height: 1.5; }

/* ---- FORM SECTION ---- */
.form-section {
  background: var(--dark);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}

.form-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(147,51,234,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.form-wrapper {
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.form-wrapper h2 {
  font-size: 38px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 12px;
}

.form-wrapper h2 em {
  font-style: normal;
  color: var(--gold);
}

.form-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 36px;
}

.form-group { text-align: left; margin-bottom: 14px; }

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input {
  display: block;
  width: 100%;
  padding: 15px 18px;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.form-group input::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.1);
}

.btn-form-main {
  display: block;
  width: 100%;
  background: var(--gold);
  color: var(--dark);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  padding: 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-form-main:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201,168,76,0.3);
}

.form-security {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  margin-top: 14px;
}

/* ---- FOOTER ---- */
.footer {
  background: #080318;
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-logo { height: 42px; width: auto; }

.footer p {
  font-size: 13px;
  color: rgba(255,255,255,0.28);
}

.footer-disclaimer {
  max-width: 640px;
  font-size: 11px;
  color: rgba(255,255,255,0.18);
  line-height: 1.6;
  text-align: center;
  margin-top: 4px;
}

/* ---- SUCCESS STATE ---- */
.success-message {
  text-align: center;
  padding: 32px 0;
}

.success-message .success-icon { font-size: 52px; margin-bottom: 16px; }

.success-message h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.success-message p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
}

/* ---- THANK YOU PAGE ---- */
.ty-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--navy) 55%, #2D1264 100%);
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.ty-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -60px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(147,51,234,0.14) 0%, transparent 65%);
  pointer-events: none;
}

.ty-card {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.ty-icon {
  font-size: 64px;
  margin-bottom: 18px;
  animation: ty-pop 0.5s ease;
}

@keyframes ty-pop {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.ty-card .badge { margin-bottom: 20px; }

.ty-card h1 {
  font-size: 40px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
}

.ty-card h1 #tyName { color: var(--gold); }

.ty-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: 34px;
}

.ty-sub strong { color: var(--white); }

.ty-download {
  font-size: 18px;
  padding: 18px 40px;
}

.ty-note {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 16px;
}

.ty-note a { color: var(--gold); text-decoration: underline; }

.ty-steps {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 28px 32px;
  margin: 40px auto 0;
  max-width: 480px;
  text-align: left;
}

.ty-steps-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.ty-steps ol {
  list-style: none;
  counter-reset: ty;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ty-steps li {
  counter-increment: ty;
  position: relative;
  padding-left: 40px;
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
}

.ty-steps li::before {
  content: counter(ty);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  background: var(--gold);
  color: var(--dark);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ty-steps li strong { color: var(--white); }

.ty-back {
  display: inline-block;
  margin-top: 34px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.ty-back:hover { color: var(--gold); }

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero { padding: 64px 0 72px; }
  .hero h1 { font-size: 36px; }

  .profiles-grid { grid-template-columns: repeat(2, 1fr); }

  .deliverables-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .stats-row { flex-wrap: wrap; gap: 20px; }
  .stat-divider { display: none; }
  .stat-item { flex: 1; min-width: 110px; padding: 0 20px; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 28px; }
  .section-header h2 { font-size: 26px; }
  .deliverables-text h2 { font-size: 26px; }
  .for-who h2 { font-size: 26px; }
  .form-wrapper h2 { font-size: 28px; }

  .profiles-grid { grid-template-columns: 1fr; }
  .for-who-grid  { grid-template-columns: 1fr; }

  .hero-form-wrap { display: none; }

  .badge { font-size: 10px; letter-spacing: 1px; }

  .ty-card h1 { font-size: 28px; }
  .ty-sub { font-size: 15px; }
  .ty-download { font-size: 16px; padding: 16px 28px; }
  .ty-steps { padding: 24px 22px; }
}
