/* Mirantesoft — direção "Papel e carimbo", paleta institucional azul-tinta.
   Página de problema→solução: texto à esquerda, prova em escala, um fluxo real em detalhe. */

@font-face { font-family: "Poppins"; src: url("fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --bg: #fdfcfa;
  --surface: #f2f0ec;
  --surface-2: #e5e2db;
  --ink: #15140f;
  --muted: #6e6a5e;
  --accent: #18406e;
  --accent-ink: #ffffff;
  --field-dark: #15140f;
  --field-dark-ink: #ffffff;
  /* cores de status do próprio produto, usadas apenas dentro de [data-ui] */
  --ui-ok: #1d7a4b;
  --ui-warn: #a85f00;
  --ui-bad: #b0311c;
  --ui-line: #ddd9cf;

  --font-head: "Poppins", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;

  /* cinco tamanhos, ponto final */
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(1.75rem, 1.15rem + 2.6vw, 3.25rem);
  --step-display: clamp(1.875rem, 1.3rem + 2vw, 2.75rem);

  --margin: clamp(16px, 2.2vw, 32px);
  --gutter: clamp(12px, 1.7vw, 24px);
  --section: clamp(88px, 10vw, 148px);
  --radius: 6px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-hover: 150ms;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.wrap {
  max-width: 1240px;
  margin-inline: auto;
  padding-left: max(var(--margin), env(safe-area-inset-left, 0px));
  padding-right: max(var(--margin), env(safe-area-inset-right, 0px));
}
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
section[id] { scroll-margin-top: 112px; }

/* Botões: uma única forma em toda a página */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 44px; padding: 0 1.1em; border: 0; border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink); font-weight: 500; font-size: var(--step-body);
  text-decoration: none; cursor: pointer;
  transition: transform var(--t-hover) var(--ease-out), background-color var(--t-hover) ease;
}
.btn:hover { background: #0f2c4e; }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn--ghost {
  background: none; color: var(--ink); border: 1px solid var(--ui-line);
}
.btn--ghost:hover { background: var(--surface); }
.btn--on-dark { background: var(--accent-ink); color: var(--accent); }
.btn--on-dark:hover { background: #e7edf5; }

/* ---------- Barra utilitária ---------- */
.utility { background: var(--field-dark); color: #cfcdc3; }
.utility__in { min-height: 36px; display: flex; align-items: center; justify-content: center; }
.utility p { font-size: var(--step-small); text-align: center; }
.utility strong { color: var(--field-dark-ink); font-weight: 500; }

/* ---------- Cabeçalho ---------- */
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--surface-2); }
.bar__in { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.wordmark { font-family: var(--font-head); font-weight: 600; font-size: 1.125rem; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.bar__links { display: flex; gap: 24px; margin: 0 auto; }
.bar__links a {
  font-size: var(--step-body); color: var(--ink); text-decoration: none; padding: 6px 0;
  transition: color var(--t-hover) ease;
}
.bar__links a:hover { color: var(--accent); }
.bar .btn { min-height: 38px; flex: none; }
@media (max-width: 860px) {
  .bar__links { display: none; }
}

/* ---------- Hero: bloco de texto à esquerda, sem widget ao lado ---------- */
.hero { padding-block: clamp(24px, 4vw, 48px) 0; }
@media (min-width: 1000px) {
  .hero { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
  .hero__text { max-width: none; }
  .shot { margin-top: 0; }
  .shot .shot__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shot .shot__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .shot .callout { display: none; }
}
.hero__text { max-width: 60ch; display: grid; gap: 20px; }
.hero h1 { font-size: var(--step-display); }
.hero h1 span { display: block; }
.hero h1 span:last-child { color: var(--accent); }
.hero__sub { font-size: var(--step-lead); color: var(--muted); max-width: 42ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 4px; padding-top: 20px; border-top: 1px solid var(--surface-2); }
.hero__trust span { font-size: var(--step-small); color: var(--muted); }
.hero__trust b { color: var(--ink); font-weight: 500; }
@media (max-width: 700px) {
  .hero__ctas .btn { width: 100%; }
}

/* ---------- Painel estático anotado (ilustração do painel do salão) ---------- */
.shot { margin-top: clamp(16px, 2vw, 24px); }
.shot__cap { font-size: var(--step-small); color: var(--muted); margin-bottom: 14px; }
.shot__panel {
  position: relative; border: 1px solid var(--ui-line); border-radius: calc(var(--radius) * 2);
  background: var(--bg); overflow: visible; box-shadow: 0 1px 0 var(--surface-2);
}
.shot__chrome { display: flex; align-items: center; gap: 8px; padding: 12px 18px; background: var(--surface); border-bottom: 1px solid var(--ui-line); border-radius: calc(var(--radius) * 2) calc(var(--radius) * 2) 0 0; }
.shot__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-2); }
.shot__chrome span { margin-left: 10px; font-size: var(--step-small); color: var(--muted); }
.shot__body { padding: clamp(18px, 3vw, 32px); display: grid; gap: clamp(18px, 3vw, 28px); }
.shot__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.shot__stat { border: 1px solid var(--ui-line); border-radius: var(--radius); padding: 14px 16px; }
.shot__stat b { display: block; font-family: var(--font-head); font-size: var(--step-head); font-weight: 600; }
.shot__stat span { font-size: var(--step-small); color: var(--muted); }
.shot__stat--warn b { color: var(--ui-warn); }
.shot__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; }
.shot__grid i { aspect-ratio: 4 / 3; border-radius: 3px; background: #dcefe4; font-style: normal; }
.shot__grid i.warn { background: #f6e8d2; }
.shot__grid i.bad { background: #f6dbd4; }
.shot__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--surface); border-radius: var(--radius); font-size: var(--step-small); color: var(--muted); flex-wrap: wrap; }
.shot__bar b { color: var(--ink); font-weight: 500; }
.ui-pill { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: var(--step-small); background: var(--surface-2); }
.ui-pill.ok { background: #dcefe4; color: var(--ui-ok); }
.ui-pill.warn { background: #f6e8d2; color: var(--ui-warn); }
.ui-pill.bad { background: #f6dbd4; color: var(--ui-bad); }

.shot__callouts { position: relative; }
.callout {
  position: absolute; max-width: 240px; font-size: var(--step-small); line-height: 1.35;
  padding: 10px 12px; background: var(--ink); color: #fff; border-radius: var(--radius);
}
.callout::before { content: ""; position: absolute; width: 10px; height: 10px; background: var(--ink); transform: rotate(45deg); }
.callout--a { top: -18px; left: 2%; }
.callout--a::before { bottom: -5px; left: 24px; }
.callout--b { top: 38%; right: 1%; }
.callout--b::before { top: -5px; right: 28px; }
.callout--c { bottom: -22px; left: 32%; }
.callout--c::before { top: -5px; left: 24px; }
@media (max-width: 900px) {
  .shot__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shot__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .callout { display: none; }
}

/* ---------- Faixa de números ---------- */
.statband { padding-block: var(--section); border-top: 1px solid var(--surface-2); border-bottom: 1px solid var(--surface-2); }
.statband__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
.statband__item { text-align: center; }
.statband__item b { display: block; font-family: var(--font-head); font-size: var(--step-head); font-weight: 600; color: var(--accent); }
.statband__item span { font-size: var(--step-small); color: var(--muted); }
@media (max-width: 760px) {
  .statband__row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
}

/* ---------- Seções genéricas ---------- */
.sec { padding-block: var(--section); }
.sec__head { max-width: 56ch; margin-bottom: clamp(32px, 5vw, 56px); }
.sec__head h2 { font-size: var(--step-head); }
.sec__head p { margin-top: 14px; font-size: var(--step-lead); color: var(--muted); }
.reveal > * { transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.js .reveal:not(.is-in) > * { transform: translateY(20px); }
.reveal.is-in > *:nth-child(2) { transition-delay: 80ms; }
.reveal.is-in > *:nth-child(3) { transition-delay: 160ms; }
@media (prefers-reduced-motion: reduce) { .js .reveal:not(.is-in) > * { opacity: 1; transform: none; } .reveal > * { transition: none; } }

/* ---------- Recursos: grade de 3, ícones distintos, sem contêiner repetido ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px); }
.feature h3 { font-size: var(--step-lead); margin: 18px 0 10px; }
.feature p { color: var(--muted); max-width: 32ch; }
.feature__icon { display: block; color: var(--accent); }
@media (max-width: 860px) {
  .features { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}

/* ---------- Como funciona: um fluxo único, imagem + texto ---------- */
.walk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.walk__art { order: 1; }
.walk__copy { order: 2; }
.walk__copy .lede { color: var(--muted); margin-top: 14px; }
.walk__steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 22px; counter-reset: step; }
.walk__steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; counter-increment: step; }
.walk__steps li::before {
  content: counter(step); font-family: var(--font-head); font-weight: 600; color: var(--accent);
  font-size: var(--step-lead); line-height: 1.3;
}
.walk__steps p { color: var(--muted); }
.walk__steps b { display: block; color: var(--ink); font-weight: 500; margin-bottom: 2px; }
@media (max-width: 900px) {
  .walk { grid-template-columns: minmax(0, 1fr); }
  .walk__art { order: 1; }
  .walk__copy { order: 2; }
}

/* Cartão estático do fechamento (ilustrativo, sem interação) */
.closing-card { border: 1px solid var(--ui-line); border-radius: calc(var(--radius) * 2); overflow: hidden; background: var(--bg); }
.closing-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; background: var(--surface); }
.closing-card__head b { font-family: var(--font-head); font-weight: 600; }
.closing-card__head span { color: var(--muted); font-size: var(--step-small); }
.closing-card dl { margin: 0; padding: 18px; display: grid; gap: 10px; }
.closing-card dl div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--surface-2); font-size: var(--step-body); }
.closing-card dl div.sum { border-bottom: 0; font-weight: 500; padding-top: 2px; }
.closing-card dl dt { color: var(--muted); font-weight: 400; }
.closing-card dl dd { margin: 0; }
.closing-card .is-bad { color: var(--ui-bad); font-weight: 500; }
.closing-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 18px; background: var(--surface); font-size: var(--step-small); color: var(--muted); }
.closing-card__foot b { color: var(--ink); font-weight: 500; }
.closing-card__sign { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: var(--radius); background: var(--ink); color: #fff; font-size: var(--step-small); }

/* ---------- Resultados típicos ---------- */
.results__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
.result { background: var(--surface); border-radius: var(--radius); padding: 22px 20px; }
.result b { display: block; font-family: var(--font-head); font-size: var(--step-head); font-weight: 600; color: var(--accent); }
.result span { font-size: var(--step-small); color: var(--muted); }
.results__note { margin-top: 20px; font-size: var(--step-small); color: var(--muted); font-style: italic; }
@media (max-width: 860px) {
  .results__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Perguntas frequentes: acordeão simples, uma coluna ---------- */
.faq__list { list-style: none; margin: 0; padding: 0; max-width: 72ch; border-top: 1px solid var(--surface-2); }
.faq__item { border-bottom: 1px solid var(--surface-2); }
.faq__q {
  display: flex; gap: 16px; align-items: center; justify-content: space-between; width: 100%; text-align: left;
  border: 0; background: none; padding: 20px 0; font-size: var(--step-lead); font-family: var(--font-head);
  font-weight: 500; color: var(--ink); cursor: pointer;
}
.faq__q svg { flex: none; transition: transform var(--t-hover) var(--ease-out); color: var(--muted); }
.faq__q[aria-expanded="true"] svg { transform: rotate(45deg); color: var(--accent); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 220ms var(--ease-out); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: 20px; color: var(--muted); max-width: 60ch; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
@media (prefers-reduced-motion: reduce) { .faq__a { transition: none; } }

/* ---------- Contato ---------- */
.contact { display: grid; justify-content: start; }
.contact .sec__head { margin-bottom: 0; }
.contact__col { width: min(100%, 560px); }
.contact form { margin-top: 28px; display: grid; gap: 10px; }
.contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact__field, .contact__select {
  width: 100%; height: 56px; border: 0; border-radius: var(--radius); background: var(--surface);
  padding: 0 18px; font-size: var(--step-body);
}
.contact__select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.5 7l4.5 4.5L13.5 7' fill='none' stroke='%236e6a5e' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.contact__area {
  width: 100%; min-height: 96px; border: 0; border-radius: var(--radius); background: var(--surface);
  padding: 14px 18px; font-size: var(--step-body); resize: vertical;
}
.contact__field:focus, .contact__select:focus, .contact__area:focus { outline: 2px solid var(--accent); outline-offset: -2px; }
.contact__send { margin-top: 6px; height: 52px; width: 100%; }
.contact__note { margin-top: 16px; font-size: var(--step-small); color: var(--muted); min-height: 1.4em; }
.contact__note.is-err { color: var(--ui-bad); }
.contact__note.is-ok { color: var(--ui-ok); }
.contact__rows { margin-top: 48px; display: grid; gap: 10px; font-size: var(--step-small); }
.contact__rows div { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 12px; }
.contact__rows dt { color: var(--muted); }
.contact__rows dd { margin: 0; }
@media (max-width: 700px) {
  .contact__row { grid-template-columns: minmax(0, 1fr); }
  .contact__rows div { grid-template-columns: minmax(0, 1fr); gap: 2px; margin-bottom: 10px; }
}

/* ---------- Faixa de CTA final ---------- */
.ctaband { background: var(--accent); color: var(--accent-ink); padding-block: clamp(56px, 8vw, 96px); text-align: center; }
.ctaband h2 { font-size: var(--step-head); max-width: 20ch; margin: 0 auto; }
.ctaband p { margin-top: 14px; color: #cfd9e6; font-size: var(--step-lead); }
.ctaband .btn { margin-top: 28px; }

/* ---------- Rodapé: simples, sem faixa gigante ---------- */
.foot { padding-block: clamp(56px, 7vw, 88px) clamp(28px, 4vw, 40px); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(24px, 4vw, 48px); }
.foot__brand .wordmark { display: inline-block; margin-bottom: 12px; }
.foot__brand p { color: var(--muted); max-width: 32ch; font-size: var(--step-small); }
.foot__col h3 { font-size: var(--step-small); color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 14px; }
.foot__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot__col a { color: var(--ink); text-decoration: none; font-size: var(--step-body); }
.foot__col a:hover { color: var(--accent); }
.foot__contact p { font-size: var(--step-body); }
.foot__contact a { color: var(--ink); }
.foot__bottom { margin-top: clamp(40px, 6vw, 64px); padding-top: 20px; border-top: 1px solid var(--surface-2); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: var(--step-small); color: var(--muted); }
@media (max-width: 860px) {
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .foot__grid { grid-template-columns: 1fr; }
}

/* ---------- Aviso de cookies ---------- */
.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: var(--field-dark); color: var(--field-dark-ink);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.consent__in {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 18px; padding-bottom: 18px;
}
.consent__txt { flex: 1 1 420px; font-size: var(--step-small); color: #cfcdc3; max-width: 60ch; }
.consent__txt a { color: var(--field-dark-ink); }
.consent__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.consent__essential {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 1.1em; border: 1px solid #4a4840; border-radius: var(--radius);
  background: transparent; color: var(--field-dark-ink); font-size: var(--step-body); cursor: pointer;
  transition: border-color var(--t-hover) ease;
}
.consent__essential:hover { border-color: #7a776b; }
@media (max-width: 640px) {
  .consent__in { flex-direction: column; align-items: stretch; }
  .consent__btns { justify-content: stretch; }
  .consent__btns > * { flex: 1; }
}

/* ---------- Bloqueio de anúncios ---------- */
html.is-adblock * { pointer-events: none !important; }

/* Supporting photography; keep the original product illustrations visible. */

.hero__visual { min-width: 0; }
.support-photo { display: block; width: 100%; height: auto; max-height: 240px; object-fit: cover; border-radius: 12px; margin-bottom: 20px; }
.hero__visual .shot { width: 100%; padding-inline: 0; margin-inline: 0; }


/* Supporting scenes and a personal introduction beside the demo form. */
.detail-photo { margin:24px 0 36px; min-width:0; grid-column:1 / -1; }
.detail-photo img { display:block; width:100%; height:auto; max-height:360px; object-fit:cover; border-radius:12px; }
.detail-photo figcaption { margin-top:10px; font-size:13px; opacity:.75; }
.demo-person { display:flex; gap:16px; align-items:center; margin:24px 0; padding:18px; border:1px solid #8883; border-radius:12px; }
.demo-person .demo-person__portrait { width:72px; height:72px; border-radius:50%; object-fit:cover; flex:0 0 72px; }
.demo-person strong { display:block; font-size:15px; line-height:1.4; }
.demo-person p { margin:4px 0 0; font-size:13px; line-height:1.5; }
.adapter-cutout { display:block; width:200px; max-width:100%; height:auto; margin:12px 0; }
@media(max-width:600px) { .detail-photo img { max-height:260px; } .demo-person { padding:12px; gap:12px; } }
