/* Maxmize — identidade visual / revisão 2, outubro 2026
   Amarelo = manual, pendente. Teal = automatizado, resolvido. Azul = ação. */

:root {
  --navy: #071b38;
  --navy-2: #0c2a50;
  --blue: #086aff;
  --blue-hover: #0456d6;
  --teal: #00b8ad;
  --teal-ink: #00756e;
  --teal-soft: #dff6f3;
  --marker: #ffd84d;
  --marker-soft: #fff6cf;
  --marker-ink: #6b5200;

  --ink: #0f2340;
  --muted: #4c5c72;
  --line: #d6e0ea;
  --paper: #f4f7fa;
  --white: #ffffff;

  --font-display: 'Bricolage Grotesque', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Hanken Grotesk', 'Segoe UI', Arial, sans-serif;

  /* escala tipográfica (razão ~1.25 a partir de 17px) */
  --t-sm: 14px;
  --t-base: 17px;
  --t-md: 20px;
  --t-lg: 26px;
  --t-xl: clamp(32px, 4vw, 52px);
  --t-hero: clamp(42px, 5.8vw, 84px);

  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 10vw, 136px);
  --header-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 var(--t-base)/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); color: var(--navy); }
h2 { font-size: var(--t-xl); line-height: 1.02; font-weight: 750; font-stretch: 82%; letter-spacing: -.025em; text-wrap: balance; }
h3 { font-size: var(--t-md); line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: inherit; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a, button, summary, input, select, textarea { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
abbr[title] { text-decoration: none; color: #b03224; }
.i { width: 1em; height: 1em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.outcomes :focus-visible { outline-color: var(--teal); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; justify-self: end; }
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: 8px; background: var(--navy); color: #fff; font-weight: 600; }
.skip:focus { top: 16px; }

/* ---------- ações ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border: 0; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; transition: background .15s; }
.btn:hover { background: var(--blue-hover); }
.btn:active { transform: translateY(1px); }
.btn.small { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn .i { font-size: 18px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 6px; transition: text-underline-offset .15s; }
.text-link:hover { text-underline-offset: 3px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); border-bottom: 1px solid transparent; transition: border-color .2s; }
@supports (backdrop-filter: blur(1px)) { .site-header { background: rgba(255,255,255,.85); backdrop-filter: saturate(160%) blur(12px); } }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1280px; height: var(--header-h); margin-inline: auto; padding-inline: var(--gutter); }
.brand { display: block; border-radius: 6px; }
.brand img { display: block; width: 196px; mix-blend-mode: multiply; }
#nav { position: relative; display: flex; align-items: center; gap: 4px; font-size: 16px; font-weight: 500; }
#nav > a:not(.btn) { padding: 10px 14px; color: var(--ink); text-decoration: none; border-radius: 8px; }
#nav > a:not(.btn):hover { color: var(--blue); }
#nav > a.current { color: var(--navy); }
.nav-indicator { position: absolute; left: 0; bottom: 2px; width: 100px; height: 3px; border-radius: 3px; background: var(--teal); transform-origin: 0 50%; opacity: 0; pointer-events: none; }
#nav .btn { margin-left: 14px; }
.menu { display: none; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: center; padding-block: clamp(40px, 6vw, 88px) var(--section); }
.hero h1 { font-size: var(--t-hero); line-height: .98; font-weight: 800; font-stretch: 88%; letter-spacing: -.02em; max-width: 13ch; text-wrap: balance; }
.lead { max-width: 34em; margin: 28px 0 36px; font-size: 19px; line-height: 1.6; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }

/* quadro antes / depois — o elemento memorável da página */
.board { position: relative; margin: 0; padding: clamp(18px, 2.4vw, 28px); border-radius: 22px; background: var(--paper); border: 1px solid var(--line); }
.board-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.board-title { margin: 0 0 14px; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--navy); }
.before .board-title { color: var(--marker-ink); }
.after .board-title { color: var(--teal-ink); }
.notes, .flow { display: grid; gap: 12px; }
.note, .flow-step { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.note strong, .flow-step strong { display: block; color: var(--navy); font-size: 15px; font-weight: 600; }
.note { background: var(--marker-soft); border: 1px solid #f2dd85; border-radius: 6px; box-shadow: 0 1px 0 #e9d27a, 0 6px 14px -10px rgba(107, 82, 0, .45); transform: rotate(var(--tilt, 0deg)); transition: transform .5s var(--ease), opacity .5s var(--ease), background .5s; }
.note:nth-child(1) { --tilt: -2deg; }
.note:nth-child(2) { --tilt: 1.5deg; margin-left: 10px; }
.note:nth-child(3) { --tilt: -1deg; margin-right: 8px; }
.note .i { margin-top: 2px; color: var(--marker-ink); font-size: 18px; }
.note.done { --tilt: 0deg; opacity: .45; background: transparent; box-shadow: none; }
.note.done strong { text-decoration: line-through; text-decoration-color: var(--marker-ink); }
.flow-wrap { position: relative; }
.flow-wrap::before { content: ''; position: absolute; left: 25px; top: 24px; bottom: 24px; border-left: 2px dashed #b9c8d6; }
.flow-progress { position: absolute; left: 25px; top: 24px; bottom: 24px; width: 2px; background: var(--teal-ink); transform-origin: 50% 0; transform: scaleY(0); transition: transform .4s cubic-bezier(.22, 1, .36, 1); }
.motion .flow-progress { transition: none; }
.flow-step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 12px; transition: border-color .4s, box-shadow .4s; }
.dot { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #b9c8d6; background: var(--white); color: transparent; font-size: 14px; flex-shrink: 0; transition: background .4s, border-color .4s, color .4s; }
.flow-step.on { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.flow-step.on .dot { background: var(--teal-ink); border-color: var(--teal-ink); color: #fff; }
.dot .check { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .3s .1s ease-out; }
.flow-step.on .dot .check { stroke-dashoffset: 0; }
.board .note-ghost { position: absolute; z-index: 3; margin: 0; pointer-events: none; list-style: none; }
.board-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.run { min-height: 48px; padding: 12px 20px; border: 0; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 600; font-size: 15px; transition: background .15s; }
.run:hover { background: var(--navy-2); }
.run:disabled { opacity: .7; cursor: progress; }
.board figcaption { flex: 1 1 200px; font-size: var(--t-sm); color: var(--muted); }

/* ---------- títulos de seção ---------- */
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26em); gap: 16px 48px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { margin: 0; color: var(--muted); }

/* ---------- onde trava ---------- */
.pains { padding-bottom: var(--section); }
.pains-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26em); gap: 16px 48px; align-items: end; margin-bottom: 40px; }
.pains-head p { margin: 0; color: var(--muted); }
.pain-list { border-top: 2px solid var(--navy); }
.pain-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.pain h3 { display: inline; padding: 0 4px; margin-left: -4px; background: linear-gradient(var(--marker), var(--marker)) no-repeat 0 100% / 100% 45%; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.pain p { margin: 8px 0 0; color: var(--muted); max-width: 32em; }
.fix { position: relative; margin: 0; padding-left: 30px; color: var(--ink); font-size: 18px; line-height: 1.5; align-self: center; }
.fix::before { content: ''; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }

/* ---------- soluções ---------- */
.solutions { padding-block: var(--section); background: var(--paper); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: 20px; }
.service-grid > li { display: flex; background: var(--white); }
.service { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); grid-template-areas: "icon title" "icon text" "icon tags" "icon cta"; column-gap: 22px; align-content: start; width: 100%; padding: clamp(24px, 3vw, 36px); color: inherit; text-decoration: none; transition: background .2s; }
.service:hover { background: #fafcfe; }
.service::before { content: ''; position: absolute; left: 0; top: 24px; bottom: 24px; width: 3px; border-radius: 0 3px 3px 0; background: var(--teal); transform: scaleY(0); transform-origin: 50% 0; transition: transform .25s cubic-bezier(.22, 1, .36, 1); }
.service:hover::before, .service:focus-visible::before { transform: scaleY(1); }
.service-icon { grid-area: icon; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); color: var(--navy); font-size: 24px; transition: background .2s, color .2s, border-color .2s; }
.service:hover .service-icon { background: var(--navy); border-color: var(--navy); color: #fff; }
.service h3 { grid-area: title; align-self: center; min-height: 52px; display: flex; align-items: center; font-size: 23px; line-height: 1.15; font-weight: 750; font-stretch: 88%; letter-spacing: -.015em; }
.service p { grid-area: text; margin: 6px 0 0; color: var(--muted); max-width: 36em; }
.service-tags { grid-area: tags; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.service-tags li { padding: 4px 12px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-ink); font-size: 14px; font-weight: 600; }
.service-cta { grid-area: cta; display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 15px; font-weight: 600; color: var(--blue); }
.service-cta .i { transition: transform .2s cubic-bezier(.22, 1, .36, 1); }
.service:hover .service-cta .i { transform: translateX(4px); }
.service:focus-visible { outline-offset: -3px; border-radius: 0; }

/* ---------- projetos ---------- */
.projects { padding-block: var(--section); }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(24px, 3vw, 44px); }
.shot { display: block; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 1px 2px rgba(7, 27, 56, .06), 0 24px 48px -28px rgba(7, 27, 56, .35); text-decoration: none; transition: box-shadow .25s, border-color .25s; }
.shot:hover { border-color: #b9c8d6; box-shadow: 0 1px 2px rgba(7, 27, 56, .06), 0 32px 60px -28px rgba(7, 27, 56, .45); }
.shot-bar { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 14px; background: var(--paper); border-bottom: 1px solid var(--line); }
.shot-dots { display: flex; gap: 6px; }
.shot-dots i { width: 10px; height: 10px; border-radius: 50%; background: #cfd9e3; }
.shot-url { flex: 1; max-width: 320px; margin-inline: auto; padding: 4px 12px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); color: var(--muted); font-size: 13px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot-frame { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
.shot-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transform-origin: 50% 0; }
.project-meta { padding: 24px 4px 0; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.project-tags li { padding: 3px 10px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-ink); font-size: 13px; font-weight: 600; }
.project-tags li + li { background: var(--paper); color: var(--muted); }
.project h3 { margin-top: 14px; font-size: 24px; font-weight: 750; font-stretch: 85%; }
.project-meta p { margin: 8px 0 0; color: var(--muted); max-width: 34em; }
.project-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.project-link:hover { color: var(--blue-hover); text-decoration-thickness: 2px; }

/* ---------- resultados ---------- */
.outcomes { padding-block: var(--section); background: var(--navy); color: #d7e2ee; }
.outcomes h2 { max-width: 18ch; color: #fff; font-size: clamp(34px, 4.6vw, 64px); }
.outcome-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 48px; margin-top: clamp(40px, 5vw, 72px); }
.outcome-list > div { padding-top: 20px; border-top: 2px solid var(--teal); }
.outcome-list dt { font-family: var(--font-display); font-size: var(--t-md); font-weight: 700; color: #fff; }
.outcome-list dd { margin-top: 8px; max-width: 26em; }

/* ---------- processo (sequência real) ---------- */
.process { padding-block: var(--section); }
.steps-wrap { position: relative; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.steps::before { content: ''; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: var(--line); }
.js .steps::before { display: none; }
.steps-track { position: absolute; display: none; background: var(--line); border-radius: 2px; }
.steps-track.ready { display: block; }
.steps-fill { position: absolute; inset: 0; background: var(--navy); border-radius: inherit; transform-origin: 0 0; }
.steps li { position: relative; z-index: 1; }
.step-n { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; border-radius: 50%; background: var(--white); border: 2px solid var(--navy); font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--navy); transition: background .25s, border-color .25s, color .25s; }
html:not(.js) .steps li:last-child .step-n, .steps li.reached .step-n { background: var(--navy); color: #fff; }
html:not(.js) .steps li:last-child .step-n, .steps li.reached:last-child .step-n { background: var(--teal-ink); border-color: var(--teal-ink); }
.steps h3 { font-size: 22px; }
.steps p { margin: 8px 0 0; color: var(--muted); }

/* ---------- perguntas ---------- */
.faq { padding-bottom: var(--section); }
.questions { border-top: 2px solid var(--navy); max-width: 880px; }
.questions details { border-bottom: 1px solid var(--line); }
.questions summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 68px; padding: 18px 0; list-style: none; cursor: pointer; font-size: 18px; font-weight: 600; color: var(--navy); }
.questions summary::-webkit-details-marker { display: none; }
.questions summary:hover { color: var(--blue); }
.questions summary .i { font-size: 22px; color: var(--blue); transition: transform .25s var(--ease); }
.questions details[open] summary .i { transform: rotate(180deg); }
.questions p { margin: 0; padding: 0 0 24px; max-width: 40em; color: var(--muted); }

/* ---------- contato ---------- */
.contact { padding-block: var(--section); background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.contact-copy { position: sticky; top: calc(var(--header-h) + 32px); }
.contact-copy p { max-width: 26em; margin-top: 20px; color: var(--muted); }
.contact-direct { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; padding: 14px 20px 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.contact-direct:hover { border-color: #25a366; box-shadow: 0 10px 24px -16px rgba(7, 27, 56, .35); }
.contact-direct .i { display: block; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: #e7f7ee; color: #157a46; }
.contact-direct span { display: flex; flex-direction: column; font-size: 14px; color: var(--muted); line-height: 1.35; }
.contact-direct strong { font-size: 19px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.contact form { padding: clamp(22px, 3vw, 40px); background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.form-required-note { margin: 0 0 20px; font-size: var(--t-sm); color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
label { display: block; margin-bottom: 20px; font-size: 15px; font-weight: 600; color: var(--navy); }
input, select, textarea { display: block; width: 100%; min-height: 50px; margin-top: 8px; padding: 12px 14px; border: 1px solid #c3d1de; border-radius: 10px; background: var(--white); font-size: 16px; font-weight: 400; line-height: 1.4; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
select { appearance: none; padding-right: 44px; cursor: pointer; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234c5c72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
textarea { min-height: 128px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #7d8b9d; }
input:hover, select:hover, textarea:hover { border-color: #9fb3c6; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(8, 106, 255, .16); }
.invalid input, .invalid select, .invalid textarea { border-color: #b03224; }
.field-error { display: block; margin-top: 6px; font-size: 14px; font-weight: 500; color: #b03224; }
.form-disclosure { margin: 4px 0 18px; font-size: var(--t-sm); color: var(--muted); }
.contact .btn[type=submit] { width: 100%; }
.form-message { min-height: 1.5em; margin: 14px 0 6px; font-size: 15px; font-weight: 500; color: var(--teal-ink); }
.form-message[data-tone=error] { color: #b03224; }
.privacy-link { display: inline-flex; align-items: center; min-height: 32px; padding: 0; border: 0; background: none; font-size: var(--t-sm); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.privacy-link:hover { color: var(--blue); }

/* ---------- rodapé ---------- */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 32px; padding-block: 40px 28px; }
.footer-brand img { display: block; width: 180px; }
.footer-brand p { margin: 10px 0 0; font-size: 15px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 15px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; text-decoration: none; }
.footer-links a:hover { color: var(--blue); }
.footer-links .privacy-link { min-height: 44px; padding: 0 10px; font-size: 15px; }
.site-footer small { width: 100%; padding-top: 22px; border-top: 1px solid var(--line); font-size: var(--t-sm); color: var(--muted); }

/* ---------- diálogo ---------- */
dialog { width: min(560px, calc(100% - 32px)); padding: 40px; border: 0; border-radius: 20px; color: var(--ink); box-shadow: 0 24px 80px rgba(4, 18, 40, .35); }
dialog[open] { animation: dialog-in .22s var(--ease); }
dialog::backdrop { background: rgba(6, 24, 45, .7); transition: opacity .16s; }
dialog[open]::backdrop { animation: backdrop-in .25s ease-out; }
dialog.is-closing::backdrop { opacity: 0; }
@keyframes backdrop-in { from { opacity: 0; } }
dialog h2 { margin-bottom: 16px; font-size: 32px; }
dialog p { color: var(--muted); }
.close { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; font-size: 22px; }
.close:hover { background: var(--paper); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .steps::before { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .brand img { width: 168px; }
  .menu { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 15px; font-weight: 600; color: var(--navy); }
  .menu .i { font-size: 20px; }
  #nav { position: absolute; top: calc(100% + 8px); left: 12px; right: 12px; display: none; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 48px -16px rgba(7, 27, 56, .3); }
  #nav.open { display: flex; }
  #nav > a:not(.btn) { padding: 14px 12px; font-size: 18px; }
  #nav > a.current { box-shadow: inset 3px 0 0 var(--teal); border-radius: 0; }
  .nav-indicator { display: none; }
  #nav .btn { margin: 8px 0 0; }

  .hero { grid-template-columns: 1fr; }
  .hero h1 { max-width: 12ch; }
  .section-head, .pains-head { grid-template-columns: 1fr; }
  .pain-list li { grid-template-columns: 1fr; gap: 14px; }
  .project-grid, .service-grid { grid-template-columns: 1fr; }
  .outcome-list { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-copy { position: static; }
}

@media (max-width: 600px) {
  :root { --t-base: 16px; }
  .lead { font-size: 18px; }
  .actions .btn { width: 100%; }
  .board-cols { grid-template-columns: 1fr; }
  .note:nth-child(2), .note:nth-child(3) { margin-inline: 0; }
  .run { width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .service { grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; }
  .service-icon { width: 44px; height: 44px; font-size: 20px; border-radius: 12px; }
  .service h3 { min-height: 44px; font-size: 21px; }
  .shot-bar { height: 34px; }
  .shot-url { font-size: 12px; }
  .steps li { display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; }
  .step-n { grid-row: span 2; margin: 0; }
  .form-row { grid-template-columns: 1fr; }
  .questions summary { font-size: 17px; }
  dialog { padding: 32px 22px 22px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { margin-left: -10px; }
}

/* ---------- Motion (melhoria progressiva: só vale quando a biblioteca carregou) ---------- */
.motion-pending .hero-copy > *, .motion-pending .board { opacity: 0; animation: reveal-failsafe 0s 1.5s forwards; }
@keyframes reveal-failsafe { to { opacity: 1; } }
.motion .note, .motion .note.done { opacity: 1; transform: none; transition: background .4s, box-shadow .4s; }
.motion .btn:active { transform: none; }
.motion dialog[open] { animation: none; }
.answer { overflow: hidden; }
.questions details.closing summary .i { transform: rotate(0deg); }
.motion .pain h3 { background-size: 0% 45%; transition: background-size .6s cubic-bezier(.22, 1, .36, 1); }
.motion .pain h3.drawn { background-size: 100% 45%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
