/**
 * ==============================================================================
 * FOCO — Ferramentas Organizacionais de Controle e Otimização (FACOPI)
 * Folha de Estilos Principal (style.css)
 * ==============================================================================
 * Sumário:
 *  1. Variáveis e Design Tokens (:root)
 *  2. Reset e Estilos Globais (Base)
 *  3. Tipografia e Elementos Comuns (Typography & Common UI)
 *  4. Cabeçalho e Navegação Escura (Header & Navigation + "Já sou cliente")
 *  5. Seção Hero com Órbita de Sistemas (Hero Section & Orbit Cards)
 *  6. Elemento Visual Decorativo (Target / Alvo com Retículo)
 *  7. Seção Conceito / Significado FOCO (Meaning Section)
 *  8. Seção Visual Bridge (Bridge Cards com Ícones SVG)
 *  9. Catálogo de Sistemas e Janela do Produto (Product Window & Demos)
 * 10. Seção Ecossistema / Benefícios (Dark Section & Benefit Cards)
 * 11. Seção Como Funciona / Metodologia (Method & Interactive Steps)
 * 12. Seção de Perguntas Frequentes (FAQ)
 * 13. Seção de Contato (CTA Box Gradiente)
 * 14. Rodapé (Footer)
 * 15. Barra de Progresso de Leitura e Animações de Rolagem (Scroll Enter)
 * 16. Animações e Transições (@keyframes)
 * 17. Responsividade (Media Queries)
 * 18. Acessibilidade (Prefers-reduced-motion)
 * ==============================================================================
 */

/* =============================================================================
   1. Variáveis e Design Tokens (:root)
   ============================================================================= */
:root {
  --green: #2bae4a;
  --lime: #7ad48f;
  --night: #0d1f15;
  --ink: #1e2b22;
  --muted: #63756a;
  --paper: #f6faf7;
  --font-family: Montserrat, 'Segoe UI', Arial, sans-serif;
}

/* =============================================================================
   2. Reset e Estilos Globais (Base)
   ============================================================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: var(--font-family);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 5px;
}

/* Link de Acessibilidade (Pular para o Conteúdo) */
.skip-link {
  position: absolute;
  top: -40px;
  left: 10px;
  background: var(--green);
  color: #ffffff;
  padding: 8px 16px;
  z-index: 100;
  font-weight: 700;
  border-radius: 4px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 10px;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

/* =============================================================================
   3. Tipografia e Elementos Comuns (Typography & Common UI)
   ============================================================================= */
h1,
h2,
h3,
h4 {
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.08;
}

p {
  line-height: 1.7;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--green);
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  border: 1px solid transparent;
  border-radius: 5px;
  transition: all 0.25s ease;
}

.btn:hover {
  background: #25883c;
  border-color: var(--lime);
}

.btn.dark {
  background: var(--night);
  border-color: #29603e;
}

.btn.dark:hover {
  background: #183e28;
  border-color: var(--lime);
}

.btn.outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid #3d6a4a;
}

.btn.outline:hover {
  background: rgba(25, 60, 36, 0.08);
  border-color: var(--green);
}

.btn span {
  font-size: 16px;
  line-height: 1;
  transition: transform 0.25s;
}

.btn:hover span {
  transform: translate(3px, -3px);
}

/* =============================================================================
   4. Cabeçalho e Navegação Escura (Header & Navigation)
   ============================================================================= */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #0d1f15f2;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(169, 195, 176, 0.15);
  color: #eef6ef;
}

.nav {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
}

.brand .by {
  font-size: 10px;
  letter-spacing: 2px;
  border-left: 1px solid rgba(169, 195, 176, 0.3);
  padding-left: 13px;
  margin-left: 13px;
  line-height: 1.6;
  color: #a9c3b0;
  display: none; /* A logo já traz a assinatura FACOPI */
}

.logo-window {
  width: 130px;
  height: 79px;
  display: inline-flex;
  align-items: center;
  background: transparent;
}

.logo-window img {
  position: static;
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

nav a {
  font-size: 13px;
  font-weight: 600;
  color: #a9c3b0;
  letter-spacing: 0.3px;
  position: relative;
  transition: color 0.2s ease;
}

nav a:hover,
.hero-link:hover {
  color: var(--lime);
}

/* Dropdown Menu (Já sou cliente) */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-btn {
  background: transparent;
  border: 1px solid rgba(122, 212, 143, 0.44);
  color: #e8f7e9;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 5px;
  transition: all 0.2s ease;
}

.dropdown-btn:hover,
.nav-dropdown:hover .dropdown-btn,
.nav-dropdown:focus-within .dropdown-btn,
.nav-dropdown.open .dropdown-btn {
  background: rgba(122, 212, 143, 0.12);
  border-color: var(--lime);
  color: var(--lime);
}

.dropdown-btn .arrow {
  font-size: 10px;
  color: var(--lime);
  transition: transform 0.2s ease;
  display: inline-block;
}

.nav-dropdown:hover .dropdown-btn .arrow,
.nav-dropdown.open .dropdown-btn .arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 195px;
  background: #0d1f15;
  border: 1px solid rgba(122, 212, 143, 0.35);
  border-radius: 8px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  color: #eef6ef;
  font-size: 13px;
  font-weight: 600;
  border-radius: 5px;
  transition: background 0.15s ease, color 0.15s ease;
  text-decoration: none;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(43, 174, 74, 0.2);
  color: var(--lime);
}

.dropdown-item .dropdown-arrow {
  color: var(--green);
  font-size: 12px;
  transition: transform 0.15s ease, color 0.15s ease;
}

.dropdown-item:hover .dropdown-arrow,
.dropdown-item:focus .dropdown-arrow {
  transform: translate(2px, -2px);
  color: var(--lime);
}

/* Área de cliente no menu mobile */
.mobile-client-area {
  display: none;
}

.menu {
  display: none;
  color: #eaf4ec;
  border: 1px solid rgba(122, 212, 143, 0.44);
  background: none;
  border-radius: 5px;
  padding: 9px 12px;
  font-size: 13px;
}

/* =============================================================================
   5. Seção Hero com Órbita de Sistemas (Hero Section & Orbit Cards)
   ============================================================================= */
.hero {
  position: relative;
  background: radial-gradient(ellipse at 75% 40%, #14301f, #0d1f15 75%);
  color: #f2f7f3;
  min-height: 730px;
  padding: 75px 0 34px;
  overflow: hidden;
}

.hero > .wrap {
  position: relative;
  z-index: 1;
}

.hero .eyebrow {
  color: var(--lime);
  letter-spacing: 0.26em;
}

.hero-composition {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 40px;
  min-height: 560px;
  margin-top: 15px;
}

.hero h1 {
  font-size: clamp(48px, 5.5vw, 76px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -3px;
  margin: 35px 0 25px;
}

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

.hero .intro {
  font-size: 16px;
  line-height: 1.8;
  max-width: 455px;
  color: #a9c3b0;
}

.hero .actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
}

.hero-link {
  font-size: 12px;
  font-weight: 600;
  color: #e9f5ec;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}

/* Palco da Logo e Decoração de Órbita */
.hero .logo-stage {
  height: 520px;
  display: grid;
  place-content: center;
  position: relative;
}

.hero .logo-art {
  width: 100%;
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.hero .logo-art img {
  width: 100%;
  max-width: 360px;
  filter: drop-shadow(0 8px 35px rgba(0, 0, 0, 0.4));
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.hero .logo-caption {
  position: absolute;
  bottom: -37px;
  width: 100%;
  font-size: 10px;
  text-align: center;
  color: #7b9483;
  letter-spacing: 1px;
}

/* Linhas circulares de órbita */
.orbit-decoration {
  position: absolute;
  inset: 25px 0;
  pointer-events: none;
}

.orbit-decoration i {
  position: absolute;
  inset: 30px;
  border: 1px solid rgba(122, 212, 143, 0.19);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.orbit-decoration i:nth-child(2) {
  inset: 70px;
  border-style: dashed;
  animation: orbit-spin 70s linear infinite;
}

.orbit-decoration i:nth-child(3) {
  inset: 110px;
  box-shadow: 0 0 80px rgba(43, 174, 74, 0.08);
}

/* Cartões flutuantes dos 3 sistemas */
.orbit-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 18px;
  border: 1px solid rgba(122, 212, 143, 0.31);
  border-radius: 10px;
  background: rgba(23, 51, 35, 0.96);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  transition: background 0.25s, border-color 0.25s;
  animation: float-card 6s ease-in-out infinite;
  min-width: 205px;
}

.orbit-card:hover {
  background: #245236;
  border-color: var(--lime);
}

.orbit-card small {
  font-size: 8px;
  color: var(--lime);
  letter-spacing: 2px;
  display: block;
  margin-bottom: 4px;
}

.orbit-card strong {
  font-size: 16px;
  display: block;
  color: #ffffff;
}

.orbit-card em {
  font-size: 8px;
  color: #b6cdbb;
  font-style: normal;
  display: block;
  margin-top: 6px;
}

.orbit-card b {
  font-size: 17px;
  font-weight: 400;
  color: var(--lime);
  margin-left: auto;
}

.system-icon {
  width: 35px;
  display: block;
  color: var(--lime);
  flex-shrink: 0;
}

.system-icon svg {
  width: 100%;
  display: block;
}

.orbit-0 {
  top: 0;
  right: 8px;
}

.orbit-1 {
  bottom: 4px;
  right: 0;
  animation-delay: -2s;
}

.orbit-2 {
  bottom: 60px;
  left: -25px;
  animation-delay: -4s;
}

.hero-pills {
  display: flex;
  gap: 35px;
  color: #a9c3b0;
  font-size: 10px;
  letter-spacing: 1.2px;
  padding-top: 22px;
}

.hero-pills span:before {
  content: '●';
  color: var(--green);
  margin-right: 9px;
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(169, 195, 176, 0.17);
  padding-top: 25px;
  margin-top: 28px;
  font-size: 11px;
  color: #a9c3b0;
}

.hero-bottom a {
  color: var(--lime);
  font-weight: 700;
}

/* =============================================================================
   6. Elemento Visual Decorativo (Target / Alvo com Retículo)
   ============================================================================= */
.target {
  position: relative;
  color: var(--green);
  aspect-ratio: 1;
  width: 200px;
  border: 3px solid currentColor;
  border-radius: 50%;
  pointer-events: none;
}

.target:before,
.target:after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 10px;
}

.target:before {
  height: 3px;
  left: -15%;
  right: -15%;
  top: calc(50% - 1.5px);
}

.target:after {
  width: 3px;
  top: -15%;
  bottom: -15%;
  left: calc(50% - 1.5px);
}

.target > span {
  position: absolute;
  width: 42%;
  height: 42%;
  border-radius: 50%;
  background: currentColor;
  left: 29%;
  top: 29%;
}

.hero-target {
  position: absolute;
  width: 700px;
  right: -270px;
  top: 20px;
  opacity: 0.12;
  transform: rotate(0deg);
  animation: targetIn 1.5s both;
}

.mini-target {
  display: inline-block;
  width: 19px;
  height: 19px;
  border-width: 1px;
  flex-shrink: 0;
  margin: 4px 8px 4px 3px;
  vertical-align: middle;
}

.mini-target:before {
  height: 1px;
  top: 50%;
}

.mini-target:after {
  width: 1px;
  left: 50%;
}

/* =============================================================================
   7. Seção Conceito / Significado FOCO (Meaning Section)
   ============================================================================= */
.meaning-section {
  padding: 85px 0 70px;
  background: #f6faf7;
  border-bottom: 1px solid rgba(25, 60, 36, 0.08);
}

.meaning-section .eyebrow {
  color: #23903d;
  letter-spacing: 0.23em;
}

.meaning {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 45px 0 35px;
  gap: 30px;
}

.meaning > div {
  text-align: center;
  border: none;
  padding: 0;
}

.meaning strong {
  font-size: 125px;
  font-weight: 900;
  line-height: 1.1;
  color: #2b5234;
  display: block;
  letter-spacing: -2px;
}

.meaning > div:nth-child(3) strong {
  color: var(--green);
}

.meaning > div > span {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-top: 17px;
  color: #2b5234;
  letter-spacing: 0.5px;
}

.meaning-target {
  width: 106px;
  height: 106px;
  margin: 15px auto 16px;
  border-width: 4px;
}

.meaning-target:before {
  height: 4px;
}

.meaning-target:after {
  width: 4px;
}

.meaning-section p {
  text-align: center;
  font-size: 17px;
  color: #63756a;
  line-height: 1.8;
  max-width: 760px;
  margin: 0 auto;
}

/* =============================================================================
   8. Seção Visual Bridge (Bridge Cards com Ícones SVG)
   ============================================================================= */
.visual-bridge {
  background: #eaf2e7;
  padding: 75px 0 80px;
  overflow: hidden;
}

.bridge-copy {
  text-align: center;
  margin-bottom: 42px;
}

.bridge-copy .eyebrow {
  justify-content: center;
  color: #23903d;
}

.bridge-copy h2 {
  margin: 18px auto 0;
  font-size: 40px;
}

.bridge-copy h2 span {
  color: var(--green);
}

.bridge-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.bridge-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #d4e2cd;
  border-radius: 10px;
  padding: 30px;
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
  display: block;
}

.bridge-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 25px 45px rgba(30, 71, 39, 0.1);
}

.bridge-num {
  position: absolute;
  right: 24px;
  top: 25px;
  color: #a8bda1;
  font-size: 11px;
}

.large-icon {
  width: 65px;
  height: 65px;
  color: var(--green);
  background: #f0f7ed;
  padding: 12px;
  border-radius: 13px;
}

.large-icon svg {
  width: 100%;
  height: 100%;
}

.bridge-card h3 {
  font-size: 22px;
  letter-spacing: -0.7px;
  margin: 25px 0 12px;
  color: var(--ink);
}

.bridge-card p {
  font-size: 12px;
  color: #63756a;
  line-height: 1.7;
}

.bridge-arrow {
  display: block;
  border-top: 1px solid #e1e9dd;
  margin-top: 30px;
  padding-top: 18px;
  font-size: 11px;
  color: #25883c;
  font-weight: 600;
}

.bridge-card:after {
  content: '';
  position: absolute;
  right: -38px;
  bottom: -38px;
  width: 100px;
  height: 100px;
  border: 1px solid rgba(43, 174, 74, 0.08);
  border-radius: 50%;
}

/* =============================================================================
   9. Catálogo de Sistemas e Janela do Produto (Product Window & Demos)
   ============================================================================= */
.section {
  padding: 105px 0;
}

.heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 55px;
}

.heading h2 {
  font-size: 46px;
  margin: 14px 0 0;
}

.heading p {
  max-width: 420px;
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

.catalog {
  display: grid;
  grid-template-columns: 235px 1fr;
  background: #ffffff;
  border: 1px solid #dce5d8;
  border-radius: 10px;
  box-shadow: 0 25px 65px rgba(27, 53, 39, 0.04);
  overflow: hidden;
}

.tabs {
  background: #edf4ed;
  border-right: 1px solid #dce5d8;
  display: flex;
  flex-direction: column;
  padding: 20px 13px;
  justify-content: center;
  gap: 13px;
}

.tab {
  text-align: left;
  padding: 22px 16px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid transparent;
  background: transparent;
  color: #4b6253;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
}

.tab:hover {
  background: #ffffff;
  color: var(--ink);
}

.tab[aria-selected='true'] {
  background: #2b5234;
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.tab[aria-selected='true'] span {
  color: var(--lime);
}

.detail {
  padding: 40px;
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  gap: 35px;
  align-items: center;
  min-height: 460px;
}

.detail:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -2px;
}

.detail .tag {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
  line-height: 1.8;
  display: block;
}

.detail h3 {
  font-size: 28px;
  margin: 10px 0 16px;
}

.detail p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.detail ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail li {
  font-size: 13px;
  color: #3b5344;
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail li:before {
  content: '✓';
  color: var(--green);
  font-weight: 900;
}

/* Janela Ilustrativa do Produto (Product Window) */
.product-window {
  background: #ffffff;
  border: 1px solid #d5e3d0;
  border-radius: 9px;
  box-shadow: 0 18px 45px rgba(25, 61, 36, 0.08);
  overflow: hidden;
  min-width: 0;
  transform: perspective(1000px) rotateY(-3deg);
  transition: transform 0.4s;
}

.product-window:hover {
  transform: perspective(1000px) rotateY(0);
}

.window-chrome {
  background: #f0f5ec;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  padding: 14px 15px;
  color: #657a5d;
  border-bottom: 1px solid #dfe9d9;
}

.window-dots {
  font-size: 8px;
  letter-spacing: 2px;
  color: #b3c6ac;
}

.live-dot {
  color: var(--green);
}

.window-body {
  padding: 21px;
}

.window-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.window-heading small {
  font-size: 7px;
  letter-spacing: 1.3px;
  color: #8a9e83;
}

.window-heading h4 {
  font-size: 15px;
  margin: 8px 0 0;
  letter-spacing: -0.5px;
  color: var(--ink);
}

.window-avatar {
  background: #193d24;
  color: var(--lime);
  padding: 9px 12px;
  border-radius: 50%;
  font-size: 11px;
}

.product-kpis {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 10px;
  margin: 22px 0;
}

.product-kpis > div {
  background: #f3f7ef;
  border: 1px solid #e1eadb;
  border-radius: 7px;
  padding: 14px 12px;
}

.product-kpis small {
  font-size: 8px;
  color: #65775f;
  display: block;
  line-height: 1.6;
}

.product-kpis strong {
  font-size: 22px;
  letter-spacing: -1px;
  display: block;
  margin: 10px 0;
  color: var(--ink);
}

.product-kpis span {
  font-size: 7px;
  color: #879a7f;
}

/* Cenário 1: Grid de Ativos */
.asset-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.asset-grid > div {
  border: 1px solid #e1eadb;
  border-radius: 6px;
  padding: 12px;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 5px;
  align-items: center;
}

.asset-grid span {
  color: var(--green);
  grid-row: 1/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.asset-grid span svg {
  width: 20px;
  height: 20px;
  display: block;
}

.asset-grid b {
  font-size: 9px;
  color: var(--ink);
}

.asset-grid small {
  font-size: 8px;
  color: #8a9a84;
}

.window-foot {
  font-size: 7px;
  color: #85977d;
  margin-top: 20px;
  border-top: 1px solid #e1eadb;
  padding-top: 12px;
}

.window-foot .live-dot {
  margin-right: 5px;
}

/* Cenário 2: Gráfico Financeiro */
.finance-chart {
  display: block;
  width: 100%;
  height: 120px;
  overflow: visible;
}

.chart-legend {
  display: flex;
  gap: 18px;
  font-size: 8px;
  color: var(--green);
  margin: 15px 0;
}

.chart-legend span + span {
  color: #8ca287;
}

.chart-months {
  display: flex;
  justify-content: space-between;
  font-size: 7px;
  color: #8c9e85;
  margin-top: 8px;
}

.chart-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  animation: draw-chart 1.4s ease both;
}

/* Cenário 3: Tickets de Atendimento */
.ticket {
  display: flex;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid #e3ebdd;
  padding: 13px 0;
}

.ticket-avatar {
  font-size: 7px;
  flex-shrink: 0;
  background: #e5efdf;
  padding: 9px 6px;
  border-radius: 50%;
  color: #4d7042;
}

.ticket div {
  flex: 1;
}

.ticket b {
  font-size: 8px;
  display: block;
  color: var(--ink);
}

.ticket small {
  font-size: 7px;
  color: #8c9d84;
  display: block;
  margin-top: 5px;
}

.ticket em {
  font-size: 6px;
  padding: 5px;
  border-radius: 4px;
  background: #eef1e6;
  color: #7c8c59;
  font-style: normal;
  white-space: nowrap;
}

.ticket .done {
  background: #e0f2db;
  color: #38802d;
}

/* Animação ao trocar de aba */
.panel-enter .product-window {
  animation: panel-in 0.55s ease both;
}

.panel-enter #system-name,
.panel-enter #system-desc {
  animation: panel-in 0.45s ease both;
}

/* =============================================================================
   10. Seção Ecossistema / Benefícios (Dark Section & Benefit Cards)
   ============================================================================= */
.dark-section {
  background: radial-gradient(ellipse at 80% 30%, #14301f, #0d1f15);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.dark-section > .wrap {
  position: relative;
  z-index: 1;
}

.dark-section .eyebrow {
  color: #8fa695;
}

.dark-section h2 {
  font-size: 46px;
  margin: 14px 0 60px;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.benefit {
  border: 1px solid rgba(122, 212, 143, 0.25);
  border-top-color: rgba(122, 212, 143, 0.5);
  padding: 38px 30px;
  border-radius: 8px;
  background: rgba(22, 49, 34, 0.6);
  transition: background 0.3s, transform 0.3s;
}

.benefit:hover {
  background: rgba(22, 49, 34, 0.95);
  transform: translateY(-4px);
}

.benefit .number {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--lime);
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid rgba(122, 212, 143, 0.25);
  border-radius: 20px;
}

.benefit h3 {
  font-size: 24px;
  margin: 20px 0 14px;
  letter-spacing: -0.8px;
}

.benefit p {
  font-size: 13px;
  color: #a8beae;
  line-height: 1.8;
  margin: 0;
}

.section-target {
  position: absolute;
  width: 600px;
  right: -300px;
  top: 30px;
  opacity: 0.15;
}

/* =============================================================================
   11. Seção Como Funciona / Metodologia (Method & Interactive Steps)
   ============================================================================= */
.method {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.method h2 {
  font-size: 46px;
  margin: 14px 0 20px;
}

.method > div > p {
  color: var(--muted);
  font-size: 15px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.step {
  display: flex;
  gap: 26px;
  padding: 24px;
  border: 1px solid #dce5d8;
  border-radius: 8px;
  background: #ffffff;
  transition: padding-left 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.step:hover {
  padding-left: 32px;
  border-color: var(--green);
  box-shadow: 0 8px 25px rgba(43, 174, 74, 0.08);
}

.step > span {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  background: #e3f1dd;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  flex-shrink: 0;
}

.step h3 {
  font-size: 19px;
  margin: 0 0 8px;
  letter-spacing: -0.5px;
  color: var(--ink);
}

.step p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

/* =============================================================================
   12. Seção de Perguntas Frequentes (FAQ)
   ============================================================================= */
.faq {
  background: #edf4ed;
  border-top: 1px solid rgba(25, 60, 36, 0.08);
  border-bottom: 1px solid rgba(25, 60, 36, 0.08);
}

.faqgrid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
}

.faqgrid h2 {
  font-size: 44px;
  margin: 14px 0 0;
}

details {
  border-bottom: 1px solid #cad7c5;
  padding: 22px 0;
}

details:first-child {
  padding-top: 0;
}

summary {
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
}

summary::-webkit-details-marker {
  display: none;
}

summary:after {
  content: '+';
  font-size: 20px;
  color: var(--green);
}

details[open] summary:after {
  content: '−';
}

details p {
  font-size: 13px;
  color: var(--muted);
  margin: 14px 0 0;
  line-height: 1.8;
}

/* =============================================================================
   13. Seção de Contato (CTA Box Gradiente)
   ============================================================================= */
.contact {
  padding: 90px 0;
}

.contactbox {
  background: radial-gradient(ellipse at 80% 50%, #2b5234, #14301f);
  color: #ffffff;
  border-radius: 8px;
  padding: 65px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.contactbox > div:not(.target) {
  position: relative;
  z-index: 1;
}

.contactbox .eyebrow {
  color: var(--lime);
}

.contactbox h2 {
  font-size: 37px;
  margin: 14px 0 0;
}

.contactbox p {
  color: #c3d7c8;
  font-size: 15px;
  margin: 0 0 25px;
}

.contactbox .btn.dark {
  background: var(--green);
  border-color: var(--green);
  color: #ffffff;
}

.contactbox .btn.dark:hover {
  background: #25883c;
  border-color: var(--lime);
}

.contactbox .small {
  font-size: 11px;
  color: #a9c3b0;
  margin-top: 14px;
}

.contact-target {
  position: absolute !important;
  width: 330px;
  right: 10%;
  top: -20px;
  opacity: 0.15;
}

/* =============================================================================
   14. Rodapé (Footer)
   ============================================================================= */
footer {
  border-top: 1px solid #d5dfd0;
  padding: 30px 0 40px;
  background: #edf4ed;
}

.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  font-size: 12px;
  color: #637768;
}

.foot p,
.foot a {
  margin: 0;
}

footer .brand .by {
  color: #2b5234;
  display: inline-block;
  border-color: #8e9e90;
}

/* =============================================================================
   15. Barra de Progresso de Leitura e Animações de Rolagem
   ============================================================================= */
.reading-progress {
  height: 3px;
  position: fixed;
  inset: 0 0 auto;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--lime);
  z-index: 40;
  pointer-events: none;
}

.scroll-enter {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease var(--delay, 0ms),
              transform 0.75s cubic-bezier(0.2, 0.75, 0.2, 1) var(--delay, 0ms);
}

.scroll-enter.entered {
  opacity: 1;
  transform: none;
}

/* =============================================================================
   16. Animações e Transições (@keyframes)
   ============================================================================= */
@keyframes float-card {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes orbit-spin {
  to {
    transform: rotate(342deg);
  }
}

@keyframes draw-chart {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes targetIn {
  from {
    opacity: 0;
    transform: scale(0.8) rotate(-30deg);
  }
  to {
    opacity: 0.15;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes logo-targetin {
  from {
    opacity: 0;
    transform: scale(1.6) rotate(-90deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* =============================================================================
   17. Responsividade (Media Queries)
   ============================================================================= */
@media (max-width: 1100px) {
  .detail {
    gap: 22px;
    padding: 28px;
    grid-template-columns: 1fr 1fr;
  }

  .catalog {
    grid-template-columns: 205px 1fr;
  }

  .window-body {
    padding: 15px;
  }

  .hero-composition {
    gap: 25px;
  }

  .orbit-card {
    min-width: 185px;
    padding: 12px;
  }

  .orbit-2 {
    left: -15px;
  }

  .hero .logo-stage {
    height: 480px;
  }

  .product-kpis strong {
    font-size: 18px;
  }
}

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

  .product-window {
    max-width: 500px;
    width: 100%;
  }

  .catalog {
    grid-template-columns: 190px 1fr;
  }

  .bridge-card {
    padding: 22px;
  }

  .hero-composition {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: 49px;
  }

  .orbit-card {
    min-width: 160px;
    gap: 8px;
  }

  .orbit-card em {
    display: none;
  }

  .orbit-card strong {
    font-size: 13px;
  }

  .system-icon {
    width: 26px;
  }

  .hero .logo-stage {
    height: 430px;
  }

  .orbit-0 {
    top: 10px;
  }

  .orbit-1 {
    bottom: 12px;
  }

  .orbit-2 {
    bottom: 100px;
  }

  .hero .logo-caption {
    bottom: -18px;
  }

  .hero-pills {
    gap: 20px;
  }

  .meaning strong {
    font-size: 100px;
  }

  .meaning-target {
    width: 85px;
    height: 85px;
  }
}

@media (max-width: 720px) {
  .wrap {
    padding: 0 20px;
  }

  .nav {
    height: 76px;
  }

  nav {
    display: none;
  }

  nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #0d1f15;
    padding: 24px;
    border-bottom: 1px solid rgba(122, 212, 143, 0.4);
    gap: 16px;
    z-index: 30;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  }

  nav.open a {
    color: #eef6ef;
    font-size: 16px;
    padding: 8px 0;
  }

  .nav-dropdown,
  .nav > .btn {
    display: none;
  }

  .mobile-client-area {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(122, 212, 143, 0.2);
  }

  .mobile-client-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--lime);
    font-weight: 700;
    margin-bottom: 2px;
  }

  .mobile-client-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .mobile-client-links a {
    color: var(--lime) !important;
    font-size: 14px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .menu {
    display: block;
  }

  .hero-composition {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .hero h1 {
    font-size: 49px;
    letter-spacing: -2px;
  }

  .hero .intro {
    font-size: 15px;
  }

  .hero .logo-stage {
    height: 420px;
    max-width: 500px;
    width: 100%;
    margin: 15px auto 30px;
  }

  .hero .logo-art {
    width: 100%;
  }

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

  .orbit-1 {
    bottom: 0;
    right: 0;
  }

  .orbit-2 {
    bottom: 55px;
    left: 0;
  }

  .hero .logo-caption {
    bottom: -35px;
  }

  .hero-pills {
    justify-content: space-between;
    gap: 8px;
    font-size: 8px;
    padding-top: 14px;
    letter-spacing: 0;
  }

  .hero-pills span:before {
    margin-right: 5px;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .meaning-section {
    padding: 60px 0;
    padding-bottom: 45px;
  }

  .meaning {
    grid-template-columns: 1fr 1fr;
    gap: 35px 15px;
    margin-top: 35px;
  }

  .meaning strong {
    font-size: 85px;
  }

  .meaning-target {
    width: 73px;
    height: 73px;
    margin: 10px auto;
  }

  .meaning > div > span {
    font-size: 12px;
  }

  .meaning-section p {
    font-size: 14px;
  }

  .visual-bridge {
    padding: 55px 0;
  }

  .bridge-copy h2 {
    font-size: 30px;
  }

  .bridge-cards {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .bridge-card {
    padding: 23px;
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 0 20px;
  }

  .large-icon {
    width: 58px;
    height: 58px;
    grid-row: 1/3;
  }

  .bridge-card h3 {
    margin: 6px 25px 8px 0;
    font-size: 20px;
  }

  .bridge-card p {
    margin: 0;
  }

  .bridge-arrow {
    grid-column: 1/-1;
    margin-top: 20px;
  }

  .bridge-num {
    font-size: 9px;
    right: 18px;
    top: 20px;
  }

  .heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .heading h2 {
    font-size: 34px;
  }

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

  .tabs {
    flex-direction: row;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 12px;
    gap: 7px;
  }

  .tab {
    padding: 14px 12px;
    font-size: 11px;
    white-space: nowrap;
  }

  .detail {
    padding: 26px;
    gap: 30px;
    min-height: 400px;
  }

  .product-window {
    transform: none;
  }

  .window-body {
    padding: 20px;
  }

  .product-kpis strong {
    font-size: 23px;
  }

  .finance-chart {
    height: auto;
  }

  .dark-section h2,
  .method h2,
  .faqgrid h2 {
    font-size: 34px;
  }

  .benefits,
  .method,
  .faqgrid,
  .contactbox {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contactbox {
    padding: 35px 25px;
  }

  .contactbox h2 {
    font-size: 29px;
  }

  .foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* =============================================================================
   18. Acessibilidade (Prefers-reduced-motion)
   ============================================================================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .scroll-enter {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .orbit-card,
  .orbit-decoration i,
  .chart-line,
  .panel-enter .product-window,
  .panel-enter #system-name,
  .panel-enter #system-desc,
  .meaning-target.target-visible {
    animation: none !important;
  }

  .reading-progress {
    display: none;
  }

  .btn span {
    transition: none;
  }

  .step,
  .bridge-card,
  .product-window {
    transition: none;
  }
}
