@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300..900&display=swap');

/* ==========================================================================
   FLYZEN — DESIGN SYSTEM & ESTILO VISUAL PREMIUM
   ========================================================================== */

:root {
  /* Cores Oficiais */
  --color-brand: #2962FF;
  --color-brand-hover: #1F54EB;
  --color-glow: rgba(41, 98, 255, 0.14);
  --color-glow-strong: rgba(41, 98, 255, 0.20);
  
  /* Modo Claro */
  --bg-light: #FFFFFF;
  --bg-light-sec: #F5F7FA;
  --text-light-prio: #0F172A;
  --text-light-sec: #667085;
  --border-light: rgba(15, 23, 42, 0.08);
  
  /* Modo Escuro */
  --bg-dark: #05070A;
  --bg-dark-card: #0B0F14;
  --border-dark: rgba(255, 255, 255, 0.09);

  /* Grid e Dimensões */
  --container-max: 1320px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --shadow-soft: 0 14px 36px rgba(15, 23, 42, 0.06);
  --shadow-dark: 0 24px 60px rgba(0, 0, 0, 0.28);
  
  /* Transições Fluidas */
  --transition-normal: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET & ESTRUTURA GLOBAL --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  font-size: 16px;
  font-family: 'Rubik', sans-serif;
  background-color: var(--bg-dark); /* Fundo padrão do carregamento inicial */
  color: var(--text-light-prio);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-dark);
  font-family: 'Rubik', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  letter-spacing: -0.03em;
}

p, li, a, button, input, textarea, select {
  font-weight: 400;
}

strong, b {
  font-weight: 700;
}

.icon-glyph {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- CONTAINER E GRID EDITORIAL --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 80px; /* Padding Desktop */
  width: 100%;
}

@media (max-width: 1024px) {
  .container {
    padding: 0 48px; /* Padding Tablet */
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px; /* Padding Mobile */
  }
}

/* --- RITMO VISUAL & TRANSISÕES ENTRE SEÇÕES --- */
section {
  position: relative;
  padding: 180px 0; /* Espaçamento vertical entre seções */
  overflow: hidden;
}

@media (max-width: 768px) {
  section {
    padding: 120px 0;
  }
}

/* Seções Claras */
.section-light {
  background-color: var(--bg-light);
  color: var(--text-light-prio);
}

.section-light-sec {
  background-color: var(--bg-light-sec);
  color: var(--text-light-prio);
}

/* Seções Escuras */
.section-dark {
  background-color: var(--bg-dark);
  color: #FFFFFF;
}

.story-reveal-shell {
  padding: 0;
  background: #FFFFFF;
  color: var(--text-light-prio);
}

.story-reveal-app {
  background: #FFFFFF;
}

.story-reveal-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72vh;
  padding: 24px 0;
}

.story-reveal-panel .container {
  max-width: 60%;
  margin: 0 auto;
}

.text-reveal {
  font-size: clamp(2rem, 4.8vw, 4.4rem);
  line-height: 1.12;
  letter-spacing: -0.05em;
  font-weight: 400;
  color: #0F172A;
}

.text-reveal-secondary {
  font-size: clamp(1.7rem, 4vw, 3.5rem);
  line-height: 1.14;
}

.text-reveal .line-wrapper {
  display: block;
  overflow: hidden;
}

.text-reveal .line {
  display: block;
  transform: translate3d(0, 100%, 0);
  opacity: 0;
  transition: transform 0.95s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-reveal.revealed .line {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.text-reveal.revealed .line-wrapper:nth-child(1) .line {
  transition-delay: 0.04s;
}

.text-reveal.revealed .line-wrapper:nth-child(2) .line {
  transition-delay: 0.14s;
}

.text-reveal.revealed .line-wrapper:nth-child(3) .line {
  transition-delay: 0.24s;
}

@media (max-width: 991px) {
  .story-reveal-panel {
    min-height: 58vh;
    padding: 12px 0;
  }

  .story-reveal-panel .container {
    max-width: 100%;
  }

  .text-reveal {
    font-size: clamp(1.7rem, 8vw, 3rem);
    line-height: 1.16;
  }

  .text-reveal-secondary {
    font-size: clamp(1.45rem, 6.8vw, 2.35rem);
  }
}

/* --- BOTÕES --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  font-weight: 500;
  font-size: 0.94rem;
  letter-spacing: -0.01em;
  border-radius: 999px; /* Pílula */
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--color-brand);
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(41, 98, 255, 0.18);
}

.btn-primary::after {
  display: none;
}

.btn-primary:hover::after {
  display: none;
}

.btn-primary:hover {
  background-color: var(--color-brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(41, 98, 255, 0.22);
}

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

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.04);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

/* Em seções claras, o botão secundário muda */
.section-light .btn-secondary,
.section-light-sec .btn-secondary {
  color: var(--text-light-prio);
  background-color: rgba(255, 255, 255, 0.82);
  border-color: rgba(15, 23, 42, 0.08);
}

.section-light .btn-secondary:hover,
.section-light-sec .btn-secondary:hover {
  background-color: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.14);
}

/* --- HEADER & NAVIGATION --- */
.navbar {
  position: fixed;
  top: 18px;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0;
  transition: var(--transition-normal);
}

.navbar.scrolled {
  transform: translateY(-2px);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1140px;
  padding: 16px 22px;
  border-radius: 999px;
  background: rgba(244, 247, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 1.2rem;
  color: #111827;
  text-decoration: none;
  letter-spacing: -0.03em;
  transition: var(--transition-normal);
}

.logo-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--color-brand);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-link {
  color: rgba(17, 24, 39, 0.84);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: #111827;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: #111827;
  border: 2px solid rgba(214, 77, 189, 0.85);
  box-shadow: inset 0 0 0 1px rgba(93, 63, 211, 0.18);
  font-size: 0.98rem;
  font-weight: 500;
}

.btn-header:hover {
  transform: translateY(-1px);
  background: #FFFFFF;
  color: #0F172A;
  border-color: rgba(123, 58, 237, 0.9);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #111827;
  transition: var(--transition-normal);
}

/* Responsividade Navbar */
@media (max-width: 991px) {
  .navbar {
    top: 12px;
  }

  .navbar-container {
    padding: 14px 18px;
  }

  .nav-menu {
    position: fixed;
    top: 84px;
    right: -100%;
    width: 320px;
    height: auto;
    padding: 28px;
    border-radius: 24px;
    background-color: rgba(244, 247, 255, 0.96);
    border: 1px solid rgba(15, 23, 42, 0.08);
    flex-direction: column;
    justify-content: flex-start;
    gap: 24px;
    transition: var(--transition-slow);
    z-index: 1050;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14);
  }
  
  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    color: #111827;
    font-size: 1rem;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  
  .nav-actions {
    display: none;
  }
}

/* --- HERO SECTION --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 176px;
  padding-bottom: 80px;
  background-color: var(--bg-dark);
  position: relative;
  z-index: 1;
}

/* Grande Glow no Centro */
.hero-glow-back {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 45%, rgba(41, 98, 255, 0.18) 0%, rgba(5, 7, 10, 0) 56%),
              radial-gradient(circle at 30% 30%, rgba(41, 98, 255, 0.08) 0%, rgba(5, 7, 10, 0) 36%),
              radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.04) 0%, rgba(5, 7, 10, 0) 42%);
  pointer-events: none;
  z-index: -1;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-headline {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.hero-headline span {
  display: block;
  font-weight: 700;
  background: linear-gradient(135deg, #FFFFFF 20%, rgba(255, 255, 255, 0.72) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subheadline {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 680px;
  margin: 0 auto 44px auto;
  letter-spacing: -0.01em;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 80px;
}

@media (max-width: 576px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 60px auto;
  }
  .hero-actions .btn {
    width: 100%;
  }
}

/* COMPOSIÇÃO VISUAL DO HERO */
.hero-visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.hero-visual-container {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  background: rgba(11, 15, 20, 0.62);
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-dark), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  padding: 6px;
}

/* Chrome Window Bar */
.chrome-header {
  height: 40px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background-color: rgba(15, 17, 24, 0.7);
}

.chrome-dots {
  display: flex;
  gap: 8px;
}

.chrome-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
}

.chrome-url {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  margin-left: 24px;
  background-color: rgba(255, 255, 255, 0.03);
  padding: 4px 16px;
  border-radius: 6px;
  font-family: monospace;
}

/* SVG Conectando Módulos */
.hero-connections-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.hero-connections-svg path {
  fill: none;
  stroke: var(--color-brand);
  stroke-width: 1.5;
  stroke-dasharray: 4 8;
  opacity: 0.25;
}

.hero-connections-svg .path-active {
  stroke-width: 2;
  stroke-dasharray: 8 12;
  opacity: 0.6;
  animation: dash 12s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -100;
  }
}

/* Cards Flutuantes Periféricos */
.floating-card {
  position: absolute;
  z-index: 4;
  background: rgba(11, 15, 20, 0.84);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px;
  transition: var(--transition-normal);
  animation: float 6s ease-in-out infinite;
}

.floating-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(41, 98, 255, 0.22);
  box-shadow: 0 20px 44px rgba(41, 98, 255, 0.12);
}

.fc-crm {
  top: -40px;
  left: -90px;
  width: 230px;
  animation-delay: 0s;
}

.fc-wa {
  top: 15%;
  right: -100px;
  width: 250px;
  animation-delay: 1.5s;
}

.fc-calendar {
  bottom: 80px;
  left: -110px;
  width: 240px;
  animation-delay: 3s;
}

.fc-ia {
  bottom: -30px;
  right: -70px;
  width: 220px;
  animation-delay: 4.5s;
}

@media (max-width: 1200px) {
  .fc-crm { left: -20px; top: -30px; }
  .fc-wa { right: -20px; }
  .fc-calendar { left: -20px; }
  .fc-ia { right: -20px; }
}

@media (max-width: 768px) {
  .floating-card {
    position: relative;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    margin-bottom: 16px;
    animation: none !important;
  }
  .hero-visual-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
}

/* --- SEÇÃO 2: POR QUE CLÍNICAS ESCOLHEM --- */
.editorial-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.editorial-left {
  max-width: 480px;
}

.tagline {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 20px;
  display: inline-block;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: var(--text-light-prio);
  margin-bottom: 24px;
}

.section-dark .section-title {
  color: #FFFFFF;
}

.editorial-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-light-sec);
  margin-bottom: 40px;
}

.section-dark .editorial-desc {
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 991px) {
  .editorial-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .editorial-left {
    max-width: 100%;
  }
}

/* --- SEÇÃO 3: BENEFÍCIOS --- */
.solution-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px auto;
}

.solution-headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.04;
  color: var(--text-light-prio);
}

.solution-sub {
  font-size: 1.15rem;
  color: var(--text-light-sec);
  margin-top: 20px;
  line-height: 1.65;
}

/* Benefícios Grid */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.module-card {
  background: var(--bg-light-sec);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.module-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(41, 98, 255, 0.14);
}

.integration-card-arrow {
  transition: var(--transition-normal);
}

.module-card:hover .integration-card-arrow {
  background-color: var(--color-brand) !important;
  color: #FFFFFF !important;
  transform: translateX(4px);
}

.module-info h3 {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-light-prio);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.module-info p {
  font-size: 0.9rem;
  color: var(--text-light-sec);
  line-height: 1.6;
}

@media (max-width: 991px) {
  .modules-grid {
    grid-template-columns: 1fr;
  }
  .module-card {
    min-height: auto;
  }
}

/* --- SEÇÃO 4: COMO FUNCIONA --- */
.steps-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 80px;
}

.step-card {
  position: relative;
  padding: 40px;
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(41, 98, 255, 0.08);
  color: var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 1.15rem;
  margin-bottom: 32px;
}

.step-card h3 {
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--text-light-prio);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--text-light-sec);
  line-height: 1.6;
}

@media (max-width: 991px) {
  .steps-layout {
    grid-template-columns: 1fr;
  }
}

/* --- SEÇÃO 5: DASHBOARD SHOWCASE --- */
.dashboard-showcase {
  background-color: #020306;
}

.showcase-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(41, 98, 255, 0.14) 0%, rgba(41, 98, 255, 0) 80%);
  filter: blur(60px);
  z-index: 1;
  pointer-events: none;
}

.showcase-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.showcase-title-area {
  max-width: 800px;
  margin: 0 auto 80px auto;
}

/* --- SEÇÃO 6: RESULTADOS --- */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 80px;
}

.result-card {
  background-color: var(--bg-light-sec);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 48px 32px;
  text-align: center;
  transition: var(--transition-normal);
}

.result-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: var(--shadow-soft);
}

.result-number {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 500;
  color: var(--color-brand);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.result-lbl {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light-prio);
  margin-bottom: 8px;
}

.result-desc {
  font-size: 0.88rem;
  color: var(--text-light-sec);
  line-height: 1.5;
}

@media (max-width: 991px) {
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .results-grid {
    grid-template-columns: 1fr;
  }
}

/* --- SEÇÃO 7: INTEGRAÇÕES --- */
.integrations-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px auto;
}

.integrations-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.integration-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: var(--transition-normal);
}

.integration-card:hover {
  border-color: rgba(41, 98, 255, 0.24);
  box-shadow: 0 18px 36px rgba(41, 98, 255, 0.10);
  transform: translateY(-4px);
}

.integration-logo-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.5rem;
  transition: var(--transition-fast);
}

.integration-card:hover .integration-logo-wrapper {
  background-color: rgba(41, 98, 255, 0.08);
  border-color: rgba(41, 98, 255, 0.16);
}

.integration-card h4 {
  font-size: 1rem;
  font-weight: 500;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.integration-card span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

#beneficios .integration-logo-wrapper,
.integrations-wall .integration-logo-wrapper,
.integration-card-arrow,
.k-arrow,
.rating-stars {
  position: relative;
}

#beneficios .integration-logo-wrapper,
.integrations-wall .integration-logo-wrapper,
.integration-card-arrow,
.k-arrow,
.rating-stars {
  font-size: 0;
}

#beneficios .integration-logo-wrapper::before,
.integrations-wall .integration-logo-wrapper::before,
.integration-card-arrow::before,
.k-arrow::before,
.rating-stars::before {
  content: '';
  display: block;
  margin: 0 auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

#beneficios .module-card:nth-child(1) .integration-logo-wrapper::before,
.integrations-wall .integration-card:nth-child(3) .integration-logo-wrapper::before {
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232962FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 18L10 12L14 15L20 8'/%3E%3Cpath d='M16 8H20V12'/%3E%3C/svg%3E");
}

#beneficios .module-card:nth-child(2) .integration-logo-wrapper::before,
.integrations-wall .integration-card:nth-child(1) .integration-logo-wrapper::before {
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232962FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6.5C4 5.12 5.12 4 6.5 4H17.5C18.88 4 20 5.12 20 6.5V13.5C20 14.88 18.88 16 17.5 16H10L6 20V16H6.5C5.12 16 4 14.88 4 13.5Z'/%3E%3C/svg%3E");
}

#beneficios .module-card:nth-child(3) .integration-logo-wrapper::before,
.integrations-wall .integration-card:nth-child(4) .integration-logo-wrapper::before {
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232962FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='7' width='10' height='10' rx='3'/%3E%3Cpath d='M12 3V7'/%3E%3Cpath d='M12 17V21'/%3E%3Cpath d='M3 12H7'/%3E%3Cpath d='M17 12H21'/%3E%3C/svg%3E");
}

#beneficios .module-card:nth-child(4) .integration-logo-wrapper::before,
.integrations-wall .integration-card:nth-child(5) .integration-logo-wrapper::before {
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232962FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='18' height='12' rx='2'/%3E%3Cpath d='M3 10H21'/%3E%3C/svg%3E");
}

#beneficios .module-card:nth-child(5) .integration-logo-wrapper::before,
.integrations-wall .integration-card:nth-child(2) .integration-logo-wrapper::before {
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232962FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M8 3V7'/%3E%3Cpath d='M16 3V7'/%3E%3Cpath d='M4 10H20'/%3E%3C/svg%3E");
}

#beneficios .module-card:nth-child(6) .integration-logo-wrapper::before,
.integrations-wall .integration-card:nth-child(7) .integration-logo-wrapper::before {
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232962FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19V10'/%3E%3Cpath d='M12 19V5'/%3E%3Cpath d='M19 19V13'/%3E%3C/svg%3E");
}

.integrations-wall .integration-card:nth-child(6) .integration-logo-wrapper::before {
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232962FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7H11V11H7Z'/%3E%3Cpath d='M13 13H17V17H13Z'/%3E%3Cpath d='M11 9H13V15H11Z'/%3E%3Cpath d='M9 11H15V13H9Z'/%3E%3C/svg%3E");
}

.integrations-wall .integration-card:nth-child(8) .integration-logo-wrapper::before {
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232962FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='3' width='10' height='18' rx='2'/%3E%3Cpath d='M10 6H14'/%3E%3Cpath d='M11.5 17H12.5'/%3E%3C/svg%3E");
}

.integration-card-arrow::before,
.k-arrow::before {
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232962FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12H19'/%3E%3Cpath d='M12 5L19 12L12 19'/%3E%3C/svg%3E");
  filter: none;
}

.integration-card-arrow::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232962FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12H19'/%3E%3Cpath d='M12 5L19 12L12 19'/%3E%3C/svg%3E");
}

.k-arrow::before {
  opacity: 0.48;
}

.rating-stars::before {
  width: 124px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 124 22' fill='none'%3E%3Cg fill='%23F59E0B'%3E%3Cpath d='M11 1l2.6 5.4 5.9.9-4.2 4.1 1 5.8L11 14.5 5.7 17.2l1-5.8L2.5 7.3l5.9-.9L11 1Z'/%3E%3Cpath d='M36 1l2.6 5.4 5.9.9-4.2 4.1 1 5.8L36 14.5l-5.3 2.7 1-5.8-4.2-4.1 5.9-.9L36 1Z'/%3E%3Cpath d='M61 1l2.6 5.4 5.9.9-4.2 4.1 1 5.8L61 14.5l-5.3 2.7 1-5.8-4.2-4.1 5.9-.9L61 1Z'/%3E%3Cpath d='M86 1l2.6 5.4 5.9.9-4.2 4.1 1 5.8L86 14.5l-5.3 2.7 1-5.8-4.2-4.1 5.9-.9L86 1Z'/%3E%3Cpath d='M111 1l2.6 5.4 5.9.9-4.2 4.1 1 5.8-5.3-2.7-5.3 2.7 1-5.8-4.2-4.1 5.9-.9L111 1Z'/%3E%3C/g%3E%3C/svg%3E");
}

@media (max-width: 991px) {
  .integrations-wall {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- SEÇÃO 8: PLANOS --- */
.section-plans {
  position: relative;
  background: radial-gradient(circle at top, rgba(41, 98, 255, 0.22) 0%, #05070A 78%);
}

.plans-section-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 10%, rgba(41, 98, 255, 0.20) 0%, rgba(41, 98, 255, 0) 58%),
              radial-gradient(circle at 20% 40%, rgba(41, 98, 255, 0.08) 0%, rgba(41, 98, 255, 0) 36%),
              radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 42%);
  pointer-events: none;
  z-index: 1;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 2;
  margin-top: 80px;
}

.plan-card {
  background: rgba(11, 15, 20, 0.74);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition-normal);
}

.plan-card:hover {
  border-color: rgba(41, 98, 255, 0.22);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.24);
}

.plan-card.recommended {
  border-color: var(--color-brand);
  background: rgba(11, 15, 20, 0.88);
  box-shadow: 0 18px 40px rgba(41, 98, 255, 0.10);
}

.plan-header h3 {
  font-size: 1.5rem;
  font-weight: 500;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.plan-header p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 32px;
  line-height: 1.5;
}

.plan-price {
  margin-bottom: 32px;
}

.plan-price .price {
  font-size: 3.5rem;
  font-weight: 500;
  color: #FFFFFF;
  letter-spacing: -0.03em;
}

.plan-price .period {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.4);
  margin-left: 4px;
}

.plan-features {
  list-style: none;
  margin-bottom: 40px;
}

.plan-features li {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.plan-features li::before {
  content: '✓';
  color: var(--color-brand);
  font-weight: 700;
}

@media (max-width: 991px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
  .plan-card {
    padding: 32px;
  }
}

/* --- SEÇÃO 9: FAQ --- */
.faq-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px auto;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 24px 0;
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-light-prio);
  cursor: pointer;
  padding: 8px 0;
}

.faq-icon-arrow {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--text-light-sec);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: var(--transition-normal);
}

.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.faq-content-inner {
  min-height: 0;
  font-size: 0.95rem;
  color: var(--text-light-sec);
  line-height: 1.6;
  padding-top: 12px;
}

.faq-item.active .faq-content {
  grid-template-rows: 1fr;
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
  stroke: var(--color-brand);
}

/* --- SEÇÃO 10: CTA FINAL --- */
.cta-final {
  background: linear-gradient(180deg, #2B64FF 0%, #2257E9 100%);
  color: #FFFFFF;
  padding: 160px 0;
  position: relative;
  z-index: 1;
}

.cta-final-bg-mockup {
  position: absolute;
  bottom: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1100px;
  opacity: 0.12;
  pointer-events: none;
  z-index: -1;
}

.cta-final-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-final-content .section-title {
  color: #FFFFFF;
}

.cta-final-sub {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 40px;
  line-height: 1.65;
}

.cta-final .btn-primary {
  background-color: #FFFFFF;
  color: var(--color-brand);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-final .btn-primary:hover {
  background-color: var(--bg-light-sec);
  color: var(--color-brand-hover);
}

/* --- SEÇÃO 11: FOOTER --- */
.footer {
  background-color: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 80px 0 40px 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  margin-bottom: 60px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand p {
  margin-top: 16px;
  line-height: 1.6;
}

.footer .logo {
  color: #FFFFFF;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-column h4 {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-column a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 40px;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 40px;
  }
  .footer-links {
    flex-direction: column;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* ==========================================================================
   WIDGETS REAIS & COMPONENTES DA PLATAFORMA (FLYZEN DESIGN SYSTEM)
   ========================================================================== */

/* 1. Mockup Window (Container de Telas) */
.mockup-window {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background-color: #0B0C10;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.section-light .mockup-window,
.section-light-sec .mockup-window {
  background-color: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.05);
}

/* 2. CRM Kanban Widget */
.crm-kanban-visual {
  width: 100%;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background-color: #090A0E;
}

.section-light .crm-kanban-visual,
.section-light-sec .crm-kanban-visual {
  background-color: #FAFAFA;
}

.kanban-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kanban-col-title {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 4px;
}

.section-light .kanban-col-title,
.section-light-sec .kanban-col-title {
  color: rgba(0, 0, 0, 0.4);
}

.kanban-card {
  background-color: #0F1118;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.section-light .kanban-card,
.section-light-sec .kanban-card {
  background-color: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.kanban-card h5 {
  font-size: 0.85rem;
  font-weight: 500;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.section-light .kanban-card h5,
.section-light-sec .kanban-card h5 {
  color: var(--text-light-prio);
}

.kanban-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
}

.section-light .kanban-card-meta,
.section-light-sec .kanban-card-meta {
  color: var(--text-light-sec);
}

.badge-source {
  background-color: rgba(47, 59, 229, 0.1);
  color: var(--color-brand-hover);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}

/* 3. WhatsApp Widget */
.chat-widget-visual {
  width: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: #090A0E;
}

.section-light .chat-widget-visual,
.section-light-sec .chat-widget-visual {
  background-color: #F8FAFC;
}

.chat-bubble {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.chat-bubble.patient {
  align-self: flex-start;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.85);
}

.section-light .chat-bubble.patient,
.section-light-sec .chat-bubble.patient {
  background-color: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.06);
  color: var(--text-light-prio);
}

.chat-bubble.ia {
  align-self: flex-end;
  background-color: var(--color-brand);
  color: #FFFFFF;
  border-bottom-right-radius: 2px;
}

.ia-status-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
}

.section-light .ia-status-bar,
.section-light-sec .ia-status-bar {
  color: var(--text-light-sec);
}

.ia-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10B981;
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.4; }
  100% { transform: scale(1); opacity: 1; }
}

/* 4. Calendar Widget */
.calendar-widget-visual {
  width: 100%;
  padding: 20px;
  background-color: #090A0E;
}

.section-light .calendar-widget-visual,
.section-light-sec .calendar-widget-visual {
  background-color: #FAFAFA;
}

.calendar-row {
  display: grid;
  grid-template-columns: 80px 1fr 100px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section-light .calendar-row,
.section-light-sec .calendar-row {
  border-bottom-color: rgba(0, 0, 0, 0.04);
}

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

.cal-time {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
}

.section-light .cal-time,
.section-light-sec .cal-time {
  color: var(--text-light-sec);
}

.cal-patient {
  font-size: 0.85rem;
  color: #FFFFFF;
  font-weight: 500;
}

.section-light .cal-patient,
.section-light-sec .cal-patient {
  color: var(--text-light-prio);
}

.cal-status {
  font-size: 0.72rem;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
}

.status-confirmed {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10B981;
}

.status-waiting {
  background-color: rgba(245, 158, 11, 0.1);
  color: #F59E0B;
}

/* 5. Financial Widget */
.financial-widget-visual {
  width: 100%;
  padding: 24px;
  background-color: #090A0E;
}

.section-light .financial-widget-visual,
.section-light-sec .financial-widget-visual {
  background-color: #FFFFFF;
}

.financial-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.fin-lbl {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

.section-light .fin-lbl,
.section-light-sec .fin-lbl {
  color: var(--text-light-sec);
}

.fin-val {
  font-size: 1.45rem;
  font-weight: 500;
  color: #FFFFFF;
}

.section-light .fin-val,
.section-light-sec .fin-val {
  color: var(--text-light-prio);
}

.fin-trend {
  font-size: 0.78rem;
  color: #10B981;
  font-weight: 500;
}

/* SVG Chart Line */
.financial-chart-svg {
  width: 100%;
  height: 80px;
}

.financial-chart-svg path.line {
  fill: none;
  stroke: var(--color-brand);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.financial-chart-svg path.area {
  fill: url(#chart-grad);
  opacity: 0.15;
}

/* 6. Automation Flow Widget */
.flow-widget-visual {
  width: 100%;
  padding: 24px;
  background-color: #090A0E;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.flow-node {
  width: 100%;
  max-width: 280px;
  padding: 12px 16px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 10px;
}

.flow-node strong {
  color: #FFFFFF;
}

.flow-connector {
  width: 2px;
  height: 20px;
  background-color: var(--color-brand);
  opacity: 0.6;
}

/* 7. Large Dashboard (Showcase) */
.dashboard-showcase-visual {
  width: 100%;
  background-color: #07080C;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
}

.dash-showcase-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 520px;
}

.dash-showcase-sidebar {
  background-color: #0A0B10;
  border-right: 1px solid rgba(255, 255, 255, 0.03);
  padding: 24px 16px;
}

.dash-showcase-logo {
  font-weight: 500;
  font-size: 1rem;
  color: #FFFFFF;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-showcase-logo span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--color-brand);
}

.dash-showcase-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-showcase-link {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  padding: 10px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: var(--transition-fast);
}

.dash-showcase-link.active {
  background-color: rgba(47, 59, 229, 0.06);
  color: #FFFFFF;
  border: 1px solid rgba(47, 59, 229, 0.15);
}

.dash-showcase-main {
  padding: 32px;
}

.dash-showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.dash-showcase-header h4 {
  font-size: 1.15rem;
  font-weight: 500;
  color: #FFFFFF;
}

.dash-showcase-header span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

.dash-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.dash-showcase-card {
  background-color: #0F1118;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
}

.dash-showcase-card h5 {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.dash-showcase-card .val {
  font-size: 1.5rem;
  font-weight: 500;
  color: #FFFFFF;
}

.dash-showcase-chart-container {
  background-color: #0F1118;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 24px;
}

.dash-showcase-chart-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.dash-showcase-bars {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 140px;
  padding-top: 10px;
}

.dash-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 40px;
}

.dash-bar {
  width: 12px;
  background-color: var(--color-brand);
  border-radius: 4px;
  transition: height 1s ease-out;
}

.dash-bar-col span {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 768px) {
  .dash-showcase-layout {
    grid-template-columns: 1fr;
  }
  .dash-showcase-sidebar {
    display: none;
  }
  .dash-showcase-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CLASSES AUXILIARES DE ANIMAÇÃO (SCROLL REVEAL / HARDWARE ACCELERATED)
   ========================================================================== */

.scroll-reveal {
  opacity: 0;
  will-change: transform, opacity, filter;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up {
  transform: translateY(40px);
}

.blur-reveal {
  transform: scale(0.97);
  filter: blur(16px);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.stagger-container > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-container > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-container > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-container > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-container > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-container > *:nth-child(6) { transition-delay: 0.6s; }

/* Animação Float */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* ==========================================================================
   SEÇÃO ADICIONAL — SPLIT SCROLL (SUA CLÍNICA GANHA)
   ========================================================================== */

.section-ganhos {
  background-color: #06070B;
  position: relative;
  overflow: visible;
  padding: 140px 0 120px;
}

.gains-container {
  display: flex;
  gap: 32px;
  align-items: stretch;
}

.gains-left {
  position: sticky;
  top: 160px;
  width: 34%;
  min-width: 280px;
  height: calc(100vh - 280px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gains-sticky-content {
  display: flex;
  align-items: center;
  height: 100%;
  justify-content: center;
  padding: 0;
}

.gains-title {
  font-size: clamp(2.1rem, 4.4vw, 3.8rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: #FFFFFF;
  margin: 0;
}

.widget-header,
.gain-scroll-item p {
  display: none !important;
}

/* Right Scroll Items */
.gains-right {
  width: 66%;
  padding-bottom: 6vh;
}

.gain-scroll-item {
  height: 30vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.18;
  transform: translateY(8px);
  filter: blur(3px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.gain-scroll-item.active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.gain-scroll-item h3 {
  font-size: clamp(2rem, 4.2vw, 3.9rem);
  font-weight: 400;
  color: #FFFFFF;
  margin-bottom: 0;
  letter-spacing: -0.05em;
  line-height: 1.08;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.gain-scroll-item.active h3 {
  color: var(--color-brand-hover);
}

.gain-scroll-item p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

@media (max-width: 991px) {
  .section-ganhos {
    padding: 100px 0;
    overflow: hidden;
  }
  .gains-container {
    flex-direction: column;
    gap: 20px;
  }
  .gains-left {
    position: relative;
    top: auto;
    width: 100%;
    min-width: 0;
    height: auto;
  }
  .gains-sticky-content {
    height: auto;
    padding: 0 0 12px;
    justify-content: flex-start;
  }
  .gains-right {
    width: 100%;
    padding-bottom: 0;
  }
  .gain-scroll-item {
    height: auto;
    margin-bottom: 28px;
    opacity: 1;
    transform: none;
    filter: none;
  }
  .gain-scroll-item h3 {
    color: var(--color-brand-hover);
  }
  .gains-title {
    font-size: clamp(1.9rem, 7vw, 2.8rem);
  }
}

/* --- HERO OVERRIDES --- */
.navbar {
  top: 0;
  left: 0;
  right: 0;
  padding-top: 14px;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease;
}

.navbar.scrolled {
  transform: translateY(-1px);
}

.navbar.nav-hidden {
  transform: translateY(-140%);
  opacity: 0;
}

.navbar-container {
  max-width: 1120px;
  padding: 10px 18px;
  background: transparent;
  border: 1px solid transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border-radius: 999px;
  transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, backdrop-filter 0.28s ease;
}

.navbar.scrolled .navbar-container {
  background: #111111;
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.logo {
  font-size: 1.08rem;
  color: #FFFFFF;
}

.logo-icon {
  width: 20px;
  height: 20px;
  color: #FFFFFF;
}

.navbar.scrolled .logo {
  color: #FFFFFF;
}

.navbar.scrolled .logo-icon {
  color: #7DE7DA;
}

.nav-menu {
  gap: 28px;
}

.nav-link {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}

.nav-link:hover {
  color: #FFFFFF;
}

.navbar.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.72);
}

.navbar.scrolled .nav-link:hover {
  color: #FFFFFF;
}

.btn-header {
  min-height: 44px;
  padding: 0 18px;
  background: #2F3BE5;
  color: #FFFFFF;
  border: 1px solid #2F3BE5;
  box-shadow: none;
  font-size: 0.9rem;
  border-radius: 999px;
}

.btn-header:hover {
  background: #2431D9;
  color: #FFFFFF;
  border-color: #2431D9;
}

.navbar.scrolled .btn-header {
  background: #F8F8F6;
  color: #111111;
  border-color: rgba(255, 255, 255, 0.22);
}

.navbar.scrolled .btn-header:hover {
  background: #FFFFFF;
  color: #111111;
  border-color: rgba(255, 255, 255, 0.4);
}

.hero,
.hero.hero-minimal {
  min-height: auto;
  padding: 0;
  background: #FFFFFF;
  overflow: hidden;
  position: relative;
}

.hero.hero-minimal .hero-glow-back,
.hero.hero-minimal .hero-visual-wrapper,
.hero.hero-minimal .floating-card,
.hero.hero-minimal .hero-connections-svg {
  display: none;
}

.hero.hero-minimal .hero-content {
  max-width: none;
  width: 100%;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0;
}

.hero-copy {
  width: 100%;
  max-width: none;
  margin: 0;
  position: relative;
  z-index: 2;
  aspect-ratio: auto;
  min-height: clamp(500px, 58vw, 680px);
  padding: 118px 40px 140px;
  border-radius: 0;
  background: linear-gradient(180deg, #2F3BE5 0%, #86A8FF 100%);
  overflow: hidden;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-copy::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.08) 28%,
    rgba(255, 255, 255, 0.22) 48%,
    rgba(255, 255, 255, 0.52) 72%,
    rgba(255, 255, 255, 0.88) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-cloud-fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(170px, 24vw, 280px);
  background-image: url('./nuvens.png');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% auto;
  z-index: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
  filter: blur(58px);
  mix-blend-mode: screen;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.95) 0%, rgba(98, 146, 255, 0.85) 18%, rgba(47, 59, 229, 0.7) 48%, rgba(47, 59, 229, 0) 78%);
}

.hero-orb-1 {
  width: 280px;
  height: 280px;
  top: 8%;
  left: 10%;
  animation: hero-orbit-one 14s ease-in-out infinite;
}

.hero-orb-2 {
  width: 220px;
  height: 220px;
  top: 14%;
  right: 12%;
  opacity: 0.62;
  animation: hero-orbit-two 18s ease-in-out infinite;
}

.hero-orb-3 {
  width: 360px;
  height: 360px;
  bottom: 4%;
  left: 18%;
  opacity: 0.52;
  animation: hero-orbit-three 16s ease-in-out infinite;
}

.hero-orb-4 {
  width: 260px;
  height: 260px;
  bottom: 10%;
  right: 16%;
  opacity: 0.48;
  animation: hero-orbit-four 20s ease-in-out infinite;
}

@keyframes hero-orbit-one {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  25% { transform: translate3d(60px, -18px, 0) scale(1.08); }
  50% { transform: translate3d(20px, 34px, 0) scale(0.94); }
  75% { transform: translate3d(-36px, 8px, 0) scale(1.04); }
}

@keyframes hero-orbit-two {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  25% { transform: translate3d(-54px, 26px, 0) scale(0.96); }
  50% { transform: translate3d(-8px, 58px, 0) scale(1.08); }
  75% { transform: translate3d(30px, 10px, 0) scale(0.98); }
}

@keyframes hero-orbit-three {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  25% { transform: translate3d(48px, -24px, 0) scale(1.04); }
  50% { transform: translate3d(82px, 12px, 0) scale(0.92); }
  75% { transform: translate3d(18px, 42px, 0) scale(1.06); }
}

@keyframes hero-orbit-four {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  25% { transform: translate3d(-28px, -30px, 0) scale(1.05); }
  50% { transform: translate3d(-72px, 6px, 0) scale(0.95); }
  75% { transform: translate3d(-14px, 44px, 0) scale(1.02); }
}

.hero-headline {
  color: #FFFFFF;
  position: relative;
  z-index: 1;
}

.hero-headline-typed {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2.7rem, 5.2vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
  min-height: 1.35em;
  white-space: nowrap;
  width: max-content;
  max-width: 100%;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  word-break: keep-all;
  overflow-wrap: normal;
}

.hero-headline-typed > .hero-static-line,
.hero-headline-typed > .hero-dynamic-line,
.hero-headline-typed .hero-wave-text,
.hero-headline-typed .typing-text {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: flex-start;
  white-space: nowrap !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

.hero-static-line,
.hero-dynamic-line {
  display: inline-flex;
  color: #FFFFFF;
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: currentColor !important;
  font-variation-settings: "wght" 400;
  font-feature-settings: "kern" 1;
  text-rendering: optimizeLegibility;
  white-space: nowrap;
  flex: 0 0 auto;
  flex-direction: row;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

.hero-static-line {
  font-weight: 400;
}

.hero-dynamic-line {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 1.1em;
  min-width: 7.5ch;
  font-weight: 400;
  white-space: nowrap;
}

.typing-text {
  color: #FFFFFF;
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: currentColor !important;
  display: inline-block;
  position: relative;
  text-align: left;
  white-space: nowrap;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}

.typing-text::after {
  content: "";
  position: absolute;
  inset: 0.08em -0.12em;
  border-radius: 0.22em;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: scaleX(0);
  z-index: -1;
  transform-origin: bottom right;
  transition:
    transform 0.55s ease,
    opacity 0.45s ease;
}

.typing-text.is-resting::after {
  opacity: 1;
  transform: scaleX(1);
  transform-origin: bottom left;
}

.hero-wave-text {
  display: inline-flex;
  flex-wrap: nowrap;
  flex-direction: row !important;
  justify-content: flex-start;
  white-space: nowrap;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

.hero-wave-char {
  display: inline-block;
  white-space: pre;
  will-change: font-variation-settings;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

.typing-cursor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 1em;
  margin-left: 6px;
  color: #FFFFFF;
  line-height: 1;
  animation: blink-caret 0.9s step-end infinite;
}

.typing-cursor::before {
  content: "|";
  display: block;
}

@keyframes blink-caret {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0; }
}

.hero.hero-minimal .hero-subheadline {
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 720px;
  margin: 0 auto 30px auto;
  letter-spacing: -0.02em;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

.hero.hero-minimal .hero-actions {
  margin-bottom: 0;
  position: relative;
  z-index: 1;
  align-self: center;
}

.hero-primary-btn {
  min-height: 62px;
  padding: 8px 8px 8px 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.96rem;
  font-weight: 400;
  box-shadow: none;
  background: #05070A;
  color: #FFFFFF;
  border: none;
}

.hero-primary-btn:hover {
  background: #0E1218;
  color: #FFFFFF;
}

.hero-primary-btn__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #3F5BFF;
  color: #FFFFFF;
  flex: 0 0 auto;
}

.hero-primary-btn__icon svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 991px) {
  .navbar {
    top: 0;
    padding-top: 10px;
  }

  .navbar-container {
    padding: 12px 16px;
  }

  .hero,
  .hero.hero-minimal {
    padding: 0;
  }

  .hero-headline-typed {
    font-size: clamp(2.2rem, 7.4vw, 3.3rem);
    gap: 10px;
  }

  .hero.hero-minimal .hero-content {
    padding: 0;
    border-radius: 0;
  }

  .hero-copy {
    width: 100%;
    max-width: none;
    min-height: auto;
    aspect-ratio: auto;
    min-height: clamp(420px, 68vw, 560px);
    padding: 104px 22px 108px;
    border-radius: 0;
  }

  .hero-cloud-fill {
    height: clamp(132px, 22vw, 210px);
  }

  .hero-copy::after {
    height: 38%;
  }

  .hero-orb-1 {
    width: 220px;
    height: 220px;
  }

  .hero-orb-2 {
    width: 170px;
    height: 170px;
  }

  .hero-orb-3 {
    width: 280px;
    height: 280px;
  }

  .hero-orb-4 {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 576px) {
  .hero-copy {
    min-height: clamp(360px, 82vw, 460px);
    aspect-ratio: auto;
    padding: 92px 16px 88px;
  }

  .hero-cloud-fill {
    height: clamp(108px, 24vw, 160px);
    background-size: 100% auto;
  }

  .hero-copy::after {
    height: 34%;
  }

  .hero-orb {
    filter: blur(42px);
    opacity: 0.58;
  }

  .hero-orb-1 {
    width: 150px;
    height: 150px;
    top: 12%;
    left: 6%;
  }

  .hero-orb-2 {
    width: 120px;
    height: 120px;
    top: 10%;
    right: 8%;
  }

  .hero-orb-3 {
    width: 180px;
    height: 180px;
    bottom: 4%;
    left: 10%;
  }

  .hero-orb-4 {
    width: 140px;
    height: 140px;
    bottom: 12%;
    right: 10%;
  }

  .hero-headline-typed {
    font-size: clamp(1.08rem, 5.2vw, 1.5rem);
    gap: 4px;
    min-height: 1.35em;
    white-space: nowrap;
    max-width: 100%;
  }

  .hero-static-line,
  .hero-dynamic-line,
  .hero-headline-typed .hero-wave-text,
  .hero-headline-typed .typing-text {
    max-width: 100%;
  }

  .hero.hero-minimal .hero-actions {
    width: auto;
    max-width: none;
    margin: 0 auto 34px auto;
  }

  .hero-primary-btn {
    width: auto;
    min-width: 220px;
  }

  .typing-cursor {
    margin-left: 4px;
  }

  .hero.hero-minimal .hero-content {
    padding-bottom: 0;
  }
}

.trust-strip {
  padding: 22px 0 18px;
  background: #FFFFFF;
}

.trust-strip .container {
  max-width: 1160px;
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.trust-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
}

.trust-feature-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: rgba(15, 23, 42, 0.72);
  transform: translateY(2px);
}

.trust-feature-icon svg {
  width: 24px;
  height: 24px;
}

.trust-feature-copy h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  color: #1A1A1A;
}

.trust-feature-copy p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(15, 23, 42, 0.46);
}

@media (max-width: 991px) {
  .trust-strip {
    padding: 18px 0 14px;
  }

  .trust-strip-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 576px) {
  .trust-feature {
    align-items: flex-start;
  }
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-brand);
}

/* --- SECAO CLIENTES / COMENTARIOS --- */
.section-clients-comments {
  background: #FFFFFF;
  --note-height: 108px;
}

.clients-center {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.section-clients-comments .editorial-desc {
  max-width: 620px;
  margin: 18px auto 0;
}

.note-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 48px;
  padding: 0 20px;
}

.note {
  width: 100%;
  max-width: 520px;
  height: var(--note-height);
  overflow: hidden;
  animation: note-shrink 0.75s forwards;
  animation-play-state: paused;
}

.note__inner {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  border-radius: 24px;
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  animation: note-in 0.75s forwards;
  transform-origin: 50% 100%;
}

.note__content {
  min-width: 0;
  text-align: left;
}

.note__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light-prio);
  letter-spacing: -0.02em;
}

.note__message {
  margin-top: 4px;
  font-size: 0.95rem;
  color: var(--text-light-sec);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.avatar {
  width: 68px;
  height: 68px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(41, 98, 255, 0.08);
}

.avatar-juliana {
  background: hsl(18 100% 93%);
}

.avatar-marcos {
  background: hsl(206 100% 92%);
}

.avatar-patricia {
  background: hsl(140 70% 92%);
}

.avatar-ricardo {
  background: hsl(28 90% 92%);
}

.avatar-fernanda {
  background: hsl(320 70% 93%);
}

.note.note--out {
  animation-play-state: running;
}

.note.note--out .note__inner {
  animation-name: note-out;
  transform-origin: 50% 50%;
}

@keyframes note-in {
  from {
    filter: blur(10px);
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    filter: blur(0);
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes note-out {
  from {
    filter: blur(0);
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    filter: blur(10px);
    opacity: 0;
    transform: translateY(-100%) scale(1.1);
  }
}

@keyframes note-shrink {
  from {
    height: var(--note-height);
  }
  to {
    height: 0;
  }
}

@media (max-width: 576px) {
  .note-center {
    margin-top: 36px;
    padding: 0;
  }

  .note__inner {
    grid-template-columns: 56px 1fr;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 20px;
  }

  .note {
    --note-height: 96px;
  }

  .avatar {
    width: 56px;
    height: 56px;
    font-size: 1.7rem;
  }

  .note__message {
    white-space: normal;
    overflow: visible;
    text-overflow: initial;
  }
}

.ecosystem-section {
  position: relative;
  padding: 40px 0 30px;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, #F9FBFF 52%, #FFFFFF 100%);
}

.ecosystem-section .container {
  max-width: 1180px;
}

.ecosystem-graphic {
  position: relative;
  max-width: 920px;
  height: 520px;
  margin: 0 auto 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 48px;
  background:
    linear-gradient(rgba(47, 59, 229, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 59, 229, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(88, 146, 255, 0.12) 0%, rgba(88, 146, 255, 0.05) 18%, rgba(255, 255, 255, 0.78) 52%, rgba(255, 255, 255, 0.24) 76%, rgba(255, 255, 255, 0) 100%);
  background-size: 72px 72px, 72px 72px, 100% 100%;
  border: 1px solid rgba(47, 59, 229, 0.05);
}

.ecosystem-graphic::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(164, 191, 255, 0.42), rgba(255, 255, 255, 0.82));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.ecosystem-graphic::after {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.ecosystem-graphic::after {
  width: 280px;
  height: 280px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(88, 146, 255, 0.16) 0%, rgba(88, 146, 255, 0.08) 40%, rgba(88, 146, 255, 0) 74%);
  filter: blur(14px);
}

.ecosystem-rings {
  position: absolute;
  inset: 50%;
  width: 330px;
  height: 330px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(47, 59, 229, 0.12) 0, rgba(47, 59, 229, 0.06) 22%, rgba(255, 255, 255, 0.8) 56%, rgba(255, 255, 255, 0) 74%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(237, 242, 255, 0.5));
  filter: blur(0.2px);
}

.ecosystem-rings::before,
.ecosystem-rings::after {
  content: "";
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.ecosystem-rings::before {
  width: 220px;
  height: 220px;
}

.ecosystem-rings::after {
  width: 120px;
  height: 120px;
}

.ecosystem-lines-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ecosystem-line-path {
  fill: none;
  stroke: rgba(72, 122, 240, 0.46);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.ecosystem-center-brand {
  position: relative;
  z-index: 2;
  width: 164px;
  height: 164px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 248, 255, 0.9));
  border: 1px solid rgba(47, 59, 229, 0.08);
  box-shadow: 0 0 0 12px rgba(47, 59, 229, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.ecosystem-center-logo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(41, 98, 255, 0.1);
  color: #2962FF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ecosystem-center-logo .logo-icon {
  width: 30px;
  height: 30px;
}

.ecosystem-center-name {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #0F172A;
}

.ecosystem-node {
  position: absolute;
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(47, 59, 229, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2962FF;
  opacity: 0;
  transform: translateY(20px) scale(0.92);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease,
    box-shadow 0.3s ease;
}

.ecosystem-node svg {
  width: 28px;
  height: 28px;
}

.ecosystem-node:hover {
  border-color: rgba(47, 59, 229, 0.16);
}

.node-l1 { top: 86px; left: 150px; animation: ecosystem-float-a 4.8s ease-in-out infinite; }
.node-l2 { top: 224px; left: 98px; animation: ecosystem-float-b 5.2s ease-in-out infinite; }
.node-l3 { bottom: 84px; left: 150px; animation: ecosystem-float-a 5s ease-in-out infinite; }
.node-r1 { top: 86px; right: 150px; animation: ecosystem-float-b 5.1s ease-in-out infinite; }
.node-r2 { top: 224px; right: 98px; animation: ecosystem-float-a 4.9s ease-in-out infinite; }
.node-r3 { bottom: 84px; right: 150px; animation: ecosystem-float-b 5.4s ease-in-out infinite; }

@keyframes ecosystem-float-a {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes ecosystem-float-b {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(9px); }
}

.ecosystem-copy {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

.ecosystem-reveal {
  max-width: 820px;
  text-align: center;
  font-size: clamp(2.1rem, 4.5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  color: #0F172A;
}

.ecosystem-reveal .line {
  font-weight: 400;
}

.ecosystem-section.is-visible .ecosystem-line-path {
  stroke-dashoffset: 0;
}

.ecosystem-section.is-visible .ecosystem-center-brand,
.ecosystem-section.is-visible .ecosystem-node {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ecosystem-section.is-visible .node-l1 { transition-delay: 0.1s; }
.ecosystem-section.is-visible .node-l2 { transition-delay: 0.18s; }
.ecosystem-section.is-visible .node-l3 { transition-delay: 0.26s; }
.ecosystem-section.is-visible .node-r1 { transition-delay: 0.16s; }
.ecosystem-section.is-visible .node-r2 { transition-delay: 0.24s; }
.ecosystem-section.is-visible .node-r3 { transition-delay: 0.32s; }

@media (max-width: 991px) {
  .ecosystem-section {
    padding-top: 28px;
  }

  .ecosystem-graphic {
    height: 440px;
    max-width: 760px;
    margin-bottom: 0;
    border-radius: 38px;
    background-size: 56px 56px, 56px 56px, 100% 100%;
  }

  .ecosystem-rings {
    width: 270px;
    height: 270px;
  }

  .ecosystem-center-brand {
    width: 142px;
    height: 142px;
    border-radius: 50%;
  }

  .ecosystem-node {
    width: 64px;
    height: 64px;
    border-radius: 50%;
  }

  .node-l1 { top: 72px; left: 88px; }
  .node-l2 { top: 188px; left: 28px; }
  .node-l3 { bottom: 72px; left: 88px; }
  .node-r1 { top: 72px; right: 88px; }
  .node-r2 { top: 188px; right: 28px; }
  .node-r3 { bottom: 72px; right: 88px; }
}

@media (max-width: 576px) {
  .ecosystem-graphic {
    height: 440px;
    margin-bottom: 0;
    border-radius: 28px;
    background-size: 42px 42px, 42px 42px, 100% 100%;
  }

  .ecosystem-rings {
    width: 220px;
    height: 220px;
  }

  .ecosystem-center-brand {
    width: 122px;
    height: 122px;
    border-radius: 50%;
    gap: 10px;
  }

  .ecosystem-center-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
  }

  .ecosystem-center-logo .logo-icon {
    width: 24px;
    height: 24px;
  }

  .ecosystem-center-name {
    font-size: 1rem;
  }

  .ecosystem-node {
    width: 54px;
    height: 54px;
    border-radius: 50%;
  }

  .ecosystem-node svg {
    width: 22px;
    height: 22px;
  }

  .node-l1 { top: 76px; left: 18px; }
  .node-l2 { top: 194px; left: 0; }
  .node-l3 { bottom: 76px; left: 18px; }
  .node-r1 { top: 76px; right: 18px; }
  .node-r2 { top: 194px; right: 0; }
  .node-r3 { bottom: 76px; right: 18px; }

  .ecosystem-reveal {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }
}
