/* =============================================================
   Sinais Vitais · site da agência
   Tokens da marca (ver Agência/identidade/guia-da-marca.pdf)
   ============================================================= */
:root {
  --ink: #131A2E;
  --ink-2: #1B2440;
  --paper: #F6F4EF;
  --white: #FFFFFF;
  --green: #12A07A;
  --green-hi: #17B98D;
  --green-dark: #0C7A5C;
  --muted: #5B6275;
  --muted-light: #A7AEC0;
  --amber: #D9961A;
  --red: #CF5440;
  --line: rgba(19, 26, 46, .10);
  --line-light: rgba(246, 244, 239, .12);

  --sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --sec: clamp(80px, 11vw, 144px);
  --r: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--green); color: var(--white); padding: 10px 16px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* ---------- tipografia ---------- */
.label { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--green-dark); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.label::before { content: ""; width: 22px; height: 2px; background: var(--green); }
.label--light { color: var(--muted-light); }
.label .dot { margin-right: -2px; }
.label:has(.dot)::before { display: none; }
.h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 600; line-height: 1.06; letter-spacing: -.035em; max-width: 20ch; }
.h3 { font-size: 1.35rem; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 10px; }
.h4 { font-size: 1.08rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 6px; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.18rem); color: var(--muted); max-width: 56ch; margin-top: 20px; }
.lead a { color: var(--green-dark); font-weight: 600; }
.head { margin-bottom: clamp(44px, 6vw, 72px); }
.head--center { text-align: center; }
.head--center .h2, .head--center .lead { margin-inline: auto; }

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(18, 160, 122, .6); animation: ping 2s infinite; display: inline-block; flex: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(18, 160, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(18, 160, 122, 0); } }

/* ---------- botões ---------- */
.btn { --h: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--h); padding: 0 28px; border-radius: 999px; border: 0; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--sm { --h: 44px; padding: 0 20px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn--green { background: var(--green); color: var(--white); box-shadow: 0 10px 30px -12px rgba(18, 160, 122, .7); }
.btn--green:hover { background: var(--green-hi); transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(18, 160, 122, .8); }
.btn--ghost { color: var(--paper); border: 1px solid var(--line-light); }
.btn--ghost:hover { border-color: var(--muted-light); background: rgba(246, 244, 239, .05); }
.btn--ink { background: var(--ink); color: var(--paper); margin-top: 10px; }
.btn--ink:hover { background: var(--ink-2); transform: translateY(-2px); }

/* =============================================================
   Header
   ============================================================= */
.top { position: fixed; inset: 0 0 auto; z-index: 100; padding: 16px 0; transition: background .3s, padding .3s, box-shadow .3s; }
.top.is-solid { background: rgba(19, 26, 46, .92); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); padding: 10px 0; box-shadow: 0 1px 0 var(--line-light); }
.top__in { display: flex; align-items: center; gap: 36px; }
.top__logo { margin-right: auto; }
.top__logo img { height: 34px; width: auto; }
.nav { display: flex; gap: 30px; }
.nav a { color: var(--muted-light); text-decoration: none; font-size: .94rem; font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--paper); }

/* =============================================================
   Hero
   ============================================================= */
.hero { position: relative; overflow: hidden; color: var(--paper); padding: clamp(128px, 15vw, 176px) 0 clamp(80px, 9vw, 120px);
  background:
    radial-gradient(700px 500px at 85% 30%, rgba(18, 160, 122, .16), transparent 65%),
    radial-gradient(600px 400px at 0% 100%, rgba(18, 160, 122, .07), transparent 60%),
    var(--ink); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(246, 244, 239, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(246, 244, 239, .04) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero__title { font-size: clamp(2.9rem, 6.6vw, 5.4rem); font-weight: 600; line-height: .98; letter-spacing: -.045em; margin-bottom: 26px; }
.hero__title .g { color: var(--green); }
.hero__lead { font-size: clamp(1.06rem, 1.45vw, 1.22rem); color: var(--muted-light); max-width: 52ch; margin-bottom: 34px; }
.hero__lead strong { color: var(--paper); font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .92rem; color: var(--muted-light); }
.hero__proof li { display: flex; align-items: center; gap: 9px; }
.hero__proof li::before { content: ""; width: 16px; height: 16px; flex: none; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%2312A07A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* monitor */
.monitor { margin: 0; background: linear-gradient(180deg, #1A2340, #151D34); border: 1px solid var(--line-light); border-radius: 22px; padding: 22px 24px 18px; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .04); }
.monitor__bar { display: flex; justify-content: space-between; align-items: center; color: var(--muted-light); padding-bottom: 16px; border-bottom: 1px solid var(--line-light); }
.monitor__live { display: inline-flex; align-items: center; gap: 8px; color: var(--green); }
.monitor__main { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 20px 0 16px; }
.monitor__index .mono { color: var(--muted-light); display: block; margin-bottom: 6px; }
.monitor__score { font-family: var(--mono); font-size: 3.4rem; line-height: 1; letter-spacing: -.04em; color: var(--paper); margin-bottom: 10px; }
.monitor__score small { font-size: 1rem; color: var(--muted-light); letter-spacing: 0; }
.tag { display: inline-block; font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; color: var(--white); }
.tag--warn { background: var(--amber); }
.monitor__ecg { width: 100%; height: 90px; overflow: visible; }
.ecg-grid { stroke: rgba(246, 244, 239, .08); stroke-width: 1; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.ecg-trace { fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke;
  stroke-dasharray: 520 1400; stroke-dashoffset: 1400; animation: sweep 3.2s linear infinite; filter: drop-shadow(0 0 6px rgba(18, 160, 122, .55)); }
@keyframes sweep { to { stroke-dashoffset: -520; } }
.readouts li { display: grid; grid-template-columns: 1fr 1.1fr 52px; align-items: center; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line-light); font-size: .92rem; color: var(--paper); }
.readouts i { height: 6px; border-radius: 9px; background: rgba(246, 244, 239, .1); position: relative; overflow: hidden; }
.readouts i::after { content: ""; position: absolute; inset: 0; width: calc(var(--v) * 100%); background: var(--c); border-radius: 9px; transform-origin: left; animation: grow 1.4s var(--ease) both; }
.readouts li:nth-child(2) i::after { animation-delay: .1s; } .readouts li:nth-child(3) i::after { animation-delay: .2s; }
.readouts li:nth-child(4) i::after { animation-delay: .3s; } .readouts li:nth-child(5) i::after { animation-delay: .4s; }
@keyframes grow { from { transform: scaleX(0); } }
.readouts b { font-family: var(--mono); font-weight: 500; text-align: right; font-size: .9rem; }
.monitor__cap { display: block; color: var(--muted); margin-top: 10px; font-size: .64rem; }

/* =============================================================
   Faixa de confiança
   ============================================================= */
.strip { background: var(--ink); color: var(--muted-light); border-top: 1px solid var(--line-light); }
.strip__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__list li { padding: 28px 24px 30px 0; font-size: .92rem; line-height: 1.5; }
.strip__list li + li { padding-left: 24px; border-left: 1px solid var(--line-light); }
.strip__list .mono { display: block; color: var(--green); margin-bottom: 6px; }

/* =============================================================
   Seções
   ============================================================= */
.sec { padding: var(--sec) 0; }
.sec--paper { background: var(--paper); }
.sec--white { background: var(--white); }
.sec--ink { background: var(--ink); color: var(--paper); }
.sec--ink .lead { color: var(--muted-light); }

/* problema */
.journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: j; }
.journey__step { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 28px 26px; position: relative; }
.journey__step:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -16px; width: 12px; height: 12px; border-top: 2px solid var(--green); border-right: 2px solid var(--green); transform: translateY(-50%) rotate(45deg); }
.journey__n { color: var(--green-dark); display: block; margin-bottom: 16px; }
.journey__step p { color: var(--muted); margin: 0; }
.punch { margin: clamp(40px, 5vw, 60px) 0 0; font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 600; letter-spacing: -.02em; max-width: 30ch; }

/* por que */
.why { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.why__card { background: var(--ink); color: var(--paper); border-radius: 26px; padding: clamp(32px, 4vw, 48px); position: relative; overflow: hidden; }
.why__card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(18, 160, 122, .25), transparent 70%); }
.why__photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 12%; border-radius: 18px; margin-bottom: 28px; position: relative; z-index: 1; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6); }
.why__quote { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; letter-spacing: -.01em; position: relative; z-index: 1; }
.why__sign { margin: 22px 0 0; position: relative; z-index: 1; }
.why__sign .mono { color: var(--muted-light); font-size: .68rem; }
.points { margin-top: 36px; display: grid; gap: 26px; }
.points li { padding-left: 34px; position: relative; }
.points li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: rgba(18, 160, 122, .12) no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%230C7A5C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.points p { color: var(--muted); margin: 0; }

/* serviços */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.svc:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(19, 26, 46, .35); }
.svc__tag { color: var(--green-dark); margin-bottom: 18px; }
.svc > p { color: var(--muted); font-size: .96rem; }
.ticks { display: grid; gap: 9px; margin: 6px 0 24px; font-size: .92rem; }
.ticks li { padding-left: 24px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 14'%3E%3Cpath d='M1 8h7l3-6 4 11 3-8 2 3h7' fill='none' stroke='%2312A07A' stroke-width='2' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E"); }
.svc__price { margin: auto 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 1.5rem; font-weight: 600; letter-spacing: -.03em; }
.svc__price .mono { display: block; font-size: .64rem; color: var(--muted); letter-spacing: .12em; font-weight: 400; margin-bottom: 2px; }
.svc__price small { font-size: .9rem; color: var(--muted); font-weight: 500; }
.svc--featured { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.svc--featured > p, .svc--featured .svc__price small, .svc--featured .svc__price .mono { color: var(--muted-light); }
.svc--featured .svc__tag { color: var(--green); }
.svc--featured .svc__price { border-color: var(--line-light); }

/* como funciona */
.flow { position: relative; }
.flow__line { position: absolute; left: 0; top: 0; width: 100%; height: 60px; }
.flow__line path { fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 2600; stroke-dashoffset: 2600; transition: stroke-dashoffset 2.4s var(--ease); }
.flow.is-in .flow__line path { stroke-dashoffset: 0; }
.flow__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 96px; }
.flow__n { color: var(--green); display: block; margin-bottom: 12px; }
.flow__list p { color: var(--muted-light); font-size: .96rem; margin: 0; }

/* diagnóstico */
.dx { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.dx__media { position: relative; min-height: 560px; }
.dx__media img { position: absolute; width: 66%; border-radius: 10px; box-shadow: 0 30px 70px -30px rgba(19, 26, 46, .45); }
.dx__p1 { left: 0; top: 0; transform: rotate(-3deg); z-index: 2; }
.dx__p3 { right: 0; top: 60px; transform: rotate(4deg); }
.dx__cap { position: absolute; left: 0; bottom: -8px; color: var(--muted); font-size: .64rem; }
.pillars { margin: 28px 0 22px; border-top: 1px solid var(--line); }
.pillars li { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.pillars span { color: var(--muted); }

/* CFM */
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 960px; margin-inline: auto; }
.rules__col { border-radius: var(--r); padding: 32px 30px; border: 1px solid var(--line); }
.rules__col--do { background: rgba(18, 160, 122, .06); border-color: rgba(18, 160, 122, .25); }
.rules__col--dont { background: var(--paper); }
.rules__col .h4 { margin-bottom: 18px; }
.rules__col li { padding: 10px 0 10px 32px; position: relative; border-top: 1px solid var(--line); }
.rules__col li::before { position: absolute; left: 0; top: 10px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 700; }
.rules__col--do li::before { content: "✓"; background: var(--green); color: var(--white); }
.rules__col--dont li::before { content: "✕"; background: rgba(207, 84, 64, .12); color: var(--red); }

/* FAQ */
.faq { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq .head { position: sticky; top: 110px; margin-bottom: 0; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--white) no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%23131A2E' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); border: 1px solid var(--line); transition: transform .3s var(--ease), background-color .3s; }
.faq__list details[open] summary::after { transform: rotate(45deg); background-color: rgba(18, 160, 122, .12); }
.faq__list details p { color: var(--muted); padding-bottom: 22px; margin: 0; max-width: 62ch; }

/* final + formulário */
.final { position: relative; overflow: hidden; color: var(--paper); padding: var(--sec) 0 calc(var(--sec) + 30px);
  background: radial-gradient(700px 500px at 10% 80%, rgba(18, 160, 122, .14), transparent 60%), var(--ink); }
.final__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.final__title { font-size: clamp(2.2rem, 4.8vw, 3.8rem); font-weight: 600; line-height: 1.02; letter-spacing: -.04em; margin-bottom: 20px; max-width: 16ch; }
.final__lead { color: var(--muted-light); font-size: 1.1rem; max-width: 44ch; }
.final__list { margin-top: 26px; display: grid; gap: 10px; }
.final__list li { display: flex; gap: 10px; align-items: center; }
.final__list li::before { content: ""; width: 18px; height: 18px; flex: none; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%2312A07A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.final__ecg { position: absolute; left: 0; bottom: 0; width: 100%; height: 100px; }
.final__ecg path { fill: none; stroke: var(--green); stroke-width: 1.6; opacity: .6; vector-effect: non-scaling-stroke; stroke-linejoin: round; }

.form { background: var(--white); color: var(--ink); border-radius: 24px; padding: clamp(26px, 3.4vw, 40px); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .7); }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-size: .88rem; font-weight: 600; }
.opt { color: var(--muted); font-weight: 400; }
.field input { height: 52px; border: 1px solid rgba(19, 26, 46, .18); border-radius: 12px; padding: 0 16px; background: var(--paper); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.field input:focus { outline: none; border-color: var(--green); background: var(--white); box-shadow: 0 0 0 4px rgba(18, 160, 122, .15); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--muted); margin: 6px 0 18px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); flex: none; }
.check a { color: var(--ink); }
.form__error { color: var(--red); font-size: .88rem; margin: -6px 0 14px; }
.form__note { color: var(--muted); text-align: center; margin: 14px 0 0; font-size: .64rem; }

/* footer */
.foot { background: #0E1424; color: var(--muted-light); padding: 56px 0 30px; font-size: .92rem; }
.foot__grid { display: grid; grid-template-columns: 2fr 1.2fr 1.4fr; gap: 40px; }
.foot__grid img { height: 30px; width: auto; }
.foot__tag { margin-top: 14px; }
.foot__nav, .foot__contact { display: flex; flex-direction: column; gap: 10px; }
.foot a { text-decoration: none; transition: color .2s; }
.foot a:hover { color: var(--green); }
.foot__legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-light); font-size: .8rem; color: var(--muted); }

.dock { display: none; }

/* revelação ao rolar */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.dx__media.reveal.is-in .dx__p1 { transform: rotate(-3deg); }

/* =============================================================
   Responsivo
   ============================================================= */
@media (max-width: 1080px) {
  .nav { display: none; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .strip__list { grid-template-columns: repeat(2, 1fr); }
  .strip__list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .strip__list li:nth-child(n+3) { border-top: 1px solid var(--line-light); }
  .flow__list { grid-template-columns: repeat(2, 1fr); row-gap: 44px; padding-top: 84px; }
}
@media (max-width: 860px) {
  .hero__grid, .why, .dx, .faq, .final__grid { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr; }
  .journey__step:not(:last-child)::after { top: auto; bottom: -16px; right: 50%; transform: translateX(50%) rotate(135deg); }
  .faq .head { position: static; }
  .dx__media { min-height: 0; aspect-ratio: 1 / .95; order: 2; }
  .rules { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 80px; }
  .top .btn { display: none; }
  .top__logo img { height: 30px; }
  .hero { padding-top: 108px; }
  .hero__ctas .btn { width: 100%; }
  .hero__proof { flex-direction: column; }
  .monitor { padding: 18px 16px 14px; }
  .monitor__score { font-size: 2.8rem; }
  .readouts li { grid-template-columns: 1fr 70px 44px; gap: 10px; font-size: .86rem; }
  .strip__list { grid-template-columns: 1fr; }
  .strip__list li, .strip__list li + li { padding: 18px 0; border-left: 0; }
  .strip__list li + li { border-top: 1px solid var(--line-light); }
  .services { grid-template-columns: 1fr; }
  .flow__line { display: none; }
  .flow__list { grid-template-columns: 1fr; padding-top: 0; gap: 0; }
  .flow__list li { padding: 22px 0 22px 50px; position: relative; border-top: 1px solid var(--line-light); }
  .flow__n { position: absolute; left: 0; top: 25px; }
  .pillars li { grid-template-columns: 1fr; gap: 2px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__grid > div:first-child { grid-column: 1 / -1; }
  .dock { display: block; position: fixed; inset: auto 0 0; z-index: 90; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(19, 26, 46, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line-light); transform: translateY(110%); transition: transform .35s var(--ease); }
  .dock.is-on { transform: none; }
  .dock .btn { --h: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .ecg-trace { stroke-dasharray: none; stroke-dashoffset: 0; }
  .flow__line path { stroke-dashoffset: 0; }
}

/* ---------- aviso de cookies (LGPD) ---------- */
.consent { position: fixed; left: 20px; bottom: 20px; z-index: 150; max-width: 420px; background: var(--white); color: var(--ink); border-radius: 18px; padding: 20px 22px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .45); border: 1px solid var(--line); font-size: .9rem; animation: consentIn .5s var(--ease) both; }
.consent p { margin: 0 0 14px; color: var(--muted); }
.consent a { color: var(--ink); }
.consent__btns { display: flex; gap: 10px; justify-content: flex-end; }
.btn--ghost-ink { background: transparent; color: var(--ink); border: 1px solid rgba(19, 26, 46, .2); }
.btn--ghost-ink:hover { border-color: var(--ink); }
@keyframes consentIn { from { opacity: 0; transform: translateY(16px); } }
body.has-consent .dock { display: none; }
@media (max-width: 640px) {
  .consent { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .consent__btns .btn { flex: 1; }
}
