/* =============================================
   SECTIONS.CSS - Estilos das Seções da Página
   ============================================= */

/* ---- HERO SECTION ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
  position: relative;
}

.hero-grid {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(
    ellipse 80% 60% at 50% 40%,
    black 40%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 80% 60% at 50% 40%,
    black 40%,
    transparent 100%
  );
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(
    ellipse,
    rgba(59, 130, 246, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  animation: fadeUp 0.7s 0.1s ease both;
  text-transform: uppercase;
}

.hero-title .white {
  color: #fff;
}

.hero-title .blue {
  color: var(--blue);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-dim);
  max-width: 520px;
  line-height: 1.7;
  margin-top: 1.5rem;
  animation: fadeUp 0.7s 0.2s ease both;
  font-weight: 300;
}

.hero-sub strong {
  color: var(--text);
  font-weight: 600;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.7s 0.3s ease both;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.7s 0.4s ease both;
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.25rem;
  color: #fff;
  line-height: 1;
}

.stat-num span {
  color: var(--blue);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.3rem;
}

/* ---- LOGOS SECTION ---- */
.logos-section {
  padding: 4rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}

.logos-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.logos-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* ---- PROBLEM SECTION ---- */
.problem-section {
  background: var(--bg2);
  padding: 5rem 1.5rem;
}

.problem-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.pain-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: 10px;
}

.pain-icon {
  color: var(--red);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.pain-text {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.pain-text strong {
  color: var(--text);
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
}

.problem-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.pv-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

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

.calc-row:last-child {
  border: none;
}

.calc-label {
  color: var(--text-dim);
}

.calc-val {
  font-family: var(--font-mono);
  font-weight: 700;
}

.calc-val.red {
  color: var(--red);
}

.calc-val.green {
  color: var(--green);
}

.calc-val.white {
  color: #fff;
}

.calc-total {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-total-label {
  font-size: 0.8rem;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.calc-total-val {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--green);
}

.calc-total-val.red-text {
  color: var(--red);
}

.calc-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* ---- FEATURES SECTION ---- */
.section {
  padding: 6rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}

/* ---- DEMO/TOUR SECTION ---- */
.demo-section {
  background: var(--bg2);
  padding: 6rem 1.5rem;
}

.demo-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.demo-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.demo-header-desc {
  color: var(--text-dim);
  font-size: 0.9rem;
  max-width: 300px;
  line-height: 1.6;
}

/* Tour Steps */
.tour-steps {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tour-steps::-webkit-scrollbar {
  display: none;
}

.tour-step {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: var(--transition-normal);
  white-space: nowrap;
  flex-shrink: 0;
}

.tour-step.active {
  border-color: var(--blue);
  color: var(--blue-bright);
  background: rgba(59, 130, 246, 0.1);
}

.ts-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  flex-shrink: 0;
}

.tour-step.active .ts-num {
  background: var(--blue);
  color: #fff;
}

/* Tour Layout */
.tour-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

/* Mock Shell */
.mock-shell {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.demo-bar {
  background: rgba(59, 130, 246, 0.08);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.demo-dots {
  display: flex;
  gap: 0.4rem;
}

.demo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.demo-dot.r {
  background: #ef4444;
}

.demo-dot.y {
  background: #eab308;
}

.demo-dot.g {
  background: #10b981;
}

.demo-title-bar {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.demo-info-btn {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--blue);
  border: 1px solid var(--blue);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.mock-body {
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.mock-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mock-panel {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  transition: 0.35s;
  display: none;
}

.mock-panel.mock-result {
  grid-column: 1 / -1;
}

.mock-panel.highlighted {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
  display: block;
  animation: slideInUp 0.35s ease both;
}

.mock-panel.dimmed {
  opacity: 0.3;
  pointer-events: none;
}

.hidden-panel {
  display: none;
}

.demo-panel-label {
  font-size: 0.65rem;
  color: var(--blue);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.demo-panel-label::before {
  content: "●";
  font-size: 0.5rem;
}

.demo-panel-label.red-label {
  color: var(--red);
}

.field-group {
  margin-bottom: 1.1rem;
}

.field-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  display: flex;
  justify-content: space-between;
}

.field-label span {
  color: var(--blue-bright);
  font-size: 0.65rem;
}

.field-input {
  width: 100%;
  background: #0a1828;
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.field-prefix {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.mock-locked {
  cursor: default;
  user-select: none;
}

.mock-val {
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

/* Slider Mock */
.margem-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.margem-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
}

.margem-icon {
  color: var(--orange);
  font-size: 1rem;
}

.margem-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--yellow);
}

.mock-slider-track {
  position: relative;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  margin: 0.25rem 0;
}

.mock-slider-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--yellow));
  border-radius: var(--radius-full);
}

.mock-slider-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--yellow);
  border: 3px solid #fff;
  box-shadow: 0 0 10px rgba(234, 179, 8, 0.5);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.6rem;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.slider-labels .active {
  color: var(--yellow);
  font-weight: 700;
}

/* Result Panel */
.result-bar-wrap {
  height: 32px;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  margin: 1rem 0;
  background: rgba(255, 255, 255, 0.05);
}

.rb {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  transition: width 0.5s ease;
}

.rb.produto {
  background: var(--blue);
}

.rb.taxa {
  background: var(--red);
}

.rb.lucro {
  background: var(--green);
}

.legend {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.leg-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.leg-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.leg-dot.blue {
  background: var(--blue);
}

.leg-dot.red {
  background: var(--red);
}

.leg-dot.green {
  background: var(--green);
}

.result-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.rnum {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}

.rnum-val {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.rnum-val.blue {
  color: var(--blue-bright);
}

.rnum-val.red {
  color: var(--red);
}

.rnum-val.green {
  color: var(--green);
}

.rnum-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Annotation Cards */
.annot-area {
  position: sticky;
  top: 80px;
}

.annot-card {
  display: none;
  flex-direction: column;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  animation: fadeSlideIn 0.3s ease both;
}

.annot-card.active {
  display: flex;
  animation: slideInUp 0.35s ease both;
}

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

.annot-num {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  color: var(--blue);
  text-transform: uppercase;
}

.annot-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  line-height: 1.1;
}

.annot-text {
  font-size: 0.87rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.annot-text strong {
  color: var(--text);
}

.annot-tip {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-md);
  padding: 0.7rem 0.9rem;
  font-size: 0.78rem;
  color: var(--blue-bright);
  line-height: 1.6;
}

.annot-nav {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.25rem;
  flex-wrap: wrap;
}

.annot-btn {
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
}

.annot-btn:hover {
  background: var(--blue-bright);
}

.annot-btn.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.annot-btn.ghost:hover {
  border-color: var(--blue);
  color: #fff;
}

.annot-btn.cta {
  background: var(--green);
  color: #fff;
}

.annot-btn.cta:hover {
  background: #34d399;
}

/* ---- MARKETPLACES SECTION ---- */
.mp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

/* ---- TESTIMONIALS SECTION ---- */
.testimonials-section {
  background: var(--bg2);
  padding: 6rem 1.5rem;
}

.testimonials-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

/* ---- PRICING SECTION ---- */
.pricing-section {
  background: var(--bg2);
  padding: 6rem 1.5rem;
}

.pricing-inner {
  max-width: 600px;
  margin: 0 auto;
}

.pricing-card-wrapper {
  max-width: 480px;
  margin: 0 auto;
}

/* ---- CTA FINAL ---- */
.cta-final {
  text-align: center;
  padding: 8rem 1.5rem;
  background: radial-gradient(
    ellipse 70% 60% at 50% 0%,
    rgba(59, 130, 246, 0.1),
    transparent
  );
  border-top: 1px solid var(--border);
  position: relative;
}

.cta-final h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 6rem);
  text-transform: uppercase;
  line-height: 0.95;
  color: #fff;
  margin-bottom: 1.5rem;
}

.cta-final h2 span {
  color: var(--blue);
}

.cta-final p {
  color: var(--text-dim);
  font-size: 1.1rem;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
