/* ============================================================
   ACLIVE — Agência de Marketing
   Design autoral: conceito "aclive = subida"
   Azul-marinho profundo + branco editorial + azul elétrico
   Para ajustar a cor da marca, altere --accent e --accent-2
   ============================================================ */

:root {
  --navy: #050e2b;
  --navy-2: #081538;
  --surface: #0c1c48;
  --border: rgba(147, 197, 253, 0.16);
  --white: #ffffff;
  --paper: #f4f7fe;
  --ink: #0a1330;
  --ink-dim: #4a5877;
  --text: #f4f7fd;
  --text-dim: #a8b6d8;
  --accent: #2563eb;
  --accent-2: #60a5fa;
  --grad: linear-gradient(100deg, var(--accent), var(--accent-2));
  --font-display: 'Sora', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #fff; }

img, svg { max-width: 100%; }

.container { width: min(1140px, 92%); margin-inline: auto; }

.container-narrow { width: min(860px, 92%); }

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

h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 600; }

h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Cabeçalho de seção com índice editorial (01), (02)... */
.section-head {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.section-head.center { justify-content: center; }

.section-head .index {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.section-light .section-head h2 { color: var(--ink); }

.section-sub {
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 3rem;
  font-size: 1.04rem;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: 100px;
  border: none;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.55);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid rgba(244, 247, 253, 0.25);
}

.btn-ghost:hover { border-color: var(--accent-2); color: var(--accent-2); }

.btn-wa {
  background: #25d366;
  color: #06130a;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
}

.btn-wa:hover { transform: translateY(-2px); }

.btn-lg { padding: 1rem 2rem; font-size: 1.02rem; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
  background: rgba(5, 14, 43, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
  padding: 0.65rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: #fff;
}

.logo-mark { width: 34px; height: 27px; display: block; }

/* logomarca oficial (arquivo logo-aclive.svg) */
.logo-img { height: 40px; width: auto; display: block; }

.footer .logo-img { height: 52px; }

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  color: var(--text);
}

.nav-links { display: flex; align-items: center; gap: 1.8rem; }

.nav-links a:not(.btn) {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:not(.btn):hover { color: var(--accent-2); }

.btn-nav { padding: 0.6rem 1.3rem; font-size: 0.88rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  z-index: 110;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 8.5rem 0 5rem;
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 75% 10%, rgba(37, 99, 235, 0.2), transparent 60%),
    var(--navy);
}

/* gráfico de linha que se desenha ao carregar a página */
.hero-chart {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--accent-2);
  opacity: 0.5;
  pointer-events: none;
}

.chart-line {
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  animation: draw 2.6s ease-out 0.4s forwards;
}

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

.chart-dot {
  fill: var(--accent-2);
  opacity: 0;
  animation: dot-in 0.5s ease 2.6s forwards, pulse 2.4s ease 3.1s infinite;
  transform-origin: 1220px 370px;
}

@keyframes dot-in { to { opacity: 1; } }

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.7); }
}

.hero-inner { position: relative; }

/* verbete de dicionário */
.dict {
  max-width: 560px;
  border-left: 3px solid var(--accent);
  padding-left: 1.4rem;
  margin-bottom: 3rem;
}

.dict-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.dict-word {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: #fff;
}

.dict-phon { color: var(--text-dim); font-size: 0.95rem; }

.dict-class {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent-2);
  font-size: 0.98rem;
}

.dict-def {
  margin-top: 0.5rem;
  color: var(--text-dim);
  font-size: 1.02rem;
}

.dict-def em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent-2);
}

.dict-def strong { color: var(--text); font-weight: 600; }

/* título em escada — cada linha sobe um degrau */
.stair {
  display: flex;
  flex-direction: column;
  font-size: clamp(3rem, 9.5vw, 7rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.stair-line:nth-child(2) { margin-left: clamp(1.5rem, 6vw, 5rem); }
.stair-line:nth-child(3) { margin-left: clamp(3rem, 12vw, 10rem); }

.hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3.5rem;
}

.hero-sub {
  max-width: 460px;
  color: var(--text-dim);
  font-size: 1.08rem;
}

.hero-sub strong { color: var(--text); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Marquee (texto grande contornado) ---------- */
.marquee {
  overflow: hidden;
  padding: 2.2rem 0;
  border-block: 1px solid var(--border);
  background: var(--navy-2);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 40s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee span {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(168, 182, 216, 0.55);
}

.marquee span.solid {
  color: var(--text);
  -webkit-text-stroke: 0;
}

.marquee i {
  font-style: normal;
  color: var(--accent-2);
  font-size: 1.3rem;
}

/* ---------- Seções ---------- */
.section { padding: 6.5rem 0; }

.section-light {
  background: var(--paper);
  color: var(--ink);
}

.section-light p { color: var(--ink-dim); }

/* ---------- Grade editorial (Aqui você tem) ---------- */
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 3rem;
  border-top: 1px solid rgba(10, 19, 48, 0.14);
}

.ed-item {
  padding: 2.4rem 2.4rem 2.4rem 0;
  border-bottom: 1px solid rgba(10, 19, 48, 0.14);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.6rem;
  align-items: start;
}

.ed-item:nth-child(odd) { border-right: 1px solid rgba(10, 19, 48, 0.14); }

.ed-item:nth-child(even) { padding-left: 2.4rem; padding-right: 0; }

.ed-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--accent);
}

.ed-item h3 { color: var(--ink); margin-bottom: 0.6rem; }

.ed-item p { grid-column: 2; font-size: 0.96rem; }

/* ---------- Faixa de números ---------- */
.stats-band {
  background: var(--grad);
  color: #fff;
  padding: 4.2rem 0;
}

.stats-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(2rem, 6vw, 5rem);
}

.stat { text-align: center; }

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.stat-label { font-size: 1rem; opacity: 0.85; }

.stat-sep {
  width: 1px;
  height: 64px;
  background: rgba(255, 255, 255, 0.35);
}

/* ---------- Clientes (carrossel de logos) ---------- */
.clients-band {
  background: var(--navy-2);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 0;
  overflow: hidden;
}

.clients-label {
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 2.4rem;
}

.logos-viewport {
  overflow: hidden;
  /* esmaece as bordas para o loop parecer infinito */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logos-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  /* a lista aparece 2x no HTML; deslizar -50% mostra exatamente 1 lista,
     e como a 2ª é idêntica, o recomeço é invisível (loop sem emenda) */
  animation: logos-scroll 40s linear infinite;
  will-change: transform;
}

@keyframes logos-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.clients-band:hover .logos-track { animation-play-state: paused; }

.client-logo {
  flex: 0 0 auto;
  /* espaçamento por logo (não usar gap): garante que -50% caia exato */
  margin: 0 clamp(1.6rem, 4vw, 3.2rem);
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s ease, transform 0.3s ease;
}

.client-logo:hover { color: #fff; transform: translateY(-2px); }

.client-logo svg { height: 100px; width: auto; display: block; }

.client-logo img {
  height: 100px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.client-logo img:hover { opacity: 1; }

/* ---------- Serviços (acordeão) ---------- */
.svc-list {
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}

.svc { border-bottom: 1px solid var(--border); }

.svc-head {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.6rem;
  padding: 1.7rem 0.4rem;
  background: none;
  border: none;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.svc-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--accent-2);
  min-width: 2.2rem;
}

.svc-head h3 {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 700;
  transition: color 0.25s ease, transform 0.25s ease;
}

.svc:hover .svc-head h3 { color: var(--accent-2); transform: translateX(8px); }

.svc-arrow {
  position: relative;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.svc-arrow::before, .svc-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  margin: -1px 0 0 -7px;
  background: var(--accent-2);
  border-radius: 2px;
  transition: transform 0.3s ease, background 0.25s ease;
}

.svc-arrow::after { transform: rotate(90deg); }

.svc.open .svc-arrow { background: var(--accent); border-color: var(--accent); }

.svc.open .svc-arrow::before, .svc.open .svc-arrow::after { background: #fff; }

.svc.open .svc-arrow::after { transform: rotate(0); }

.svc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}

.svc-body > p {
  overflow: hidden;
  color: var(--text-dim);
  max-width: 640px;
  padding-left: calc(2.2rem + 1.6rem);
  font-size: 1rem;
}

.svc.open .svc-body { grid-template-rows: 1fr; }

.svc.open .svc-body > p { padding-bottom: 1.8rem; }

/* ---------- A subida (cards em degraus) ---------- */
.climb-sub {
  color: var(--ink-dim);
  max-width: 560px;
  margin-top: 0.6rem;
  font-size: 1.04rem;
}

.climb2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  align-items: start;
  margin-top: 4.5rem;
}

.climb-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(10, 19, 48, 0.09);
  border-radius: 20px;
  padding: 2rem 1.6rem;
  box-shadow: 0 12px 30px rgba(10, 19, 48, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* efeito de subida: cada card um degrau acima (margin não conflita com hover) */
.climb-card:nth-child(1) { margin-top: 60px; }
.climb-card:nth-child(2) { margin-top: 40px; }
.climb-card:nth-child(3) { margin-top: 20px; }
.climb-card:nth-child(4) { margin-top: 0; }

.climb-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(37, 99, 235, 0.18);
  border-color: rgba(37, 99, 235, 0.35);
}

/* seta ascendente ligando um card ao próximo */
.climb-card::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1.1rem;
  width: 1.1rem;
  height: 2px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.5), rgba(96, 165, 250, 0.5));
}

.climb-card:last-child::after { display: none; }

.climb-ic {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
  margin-bottom: 1.3rem;
}

.climb-ic svg { width: 26px; height: 26px; }

.climb-card h3 { color: var(--ink); margin-bottom: 0.45rem; }

.climb-card p { font-size: 0.92rem; color: var(--ink-dim); }

/* ---------- Depoimentos (slider) ---------- */
.quote-slider { margin-top: 2.5rem; text-align: center; }

.quote-viewport {
  position: relative;
  display: grid;
}

.quote {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.quote.active { opacity: 1; transform: none; pointer-events: auto; }

.quote blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  line-height: 1.35;
  color: var(--text);
}

.quote figcaption {
  margin-top: 1.6rem;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.quote figcaption strong { color: var(--text); }

.quote-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  margin-top: 2.6rem;
}

.quote-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: none;
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.quote-btn:hover { background: var(--accent); border-color: var(--accent); }

.quote-btn svg { width: 18px; height: 18px; }

.quote-dots { display: flex; gap: 0.5rem; }

.quote-dot {
  width: 8px;
  height: 8px;
  border-radius: 100px;
  border: none;
  background: rgba(168, 182, 216, 0.35);
  cursor: pointer;
  transition: background 0.25s ease, width 0.25s ease;
}

.quote-dot.active { background: var(--accent-2); width: 24px; }

/* ---------- Contato ---------- */
.cta-final { padding-bottom: 7rem; }

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.cta-text > p { margin: 0.6rem 0 1.8rem; max-width: 440px; }

.wa-icon { width: 20px; height: 20px; }

.contact-alt {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.92rem;
  color: var(--ink-dim);
}

.contact-alt a {
  color: var(--ink-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-alt a:hover { color: var(--accent); }

/* ---------- Formulário ---------- */
.lead-form {
  display: grid;
  gap: 1rem;
  background: var(--navy);
  border-radius: 22px;
  padding: 2.2rem;
  box-shadow: 0 30px 70px rgba(10, 19, 48, 0.25);
}

.lead-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-dim);
}

.lead-form input,
.lead-form textarea {
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--text);
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.18);
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.btn-submit { justify-content: center; width: 100%; }

.form-status {
  min-height: 1.2em;
  font-size: 0.88rem;
  text-align: center;
  color: var(--text-dim);
}

.form-status.ok { color: #4ade80; }
.form-status.err { color: #f87171; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  background: var(--navy-2);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem;
}

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--accent-2); }

.footer-copy { font-size: 0.82rem; color: var(--text-dim); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease;
}

.wa-float:hover { transform: scale(1.08); }

.wa-float svg { width: 30px; height: 30px; }

/* ---------- Animações de entrada ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .chart-line { animation: none; stroke-dashoffset: 0; }

  /* Sem animação: carrossel de arrastar (não congela cortado).
     Esconde a 2ª lista duplicada e libera o scroll horizontal manual. */
  .logos-track { animation: none; }
  .logos-viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: none;
  }
  .logos-viewport::-webkit-scrollbar { display: none; }
  .client-logo[aria-hidden="true"] { display: none; }
  .chart-dot { animation: none; opacity: 1; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .cta-grid { grid-template-columns: 1fr; gap: 3rem; }

  .climb2 { grid-template-columns: 1fr 1fr; gap: 1.2rem; }

  .climb-card { margin-top: 0 !important; }

  .climb-card:nth-child(odd)::after { display: none; }
}

@media (max-width: 760px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: rgba(5, 14, 43, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .nav-links.open { opacity: 1; pointer-events: auto; }

  .nav-links a:not(.btn) { font-size: 1.2rem; }

  .section { padding: 4.5rem 0; }

  .hero { padding-top: 7rem; }

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

  .ed-item:nth-child(odd) { border-right: none; }

  .ed-item:nth-child(even) { padding-left: 0; padding-right: 0; }

  .ed-item { padding-right: 0; }

  .stat-sep { display: none; }

  /* hero em escada: reduz tamanho e recuos p/ "Previsibilidade." caber na tela */
  .stair { font-size: clamp(1.9rem, 9vw, 2.7rem); }
  .stair-line:nth-child(2) { margin-left: 1rem; }
  .stair-line:nth-child(3) { margin-left: 2rem; }

  /* faixa de números: empilhada e centralizada no celular */
  .stats-band { padding: 3.2rem 0; }
  .stats-row { flex-direction: column; gap: 1.9rem; }
  .stat-num { font-size: 3rem; }

  /* logos do carrossel um pouco menores no celular */
  .client-logo svg,
  .client-logo img { height: 72px; }

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

  .climb-card::after { display: none; }

  .svc-body > p { padding-left: 0.4rem; }
}

/* ---------- A subida: cards v2 (redesenho) ---------- */
#subida .climb2 { display: block; }

.sbd-grid {
  --sbd-ink: #0d1330;
  --sbd-brand: #3b6bff;
  --sbd-brand-2: #7aa2ff;
  --sbd-muted: #5b6484;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 10px;
}

/* linha tracejada ascendente ao fundo */
.sbd-path { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.sbd-path path { stroke: var(--sbd-brand); stroke-width: 2; stroke-dasharray: 7 8; fill: none; opacity: 0.28; }

.sbd-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(13, 19, 48, 0.08);
  border-radius: 18px;
  padding: 30px 26px 26px;
  box-shadow: 0 6px 22px rgba(13, 19, 48, 0.06);
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.3s, border-color 0.3s;
  overflow: hidden;
}

/* escada em diagonal no desktop */
.sbd-card:nth-child(3) { transform: translateY(-16px); }
.sbd-card:nth-child(4) { transform: translateY(-32px); }
.sbd-card:nth-child(5) { transform: translateY(-48px); }

.sbd-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(13, 19, 48, 0.14);
  border-color: rgba(59, 107, 255, 0.35);
}
.sbd-card:nth-child(3):hover { transform: translateY(-24px); }
.sbd-card:nth-child(4):hover { transform: translateY(-40px); }
.sbd-card:nth-child(5):hover { transform: translateY(-56px); }

/* filete superior que acende no hover */
.sbd-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sbd-brand), var(--sbd-brand-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.sbd-card:hover::before { transform: scaleX(1); }

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

.sbd-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--sbd-brand), var(--sbd-brand-2));
  box-shadow: 0 8px 18px rgba(59, 107, 255, 0.35);
}
.sbd-ic svg { width: 26px; height: 26px; flex: none; }

.sbd-step {
  font-family: var(--font-display, "Sora", system-ui, sans-serif);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sbd-brand);
  background: rgba(59, 107, 255, 0.09);
  border: 1px solid rgba(59, 107, 255, 0.22);
  padding: 0.45em 0.9em;
  border-radius: 999px;
  white-space: nowrap;
}

.sbd-card h3 {
  font-family: var(--font-display, "Sora", system-ui, sans-serif);
  font-weight: 800;
  font-size: 1.28rem;
  color: var(--sbd-ink);
  margin: 0 0 8px;
  line-height: 1.15;
}

.sbd-card p { margin: 0; color: var(--sbd-muted); font-size: 0.96rem; line-height: 1.6; flex: 1; }

/* barra de progresso: cada etapa um degrau acima */
.sbd-meter { margin-top: 22px; }
.sbd-meter-track { height: 5px; border-radius: 999px; background: rgba(13, 19, 48, 0.08); overflow: hidden; }
.sbd-meter-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  width: var(--fill, 25%);
  background: linear-gradient(90deg, var(--sbd-brand), var(--sbd-brand-2));
  transition: width 1s cubic-bezier(0.22, 0.61, 0.36, 1) 0.2s;
}
.sbd-meter-label {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: var(--font-display, "Sora", system-ui, sans-serif);
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--sbd-muted);
  letter-spacing: 0.05em;
}
.sbd-meter-label b { color: var(--sbd-brand); }

@media (max-width: 1020px) {
  .sbd-grid { grid-template-columns: 1fr 1fr; }
  .sbd-card:nth-child(n) { transform: none; }
  .sbd-card:nth-child(n):hover { transform: translateY(-8px); }
  .sbd-path { display: none; }
}

@media (max-width: 600px) {
  .sbd-grid { grid-template-columns: 1fr; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .sbd-card,
  .sbd-card::before,
  .sbd-meter-fill { transition: none; }
}

/* ============================================================
   DROPDOWN "SEGMENTOS" no menu (funciona sem JS, via <details>)
============================================================ */
.nav-drop { position: relative; }

.nav-drop summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display, "Sora", system-ui, sans-serif);
  font-weight: 600;
  font-size: 0.98rem;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  user-select: none;
}
.nav-drop summary::-webkit-details-marker { display: none; }
.nav-drop summary::after {
  content: "";
  width: 0.5em; height: 0.5em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s;
}
.nav-drop[open] summary::after { transform: rotate(225deg) translateY(-1px); }
.nav-drop summary:hover { color: var(--accent-2, #7aa2ff); }

.nav-drop-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: #101836;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 200;
}
.nav-drop-menu::before { /* ponte invisível p/ não fechar ao mover o mouse */
  content: "";
  position: absolute;
  top: -14px; left: 0; right: 0; height: 14px;
}
.nav-drop-menu a {
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}
.nav-drop-menu a:hover { background: rgba(59, 107, 255, 0.16); color: #fff; }

/* no menu mobile (overlay), o dropdown vira uma lista embutida */
@media (max-width: 760px) {
  .nav-drop-menu {
    position: static;
    transform: none;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
    margin-top: 10px;
    text-align: center;
  }
}

/* ============================================================
   PÁGINAS DE SEGMENTO (/segmentos/...) — prefixo seg-
============================================================ */
.seg-hero {
  position: relative;
  background: var(--navy, #0a1330);
  color: var(--text, #fff);
  padding: 6rem 0 5.5rem;
  overflow: hidden;
}
.seg-hero .hero-chart { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }

.seg-badge {
  display: inline-block;
  font-family: var(--font-display, "Sora", system-ui, sans-serif);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2, #7aa2ff);
  background: rgba(59, 107, 255, 0.12);
  border: 1px solid rgba(122, 162, 255, 0.35);
  padding: 0.55em 1.1em;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}
.seg-hero h1 {
  position: relative;
  font-size: clamp(2rem, 5.4vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 780px;
  margin-bottom: 1.4rem;
}
.seg-hero h1 em {
  font-family: var(--font-serif, "Instrument Serif", Georgia, serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-2, #7aa2ff);
}
.seg-hero .seg-lead {
  position: relative;
  max-width: 640px;
  color: var(--text-dim, #c7d0ea);
  font-size: 1.1rem;
  margin-bottom: 2.2rem;
}
.seg-hero .seg-lead strong { color: #fff; }
.seg-hero-ctas { position: relative; display: flex; flex-wrap: wrap; gap: 1rem; }

/* --- cards de problemas que resolvemos --- */
.seg-problems {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 3rem;
}
.seg-problem {
  background: #fff;
  border: 1px solid rgba(13, 19, 48, 0.08);
  border-radius: 18px;
  padding: 30px 28px;
  box-shadow: 0 6px 22px rgba(13, 19, 48, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.3s;
}
.seg-problem:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(13, 19, 48, 0.14); }
.seg-problem-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #3b6bff, #7aa2ff);
  box-shadow: 0 8px 18px rgba(59, 107, 255, 0.35);
  margin-bottom: 1.2rem;
}
.seg-problem-ic svg { width: 26px; height: 26px; flex: none; }
.seg-problem h3 { color: var(--ink, #0d1330); font-size: 1.22rem; margin-bottom: 0.6rem; }
.seg-problem > p { color: var(--ink-dim, #5b6484); font-size: 0.96rem; margin-bottom: 1rem; }

.seg-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.seg-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--ink, #0d1330);
  font-size: 0.94rem;
  font-weight: 500;
}
.seg-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.42em;
  width: 0.85em; height: 0.5em;
  border-left: 2.5px solid #3b6bff;
  border-bottom: 2.5px solid #3b6bff;
  transform: rotate(-45deg);
}
.seg-problem-note {
  margin-top: auto;
  padding-top: 1.1rem;
  color: var(--ink-dim, #5b6484);
  font-size: 0.9rem;
  font-style: italic;
}

/* --- o que entregamos --- */
.seg-deliver {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 3rem;
}
.seg-deliver-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 30px 28px;
  transition: border-color 0.3s, background 0.3s, transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.seg-deliver-card:hover {
  border-color: rgba(122, 162, 255, 0.45);
  background: rgba(59, 107, 255, 0.08);
  transform: translateY(-6px);
}
.seg-deliver-num {
  font-family: var(--font-serif, "Instrument Serif", Georgia, serif);
  font-style: italic;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--accent-2, #7aa2ff);
  display: block;
  margin-bottom: 0.9rem;
}
.seg-deliver-card h3 { color: #fff; font-size: 1.25rem; margin-bottom: 1rem; }
.seg-deliver-card .seg-list li { color: var(--text-dim, #c7d0ea); }
.seg-deliver-card .seg-list li::before { border-color: var(--accent-2, #7aa2ff); }

/* faixa de serviços adicionais */
.seg-extra {
  margin-top: 26px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px dashed rgba(122, 162, 255, 0.4);
  border-radius: 18px;
  padding: 26px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1rem;
}
.seg-extra-title {
  font-family: var(--font-display, "Sora", system-ui, sans-serif);
  font-weight: 700;
  color: #fff;
  margin-right: 0.4rem;
}
.seg-tag {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-2, #7aa2ff);
  background: rgba(59, 107, 255, 0.12);
  border: 1px solid rgba(122, 162, 255, 0.3);
  padding: 0.45em 1em;
  border-radius: 999px;
  white-space: nowrap;
}
.seg-extra-note { width: 100%; color: var(--text-dim, #c7d0ea); font-size: 0.85rem; font-style: italic; }

/* CTA final da página de segmento */
.seg-cta {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}
.seg-cta h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); margin-bottom: 1rem; }
.seg-cta p { margin-bottom: 2rem; }
.seg-cta .hero-ctas { justify-content: center; }

/* breadcrumb simples */
.seg-crumb {
  position: relative;
  font-size: 0.88rem;
  color: var(--text-dim, #c7d0ea);
  margin-bottom: 1.6rem;
}
.seg-crumb a { color: var(--accent-2, #7aa2ff); }
.seg-crumb a:hover { text-decoration: underline; }

@media (max-width: 980px) {
  .seg-problems { grid-template-columns: 1fr; }
  .seg-deliver { grid-template-columns: 1fr; }
}
