/* AutoPag — identidade da marca: azul-marinho do painel, verde-azulado da logo, menta nos detalhes.
   Layout: alinhado à esquerda, coluna de 1200px. Topo e contato em azul-marinho (como a barra do painel),
   seções claras com cartões brancos e o canto em menta que o painel usa. Tema único, de propósito. */

@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2-variations"), url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
}

:root {
  /* marca */
  --navy: #172034;        /* barra do painel */
  --navy-2: #1e2a42;
  --navy-3: #111a2b;
  --ink: #0d1b37;         /* "Auto" da logo */
  --teal: #12a19a;        /* "Pag" e engrenagem */
  --teal-claro: #3fd0c2;
  --teal-escuro: #187a64; /* textos verdes do painel */
  --menta: #e8f6f4;
  --ceu: #dbe6f3;
  /* neutros */
  --fundo: #f4f7fb;       /* fundo do painel */
  --branco: #ffffff;
  --texto-2: #56657a;
  --linha: #e1e7ef;
  --linha-escura: #2c3a55;
  --sobre-navy: #c3cedd;
  --ok: #17936b;
  --off: #d0473c;
  --zap: #1fae5b;

  --f: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-dado: "Archivo", "Arial Narrow", Arial, sans-serif;

  --s-1: .8125rem;
  --s0: 1rem;
  --s1: 1.1875rem;
  --s2: 1.375rem;
  --s3: clamp(1.75rem, 1.25rem + 1.9vw, 2.5rem);
  --s4: clamp(2.2rem, 1.35rem + 3vw, 3.6rem);

  --raio: 18px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--ink);
  font-family: var(--f);
  font-size: var(--s0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; text-wrap: balance; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gutter); top: 8px; z-index: 50; background: var(--branco); color: var(--ink); padding: 8px 12px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: 0 1.4rem;
  border-radius: 12px; border: 1.5px solid transparent;
  font: inherit; font-weight: 600; font-size: .975rem; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--marca { background: var(--teal); color: #04221f; }
.btn--marca:hover { background: var(--teal-claro); }
.btn--claro { border-color: rgba(255, 255, 255, .28); color: #fff; background: transparent; }
.btn--claro:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn--contorno { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--contorno:hover { background: var(--ink); color: #fff; }

/* ---------- topo ---------- */
.topo {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.topo__linha { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.marca { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.marca img { height: 40px; width: auto; }
.menu { display: flex; align-items: center; gap: 1.6rem; }
.menu a { text-decoration: none; font-weight: 500; font-size: .925rem; color: var(--sobre-navy); }
.menu a:hover { color: #fff; }
.menu .menu__cliente { color: #04221f; background: var(--teal); border-radius: 10px; padding: .5rem 1rem; font-weight: 600; }
.menu .menu__cliente:hover { background: var(--teal-claro); color: #04221f; }
.menu-botao { display: none; width: 46px; height: 46px; border: 1px solid var(--linha-escura); border-radius: 12px; background: #203746; color: #90e7dc; cursor: pointer; }
.menu-botao span { display: block; width: 18px; height: 2px; background: currentColor; margin: 4px auto; transition: transform .2s, opacity .2s; }
.menu-botao[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-botao[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-botao[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  .menu-botao { display: block; }
  .menu {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); border-bottom: 1px solid var(--linha-escura);
    padding: .25rem var(--gutter) 1.25rem;
  }
  .menu:not(.aberto) { display: none; }
  .menu a { padding: .9rem 0; border-bottom: 1px solid var(--linha-escura); font-size: 1rem; }
  .menu .menu__cliente { margin-top: 1rem; text-align: center; border-bottom: 0; padding: .85rem 1rem; }
}
@media (max-width: 400px) { .marca img { height: 34px; } }

/* ---------- hero ---------- */
.hero { background: var(--navy); color: #fff; padding-block: clamp(2.75rem, 6vw, 5rem) clamp(3.5rem, 7vw, 6rem); position: relative; overflow: hidden; }
.hero__grade { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; position: relative; }
.hero__selo { display: inline-flex; align-items: center; gap: .6rem; color: var(--teal-claro); font-weight: 600; font-size: .9rem; margin-bottom: 1.25rem; }
.hero__selo svg { width: 34px; height: auto; }
.hero h1 { font-size: var(--s4); letter-spacing: -.03em; line-height: 1.08; }
.hero h1 span { color: var(--teal-claro); }
.hero__sub { margin-top: 1.4rem; font-size: var(--s1); line-height: 1.6; color: var(--sobre-navy); max-width: 36ch; }
.hero__acoes { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__fone { margin-top: 1.4rem; font-size: .925rem; color: #8ea0b8; }
.hero__fone a { color: #fff; font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.hero__fone a:hover { color: var(--teal-claro); }

/* osciloscópio */
.scope {
  margin: 0; background: #0e1626; color: #b9c6d6;
  border: 1px solid var(--linha-escura); border-radius: 20px; padding: 14px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
}
.scope__barra { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: 2px 4px 10px; font-family: var(--f-dado); font-stretch: 80%; font-size: var(--s-1); }
.scope__canais { display: flex; gap: .9rem; flex-wrap: wrap; }
.scope__canal { display: inline-flex; align-items: center; gap: .4rem; }
.scope__canal i { width: 18px; height: 3px; border-radius: 2px; background: var(--ceu); }
.scope__canal--2 i { background: var(--teal-claro); }
.scope__run { color: #8ea0b8; }
.scope__tela { position: relative; aspect-ratio: 16 / 9.4; border-radius: 10px; overflow: hidden; background: #0e1626; }
.scope__tela canvas { width: 100%; height: 100%; }
.scope__leituras { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 12px; background: #1d2a40; border-radius: 10px; overflow: hidden; }
.scope__leituras div { background: #0e1626; padding: .6rem .75rem; min-width: 0; }
.scope__leituras small { display: block; font-family: var(--f-dado); font-stretch: 80%; font-size: .75rem; color: #7f91a8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scope__leituras strong { display: block; font-family: var(--f-dado); font-stretch: 80%; font-size: 1.05rem; font-weight: 600; font-variant-numeric: tabular-nums; color: #eef3f9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scope__leituras .c1 { color: var(--ceu); }
.scope__leituras .c2 { color: var(--teal-claro); }
.scope__nota { margin-top: .7rem; font-size: .8rem; color: #7f91a8; }

@media (max-width: 980px) {
  .hero__grade { grid-template-columns: minmax(0, 1fr); }
  .hero__sub { max-width: 48ch; }
}
@media (max-width: 520px) {
  .scope { padding: 10px; border-radius: 16px; }
  .scope__leituras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__acoes .btn { flex: 1 1 100%; }
}

/* ---------- seções ---------- */
.secao { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.secao + .secao { border-top: 1px solid var(--linha); }
.secao__topo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 1rem 3rem; align-items: end; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.secao__rotulo { display: block; color: var(--teal); font-weight: 600; font-size: .9rem; margin-bottom: .5rem; }
.secao h2 { font-size: var(--s3); }
.secao__topo p { color: var(--texto-2); font-size: 1.075rem; max-width: 52ch; }
@media (max-width: 860px) { .secao__topo { grid-template-columns: minmax(0, 1fr); } }

/* cartão no estilo do painel: branco, borda leve, canto em menta */
.cartao {
  position: relative; overflow: hidden;
  background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio);
  box-shadow: 0 1px 2px rgba(23, 32, 52, .04);
}
.cartao::after {
  content: ""; position: absolute; top: -62px; right: -62px; width: 130px; height: 130px;
  border-radius: 50%; background: var(--menta); pointer-events: none;
}
.cartao > * { position: relative; z-index: 1; }

/* como funciona */
.trilha { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.trilha li { position: relative; padding: 0 1.5rem 0 0; min-width: 0; }
.trilha__no { display: flex; align-items: center; margin-bottom: 1.25rem; }
.trilha__no b {
  flex: none; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--branco); border: 2px solid var(--teal); color: var(--teal-escuro);
  font-weight: 700; font-size: 1.05rem;
}
.trilha li:last-child .trilha__no b { background: var(--teal); color: #04221f; }
.trilha__no::after { content: ""; flex: 1; height: 2px; margin-left: 10px; background: repeating-linear-gradient(90deg, var(--teal) 0 10px, transparent 10px 16px); opacity: .6; }
.trilha li:last-child .trilha__no::after { display: none; }
.trilha h3 { font-size: var(--s1); margin-bottom: .45rem; }
.trilha p { color: var(--texto-2); max-width: 30ch; }
.trilha__tec { margin-top: .9rem; font-size: .85rem; color: var(--teal-escuro); font-weight: 500; max-width: 30ch; }
@media (max-width: 860px) {
  .trilha { grid-template-columns: minmax(0, 1fr); }
  .trilha li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 1.1rem; padding: 0 0 2rem; }
  .trilha__no { flex-direction: column; margin: 0; grid-row: span 3; height: 100%; }
  .trilha__no::after { width: 2px; height: auto; flex: 1; margin: 8px 0 -2rem; background: repeating-linear-gradient(180deg, var(--teal) 0 10px, transparent 10px 16px); }
  .trilha li:last-child { padding-bottom: 0; }
}

/* o que entregamos */
.entregas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.entrega { padding: clamp(1.5rem, 3vw, 2.1rem); min-width: 0; }
.entrega__icone { width: 52px; height: 52px; border-radius: 14px; background: var(--menta); color: var(--teal-escuro); display: grid; place-items: center; margin-bottom: 1.1rem; }
.entrega__icone svg { width: 26px; height: 26px; }
.entrega h3 { font-size: var(--s2); margin-bottom: .5rem; }
.entrega p { color: var(--texto-2); max-width: 46ch; }
.entrega ul { margin: 1.1rem 0 0; padding: 1.1rem 0 0; list-style: none; display: grid; gap: .45rem; font-size: .925rem; border-top: 1px solid var(--linha); }
.entrega li { padding-left: 1.6rem; position: relative; color: var(--ink); }
.entrega li::before { content: ""; position: absolute; left: 0; top: .42em; width: 14px; height: 14px; border-radius: 50%; background: var(--menta); box-shadow: inset 0 0 0 4px var(--menta), inset 0 0 0 14px var(--teal); }
@media (max-width: 760px) { .entregas { grid-template-columns: minmax(0, 1fr); } }

/* painel */
.painel { background: var(--branco); }
.painel__grade { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.painel h2 { font-size: var(--s3); margin-bottom: 1rem; }
.painel__texto > p { color: var(--texto-2); font-size: 1.075rem; max-width: 44ch; }
.recursos { margin: 1.6rem 0 2rem; padding: 0; list-style: none; display: grid; }
.recursos li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: .75rem; padding: .65rem 0; border-top: 1px solid var(--linha); font-size: .95rem; }
.recursos li:last-child { border-bottom: 1px solid var(--linha); }
.recursos svg { width: 20px; height: 20px; margin-top: 2px; color: var(--teal); }
.recursos b { font-weight: 600; }

/* réplica do painel */
.app { border-radius: 16px; overflow: hidden; border: 1px solid var(--linha); background: var(--fundo); box-shadow: 0 40px 70px -45px rgba(23, 32, 52, .55); }
.app__barra { background: var(--navy); display: flex; align-items: center; gap: 1rem; padding: 10px 14px; overflow: hidden; }
.app__logo { flex: none; background: #fff; border-radius: 10px; padding: 5px 10px; }
.app__logo img { height: 22px; width: auto; }
.app__menu { display: flex; gap: 1.1rem; white-space: nowrap; overflow: hidden; mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
.app__menu span { color: #dfe7f1; font-size: .78rem; font-weight: 600; }
.app__menu span:first-child { color: #fff; }
.app__corpo { padding: clamp(14px, 2.5vw, 22px); }
.app__titulo { margin-bottom: 14px; }
.app__titulo small { display: block; color: var(--teal); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.app__titulo strong { font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.app__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.app__num { padding: 12px 14px; border-radius: 14px; min-width: 0; }
.app__num.cartao::after { width: 80px; height: 80px; top: -40px; right: -40px; }
.app__num small { display: block; font-size: .72rem; color: var(--texto-2); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__num strong { display: block; font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.app__num em { display: block; font-style: normal; color: var(--teal-escuro); font-size: .72rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__sub { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.app__sub strong { font-size: .95rem; }
.app__sub span { font-size: .7rem; font-weight: 600; background: #e6ebf3; border-radius: 8px; padding: 3px 9px; }
.app__maquinas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.app__maq { padding: 8px; border-radius: 14px; min-width: 0; }
.app__maq.cartao::after { display: none; }
.app__maq figure { margin: 0 0 8px; border-radius: 10px; background: var(--menta); aspect-ratio: 1; display: grid; place-items: center; padding: 14%; color: var(--ink); }
.app__maq figure svg { width: 100%; height: 100%; }
.app__maq strong { display: block; font-size: .78rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__maq small { display: block; font-size: .68rem; color: var(--texto-2); line-height: 1.4; }
.app__maq .status { margin-top: 4px; }
.status { display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; font-weight: 600; color: var(--ok); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--off { color: var(--off); }
.tela__nota { margin-top: .8rem; font-size: .8rem; color: var(--texto-2); }
@media (max-width: 980px) { .painel__grade { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .app__nums { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .app__nums .app__num:last-child { grid-column: 1 / -1; }
  .app__maquinas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* aplicações */
.maquinas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.maquina { min-width: 0; padding: 12px 12px 1.4rem; }
.maquina.cartao::after { display: none; }
.maquina figure { margin: 0 0 1.1rem; aspect-ratio: 4 / 4.4; border-radius: 12px; background: var(--menta); display: grid; place-items: center; padding: 11%; overflow: hidden; color: var(--ink); }
.maquina figure img { width: 100%; height: 100%; object-fit: cover; }
.maquina figure:has(img) { padding: 0; }
.maquina figure svg { width: 100%; height: 100%; }
.maquina h3 { font-size: 1.1rem; margin: 0 .35rem .35rem; }
.maquina p { color: var(--texto-2); font-size: .925rem; margin: 0 .35rem; }
.outra {
  margin-top: clamp(1.5rem, 3vw, 2rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  padding: 1.5rem 1.75rem; background: var(--menta); border-radius: var(--raio);
}
.outra p { max-width: 62ch; color: var(--ink); }
.outra strong { font-size: 1.1rem; display: block; margin-bottom: .15rem; }
@media (max-width: 980px) { .maquinas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* perguntas */
.perguntas__grade { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 1.5rem clamp(2rem, 5vw, 4rem); align-items: start; }
.perguntas h2 { font-size: var(--s3); }
.perguntas__lista { border-top: 1px solid var(--linha); }
.perguntas details { border-bottom: 1px solid var(--linha); }
.perguntas summary {
  list-style: none; cursor: pointer; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-weight: 600; font-size: 1.05rem;
}
.perguntas summary::-webkit-details-marker { display: none; }
.perguntas summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--menta) no-repeat center / 10px 10px;
  background-image: linear-gradient(var(--teal-escuro), var(--teal-escuro)), linear-gradient(var(--teal-escuro), var(--teal-escuro));
  background-size: 10px 2px, 2px 10px; transition: transform .2s;
}
.perguntas details[open] summary::after { background-size: 10px 2px, 0 0; }
.perguntas details p { padding: 0 2.5rem 1.25rem 0; color: var(--texto-2); max-width: 62ch; }
@media (max-width: 860px) { .perguntas__grade { grid-template-columns: minmax(0, 1fr); } }

/* contato */
.contato { background: var(--navy); color: #fff; }
.secao + .contato { border-top: 0; }
.contato__grade { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contato .secao__rotulo { color: var(--teal-claro); }
.contato h2 { font-size: var(--s3); color: #fff; }
.contato__texto > p { margin-top: 1rem; color: var(--sobre-navy); font-size: 1.075rem; max-width: 42ch; }
.canais { margin-top: 2rem; display: grid; }
.canais a { display: grid; gap: .05rem; padding: 1rem 0; border-top: 1px solid var(--linha-escura); text-decoration: none; }
.canais a:last-child { border-bottom: 1px solid var(--linha-escura); }
.canais small { color: #8ea0b8; font-size: .85rem; }
.canais strong { font-size: 1.2rem; font-weight: 600; font-variant-numeric: tabular-nums; color: #fff; overflow-wrap: anywhere; }
.canais a:hover strong { color: var(--teal-claro); }

.form { display: grid; gap: 1rem; background: var(--navy-2); border: 1px solid var(--linha-escura); border-radius: 20px; padding: clamp(1.25rem, 3vw, 2rem); }
.form__linha { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.form label { display: grid; gap: .4rem; font-size: .875rem; font-weight: 500; color: #dbe3ee; }
.form label em { color: #8ea0b8; font-weight: 400; font-style: normal; }
.form input, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: #fff;
  background: #121b2c; border: 1px solid #33435f; border-radius: 12px;
  padding: .8rem .95rem; min-height: 50px; color-scheme: dark;
}
.form textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.form input::placeholder, .form textarea::placeholder { color: #66788f; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--teal-claro); box-shadow: 0 0 0 3px rgba(63, 208, 194, .22); }
.form .btn { justify-self: start; margin-top: .25rem; }
.form__aviso { font-size: .82rem; color: #8ea0b8; }
.form__retorno { font-size: .9rem; padding: .8rem 1rem; border-radius: 12px; background: rgba(63, 208, 194, .14); color: #dff8f5; }
.campo-oculto { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 980px) { .contato__grade { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .form__linha { grid-template-columns: minmax(0, 1fr); } .form .btn { justify-self: stretch; } }

/* rodapé */
.rodape { background: var(--navy-3); color: #8ea0b8; padding-block: 3rem 2rem; font-size: .9rem; }
.rodape__grade { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.rodape .marca img { height: 38px; }
.rodape p { margin-top: 1rem; max-width: 38ch; }
.rodape h3 { font-size: .9rem; color: #e8eef5; font-weight: 600; margin-bottom: .75rem; letter-spacing: 0; }
.rodape nav { display: grid; gap: .5rem; align-content: start; }
.rodape a { text-decoration: none; }
.rodape a:hover { color: var(--teal-claro); }
.rodape__final { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid #1f2b40; display: grid; gap: .4rem; font-size: .8rem; }
@media (max-width: 760px) { .rodape__grade { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .rodape__grade > div:first-child { grid-column: 1 / -1; } }

/* whatsapp fixo */
.wa-fixo {
  position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 30;
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 52px; padding: 0 1.15rem 0 1rem; border-radius: 26px;
  background: var(--zap); color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem;
  box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .5);
}
.wa-fixo svg { width: 22px; height: 22px; }
.wa-fixo:hover { background: #179a4f; }
@media (max-width: 520px) { .wa-fixo span { display: none; } .wa-fixo { padding: 0; width: 56px; } }

/* página simples (obrigado) */
.pagina-simples { min-height: 100vh; display: grid; place-items: center; padding: 2rem var(--gutter); }
.sucesso { max-width: 540px; padding: clamp(1.75rem, 5vw, 3rem); }
.sucesso .simbolo { width: 64px; margin-bottom: 1.5rem; }
.sucesso h1 { font-size: var(--s3); margin-bottom: .8rem; }
.sucesso p { color: var(--texto-2); font-size: 1.075rem; margin-bottom: 2rem; }
.sucesso .acoes { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- captcha do formulário ---------- */
.captcha { display: grid; gap: .45rem; }
.captcha__linha { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.captcha__img { width: 220px; height: 64px; border-radius: 12px; background: var(--menta); flex: none; }
.captcha__linha input { flex: 1 1 120px; max-width: 180px; font-size: 1.25rem; font-weight: 600; letter-spacing: .04em; text-align: center; }
.captcha__trocar { justify-self: start; background: none; border: 0; padding: 0; color: var(--teal-claro); font: inherit; font-size: .85rem; font-weight: 500; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.form__retorno[role="alert"] { background: rgba(208, 71, 60, .16); color: #ffd9d5; border: 1px solid rgba(239, 106, 94, .4); }

/* ---------- chat de atendimento ---------- */
.chat { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat__abrir {
  position: relative; display: inline-flex; align-items: center; gap: .55rem;
  min-height: 56px; padding: 0 1.25rem 0 1.05rem; border-radius: 28px; border: 0;
  background: var(--teal); color: #04221f; font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer;
  box-shadow: 0 14px 30px -12px rgba(13, 27, 55, .55);
}
.chat__abrir:hover { background: var(--teal-claro); }
.chat__abrir svg { width: 24px; height: 24px; color: #04221f; }
.chat__ponto { width: 10px; height: 10px; border-radius: 50%; background: #8aa0b5; box-shadow: 0 0 0 2px #fff; }
.chat--online .chat__ponto { background: #22c55e; }
.chat--aberto .chat__abrir { background: var(--navy); color: #fff; }
.chat--aberto .chat__abrir svg { color: #fff; }
.chat__badge { position: absolute; top: -4px; right: -2px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--off); color: #fff; font-size: .75rem; display: grid; place-items: center; }
.chat--aberto .chat__abrir span, .chat--aberto .chat__ponto { display: none; }
.chat--aberto .chat__abrir { padding: 0; width: 56px; justify-content: center; }

.chat__painel {
  width: min(380px, calc(100vw - 32px)); height: min(600px, calc(100vh - 110px));
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--fundo); border-radius: 20px; border: 1px solid var(--linha);
  box-shadow: 0 30px 70px -25px rgba(13, 27, 55, .55);
}
.chat__painel[hidden] { display: none; }
.chat__topo { display: flex; align-items: center; gap: .75rem; padding: 14px 14px 14px 16px; background: var(--navy); color: #fff; }
.chat__topo img { width: 40px; height: auto; flex: none; }
.chat__topo div { flex: 1; min-width: 0; line-height: 1.3; }
.chat__topo strong { display: block; font-size: 1rem; }
.chat__topo small { display: block; font-size: .78rem; color: var(--sobre-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat--online .chat__topo small { color: #6ee7b7; }
.chat__fechar { width: 38px; height: 38px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; display: grid; place-items: center; }
.chat__fechar svg { width: 18px; height: 18px; }
.chat__fechar:hover { background: rgba(255, 255, 255, .16); }

.chat__msgs { flex: 1; overflow-y: auto; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 6px; overscroll-behavior: contain; }
.chat__msg { max-width: 86%; padding: .55rem .8rem .35rem; border-radius: 16px; font-size: .9rem; line-height: 1.45; }
.chat__msg p { white-space: pre-wrap; overflow-wrap: anywhere; }
.chat__msg time { display: block; text-align: right; font-size: .66rem; color: var(--texto-2); margin-top: .1rem; }
.chat__autor { display: block; font-size: .72rem; font-weight: 600; color: var(--teal-escuro); margin-bottom: .1rem; }
.chat__msg--bot, .chat__msg--equipe { align-self: flex-start; background: var(--branco); border: 1px solid var(--linha); border-bottom-left-radius: 6px; }
.chat__msg--equipe .chat__autor { color: var(--ink); }
.chat__msg--equipe { border-color: #b9e6e0; }
.chat__msg--cliente { align-self: flex-end; background: var(--teal); color: #04221f; border-bottom-right-radius: 6px; }
.chat__msg--cliente time { color: rgba(4, 34, 31, .65); }
.chat__msg--enviando { opacity: .6; }
.chat__msg--falhou { box-shadow: 0 0 0 2px var(--off); }
.chat__msg--sistema { align-self: center; max-width: 92%; background: transparent; color: var(--texto-2); font-size: .78rem; text-align: center; padding: .4rem .5rem; }
.chat__msg + .chat__msg--cliente, .chat__msg--cliente + .chat__msg:not(.chat__msg--cliente) { margin-top: 6px; }
.chat__digitando { display: flex; gap: 4px; padding: .8rem .9rem; }
.chat__digitando i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); opacity: .35; animation: chat-ponto 1s infinite; }
.chat__digitando i:nth-child(2) { animation-delay: .15s; }
.chat__digitando i:nth-child(3) { animation-delay: .3s; }
@keyframes chat-ponto { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .chat__digitando i { animation: none; } }
.chat__captcha { margin-top: .5rem; display: grid; gap: .35rem; justify-items: start; }
.chat__captcha img { width: 220px; max-width: 100%; height: auto; border-radius: 10px; }
.chat__trocar { background: none; border: 0; padding: 0; color: var(--teal-escuro); font: inherit; font-size: .78rem; font-weight: 600; cursor: pointer; text-decoration: underline; }

.chat__opcoes { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 14px 10px; }
.chat__opcoes[hidden] { display: none; }
.chat__opcao { border: 1.5px solid var(--teal); background: var(--branco); color: var(--teal-escuro); border-radius: 999px; padding: .45rem .85rem; font: inherit; font-size: .84rem; font-weight: 600; cursor: pointer; }
.chat__opcao:hover { background: var(--menta); }

.chat__form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; background: var(--branco); border-top: 1px solid var(--linha); }
.chat__form[hidden] { display: none; }
.chat__form textarea { flex: 1; min-width: 0; resize: none; border: 1px solid var(--linha); border-radius: 14px; padding: .65rem .85rem; font: inherit; font-size: 16px; line-height: 1.35; max-height: 120px; background: var(--fundo); color: var(--ink); }
.chat__form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(18, 161, 154, .18); }
.chat__enviar { flex: none; width: 44px; height: 44px; border-radius: 14px; border: 0; background: var(--teal); color: #04221f; display: grid; place-items: center; cursor: pointer; }
.chat__enviar:disabled { opacity: .5; }
.chat__enviar svg { width: 20px; height: 20px; }
.chat__whats { display: block; padding: 8px 12px 10px; background: var(--branco); text-align: center; font-size: .78rem; color: var(--texto-2); text-decoration: none; }
.chat__whats:hover { color: var(--teal-escuro); text-decoration: underline; }

@media (max-width: 520px) {
  .chat__abrir span { display: none; }
  .chat__abrir { padding: 0; width: 58px; justify-content: center; }
  .chat__ponto { position: absolute; top: 10px; right: 12px; }
  .chat--aberto { inset: 0; right: 0; bottom: 0; gap: 0; }
  .chat--aberto .chat__abrir { display: none; }
  .chat__painel { width: 100%; height: 100%; border-radius: 0; border: 0; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
}

/* ---------- páginas legais ---------- */
.legal { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem); }
.legal__wrap { max-width: 760px; }
.legal h1 { font-size: var(--s3); margin: .3rem 0 .4rem; }
.legal__data { color: var(--texto-2); font-size: .9rem; margin-bottom: 2rem; }
.legal h2 { font-size: 1.2rem; margin: 2rem 0 .6rem; }
.legal p { margin-bottom: 1rem; line-height: 1.7; }
.legal ul { margin: 0 0 1rem; padding-left: 1.2rem; display: grid; gap: .4rem; }
.legal li { line-height: 1.6; }
.legal a { color: var(--teal-escuro); text-underline-offset: 3px; }
.legal__aviso { background: var(--menta); border-radius: 12px; padding: 1rem 1.25rem; font-size: .9rem; color: var(--teal-escuro); }
.legal__voltar { margin-top: 2rem; }

/* ---------- preço / como começar ---------- */
.preco { background: var(--branco); }
.preco__grade { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.preco h2 { font-size: var(--s3); margin: .5rem 0 1rem; }
.preco__texto > p { color: var(--texto-2); font-size: 1.125rem; max-width: 50ch; }
.preco__acoes { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.preco__selo { background: var(--navy); color: #fff; border-radius: var(--raio); padding: 1.75rem; }
.preco__selo-rot { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--teal-claro); margin-bottom: .5rem; }
.preco__selo strong { display: block; font-size: clamp(1.5rem, 1rem + 2vw, 2.1rem); line-height: 1.1; letter-spacing: -.02em; }
.preco__selo p { margin-top: .75rem; color: var(--sobre-navy); font-size: .975rem; }
@media (max-width: 860px) { .preco__grade { grid-template-columns: minmax(0, 1fr); } }

/* ---------- prova social ---------- */
.prova__video { max-width: 820px; margin: 0 auto clamp(1.5rem, 4vw, 2.5rem); }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--raio); overflow: hidden; background: var(--navy); border: 1px solid var(--linha); }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.prova__galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: clamp(.75rem, 2vw, 1.25rem); margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.prova__galeria figure { margin: 0; border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid var(--linha); aspect-ratio: 4 / 3; }
.prova__galeria img { width: 100%; height: 100%; object-fit: cover; }
.prova__depoimentos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.depo { padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.depo blockquote { margin: 0; font-size: 1.075rem; line-height: 1.55; color: var(--ink); }
.depo figcaption { display: flex; flex-direction: column; }
.depo figcaption strong { font-weight: 700; }
.depo figcaption span { font-size: .875rem; color: var(--texto-2); }

/* ---------- link privacidade no chat ---------- */
.chat__privacidade { padding: 0 12px 10px; margin: -4px 0 0; text-align: center; font-size: .72rem; color: var(--texto-2); background: var(--branco); }
.chat__privacidade a { color: var(--teal-escuro); }
