/* ==========================================================================
   BiExpert — design tokens
   ========================================================================== */
:root {
  --teal: #14979F;        /* teal do logo */
  --teal-deep: #0C6A72;
  --teal-ink: #0B3235;    /* quase-preto esverdeado, texto e seção escura */
  --mist: #E8F3F2;        /* névoa teal para fundos alternados */
  --paper: #FBFDFC;       /* fundo geral */
  --slate: #52706E;       /* texto secundário */
  --line: #D4E4E2;
  --amber: #FCB11C;       /* acento único, usado com parcimônia */

  --font-display: "Archivo", "Avenir Next", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", monospace;

  --radius: 12px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--teal-ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   Navegação
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.9rem var(--gutter);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: var(--font-display);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.wordmark-mark {
  height: 38px;
  width: auto;
}
.wordmark-mark-lg { height: 52px; }
.wordmark-expert {
  color: var(--slate);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.28em;
}

.nav nav {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
}
.nav nav a {
  color: var(--teal-ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav nav a:hover { color: var(--teal); }

/* ==========================================================================
   Botões
   ========================================================================== */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-solid {
  background: var(--teal);
  color: #fff;
}
.btn-solid:hover { background: var(--teal-deep); }

.btn-ghost {
  color: var(--teal-deep);
  border: 1.5px solid var(--teal);
}
.btn-ghost:hover { background: var(--mist); }

.btn-nav { font-size: 0.9rem; padding: 0.55rem 1.2rem; }

.btn-lg { font-size: 1.15rem; padding: 1rem 2.2rem; }

/* ==========================================================================
   Tipos utilitários
   ========================================================================== */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 1rem;
}
.eyebrow-light { color: #7FD4CE; }

.accent { color: var(--amber); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 3rem;
  padding: clamp(3rem, 8vh, 6rem) var(--gutter);
  max-width: 1240px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 1.4rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--teal);
}

.lead {
  font-size: 1.15rem;
  color: var(--slate);
  max-width: 34em;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* --- assinatura: órbita 360 ------------------------------------------- */
.orbit {
  position: relative;
  width: min(420px, 80vw);
  aspect-ratio: 1;
  margin: 0 auto;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  border: 1.5px dashed color-mix(in srgb, var(--teal) 45%, transparent);
  border-radius: 50%;
}
.orbit-ring-inner { inset: 18%; border-style: solid; border-color: var(--line); }

.orbit-center {
  position: absolute;
  inset: 31%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, var(--teal), var(--teal-deep) 75%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.2rem;
  box-shadow: 0 18px 40px -18px rgba(12, 106, 114, 0.55);
}
.orbit-center-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.9rem);
  font-weight: 800;
}
.orbit-center-num sup { font-size: 0.5em; font-weight: 600; }
.orbit-center-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  max-width: 11em;
  opacity: 0.85;
}

.orbit-spin {
  position: absolute;
  inset: 0;
  animation: orbit-rotate 70s linear infinite;
}

.chip {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.35rem 0.75rem;
  background: #fff;
  color: var(--teal-deep);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 6px 16px -8px rgba(11, 50, 53, 0.25);
  white-space: nowrap;
  animation: orbit-counter 70s linear infinite;
}
/* posições sobre o anel externo */
.chip-1 { top: -2%;  left: 50%; translate: -50% 0; }
.chip-2 { top: 22%;  right: -6%; }
.chip-3 { bottom: 20%; right: -10%; }
.chip-4 { bottom: -2%; left: 50%; translate: -50% 0; }
.chip-5 { bottom: 22%; left: -12%; }
.chip-6 { top: 20%;  left: -6%; }

@keyframes orbit-rotate { to { rotate: 360deg; } }
@keyframes orbit-counter { to { rotate: -360deg; } }

/* ==========================================================================
   Seções
   ========================================================================== */
.section {
  padding: clamp(3.5rem, 9vh, 6.5rem) var(--gutter);
}
.section > * {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.section-head { margin-bottom: 2.5rem; }
.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 700;
  max-width: 22em;
}
.section-sub {
  color: var(--slate);
  max-width: 46em;
  margin-top: 1rem;
}

.section-tinted { background: var(--mist); }

/* --- a empresa ---------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
}
.split-text p + p { margin-top: 1rem; }
.split-text { color: var(--slate); font-size: 1.1rem; }
.split-text strong { color: var(--teal-ink); }

.facts { list-style: none; display: grid; gap: 1.1rem; }
.facts li {
  border-left: 3px solid var(--teal);
  padding: 0.35rem 0 0.35rem 1.2rem;
}
.fact-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
}
.fact-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--slate);
}

/* --- cards de serviços --------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -24px rgba(11, 50, 53, 0.35);
}
.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.card p { color: var(--slate); font-size: 0.98rem; }

/* --- plan360 (seção escura) ---------------------------------------------- */
.section-dark {
  background: linear-gradient(180deg, var(--teal-ink), #0E3E42);
  color: #EDF7F6;
}
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-sub { color: #A9CBC8; }

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem 2.2rem;
  margin-bottom: 3.5rem;
}
.feature h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}
.feature p { color: #A9CBC8; font-size: 0.95rem; }

/* --- processo (sequência real: carga → plano → distribuição → faturamento) */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.6rem;
  margin-top: 1.5rem;
  counter-reset: step;
}
.steps li {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 1.1rem;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--amber);
}
.steps h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0.4rem 0;
}
.steps p { color: #A9CBC8; font-size: 0.9rem; }

/* --- lista com marcadores ------------------------------------------------- */
.dotlist {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.dotlist li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--slate);
  font-size: 0.98rem;
}
.dotlist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--teal);
}
.split-text .dotlist { margin-top: 1.2rem; }

/* --- nossa abordagem ------------------------------------------------------- */
.principles {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem 3rem;
  margin-bottom: 3rem;
}
.principles li {
  border-left: 3px solid var(--teal);
  padding: 0.35rem 0 0.35rem 1.2rem;
}
.principles .fact-value { font-size: 1.2rem; }
.principle-highlight { border-left-color: var(--amber); }

.stack {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
}
.stack-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-right: 0.8rem;
}
.stack-item {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.4rem 0.9rem;
  background: var(--mist);
  color: var(--teal-ink);
  border-radius: 999px;
}

/* --- produtos --------------------------------------------------------------- */
.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}
.product {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  min-height: 140px;
  background: linear-gradient(135deg, var(--mist), #fff 80%);
  border-bottom: 1px solid var(--line);
}
.product-mark svg { flex: none; }
.mark-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  color: var(--teal-ink);
}
.mark-tint { color: var(--teal); }
.product-body { padding: 1.6rem 1.8rem 1.8rem; }
.product-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.product-desc {
  color: var(--slate);
  font-size: 0.98rem;
  margin-bottom: 1rem;
}
.product-body .dotlist { gap: 0.4rem; }
.product-body .dotlist li { font-size: 0.92rem; }

/* --- clientes ------------------------------------------------------------ */
.statement {
  max-width: 900px;
  text-align: center;
}
.statement p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.35;
}
.statement em {
  font-style: normal;
  color: var(--teal);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  max-width: 900px;
  margin-top: 3rem;
  text-align: center;
}
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--teal);
  letter-spacing: -0.02em;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--slate);
}

/* --- contato -------------------------------------------------------------- */
.section-cta { padding-top: 0; }
.cta-box {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 2);
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4.5rem);
}
.cta-box h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 0.8rem;
}
.cta-box > p { color: var(--slate); margin-bottom: 1.8rem; }
.cta-note {
  margin-top: 1.4rem;
  font-size: 0.9rem;
}
.cta-note a { color: var(--teal-deep); }

/* ==========================================================================
   Rodapé
   ========================================================================== */
.footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 1240px;
  margin: 0 auto;
}
.footer p {
  font-size: 0.88rem;
  color: var(--slate);
}

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .orbit { margin-top: 1rem; }
  .split { grid-template-columns: 1fr; }
  .cards, .features { grid-template-columns: 1fr 1fr; }
  .products { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; gap: 1.1rem; }
  .steps { grid-template-columns: 1fr 1fr; }
  .nav nav { display: none; }
}

@media (max-width: 560px) {
  .cards, .features, .steps, .stats { grid-template-columns: 1fr; }
  .btn-nav { display: none; }
  .chip-3, .chip-5 { display: none; }
}

/* ==========================================================================
   Acessibilidade — movimento reduzido
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orbit-spin, .chip { animation: none; }
  .btn, .card { transition: none; }
}
