/* =========================================================
   Girafluxo · estilos do site
   Celular primeiro. Modo escuro automático (segue o aparelho).
   ========================================================= */

/* ---------- Cores e medidas ---------- */
:root {
  --fundo: #fbf8f3;
  --fundo-alt: #f3ede3;
  --superficie: #ffffff;
  --texto: #10262d;
  --texto-suave: #4a5f66;
  --borda: #e3dbcd;
  --link: #0d5664;
  --sobretitulo: #9c4a06;

  --ambar: #f2a33a;
  --ambar-forte: #e88f1f;
  --sobre-ambar: #0b2a33;
  --tinta: #0b2a33;

  --escura-fundo: #0b2a33;
  --escura-superficie: #11363f;
  --escura-borda: #1f4b55;
  --escura-texto: #eef5f6;
  --escura-suave: #b3c9cd;

  --marca-linha: #0d5664;
  --marca-mancha: #f2a33a;

  --verde: #17744b;
  --erro: #b3261e;

  --raio: 18px;
  --raio-p: 12px;
  --sombra: 0 1px 2px rgb(11 42 51 / 6%), 0 8px 24px -12px rgb(11 42 51 / 18%);
  --sombra-forte: 0 2px 4px rgb(11 42 51 / 6%), 0 24px 48px -20px rgb(11 42 51 / 35%);

  --fonte: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --largura: 1160px;
  --gutter: 16px;
  --altura-topo: 64px;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fundo: #071c22;
    --fundo-alt: #0a242b;
    --superficie: #0e2b33;
    --texto: #e9f2f3;
    --texto-suave: #a7bec3;
    --borda: #1d3e47;
    --link: #7fd0db;
    --sobretitulo: #f5b562;

    --escura-fundo: #0d3540;
    --escura-superficie: #124350;
    --escura-borda: #22596a;

    --marca-linha: #7fd0db;
    --erro: #ff9b8f;

    --sombra: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 24px -12px rgb(0 0 0 / 50%);
    --sombra-forte: 0 2px 4px rgb(0 0 0 / 30%), 0 24px 48px -20px rgb(0 0 0 / 70%);
  }
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--altura-topo) + 12px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: var(--fonte);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 1.3rem + 4vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 1.25rem + 2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

ul, ol { margin: 0; padding: 0; }

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

:focus-visible {
  outline: 3px solid var(--ambar);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--ambar); color: var(--sobre-ambar); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sem-quebra { white-space: nowrap; }

.sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.pular {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--tinta);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.pular:focus { top: 10px; }

.container {
  width: 100%;
  max-width: var(--largura);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--estreito { max-width: 820px; }

.icone { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Botões ---------- */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 48px;
  padding: 0.75em 1.35em;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.botao:hover { transform: translateY(-1px); text-decoration: none; }
.botao:active { transform: translateY(0); }

.botao--primario {
  background: var(--ambar);
  color: var(--sobre-ambar);
  box-shadow: 0 6px 18px -8px rgb(232 143 31 / 70%);
}
.botao--primario:hover { background: var(--ambar-forte); }

.botao--secundario {
  background: transparent;
  color: var(--texto);
  border-color: var(--borda);
}
.botao--secundario:hover { border-color: var(--texto); }

.botao--pequeno { min-height: 42px; padding: 0.5em 1em; font-size: 0.92rem; }
.botao--grande { min-height: 56px; padding: 0.9em 1.8em; font-size: 1.08rem; }

/* ---------- Topo ---------- */
.topo {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--fundo) 88%, transparent);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.topo.is-rolado { border-bottom-color: var(--borda); box-shadow: 0 6px 20px -16px rgb(0 0 0 / 40%); }

.topo__linha {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--altura-topo);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  color: var(--texto);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  margin-right: auto;
}
.logo__marca { width: 34px; height: 34px; }
.logo:hover { text-decoration: none; }

.topo__acoes { display: flex; align-items: center; gap: 8px; }

.menu-botao {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--borda);
  border-radius: 12px;
  background: var(--superficie);
  color: var(--texto);
  cursor: pointer;
}
.menu-botao .icone { width: 22px; height: 22px; grid-area: 1 / 1; }
.menu-botao .icone--fechar { display: none; }
.menu-botao[aria-expanded="true"] .icone--abrir { display: none; }
.menu-botao[aria-expanded="true"] .icone--fechar { display: block; }

/* Sem JavaScript o menu fica sempre visível, em linha */
.menu { order: 3; flex-basis: 100%; }
.menu__lista {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  list-style: none;
  padding-bottom: 10px;
}
.menu__lista a {
  display: inline-block;
  padding: 8px 2px;
  color: var(--texto);
  font-weight: 600;
  text-decoration: none;
}
.menu__lista a:hover { color: var(--link); }

html:not(.js) .menu-botao { display: none; }

/* Com JavaScript, no celular, o menu vira uma gaveta */
.js .menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--fundo);
  border-bottom: 1px solid var(--borda);
  box-shadow: 0 20px 30px -24px rgb(0 0 0 / 45%);
  display: none;
}
.js .menu.is-aberto { display: block; }
.js .menu__lista {
  flex-direction: column;
  gap: 0;
  padding: 8px var(--gutter) 16px;
}
.js .menu__lista a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--borda); }
.js .menu__lista li:last-child a { border-bottom: 0; }

/* No celular bem pequeno, o botão do topo mostra só "WhatsApp" */
@media (max-width: 479px) {
  .topo .botao--pequeno span { font-size: 0; }
  .topo .botao--pequeno span::after { content: "WhatsApp"; font-size: 0.92rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 40px 0 64px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -70px -150px auto auto;
  width: 340px;
  height: 340px;
  background: url("../img/manchas.svg") center / contain no-repeat;
  opacity: 0.12;
  z-index: -1;
  pointer-events: none;
}
.hero__grade { display: grid; gap: 40px; align-items: center; }

.selo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 14px;
  border: 1px solid var(--borda);
  border-radius: 999px;
  background: var(--superficie);
  color: var(--texto-suave);
  font-size: 0.88rem;
  font-weight: 600;
}
.selo__ponto {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--verde);
  box-shadow: 0 0 0 4px rgb(31 138 91 / 18%);
}

.destaque {
  background: linear-gradient(transparent 62%, rgb(242 163 58 / 45%) 62%, rgb(242 163 58 / 45%) 92%, transparent 92%);
  padding-inline: 0.04em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero__sub {
  max-width: 36em;
  color: var(--texto-suave);
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
}

.hero__botoes { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero__botoes .botao { flex: 1 1 100%; }

.hero__garantias {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  color: var(--texto-suave);
  font-size: 0.92rem;
  font-weight: 600;
}
.hero__garantias li { display: inline-flex; align-items: center; gap: 6px; }
.hero__garantias .icone { color: var(--verde); width: 1.1em; height: 1.1em; }

/* Cartão de demonstração do fluxo */
.demo { margin: 0; }
.demo__cartao {
  padding: 18px;
  border: 1px solid var(--borda);
  border-radius: 22px;
  background: var(--superficie);
  box-shadow: var(--sombra-forte);
}
.demo__topo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px dashed var(--borda);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--texto-suave);
}
.demo__nome { margin-left: auto; color: var(--texto); }
.demo__vivo {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--verde);
  animation: pulso 2s ease-out infinite;
}

.demo__etapas { list-style: none; position: relative; }
.demo__etapa {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 28px;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}
.demo__etapa:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 21px;
  top: calc(50% + 24px);
  height: calc(100% - 48px);
  width: 2px;
  background: repeating-linear-gradient(var(--borda) 0 4px, transparent 4px 8px);
}
.demo__icone {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--fundo-alt);
  color: var(--link);
}
.demo__texto { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.demo__texto strong { font-size: 0.98rem; }
.demo__texto span { color: var(--texto-suave); font-size: 0.86rem; }
.demo__ok {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--verde);
  color: #fff;
}
.demo__ok .icone { width: 16px; height: 16px; }

.demo figcaption {
  margin-top: 14px;
  color: var(--texto-suave);
  font-size: 0.86rem;
  text-align: center;
}

/* Animação: as etapas "acontecem" uma de cada vez (só com movimento liberado) */
@media (prefers-reduced-motion: no-preference) {
  .demo__etapa { animation: etapa 8s infinite both; }
  .demo__etapa .demo__ok { animation: ok 8s infinite both; }
  .demo__etapa:nth-child(2), .demo__etapa:nth-child(2) .demo__ok { animation-delay: 0.9s; }
  .demo__etapa:nth-child(3), .demo__etapa:nth-child(3) .demo__ok { animation-delay: 1.8s; }
  .demo__etapa:nth-child(4), .demo__etapa:nth-child(4) .demo__ok { animation-delay: 2.7s; }
}
@keyframes etapa {
  0% { opacity: 0.35; }
  6%, 88% { opacity: 1; }
  100% { opacity: 0.35; }
}
@keyframes ok {
  0%, 4% { transform: scale(0); }
  9%, 88% { transform: scale(1); }
  100% { transform: scale(0); }
}
@keyframes pulso {
  0% { box-shadow: 0 0 0 0 rgb(31 138 91 / 55%); }
  100% { box-shadow: 0 0 0 10px rgb(31 138 91 / 0%); }
}

/* ---------- Seções ---------- */
.secao { padding: 72px 0; }
.secao--alt { background: var(--fundo-alt); }

.secao__cabecalho {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}
.secao__cabecalho > p:last-child { color: var(--texto-suave); font-size: 1.08rem; margin-bottom: 0; }
.secao__cabecalho--esquerda { margin: 0; text-align: left; }

.sobretitulo {
  margin-bottom: 10px;
  color: var(--sobretitulo);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Cartões de soluções */
.cartoes { display: grid; gap: 16px; list-style: none; }
.cartao {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  background: var(--superficie);
  box-shadow: var(--sombra);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.cartao:hover { transform: translateY(-3px); box-shadow: var(--sombra-forte); border-color: color-mix(in srgb, var(--ambar) 55%, var(--borda)); }
.cartao__icone {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgb(242 163 58 / 18%);
  color: var(--sobretitulo);
}
.cartao__icone .icone { width: 26px; height: 26px; }
.cartao p { color: var(--texto-suave); }
.cartao__lista {
  display: grid;
  gap: 6px;
  margin-bottom: 20px;
  list-style: none;
  font-size: 0.94rem;
}
.cartao__lista li { position: relative; padding-left: 20px; }
.cartao__lista li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.6em;
  width: 8px; height: 8px;
  border-radius: 3px 5px 3px 6px;
  background: var(--ambar);
}
.cartao__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  align-self: flex-start;
  padding: 6px 0;
  font-weight: 700;
  text-decoration: none;
}
.cartao__link .icone { width: 1.05em; height: 1.05em; transition: transform 0.2s; }
.cartao__link:hover .icone { transform: translateX(3px); }

/* Seção escura: casos */
.secao--escura {
  background: var(--escura-fundo);
  color: var(--escura-texto);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.secao--escura::before {
  content: "";
  position: absolute;
  inset: -120px auto auto -180px;
  width: 520px; height: 520px;
  background: url("../img/manchas.svg") center / contain no-repeat;
  opacity: 0.07;
  z-index: -1;
}
.secao--escura .sobretitulo { color: #f5b562; }
.secao--escura .secao__cabecalho > p:last-child { color: var(--escura-suave); }
.secao--escura :focus-visible { outline-color: #f5b562; }

.casos__topo { display: grid; gap: 28px; margin-bottom: 40px; align-items: end; }

.numero {
  padding: 22px 26px;
  border: 1px solid var(--escura-borda);
  border-radius: var(--raio);
  background: var(--escura-superficie);
}
.numero__valor {
  margin: 0;
  color: var(--ambar);
  font-size: clamp(3.2rem, 2.4rem + 4vw, 4.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.numero__mais { font-size: 0.7em; vertical-align: 0.18em; margin-right: 2px; }
.numero__rotulo { margin: 8px 0 0; color: var(--escura-texto); font-weight: 700; font-size: 1.05rem; }

.casos { display: grid; gap: 16px; list-style: none; }
.caso {
  padding: 26px 24px;
  border: 1px solid var(--escura-borda);
  border-radius: var(--raio);
  background: var(--escura-superficie);
}
.caso h3 { color: #fff; font-size: 1.25rem; }
.caso > p:not(.caso__tag) { color: var(--escura-suave); }
.caso__tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgb(242 163 58 / 16%);
  color: #f7c27c;
  font-size: 0.8rem;
  font-weight: 700;
}

.trilha {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  list-style: none;
  counter-reset: etapa;
}
.trilha li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px 4px 5px;
  border: 1px solid var(--escura-borda);
  border-radius: 999px;
  background: rgb(255 255 255 / 4%);
  color: var(--escura-texto);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  counter-increment: etapa;
}
.trilha li::before {
  content: counter(etapa);
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgb(242 163 58 / 22%);
  color: #f7c27c;
  font-size: 0.72rem;
  font-weight: 800;
}
.trilha li:last-child { border-color: rgb(242 163 58 / 55%); color: #f7c27c; }
.trilha li:last-child::before { background: var(--ambar); color: var(--sobre-ambar); }

/* Passos */
.passos { display: grid; gap: 16px; list-style: none; counter-reset: passo; }
.passo {
  position: relative;
  padding: 26px 24px 24px;
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  background: var(--superficie);
}
.passo p { color: var(--texto-suave); margin-bottom: 0; }
.passo__numero {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 16px;
  border-radius: 14px 18px 12px 20px;
  background: var(--tinta);
  color: var(--ambar);
  font-size: 1.2rem;
  font-weight: 800;
}
@media (prefers-color-scheme: dark) {
  .passo__numero { background: var(--ambar); color: var(--sobre-ambar); }
}
.etiqueta {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgb(31 138 91 / 14%);
  color: var(--verde);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  vertical-align: 0.15em;
}
@media (prefers-color-scheme: dark) {
  .etiqueta { color: #6fd3a3; }
}

/* Sistemas */
.sistemas { display: grid; gap: 36px; align-items: center; }
.sistemas__texto > p { color: var(--texto-suave); font-size: 1.06rem; }
.sistemas__texto strong { color: var(--texto); }
.lista-check { display: grid; gap: 10px; margin-top: 22px; list-style: none; font-weight: 600; }
.lista-check li { display: flex; align-items: flex-start; gap: 10px; }
.lista-check .icone {
  width: 24px; height: 24px;
  padding: 4px;
  border-radius: 50%;
  background: var(--verde);
  color: #fff;
}

.ferramentas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  justify-content: center;
}
.ferramentas li {
  padding: 10px 16px;
  border: 1px solid var(--borda);
  border-radius: 999px;
  background: var(--superficie);
  font-weight: 600;
  font-size: 0.94rem;
  box-shadow: var(--sombra);
}
.ferramentas li:nth-child(3n + 1) { border-color: color-mix(in srgb, var(--ambar) 60%, var(--borda)); }

/* Perguntas frequentes */
.faq { display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--borda);
  border-radius: var(--raio-p);
  background: var(--superficie);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq details[open] { border-color: color-mix(in srgb, var(--ambar) 60%, var(--borda)); box-shadow: var(--sombra); }
.faq summary {
  position: relative;
  padding: 18px 56px 18px 20px;
  font-weight: 700;
  font-size: 1.04rem;
  cursor: pointer;
  list-style: none;
  border-radius: var(--raio-p);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 12px; height: 12px;
  margin-top: -9px;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s, margin-top 0.2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq__resposta { padding: 0 20px 18px; color: var(--texto-suave); }
.faq__resposta p:last-child { margin-bottom: 0; }

/* Chamada final */
.secao--cta { padding-top: 24px; }
.cta {
  position: relative;
  overflow: hidden;
  padding: 48px 24px;
  border-radius: 28px;
  background: var(--tinta);
  color: var(--escura-texto);
  text-align: center;
  isolation: isolate;
  --marca-linha: #7fd0db;
}
.cta::before {
  content: "";
  position: absolute;
  inset: auto -120px -160px auto;
  width: 420px; height: 420px;
  background: url("../img/manchas.svg") center / contain no-repeat;
  opacity: 0.12;
  z-index: -1;
}
.cta h2 { max-width: 18em; margin-inline: auto; color: #fff; }
.cta p { max-width: 34em; margin: 0 auto 28px; color: var(--escura-suave); font-size: 1.08rem; }
.cta__marca { width: 56px; height: 56px; margin: 0 auto 18px; }
.cta :focus-visible { outline-color: #fff; }

@media (prefers-color-scheme: dark) {
  .cta { background: var(--escura-fundo); border: 1px solid var(--escura-borda); }
}

/* ---------- Rodapé ---------- */
.rodape {
  margin-top: 0;
  padding-top: 48px;
  border-top: 1px solid var(--borda);
  background: var(--fundo-alt);
  font-size: 0.95rem;
}
.rodape__grade { display: grid; gap: 28px; padding-bottom: 32px; }
.rodape__marca p { margin: 10px 0 0; color: var(--texto-suave); }
.rodape__links ul { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; }
.rodape__links a { color: var(--texto); font-weight: 600; text-decoration: none; display: inline-block; padding: 6px 0; }
.rodape__links a:hover { color: var(--link); text-decoration: underline; }
.rodape__base { padding-block: 20px 28px; border-top: 1px solid var(--borda); color: var(--texto-suave); }
.rodape__base p { margin: 0; }
.rodape--simples { margin-top: 48px; padding-top: 0; }
.rodape--simples .rodape__base { border-top: 0; }

/* ---------- Aviso flutuante (número do WhatsApp pendente) ---------- */
.aviso {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 80;
  width: min(92vw, 460px);
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--tinta);
  color: #fff;
  font-size: 0.94rem;
  box-shadow: var(--sombra-forte);
  transform: translateX(-50%);
}
.aviso[hidden] { display: none; }

/* ---------- Animação de entrada (só com JS e movimento liberado) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .revelar { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .js .revelar.is-visivel { opacity: 1; transform: none; }
}

/* ---------- Página de texto (privacidade) ---------- */
.texto-legal { padding: 48px 0 24px; }
.texto-legal h1 { font-size: clamp(2rem, 1.5rem + 2.4vw, 2.8rem); }
.texto-legal .atualizacao { color: var(--texto-suave); font-weight: 600; }
.texto-legal h2 { font-size: 1.35rem; margin-top: 2.2em; }
.texto-legal p, .texto-legal li { color: var(--texto-suave); }
.texto-legal strong { color: var(--texto); }
.texto-legal ul { display: grid; gap: 8px; margin: 0 0 1em; padding-left: 1.3em; }
.texto-legal .resumo {
  padding: 20px 22px;
  border: 1px solid var(--borda);
  border-left: 5px solid var(--ambar);
  border-radius: var(--raio-p);
  background: var(--superficie);
}
.texto-legal .resumo p:last-child, .texto-legal .resumo ul:last-child { margin-bottom: 0; }
.voltar { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; margin-bottom: 24px; }
.voltar .icone { transform: rotate(180deg); width: 1.05em; height: 1.05em; }

/* Página 404 */
.erro { padding: 96px 0; text-align: center; }
.erro .botao { margin-top: 12px; }


/* ---------- Submenu "Soluções" ---------- */
.menu__sub-botao {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 2px;
  border: 0;
  background: none;
  color: var(--texto);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.menu__sub-botao:hover { color: var(--link); }
.menu__sub-botao .icone { width: 1.1em; height: 1.1em; flex: none; transition: transform 0.2s; }
.menu__sub-botao[aria-expanded="true"] .icone { transform: rotate(180deg); }
.submenu { list-style: none; }
.submenu a[aria-current="page"] { color: var(--link); font-weight: 800; }

/* Sem JavaScript: o submenu aparece em linha, junto com os outros itens */
html:not(.js) .menu__sub-botao { display: none; }
html:not(.js) .submenu { display: flex; flex-wrap: wrap; gap: 4px 18px; }

/* Com JavaScript: abre e fecha (no celular, dentro da gaveta) */
.js .submenu { display: none; }
.js .menu__sub-botao[aria-expanded="true"] + .submenu { display: block; }
.js .menu__sub-botao {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 14px 4px;
  border-bottom: 1px solid var(--borda);
}
.js .submenu a { padding-left: 20px; }
.js .menu__lista .submenu li:last-child a { border-bottom: 1px solid var(--borda); }

/* ---------- Cartões: dois links ---------- */
.cartao__acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 22px;
  margin-top: auto;
}
.cartao__acoes .cartao__link { margin-top: 0; }

/* ---------- Rodapé com colunas ---------- */
.rodape__titulo {
  margin: 0 0 6px;
  color: var(--texto-suave);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.rodape__links ul { display: grid; gap: 0; }
.rodape__contato { font-weight: 600; }
.rodape__contato a { color: var(--texto); }
.rodape__contato a:hover { color: var(--link); }

/* ---------- Redes sociais (rodapé e contato) ---------- */
.rodape__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.redes { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.redes__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--borda);
  border-radius: 50%;
  background: var(--superficie);
  color: var(--texto);
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.redes__link:hover { color: var(--link); border-color: var(--link); transform: translateY(-2px); }
.redes__link:focus-visible { border-radius: 50%; }
.redes__icone { width: 22px; height: 22px; }

.cta__siga { margin-top: 28px; }
.cta .cta__siga-titulo { margin: 0 0 10px; color: var(--escura-suave); font-size: 0.92rem; font-weight: 600; }
.cta .redes__link { border-color: rgb(255 255 255 / 30%); background: transparent; color: #fff; }
.cta .redes__link:hover { border-color: var(--ambar); color: var(--ambar); }

/* ---------- Formulário de contato ---------- */
.cta--contato { display: grid; gap: 32px; padding: 40px 12px 12px; text-align: left; }
.cta--contato .cta__texto { padding-inline: 12px; }
.cta--contato .cta__marca { margin: 0 0 18px; }
.cta--contato h2, .cta--contato .cta__texto > p { margin-inline: 0; }
.cta__garantias { display: grid; gap: 10px; margin: 0 0 28px; list-style: none; font-weight: 600; }
.cta__garantias li { display: flex; align-items: flex-start; gap: 10px; }
.cta__garantias .icone {
  width: 24px; height: 24px;
  padding: 4px;
  border-radius: 50%;
  background: var(--ambar);
  color: var(--sobre-ambar);
}
.cta .cta__ou { margin-bottom: 12px; color: #fff; font-weight: 700; }

.formulario {
  padding: 24px 20px;
  border-radius: 22px;
  background: var(--superficie);
  color: var(--texto);
  box-shadow: var(--sombra-forte);
}
.formulario h3 { font-size: 1.35rem; margin-bottom: 6px; }
.cta .formulario p { max-width: none; margin: 0 0 18px; color: var(--texto-suave); font-size: 0.95rem; }
.cta .formulario :focus-visible { outline-color: var(--ambar); }
.formulario a { color: var(--link); }

.campo { display: grid; align-content: start; gap: 6px; margin-bottom: 16px; }
.campo label { font-weight: 700; font-size: 0.95rem; }
.campo .obrigatorio { color: var(--erro); }
.campo .opcional { color: var(--texto-suave); font-weight: 500; }
.campo input,
.campo textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid var(--borda);
  border-radius: var(--raio-p);
  background: var(--fundo);
  color: var(--texto);
  font: inherit;
  transition: border-color 0.2s;
}
.campo textarea { min-height: 120px; resize: vertical; }
.campo input:hover, .campo textarea:hover { border-color: var(--texto-suave); }
.campo input:focus, .campo textarea:focus { border-color: var(--link); }
.campo input::placeholder, .campo textarea::placeholder { color: var(--texto-suave); opacity: 0.75; }
.campo [aria-invalid="true"] { border-color: var(--erro); }
.campo__erro,
.cta .formulario .campo__erro { margin: 0; color: var(--erro); font-size: 0.88rem; font-weight: 700; }
.campo__erro:empty { display: none; }

.campos-duplos { display: grid; gap: 0 16px; }

.aceite { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.campo .aceite { font-weight: 500; font-size: 0.94rem; }
.aceite input {
  flex: none;
  width: 22px; height: 22px; min-height: 0;
  margin: 1px 0 0;
  accent-color: var(--ambar-forte);
}

/* Campo-armadilha para robôs: invisível para pessoas */
.armadilha {
  position: absolute !important;
  left: -10000px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.formulario__enviar { width: 100%; margin-top: 4px; }
.formulario__enviar[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

.formulario__status {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--borda);
  border-left: 5px solid var(--verde);
  border-radius: var(--raio-p);
  background: var(--fundo);
}
.formulario__status[hidden] { display: none; }
.formulario__status--erro { border-left-color: var(--erro); }
.formulario__status h4 { margin: 0 0 6px; font-size: 1.05rem; }
.cta .formulario .formulario__status p { margin-bottom: 12px; }
.cta .formulario .formulario__status p:last-child { margin-bottom: 0; }
.formulario__status:focus { outline: none; }
.formulario__status:focus-visible { outline: 3px solid var(--ambar); }

/* ---------- Páginas de solução ---------- */
.migalhas { margin-bottom: 18px; font-size: 0.9rem; color: var(--texto-suave); }
.migalhas ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; }
.migalhas li:not(:last-child)::after { content: "›"; margin-left: 6px; color: var(--texto-suave); }
.migalhas a { color: var(--texto-suave); font-weight: 600; }
.migalhas a:hover { color: var(--link); }
.migalhas [aria-current="page"] { color: var(--texto); font-weight: 700; }

.hero--pagina h1 { font-size: clamp(2rem, 1.3rem + 3.2vw, 3.1rem); }

/* Dores */
.dores { display: grid; gap: 14px; list-style: none; }
.dor {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  background: var(--superficie);
}
.dor p { margin: 0; color: var(--texto-suave); }
.dor strong { display: block; margin-bottom: 4px; color: var(--texto); font-size: 1.04rem; }
.dor__icone {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--erro) 12%, transparent);
  color: var(--erro);
}
.dor__icone .icone { width: 22px; height: 22px; }

/* Como a automação resolve */
.recursos { display: grid; gap: 16px; list-style: none; }
.recurso {
  padding: 24px;
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  background: var(--superficie);
  box-shadow: var(--sombra);
}
.recurso p { margin: 0; color: var(--texto-suave); }
.recurso .cartao__icone { margin-bottom: 14px; }

/* Exemplo de fluxo passo a passo */
.fluxo { display: grid; gap: 0; list-style: none; counter-reset: fluxo; }
.fluxo__passo {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding-bottom: 28px;
  counter-increment: fluxo;
}
.fluxo__passo::before {
  content: counter(fluxo);
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px 18px 12px 20px;
  background: var(--tinta);
  color: var(--ambar);
  font-size: 1.15rem;
  font-weight: 800;
}
.fluxo__passo:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 56px;
  bottom: 8px;
  width: 2px;
  background: repeating-linear-gradient(var(--ambar) 0 5px, transparent 5px 9px);
}
.fluxo__passo:last-child { padding-bottom: 0; }
.fluxo__passo h3 { margin: 10px 0 4px; }
.fluxo__passo p { margin: 0; color: var(--texto-suave); }
.fluxo__quando {
  display: inline-block;
  margin-bottom: 4px;
  color: var(--sobretitulo);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (prefers-color-scheme: dark) {
  .fluxo__passo::before { background: var(--ambar); color: var(--sobre-ambar); }
}
.nota { margin-top: 28px; color: var(--texto-suave); font-size: 0.92rem; text-align: center; }

/* Conversa de exemplo (WhatsApp) */
.conversa__lista { display: grid; gap: 10px; list-style: none; padding-top: 12px; }
.balao {
  max-width: 88%;
  padding: 10px 14px 8px;
  border-radius: 16px 16px 16px 4px;
  background: var(--fundo-alt);
  font-size: 0.93rem;
  line-height: 1.45;
}
.balao--empresa {
  justify-self: end;
  border-radius: 16px 16px 4px 16px;
  background: color-mix(in srgb, var(--verde) 16%, var(--superficie));
}
.balao__quem { display: block; margin-bottom: 2px; color: var(--texto-suave); font-size: 0.74rem; font-weight: 800; }
.balao__hora { display: block; margin-top: 4px; color: var(--texto-suave); font-size: 0.72rem; text-align: right; }
.balao strong { color: var(--texto); }
.balao ul { margin: 6px 0 0; padding-left: 1.1em; }

/* Outras soluções */
.outras { display: grid; gap: 14px; list-style: none; }
.outras a {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 18px 20px;
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  background: var(--superficie);
  color: var(--texto);
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
.outras a:hover { border-color: color-mix(in srgb, var(--ambar) 60%, var(--borda)); transform: translateY(-2px); }
.outras .cartao__icone { margin: 0; flex: none; }
.outras__sub { display: block; margin-top: 2px; color: var(--texto-suave); font-size: 0.88rem; font-weight: 500; }
.outras__titulo { margin-bottom: 20px; text-align: center; }
.secao.secao--colada { padding-top: 0; }
.outras .icone--seta { margin-left: auto; width: 1.1em; height: 1.1em; color: var(--link); }

.cta__botoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.botao--claro { background: transparent; color: #fff; border-color: rgb(255 255 255 / 35%); }
.botao--claro:hover { border-color: #fff; }

/* =========================================================
   Celular: nada pode sair da tela (05/11/2026)
   Vale também para quem usa letra grande no celular: o Chrome do
   Android aplica a letra grande como zoom, e a tela "encolhe"
   (ex.: 360 px com letra em 130% vira uns 280 px).
   No computador estas regras não mudam nada (lá tudo já cabe).
   ========================================================= */

/* Palavra ou endereço comprido (ex.: e-mail) quebra em vez de vazar */
body { overflow-wrap: break-word; }

/* Itens de grade podem encolher até a largura da coluna */
.cartoes > *, .casos > *, .passos > *, .dores > *, .recursos > *,
.outras > *, .faq > *, .hero__grade > *, .sistemas > *, .casos__topo > *,
.rodape__grade > *, .cta--contato > *, .campos-duplos > * { min-width: 0; }

/* Botão nunca passa da largura de onde está: se faltar espaço, o texto quebra */
.botao { max-width: 100%; }

/* Topo: o logo e o botão do menu (☰) nunca se espremem nem saem da tela.
   Se faltar espaço, quem encolhe é o texto do botão do WhatsApp. */
.logo, .menu-botao { flex: none; }
.topo__acoes { min-width: 0; }
.topo .botao--pequeno { min-width: 0; }
.topo .botao--pequeno span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Etapas dos casos ("Aprovação no WhatsApp" etc.): quebram linha se não couberem */
.trilha li { max-width: 100%; white-space: normal; }

/* "Outras soluções": o texto encolhe/quebra em vez de empurrar a caixa */
.outras a > span:not(.cartao__icone) { min-width: 0; overflow-wrap: anywhere; }

/* Celular estreito (até 359 px, ou mais se a pessoa usa letra grande):
   o botão do WhatsApp do topo vira só o ícone, para o botão do menu (☰) caber.
   O texto continua lá para leitores de tela. */
@media (max-width: 22.4375em) {
  .topo__linha { gap: 10px; }
  .topo .botao--pequeno { width: 44px; min-height: 44px; padding: 0; }
  .topo .botao--pequeno .icone { width: 22px; height: 22px; }
  .topo .botao--pequeno span {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .caso { padding: 22px 18px; }
  .cartao, .recurso { padding: 20px; }
  .outras a { gap: 12px; padding: 16px; }
  .cta { padding: 40px 18px; }
  .cta--contato { padding: 32px 8px 8px; }
  .cta--contato .cta__texto { padding-inline: 10px; }
  .formulario { padding: 20px 16px; }
  .botao--grande { padding-inline: 1.3em; }
  .faq summary { padding-right: 48px; }
  .faq summary::after { right: 18px; }
}

/* =========================================================
   Telas maiores
   ========================================================= */
@media (min-width: 560px) {
  .hero__botoes .botao { flex: 0 0 auto; }
  .cartoes, .casos, .passos, .dores, .recursos { grid-template-columns: repeat(2, 1fr); }
  .campos-duplos { grid-template-columns: 1fr 1fr; }
  .formulario { padding: 32px 28px; }
}

@media (min-width: 720px) {
  :root { --gutter: 24px; }
  .secao { padding: 96px 0; }
  .cta { padding: 64px 48px; }
  .rodape__grade { grid-template-columns: 1fr auto auto; gap: 28px 56px; align-items: start; }
}

@media (min-width: 960px) {
  :root { --altura-topo: 76px; }

  /* menu em linha no computador */
  .js .menu, .menu {
    position: static;
    display: block;
    order: 0;
    flex-basis: auto;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .js .menu__lista, .menu__lista { flex-direction: row; gap: 4px 26px; padding: 0; }
  .js .menu__lista a { padding: 8px 2px; border: 0; }
  .js .menu-botao, .menu-botao { display: none; }
  .logo { margin-right: 28px; }
  .topo__acoes { margin-left: auto; }

  .hero { padding: 72px 0 104px; }
  .hero::before { inset: -10% -30% auto auto; width: 720px; height: 720px; opacity: 0.16; }
  .hero__grade { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }

  .cartoes { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  /* "Outras soluções" em 3 colunas só a partir daqui: no tablet (720–959 px)
     a 3ª caixa não cabia e saía da grade */
  .outras { grid-template-columns: repeat(3, 1fr); }
  .casos__topo { grid-template-columns: 1fr auto; gap: 48px; }
  /* 3 projetos prontos lado a lado (05/11/2026) */
  .casos { grid-template-columns: repeat(3, 1fr); }
  .numero { min-width: 300px; }
  .passos { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .passos .passo:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 48px;
    right: -21px;
    width: 22px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--ambar) 0 5px, transparent 5px 9px);
  }
  .sistemas { grid-template-columns: 1fr 1fr; gap: 64px; }
  .ferramentas { justify-content: flex-start; }

  /* Submenu "Soluções" vira uma caixinha que abre embaixo do item */
  .menu__grupo { position: relative; }
  .js .menu__sub-botao { width: auto; padding: 8px 2px; border: 0; }
  .js .submenu {
    position: absolute;
    top: calc(100% + 10px);
    left: -18px;
    z-index: 60;
    min-width: 280px;
    padding: 8px;
    border: 1px solid var(--borda);
    border-radius: var(--raio-p);
    background: var(--superficie);
    box-shadow: var(--sombra-forte);
  }
  .js .submenu a { display: block; padding: 10px 12px; border-radius: 10px; }
  .js .menu__lista .submenu li a { border: 0; }
  .js .submenu a:hover { background: var(--fundo-alt); }

  .cta--contato { grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; padding: 64px 48px; }
  .cta--contato .cta__texto { padding-inline: 0; }
  .recursos { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .dores { gap: 16px; }
}
