/* ==========================================================================
   PLENA CAPITAL — DESIGN SYSTEM PRO CANVA / FINTECH PREMIUM
   Inspirado no visual de agência: Stripe + Nubank + Stone (Clean & Impactante)
   ========================================================================== */

:root {
  --color-brand: #00c97f;
  --color-brand-glow: #38ef7d;
  --color-brand-dark: #007a48;
  --color-brand-subtle: rgba(0, 201, 127, 0.12);
  --color-bg-light: #f8fafc;
  --color-surface: #ffffff;
  --color-dark: #030824;
  --color-dark-deep: #020617;
  --color-dark-green: #003d1c;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Sora', system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 50px rgba(3, 8, 36, 0.1);
  --shadow-glow: 0 0 40px rgba(0, 201, 127, 0.25);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-light);
  color: #0f172a;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   HERO VIEWPORT COM VÍDEO + MÁSCARA GRADIENTE PRO
   ========================================================================== */
.stone-hero-viewport {
  position: relative;
  width: 100%;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--color-dark);
  color: #ffffff;
  overflow: hidden;
  text-align: center;
  padding: 120px 20px 60px;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.24) contrast(1.1);
  z-index: 1;
  pointer-events: none;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(0, 201, 127, 0.15) 0%, rgba(3, 8, 36, 0.75) 60%, #030824 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-content-wrap {
  position: relative;
  z-index: 10;
  max-width: 980px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(0, 201, 127, 0.12);
  border: 1px solid rgba(0, 201, 127, 0.35);
  border-radius: 9999px;
  color: #00c97f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-super-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-super-title span {
  color: var(--color-brand);
  background: linear-gradient(135deg, #00c97f 0%, #46ffa6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-super-desc {
  font-size: clamp(16px, 2vw, 20px);
  color: #cbd5e1;
  line-height: 1.6;
  max-width: 740px;
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.stone-cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--color-brand);
  color: #003d1c;
  padding: 16px 36px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 201, 127, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;
}

.stone-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 201, 127, 0.55);
}

.stone-cta-btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.stone-cta-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.hero-scroll-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
  margin-top: 16px;
}

.hero-scroll-btn:hover {
  color: #ffffff;
}

/* Strip de Estatísticas / Autoridade Pro Canva */
.hero-stats-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  background: rgba(3, 8, 36, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 18px 36px;
  border-radius: 20px;
  margin-top: 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  max-width: 900px;
  width: 100%;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #00c97f;
  letter-spacing: -0.5px;
}

.hero-stat-label {
  font-size: 12px;
  color: #cbd5e1;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 768px) {
  .hero-stats-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 16px 20px;
    margin-top: 24px;
  }
  .hero-stat-divider {
    display: none;
  }
  .hero-stat-value {
    font-size: 19px;
  }
}

/* ==========================================================================
   MARQUEE FLAGS STONE COM ANIMAÇÃO INFINITA
   ========================================================================== */
.stone-flags-section {
  position: relative;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 24px 0;
  overflow: hidden;
  z-index: 5;
}

.stone-marquee-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  width: 100%;
  position: relative;
}

.stone-marquee-track {
  display: flex;
  width: max-content;
  flex-shrink: 0;
  animation: stoneMarqueeLoop 36s linear infinite;
  will-change: transform;
}

.stone-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes stoneMarqueeLoop {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.stone-marquee-content {
  display: flex;
  flex-shrink: 0;
  gap: 20px;
  padding-right: 20px;
  align-items: center;
}

.stone-pill-flag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 24px 8px 12px;
  border-radius: 9999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #003d1c;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.stone-pill-flag:hover {
  transform: translateY(-2px);
  border-color: var(--color-brand);
  box-shadow: var(--shadow-md);
}

.stone-pill-flag .icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e6fcf2;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   STICKY PORTFOLIO STONE (COM SHOWCASES 16:9 PRO CANVA)
   ========================================================================== */
.stone-portfolio-section {
  position: relative;
  background-color: var(--color-bg-light);
  padding: 100px 20px 120px;
}

.portfolio-sticky-layout {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.portfolio-aside-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 120px;
  align-self: flex-start;
  flex: 0 0 380px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 20;
}

.aside-category-link {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #003d1c;
  text-decoration: none;
  opacity: 0.28;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  white-space: nowrap !important;
  padding: 10px 14px;
  border-radius: 12px;
  border-left: 4px solid transparent;
}

.aside-cat-num {
  font-size: 13px;
  font-weight: 800;
  color: #007a48;
  background: rgba(0, 201, 127, 0.12);
  padding: 4px 10px;
  border-radius: 8px;
  letter-spacing: 0.5px;
  transition: all 0.35s ease;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.aside-category-link:hover {
  opacity: 0.75;
  color: #007a48;
  transform: translateX(6px);
}

.aside-category-link:hover .aside-cat-num {
  background: rgba(0, 201, 127, 0.25);
}

.aside-category-link.active {
  opacity: 1 !important;
  color: #007a48 !important;
  transform: translateX(12px) !important;
  border-left-color: #00c97f !important;
  background: rgba(0, 201, 127, 0.04);
}

.aside-category-link.active .aside-cat-num {
  background: #00c97f !important;
  color: #003d1c !important;
  box-shadow: 0 4px 14px rgba(0, 201, 127, 0.4) !important;
}

.aside-support-card {
  margin-top: 24px;
  background: #ffffff;
  border: 1px solid rgba(0, 201, 127, 0.25);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 61, 28, 0.05);
}

.aside-support-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #007a48;
  background: #e6fcf2;
  padding: 4px 10px;
  border-radius: 9999px;
  margin-bottom: 8px;
}

.aside-category-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
  margin-top: 6px;
}

.aside-support-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: #007a48;
  text-decoration: none;
  margin-top: 14px;
  transition: gap 0.2s ease;
}

.aside-support-btn:hover {
  gap: 10px;
  color: #00c97f;
}

.portfolio-cards-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.portfolio-section-block {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.portfolio-items-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.portfolio-tags-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.portfolio-item-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  padding: 14px 20px;
  border-radius: 16px;
  text-decoration: none;
  color: #003d1c;
  font-weight: 700;
  font-size: 15px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 61, 28, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.portfolio-item-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 201, 127, 0.16);
  border-color: #00c97f;
  color: #007a48;
}

.portfolio-item-card .card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e6fcf2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Card Showcase Retangular 16:9 de Altíssima Fidelidade */
.portfolio-showcase-preview {
  position: relative;
  width: 100%;
  height: 350px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(3, 8, 36, 0.16);
  border: 1px solid rgba(0, 61, 28, 0.15);
  background: #030824;
}

.portfolio-showcase-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-showcase-preview:hover img {
  transform: scale(1.03);
}

.portfolio-showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(180deg, rgba(3, 8, 36, 0) 0%, rgba(3, 8, 36, 0.85) 40%, rgba(3, 8, 36, 0.98) 100%);
  color: #ffffff;
}

.portfolio-showcase-badge {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #00c97f;
  margin-bottom: 6px;
}

.portfolio-showcase-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

.portfolio-showcase-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.showcase-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* ==========================================================================
   SPLIT SIMULATOR (FINTECH PRO)
   ========================================================================= */
.split-simulator-section {
  background: #ffffff;
  border-radius: 28px;
  padding: 48px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-lg);
  max-width: 1100px;
  margin: 0 auto;
}

.split-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0 24px;
}

.split-step-card {
  position: relative;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.split-step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.step-num {
  position: absolute;
  top: -12px;
  left: 20px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #030824;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.split-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}

.split-amount {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin: 8px 0;
}

.split-amount.green {
  color: #007a48;
}

.split-amount.teal {
  color: #0284c7;
}

.split-bar-visual {
  width: 100%;
  height: 16px;
  border-radius: 9999px;
  background: #e2e8f0;
  display: flex;
  overflow: hidden;
  margin: 16px 0 28px;
}

.split-bar-segment.first {
  background: #00c97f;
  transition: width 0.2s ease;
}

.split-bar-segment.second {
  background: #0ea5e9;
  transition: width 0.2s ease;
}

.split-summary-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #030824;
  color: #ffffff;
  padding: 24px 32px;
  border-radius: 18px;
  border: 1px solid rgba(0, 201, 127, 0.2);
}

/* ==========================================================================
   SEGMENTOS (BENTO GRID MODERNO — PRO CANVA)
   ========================================================================= */
.stone-highlights-section {
  background: #ffffff;
  padding: 100px 20px;
  border-top: 1px solid #e2e8f0;
}

.highlights-title-header {
  text-align: center;
  margin-bottom: 56px;
}

.highlights-title-header h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  color: #003d1c;
  letter-spacing: -1px;
}

.highlights-title-header h2 span {
  color: var(--color-brand);
}

.segments-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.segment-modern-card {
  position: relative;
  background: #f8fafc;
  border-radius: 24px;
  padding: 36px 28px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.segment-modern-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #00c97f, #38ef7d);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.segment-modern-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 201, 127, 0.4);
  background: #ffffff;
}

.segment-modern-card:hover::before {
  opacity: 1;
}

.segment-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #eefcf4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #007a48;
}

.segment-card-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  color: #003d1c;
  margin-bottom: 10px;
  line-height: 1.25;
}

.segment-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 24px;
}

.segment-card-link {
  font-size: 14px;
  font-weight: 700;
  color: #007a48;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: gap 0.2s ease;
}

.segment-card-link:hover {
  gap: 10px;
}

/* ==========================================================================
   FAQ & CONTATO
   ========================================================================= */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: var(--color-brand);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #003d1c;
}

.faq-answer {
  font-size: 15px;
  line-height: 1.6;
  color: #64748b;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.contact-section-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background: #ffffff;
  border-radius: 28px;
  padding: 56px 48px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-lg);
}

.form-input, .form-select {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  font-family: var(--font-body);
  font-size: 15px;
  background: #f8fafc;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
}

.form-input:focus, .form-select:focus {
  border-color: var(--color-brand);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 201, 127, 0.15);
}

/* ==========================================================================
   RESPONSIVIDADE (DESKTOP -> MOBILE)
   ========================================================================= */
@media (max-width: 1024px) {
  .portfolio-sticky-layout {
    gap: 36px;
  }
  .segments-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .portfolio-sticky-layout {
    flex-direction: column;
  }
  .portfolio-aside-sticky {
    position: static;
    flex: none;
    width: 100%;
  }
  .portfolio-tags-row {
    grid-template-columns: 1fr;
  }
  .segments-bento-grid {
    grid-template-columns: 1fr;
  }
  .contact-section-grid {
    grid-template-columns: 1fr;
    padding: 32px 20px;
  }
  .portfolio-showcase-preview {
    height: auto;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    background: #030824;
    overflow: hidden;
  }
  .portfolio-showcase-preview img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    flex-shrink: 0;
  }
  .portfolio-showcase-overlay {
    position: relative;
    inset: auto;
    padding: 20px 20px 24px;
    background: #030824;
  }
  .portfolio-showcase-title {
    font-size: 17px;
  }
  .portfolio-showcase-pills {
    margin-top: 10px;
    gap: 6px;
  }
}

