/* ============================================================
   OpenFluxo — camada de conversão
   Usada nas páginas de serviço. Depende de style.css (variáveis).
   ============================================================ */

:root {
  --wa: #15803d;       /* verde com contraste 5:1 para texto branco */
  --wa-dark: #116a32;
  --conv-ink: #1a1a2e;
  --conv-soft: #f4f2fb;
}

/* ---------- Hero orientado a ação ---------- */
.hero-conv {
  padding: 7rem 0 4rem;
  position: relative;
  z-index: 2;
}
.hero-conv .container {
  max-width: 900px;
}
.hero-conv .hero-kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--purple);
  background: var(--conv-soft);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  margin-bottom: 1.5rem;
}
.hero-conv h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  max-width: 18ch;
}
.hero-conv .hero-sub {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 62ch;
  margin-bottom: 2.25rem;
}

/* ---------- Botões de ação ---------- */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--wa);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1rem 1.75rem;
  border-radius: 0.75rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(21, 128, 61, 0.30);
  transition: background 0.2s, transform 0.2s;
}
.btn-wa:hover,
.btn-wa:focus-visible {
  background: var(--wa-dark);
  transform: translateY(-2px);
  color: #fff;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--purple);
  background: var(--conv-soft);
}
.cta-reassure {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------- Faixa de garantias ---------- */
.prova-faixa {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--conv-soft);
  padding: 1.75rem 0;
  position: relative;
  z-index: 2;
}
.prova-faixa ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.prova-faixa li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--conv-ink);
  font-weight: 500;
}
.prova-faixa i {
  color: var(--wa-dark);
  margin-top: 0.2rem;
  flex: 0 0 auto;
}

/* ---------- Passos (sequência real) ---------- */
.passos {
  padding: 4.5rem 0;
  position: relative;
  z-index: 2;
}
.passos ol {
  list-style: none;
  counter-reset: passo;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.passos li {
  counter-increment: passo;
  padding-top: 1.25rem;
  border-top: 2px solid var(--purple);
}
.passos li::before {
  content: counter(passo);
  display: block;
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  color: var(--purple);
  margin-bottom: 0.5rem;
}
.passos li h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}
.passos li p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ---------- FAQ ---------- */
.faq-conv {
  padding: 4.5rem 0;
  position: relative;
  z-index: 2;
}
.faq-conv .faq-lista {
  max-width: 760px;
  margin: 2.5rem auto 0;
}
.faq-item {
  border-bottom: 1px solid var(--border-color);
}
.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: none;
  border: none;
  padding: 1.25rem 0;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
}
.faq-item button::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--purple);
  line-height: 1;
  flex: 0 0 auto;
  transition: transform 0.2s;
}
.faq-item[open] button::after,
.faq-item.aberto button::after {
  transform: rotate(45deg);
}
.faq-resposta {
  display: none;
  padding: 0 0 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 68ch;
}
.faq-item.aberto .faq-resposta {
  display: block;
}

/* ---------- CTA final ---------- */
.cta-fim {
  padding: 5rem 0;
  text-align: center;
  position: relative;
  z-index: 2;
}
.cta-fim h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  max-width: 20ch;
  margin: 0 auto 1rem;
  line-height: 1.2;
}
.cta-fim p {
  color: var(--text-muted);
  max-width: 55ch;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.cta-fim .cta-row {
  justify-content: center;
}

/* ---------- Barra fixa de contato ---------- */
.cta-fixo {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-color);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}
.cta-fixo.visivel {
  transform: translateY(0);
}
.cta-fixo .cta-fixo-texto {
  flex: 1;
  min-width: 0;
  font-size: 0.85rem;
  line-height: 1.3;
  color: var(--text-muted);
}
.cta-fixo .cta-fixo-texto strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.95rem;
}
.cta-fixo .btn-wa {
  padding: 0.8rem 1.15rem;
  font-size: 0.95rem;
  flex: 0 0 auto;
}

@media (min-width: 900px) {
  .cta-fixo {
    left: auto;
    right: 1.5rem;
    bottom: 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    max-width: 380px;
    padding: 1rem;
    box-shadow: 0 12px 34px rgba(26, 26, 46, 0.14);
    transform: translateY(calc(100% + 2.5rem));   /* escondida de verdade, sem sobrar uma tira */
  }
}

/* ---------- Acessibilidade e movimento ---------- */
.btn-wa:focus-visible,
.btn-ghost:focus-visible,
.faq-item button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .btn-wa,
  .cta-fixo,
  .faq-item button::after {
    transition: none;
  }
  .btn-wa:hover {
    transform: none;
  }
}

/* ---------- Aviso de retomada ---------- */
.aviso-topo {
  background: linear-gradient(135deg, #7C3AED 0%, #06B6D4 100%);
  color: #fff;
  position: relative;
  z-index: 10;
}
.aviso-topo .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.75rem;
  padding: 0.7rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.45;
}
.aviso-topo strong { font-weight: 700; }
.aviso-topo a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- Hero em duas colunas ---------- */
.hero-conv .hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) {
  .hero-conv .container { max-width: 1140px; }
  .hero-conv .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}
.hero-conv .hero-arte { margin: 0; }
.hero-conv .hero-arte img { width: 100%; height: auto; display: block; }

/* ---------- Números ---------- */
.numeros {
  padding: 3.5rem 0;
  position: relative;
  z-index: 2;
}
.numeros .grade {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.numeros .item {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
}
.numeros .valor {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, #7C3AED, #06B6D4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.numeros .rotulo {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.numeros .nota {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* ---------- Ilustração de seção ---------- */
.arte-secao { margin: 0; }
.arte-secao img { width: 100%; height: auto; display: block; }

/* ---------- Depoimentos ---------- */
.depoimentos { padding: 4.5rem 0; position: relative; z-index: 2; }
.depoimentos .grade {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 2.5rem;
}
.depoimento {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 0.85rem;
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
}
.depoimento blockquote {
  margin: 0 0 1.35rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  quotes: "\201C" "\201D";
}
.depoimento blockquote::before {
  content: open-quote;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 0;
  vertical-align: -0.35em;
  color: var(--purple);
  margin-right: 0.15rem;
}
.depoimento .autor {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.1rem;
}
.depoimento .autor .inicial {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #7C3AED, #06B6D4);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.depoimento .autor strong { display: block; font-size: 0.95rem; }
.depoimento .autor span { font-size: 0.85rem; color: var(--text-muted); }
.depoimento .servico {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--purple);
  background: var(--conv-soft);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
}

/* ---------- Linha do tempo ---------- */
.linha-tempo { list-style: none; margin: 2.5rem 0 0; padding: 0; max-width: 720px; }
.linha-tempo li {
  position: relative;
  padding: 0 0 2.25rem 2.25rem;
  border-left: 2px solid var(--border-color);
}
.linha-tempo li:last-child { padding-bottom: 0; border-left-color: transparent; }
.linha-tempo li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7C3AED, #06B6D4);
}
.linha-tempo .quando {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 0.3rem;
}
.linha-tempo h3 { font-size: 1.1rem; margin: 0 0 0.5rem; }
.linha-tempo p { color: var(--text-muted); line-height: 1.7; margin: 0; max-width: 60ch; }

/* ---------- Liderança ---------- */
.lideranca {
  display: grid;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, #f6f3ff 0%, #eefaff 100%);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2.5rem;
}
@media (min-width: 760px) { .lideranca { grid-template-columns: auto 1fr; } }
.lideranca .retrato {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7C3AED, #06B6D4);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lideranca h3 { font-size: 1.3rem; margin: 0 0 0.2rem; }
.lideranca .cargo { color: var(--purple); font-weight: 600; margin: 0 0 1rem; }
.lideranca p { color: var(--text-muted); line-height: 1.7; margin: 0; max-width: 60ch; }

/* ---------- Assinatura de submarca (Growth, Play) ---------- */
.submarca {
  display: inline-block;
  border-left: 3px solid var(--purple);
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}
.submarca .nome {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-transform: uppercase;
}
.submarca .nome em {
  font-style: normal;
  background: linear-gradient(135deg, #7C3AED, #06B6D4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.submarca .tagline {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Banner de cookies ---------- */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.35rem 1.5rem calc(1.35rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 16px 44px rgba(26, 26, 46, 0.18);
  transform: translateY(130%);
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
}
.cookie-banner.visivel { transform: translateY(0); opacity: 1; }
.cookie-texto strong { display: block; font-family: var(--font-heading); font-size: 1rem; margin-bottom: .35rem; }
.cookie-texto p { margin: 0; font-size: .88rem; line-height: 1.6; color: var(--text-muted); }
.cookie-texto a { color: var(--purple); }
.cookie-botoes { display: flex; gap: .65rem; flex-wrap: wrap; }
.cookie-botoes button {
  flex: 1;
  min-width: 120px;
  font-family: var(--font-body);
  font-size: .93rem;
  font-weight: 600;
  padding: .8rem 1.2rem;
  border-radius: .65rem;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.cookie-recusar { background: #fff; border: 1px solid var(--border-color); color: var(--text-primary); }
.cookie-recusar:hover { border-color: var(--purple); color: var(--purple); }
.cookie-aceitar { background: var(--purple); border: 1px solid var(--purple); color: #fff; }
.cookie-aceitar:hover { background: #6025c9; border-color: #6025c9; }
.cookie-banner button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

@media (min-width: 820px) {
  .cookie-banner {
    left: auto;
    right: 1.5rem;
    bottom: 1.5rem;
    max-width: 420px;
  }
}
/* enquanto o banner de cookies estiver aberto, a barra de contato recolhe */
body.cookie-aberto .cta-fixo { transform: translateY(130%) !important; }

@media (prefers-reduced-motion: reduce) {
  .cookie-banner { transition: none; }
}

.depoimento .autor > span { display: block; }
.depoimento .autor > span > span { display: block; font-size: .85rem; color: var(--text-muted); margin-top: .1rem; }
.depoimentos h2 { max-width: 24ch; }

/* ---------- Faixa de logos de clientes ---------- */
.logos-clientes { padding: 3rem 0; position: relative; z-index: 2; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); background: #fff; }
.logos-clientes .rotulo-faixa {
  text-align: center;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tinta-suave, #4a4858);
  margin: 0 0 1.75rem;
}
.logos-clientes ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem 2.75rem;
}
.logos-clientes li { display: flex; align-items: center; justify-content: center; min-height: 48px; }
.logos-clientes img {
  max-height: 44px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .7;
  transition: filter .25s, opacity .25s;
}
.logos-clientes li:hover img { filter: none; opacity: 1; }
/* enquanto nao ha arquivo de logo: nome em texto */
.logos-clientes .marca-texto {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #6b6878 !important;
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) { .logos-clientes img { transition: none; } }

/* logo do cliente no card de depoimento */
.depoimento .autor .logo-cliente {
  width: 112px; height: 60px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--border-color); border-radius: .6rem; padding: .45rem .55rem;
}
.depoimento .autor .logo-cliente img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* faixa de logos: em cor, para o cliente reconhecer a própria marca */
.logos-clientes img { filter: none !important; opacity: 1 !important; max-height: 52px !important; max-width: 150px !important; }
.logos-clientes ul { gap: 1.5rem 2.5rem !important; }

/* ---------- vídeo único em página de serviço ---------- */
.video-unico { border-radius: 20px; overflow: hidden; background: #0f1024; box-shadow: 0 30px 60px -28px rgba(26,26,46,.55); aspect-ratio: 16 / 9; max-width: 980px; }
.video-unico video { width: 100%; height: 100%; display: block; object-fit: contain; background: #0f1024; }
@media (max-width: 699px) { .video-unico { aspect-ratio: 9 / 16; width: min(100%, calc(76vh * 9 / 16)); margin: 0 auto; } }
.video-unico + .video-leg { margin-top: .9rem; font-size: .9rem; }

/* lista de artigos nas páginas de serviço */
.lista-artigos { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
@media (min-width: 760px) { .lista-artigos { grid-template-columns: 1fr 1fr; } }
.lista-artigos li { border: 1px solid var(--border-color); border-radius: 12px; background: #fff; }
.lista-artigos a { display: block; padding: 1rem 1.15rem; font-weight: 600; text-decoration: none; color: #1a1a2e !important; line-height: 1.45; }
.lista-artigos a:hover { background: #f7f6fc; }
