:root {
  --azul: #0068ad;
  --azul-escuro: #004f85;
  --ciano: #74dde8;
  --tinta: #0b1724;
  --texto: #33414f;
  --suave: #5d6b79;
  --linha: #e3e8ee;
  --fundo-alt: #f4f7fa;
  --branco: #fff;
  --raio: 14px;
  --sombra: 0 1px 2px rgb(11 23 36 / .06), 0 8px 24px rgb(11 23 36 / .06);
  --fonte: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--fonte);
  font-size: 17px;
  line-height: 1.6;
  color: var(--texto);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
h1, h2, h3 { color: var(--tinta); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--azul); }
:focus-visible { outline: 3px solid var(--ciano); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--tinta); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85em 1.4em; border-radius: 10px;
  background: var(--azul); color: #fff; font-weight: 650; text-decoration: none;
  border: 2px solid var(--azul);
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.btn:hover { background: var(--azul-escuro); border-color: var(--azul-escuro); transform: translateY(-1px); }
.btn--sm { padding: .55em 1em; font-size: .92rem; }
.btn--ghost { background: transparent; color: var(--tinta); border-color: var(--linha); }
.btn--ghost:hover { background: var(--fundo-alt); border-color: var(--linha); color: var(--tinta); }
.btn--claro { background: #fff; color: var(--azul); border-color: #fff; font-size: 1.05rem; }
.btn--claro:hover { background: var(--ciano); border-color: var(--ciano); color: var(--tinta); }

/* Marca: três barras */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--azul); margin-bottom: 1em;
}
.bars { width: 18px; height: 13px; background: linear-gradient(var(--azul) 0 3px, transparent 3px 5px, var(--azul) 5px 8px, transparent 8px 10px, var(--azul) 10px 13px); }

/* Topo */
.topo { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .9); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--linha); }
.topo__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.topo__logo img { width: 128px; height: auto; }
.topo__nav { display: flex; align-items: center; gap: 28px; }
.topo__nav a:not(.btn) { color: var(--texto); text-decoration: none; font-weight: 550; font-size: .95rem; }
.topo__nav a:not(.btn):hover { color: var(--azul); }

/* Hero */
.hero { padding: clamp(56px, 9vw, 112px) 0; background: radial-gradient(1000px 480px at 85% 10%, rgb(116 221 232 / .22), transparent 60%), linear-gradient(#fff, var(--fundo-alt)); }
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.lead { font-size: 1.15rem; color: var(--suave); max-width: 40em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.painel { background: var(--tinta); border-radius: 18px; padding: 18px; box-shadow: 0 30px 60px -20px rgb(11 23 36 / .45); transform: rotate(-1.5deg); }
.painel__barra { display: flex; gap: 7px; margin-bottom: 22px; }
.painel__barra i { width: 11px; height: 11px; border-radius: 50%; background: #2a3a4b; }
.painel__linhas { display: grid; gap: 12px; padding: 0 6px; }
.painel__linhas span { height: 11px; width: var(--w); border-radius: 6px; background: #22344a; }
.painel__linhas span.az { background: var(--azul); }
.painel__linhas span.ac { background: var(--ciano); opacity: .85; }
.painel__status { margin-top: 26px; display: flex; align-items: center; gap: 10px; font: 600 .82rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: #c9d6e3; background: #13233a; padding: 12px 14px; border-radius: 10px; }
.painel__status b { width: 9px; height: 9px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 4px rgb(61 220 151 / .2); }

/* Seções */
.secao { padding: clamp(64px, 9vw, 104px) 0; }
.secao--alt { background: var(--fundo-alt); }
.secao__cab { max-width: 680px; margin-bottom: 44px; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 26px; box-shadow: var(--sombra); transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); border-color: rgb(0 104 173 / .35); }
.card p { color: var(--suave); font-size: .96rem; margin: 0; }
.card__ico { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: rgb(0 104 173 / .08); margin-bottom: 18px; }
.card__ico svg { width: 22px; height: 22px; fill: none; stroke: var(--azul); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.etapas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: e; }
.etapas li { position: relative; padding-top: 22px; border-top: 3px solid var(--linha); }
.etapas li:first-child { border-top-color: var(--azul); }
.etapas li:nth-child(2) { border-top-color: #2f8bc4; }
.etapas li:nth-child(3) { border-top-color: #4fb4d6; }
.etapas li:nth-child(4) { border-top-color: var(--ciano); }
.etapas__n { display: block; font: 700 .85rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--azul); margin-bottom: 12px; }
.etapas p { color: var(--suave); font-size: .96rem; margin: 0; }

.stack { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--linha); }
.stack__txt { color: var(--suave); margin: 0; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { padding: .5em .95em; border: 1px solid var(--linha); border-radius: 999px; font-size: .93rem; font-weight: 600; color: var(--tinta); background: #fff; }
.tags li:nth-child(3n+1) { border-color: rgb(0 104 173 / .3); background: rgb(0 104 173 / .05); }

/* Hero: garantias */
.garantias { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .92rem; font-weight: 600; color: var(--tinta); }
.garantias li { display: inline-flex; align-items: center; gap: 8px; }
.garantias li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: rgb(0 104 173 / .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230068ad' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* Dores */
.secao--curta { padding-bottom: clamp(48px, 7vw, 80px); }
.dores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dor { padding: 26px; border-radius: var(--raio); border: 1px solid var(--linha); border-left: 4px solid var(--ciano); background: #fff; }
.dor h3 { font-size: 1.08rem; }
.dor p { color: var(--suave); font-size: .96rem; margin: 0; }

/* Produtos */
.produto { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 30px; border-radius: var(--raio); background: #fff; border: 1px solid var(--linha); box-shadow: var(--sombra); }
.produto h3 { font-size: 1.4rem; }
.produto p { color: var(--suave); margin: 0; max-width: 44em; }
.produto .btn { flex-shrink: 0; }

/* Orçamento */
.orcamento { background: var(--tinta); background-image: radial-gradient(900px 420px at 0% 0%, rgb(0 104 173 / .45), transparent 60%), radial-gradient(700px 360px at 100% 100%, rgb(116 221 232 / .14), transparent 60%); color: #c9d6e3; }
.orcamento__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.orcamento h2 { color: #fff; }
.orcamento__texto > p { font-size: 1.1rem; }
.eyebrow--claro { color: var(--ciano); }
.eyebrow--claro .bars { background: linear-gradient(var(--ciano) 0 3px, transparent 3px 5px, var(--ciano) 5px 8px, transparent 8px 10px, var(--ciano) 10px 13px); }
.passos { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; counter-reset: p; }
.passos li { position: relative; padding-left: 48px; counter-increment: p; }
.passos li::before { content: counter(p); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 700 .9rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--tinta); background: var(--ciano); }
.passos b { color: #fff; }

.wizard { background: #fff; color: var(--texto); border-radius: 18px; padding: clamp(22px, 3.5vw, 34px); box-shadow: 0 30px 60px -24px rgb(0 0 0 / .55); }
.wizard__topo { margin-bottom: 22px; }
.wizard__passo { margin: 0 0 8px; font: 700 .8rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--azul); letter-spacing: .04em; }
.wizard__barra { height: 4px; border-radius: 4px; background: var(--linha); overflow: hidden; }
.wizard__barra span { display: block; height: 100%; width: 33%; background: linear-gradient(90deg, var(--azul), var(--ciano)); transition: width .3s; }
.wizard__etapa { border: 0; margin: 0; padding: 0; min-width: 0; }
.wizard__etapa legend { font-size: 1.3rem; font-weight: 750; color: var(--tinta); letter-spacing: -.01em; padding: 0; margin-bottom: 6px; }
.wizard__etapa legend:focus { outline: none; }
.wizard__ajuda { font-size: .92rem; color: var(--suave); margin: 0 0 14px; }
.wizard__sub { font-weight: 650; color: var(--tinta); margin: 22px 0 10px; }
.wizard__aviso { font-size: .85rem; color: var(--suave); margin: 4px 0 0; }
.wizard__erro { min-height: 1.4em; margin: 14px 0 0; font-size: .92rem; font-weight: 600; color: #b42318; }
.wizard__erro:empty { min-height: 0; margin: 0; }
.wizard__acoes { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.wizard__acoes [data-acao="voltar"] { margin-right: auto; }
.wizard__acoes .btn:disabled { opacity: .7; cursor: progress; transform: none; }
.wizard__fim { text-align: center; padding: 24px 0 8px; }
.wizard__fim:focus { outline: none; }
.wizard__fim h3 { font-size: 1.4rem; }
.wizard__ok { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: rgb(61 220 151 / .16); }
.wizard__ok svg { width: 28px; fill: none; stroke: #12a26a; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: .55em 1em; border: 1.5px solid var(--linha); border-radius: 999px; font-size: .93rem; font-weight: 600; color: var(--tinta); background: #fff; transition: background .15s, border-color .15s, color .15s; }
.chip:hover span { border-color: rgb(0 104 173 / .45); }
.chip input:checked + span { background: var(--azul); border-color: var(--azul); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--ciano); outline-offset: 2px; }

.campo { display: block; margin-top: 16px; }
.campo__rotulo { display: block; font-weight: 650; color: var(--tinta); font-size: .95rem; margin-bottom: 6px; }
.campo__rotulo i { font-style: normal; font-weight: 500; color: var(--suave); }
.campo input, .campo textarea, .campo select { width: 100%; font: inherit; font-size: 1rem; color: var(--tinta); padding: .7em .85em; border: 1.5px solid var(--linha); border-radius: 10px; background: #fff; }
.campo textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.campo input:focus, .campo textarea:focus, .campo select:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 3px rgb(0 104 173 / .15); }
.campo ::placeholder { color: #98a4b0; }
.campo--isca { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Perguntas */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq .secao__cab { margin-bottom: 0; }
.faq__lista details { border-bottom: 1px solid var(--linha); }
.faq__lista details:first-child { border-top: 1px solid var(--linha); }
.faq__lista summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font-weight: 700; color: var(--tinta); }
.faq__lista summary::-webkit-details-marker { display: none; }
.faq__lista summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--azul); }
.faq__lista details[open] summary::after { content: "–"; }
.faq__lista details p { color: var(--suave); margin: 0 0 20px; }

/* Contato */
.contato { background: var(--azul); background-image: linear-gradient(120deg, var(--azul) 40%, #0a83c6); color: #e6f2fb; padding: clamp(56px, 8vw, 88px) 0; }
.contato h2 { color: #fff; }
.contato p { margin: 0; font-size: 1.1rem; }
.contato__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.contato__acoes { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.contato__email { color: #e6f2fb; font-size: .95rem; }

/* Rodapé */
.rodape { background: var(--tinta); color: #9fb0c1; padding: 32px 0; font-size: .9rem; }
.rodape__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.rodape img { width: 110px; }
.rodape p { margin: 0; }
.rodape a { color: #c9d6e3; }

/* Responsivo */
@media (max-width: 960px) {
  .hero__inner, .stack, .orcamento__inner, .faq { grid-template-columns: 1fr; }
  .orcamento__inner, .faq { gap: 36px; }
  .dores { grid-template-columns: 1fr; }
  .produto { flex-direction: column; align-items: flex-start; }
  .hero__visual { max-width: 460px; }
  .cards, .etapas { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .topo__nav a:not(.btn) { display: none; }
  .cards, .etapas { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .wizard__acoes .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
