/* ==========================================================================
   SECTION 01: HERO & STATS BAR - CSS (Exato Figma)
   ========================================================================== */

.hero-section {
  position: relative;
  padding: 180px 0 90px;
  background-color: #f7fdfc;
  overflow: hidden;
}

.hero-bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-hero);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.01fr;
  gap: 64px;
  align-items: center;
  max-width: 1270px;
}

/* Coluna de Conteúdo */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-eyebrow {
  margin-bottom: 28px;
  display: inline-block;
  line-height: 1.4;
  text-align: left;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 58px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
  margin-bottom: 28px;
}

.hero-title .teal-text {
  color: var(--color-teal);
  font-weight: 600;
}

.hero-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 500px;
  margin-bottom: 40px;
}

/* CTA Group */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.hero-guarantee {
  font-size: 14px;
  color: var(--color-text-light);
}

/* ==========================================================================
   MOCKUP UI DO EASY GUIDE (Card Principal)
   ========================================================================== */
.hero-visual {
  position: relative;
  width: 100%;
}

.mockup-card {
  position: relative;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(18, 131, 116, 0.1);
  padding: 24px 28px 28px;
}

/* Topbar */
.mockup-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.mockup-brand {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--color-teal);
  letter-spacing: -0.02em;
}

.mockup-search-box {
  flex: 1;
  max-width: 320px;
  background: #f2f4f7;
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 12.5px;
  color: var(--color-text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mockup-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-teal);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Grid Interno (Sidebar + Dashboard) */
.mockup-grid {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
}

/* Sidebar */
.mockup-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 6px;
}

.mockup-nav .nav-btn {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-light);
  padding: 8px 12px;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mockup-nav .nav-btn.active {
  background: var(--color-teal);
  color: #ffffff;
  font-weight: 600;
}

.mockup-nav .nav-btn:not(.active):hover {
  color: var(--color-teal);
}

/* Panel Principal */
.mockup-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.panel-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.panel-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-teal);
}

.panel-greeting {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text-primary);
}

/* KPIs Row */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.kpi-box {
  background: var(--bg-card-subtle);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.kpi-title {
  font-size: 11px;
  color: var(--color-text-light);
  font-weight: 500;
}

.kpi-value {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
}

.kpi-diff {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-teal);
}

/* Flow Panel */
.flow-panel {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #edf2f7;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.flow-heading {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-primary);
}

.flow-chart {
  width: 100%;
  height: 65px;
}

.chart-svg {
  width: 100%;
  height: 100%;
}

/* Providers Table */
.providers-table {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #f2f4f7;
  padding-top: 8px;
}

.provider-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f8fafb;
}

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

.provider-meta {
  display: flex;
  flex-direction: column;
}

.provider-meta .name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-text-primary);
}

.provider-meta .count {
  font-size: 11px;
  color: var(--color-text-light);
}

.provider-rate {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-teal);
}

/* Floating Badges */
.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  padding: 12px 20px;
  border-radius: 100px;
  box-shadow: var(--shadow-badge);
  border: 1px solid rgba(18, 131, 116, 0.12);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
  z-index: 10;
  animation: float-anim 4s infinite ease-in-out;
}

.float-badge .check-circle {
  color: var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-top-right {
  top: -16px;
  right: -24px;
}

.badge-bottom-left {
  bottom: 24px;
  left: -32px;
  animation-delay: -2s;
}

@keyframes float-anim {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* ==========================================================================
   STATS BAR SECTION (Exato Figma: Fundo Branco, Números Teal)
   ========================================================================== */
.stats-bar-section {
  background-color: #ffffff;
  padding: 60px 0;
  border-bottom: 1px solid rgba(18, 131, 116, 0.08);
}

.stats-bar-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 32px;
}

.stat-block {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-val {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 700;
  color: var(--color-teal);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-text {
  font-size: 15px;
  line-height: 1.35;
  color: var(--color-text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   RESPONSIVIDADE (Section 01)
   ========================================================================== */

/* Tablet (768px - 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
  }

  .badge-top-right {
    right: 0;
  }

  .badge-bottom-left {
    left: 0;
  }

  .stats-bar-grid {
    justify-content: space-between;
  }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
  .hero-section {
    padding: 110px 0 60px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-eyebrow {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero-eyebrow strong {
    display: none;
  }

  .hero-title {
    font-size: 38px;
    text-align: center;
  }

  .hero-subtitle {
    font-size: 15.5px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .btn-figma-primary,
  .btn-figma-secondary {
    justify-content: center;
  }

  .mockup-card {
    padding: 16px;
  }

  .mockup-grid {
    grid-template-columns: 1fr;
  }

  .mockup-nav {
    display: none;
  }

  .float-badge {
    position: static;
    margin-top: 12px;
    display: inline-flex;
    box-shadow: var(--shadow-badge);
  }

  .stats-bar-grid {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;
    gap: 36px;
  }

  .stat-val {
    font-size: 46px;
  }
}