/* CFO Empresarial — processos visíveis, IA aplicada. Rolagem nativa. */
:root {
  --navy: #14324a;
  --navy-deep: #102a40;
  --copper: #b87333;
  --copper-dark: #8a5426;
  --paper: #f5f3ee;
  --white: #ffffff;
  --slate: #5c6b78;
  --line: #dddeda;
  --display: 'Montserrat', Arial, sans-serif;
  --body: 'IBM Plex Sans', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 112px; scroll-behavior: auto; }
body { margin: 0; color: var(--navy); background: var(--paper); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.045em; line-height: 1.15; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.4vw, 44px); }
h3 { font-size: 20px; letter-spacing: -.025em; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--copper); outline-offset: 5px; }
::selection { background: #e6c7a6; color: var(--navy); }
.container { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.section-pad { padding-block: 96px; }
.section-rule { border-top: 1px solid var(--line); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 100; padding: 10px 16px; background: var(--navy); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--copper-dark); font-size: 12px; font-weight: 600; letter-spacing: .06em; margin-bottom: 22px; }
.signal { width: 7px; height: 7px; background: var(--copper); border-radius: 50%; flex: 0 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 102px; }
.brand { display: block; flex: 0 0 248px; width: 248px; }
/* Integra o fundo claro do JPEG ao papel sem acrescentar moldura. */
.brand img { width: 100%; height: auto; mix-blend-mode: multiply; filter: brightness(1.075) contrast(1.12); mask-image: linear-gradient(to right, transparent, #000 4%, #000 97%, transparent), linear-gradient(to bottom, transparent, #000 5%, #000 94%, transparent); mask-composite: intersect; }
.site-nav { display: flex; gap: 28px; align-items: center; font-size: 15px; font-weight: 500; }
.site-nav a:not(.button):hover { color: var(--copper-dark); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 15px 23px; min-height: 52px; background: var(--navy); color: var(--white); border: 1px solid transparent; border-radius: 7px; font-size: 15px; font-weight: 600; line-height: 1.4; }
.button:hover { background: var(--copper-dark); }
.button:active { transform: translateY(1px); }
.button-small { min-height: 44px; padding: 12px 18px; font-size: 14px; }
.button > span { font-size: 21px; line-height: 1; }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--copper-dark); font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: #c8ac8e; }
.text-link:hover { text-decoration-color: currentColor; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; background: var(--navy); margin-block: 6px; }
.hero { padding-block: 64px 68px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
.hero-copy { padding-block: 12px; }
.hero h1 { font-size: clamp(40px, 4.35vw, 62px); line-height: 1.08; font-weight: 900; letter-spacing: -.06em; }
.hero h1 span { color: var(--copper-dark); }
.hero-lede { margin-top: 28px; font-size: 21px; line-height: 1.45; font-weight: 500; }
.hero-text { margin-top: 16px; max-width: 470px; color: var(--slate); font-size: 17px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 30px; }
.microcopy { margin-top: 22px; max-width: 410px; color: var(--slate); font-size: 14px; }
.workflow { background: var(--navy-deep); color: #f5f3ee; border: 1px solid #29465b; border-radius: 14px; box-shadow: 0 20px 40px -24px #14324a70; overflow: hidden; }
.workflow-top { display: flex; gap: 10px; align-items: center; padding: 15px 24px; border-bottom: 1px solid #375062; font-size: 13px; color: #e3e9ec; }
.workflow-symbol { font-size: 22px; color: #e2ac78; line-height: 1; }
.demo-label { margin-left: auto; font-size: 11px; color: #b8c9d5; }
.workflow-heading { padding: 24px 26px 20px; }
.workflow-heading h2 { font-size: 24px; letter-spacing: -.04em; }
.workflow-heading p { color: #bacad5; font-size: 14px; margin-top: 6px; }
.workflow-tabs { display: flex; border-bottom: 1px solid #375062; padding-inline: 26px; gap: 24px; }
.workflow-tabs button { color: #b9cbd7; padding: 0 0 12px; background: transparent; border: 0; border-bottom: 2px solid transparent; font-size: 14px; }
.workflow-tabs button:hover { color: white; }
.workflow-tabs [aria-selected='true'] { color: #f4c99e; border-bottom-color: #dc9c62; }
.workflow-tabs button:focus-visible { outline-offset: -2px; }
#workflow-panel { padding: 22px 26px; }
.workflow-inputs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.workflow-inputs span { padding: 9px 5px; background: #1c3b52; border: 1px solid #3c5669; border-radius: 5px; text-align: center; color: #e1e9ee; font-size: 12px; }
.flow-join { position: relative; height: 27px; margin-inline: 16%; display: flex; justify-content: space-between; }
.flow-join::after { position: absolute; content: ''; top: 13px; left: 0; right: 0; height: 1px; background: #6b7c88; }
.flow-join span { width: 1px; height: 14px; background: #6b7c88; }
.flow-join span:nth-child(2) { height: 27px; }
.ai-stage, .review-stage { display: flex; align-items: center; gap: 13px; padding: 16px; border-radius: 7px; }
.ai-stage { border: 1px solid #c28b57; background: #20394b; }
.stage-icon { flex: 0 0 32px; font-size: 32px; color: #e9b47e; line-height: 1; }
.ai-stage strong, .review-stage strong { font-size: 14px; font-weight: 600; line-height: 1.4; display: block; }
.ai-stage p, .review-stage p { font-size: 12px; color: #c1cfd9; line-height: 1.5; margin-top: 4px; }
.stage-badge { margin-left: auto; color: #f1cba4; border: 1px solid #9a7c61; border-radius: 4px; padding: 1px 6px; font-size: 11px; }
.flow-line { width: 1px; height: 19px; background: #6b7c88; margin-inline: auto; }
.review-stage { border: 1px solid #40596b; background: #17354b; }
.review-icon { display: grid; place-items: center; flex: 0 0 32px; height: 32px; border-radius: 50%; border: 1px solid #849dab; color: #d3e2e9; font-size: 16px; }
.result-stage { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 17px; background: var(--paper); color: var(--navy); border-radius: 7px; }
.result-stage div > span { display: block; font-size: 9px; letter-spacing: .1em; font-weight: 600; color: var(--copper-dark); margin-bottom: 5px; }
.result-stage strong { display: block; font-size: 14px; line-height: 1.4; }
.result-stage > span { color: var(--copper-dark); font-size: 26px; }
.workflow-foot { border-top: 1px solid #375062; padding: 13px 20px; text-align: center; color: #b8cbd7; font-size: 11px; }
.workflow-foot span { padding-inline: 8px; color: #dba775; }
.principles { border-block: 1px solid var(--line); }
.principles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-block: 23px; font-size: 14px; }
.principles-grid span { display: flex; gap: 11px; align-items: center; }
.principles-grid b { color: var(--copper-dark); font-size: 23px; font-weight: 500; line-height: 1; }
.problem-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 96px; }
.section-intro > p:last-of-type { color: var(--slate); margin-top: 24px; font-size: 17px; max-width: 580px; }
.section-intro .text-link { margin-top: 28px; }
.problem-list { display: grid; }
.problem-item { display: grid; grid-template-columns: 35px 1fr; gap: 16px; padding-block: 21px; border-bottom: 1px solid var(--line); }
.problem-item:first-child { padding-top: 0; }
.problem-item > span { color: var(--copper-dark); font-size: 12px; margin-top: 3px; }
.problem-item h3 { font-size: 18px; font-weight: 700; }
.problem-item p { color: var(--slate); font-size: 15px; margin-top: 9px; }
.process-section { background: var(--navy); color: var(--paper); }
.process-heading { display: grid; grid-template-columns: 1.6fr 1fr; gap: 80px; align-items: end; }
.process-heading h2 { max-width: 670px; }
.eyebrow-light { color: #edba88; }
.process-heading > p { color: #c0cfd9; max-width: 290px; font-size: 18px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 64px; }
.process-card { position: relative; border-top: 1px solid #6d7f8b; padding-top: 24px; }
.process-card::before { content: ''; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: #d8a573; }
.process-card > span { display: block; color: #e2ad7c; font-size: 13px; margin-bottom: 22px; }
.process-card h3 { font-size: 19px; line-height: 1.3; }
.process-card p { color: #c0cfd9; font-size: 15px; margin-top: 15px; }
.people-section > .section-intro { max-width: 690px; }
.people-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; margin-top: 52px; }
.person-card { display: grid; grid-template-columns: 218px 1fr; align-items: start; gap: 26px; border-top: 1px solid var(--line); padding-top: 32px; }
.person-card img { width: 218px; height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: contain; }
.person-card h3 { font-size: 22px; margin-top: 5px; }
.person-role { color: var(--copper-dark); font-size: 14px; font-weight: 600; margin-top: 10px; }
.person-card div > p:last-child { color: var(--slate); font-size: 15px; margin-top: 16px; }
.diagnostic-section { background: #eceae4; border-top: 1px solid var(--line); }
.diagnostic-grid { display: grid; grid-template-columns: .9fr 1fr; gap: 100px; align-items: start; }
.diagnostic-copy h2 { max-width: 400px; }
.diagnostic-copy > p:not(.eyebrow) { font-size: 17px; color: var(--slate); margin-top: 24px; }
.direct-contact { display: flex; flex-direction: column; gap: 10px; margin-top: 34px; }
.direct-contact p { font-weight: 600; }
.direct-contact a { width: fit-content; color: var(--copper-dark); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.diagnostic-form { padding: 32px; background: white; border: 1px solid #d8d9d5; border-radius: 10px; display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.diagnostic-form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; }
.diagnostic-form input, .diagnostic-form textarea, .diagnostic-form select { width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid #a9b1b5; border-radius: 5px; background: white; color: var(--navy); font-size: 16px; font-weight: 400; }
.diagnostic-form textarea { resize: vertical; }
.diagnostic-form input:focus-visible, .diagnostic-form textarea:focus-visible, .diagnostic-form select:focus-visible { outline: 2px solid var(--copper-dark); outline-offset: 2px; }
.form-note, .form-status { color: var(--slate); font-size: 13px; }
.form-status:empty { display: none; }
.form-status.is-error { color: #91382e; }
.form-status.is-success { color: var(--navy); }
html:not(.has-js) .diagnostic-form, html:not(.has-js) .workflow-tabs { display: none; }
.nojs-contact { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.site-footer { border-top: 1px solid var(--line); padding-block: 32px; background: var(--paper); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; font-size: 14px; color: var(--slate); }
.footer-brand { width: 205px; flex: 0 0 205px; }
.footer-brand img { width: 100%; height: auto; mix-blend-mode: multiply; filter: brightness(1.075) contrast(1.12); }
.footer-links { display: flex; gap: 24px; color: var(--navy); }
.footer-links a:hover { text-decoration: underline; }
/* Conteúdo visível mesmo quando JavaScript não carrega. */
.reveal { opacity: 1; transform: none; }
@media (max-width: 1120px) {
  .container { width: calc(100% - 64px); }
  .site-nav { gap: 20px; }
  .brand { flex-basis: 220px; width: 220px; }
  .hero-grid { gap: 32px; }
  .hero h1 { font-size: 46px; }
  .hero-actions { gap: 20px; }
  .problem-grid, .diagnostic-grid { gap: 52px; }
  .people-grid { gap: 40px; }
  .person-card { grid-template-columns: 1fr; }
  .person-card img { width: 218px; }
}
@media (max-width: 900px) {
  .header-inner { min-height: 88px; }
  html { scroll-padding-top: 104px; }
  .section-pad { padding-block: 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: clamp(42px, 7vw, 64px); }
  .hero-copy { max-width: 660px; }
  .hero-text { max-width: 550px; }
  .workflow { width: 100%; max-width: 640px; }
  .principles-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-grid { grid-template-columns: 1fr; gap: 42px; }
  .process-heading { grid-template-columns: 1fr; gap: 24px; }
  .process-heading > p { max-width: 100%; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; margin-top: 48px; }
  .diagnostic-grid { grid-template-columns: 1fr; }
  .diagnostic-copy { max-width: 640px; }
  .has-js .menu-toggle { display: block; }
  .site-nav { display: flex; flex-wrap: wrap; font-size: 14px; }
  .has-js .site-nav { position: absolute; top: 100%; right: 0; left: 0; padding: 20px 32px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 12px 18px #14324a0c; display: none; }
  .has-js .site-nav.is-open { display: flex; }
  .has-js .site-nav a { min-height: 44px; display: flex; align-items: center; }
  .footer-inner { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 40px); }
  .section-pad { padding-block: 52px; }
  .header-inner { min-height: 80px; gap: 12px; }
  .brand { width: 195px; flex-basis: 195px; }
  html { scroll-padding-top: 96px; }
  .hero h1 { font-size: clamp(35px, 8.9vw, 48px); }
  .eyebrow { font-size: 11px; letter-spacing: .02em; margin-bottom: 20px; }
  .hero-lede { font-size: 19px; margin-top: 22px; }
  .hero-text { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .microcopy { font-size: 13px; }
  .workflow-top { padding: 14px 16px; font-size: 12px; gap: 6px; }
  .demo-label { font-size: 10px; }
  .workflow-heading { padding: 22px 18px 20px; }
  .workflow-heading h2 { font-size: 23px; }
  .workflow-tabs { padding-inline: 18px; gap: 21px; }
  .workflow-tabs button { font-size: 13px; }
  #workflow-panel { padding: 20px 16px; }
  .workflow-inputs { gap: 6px; }
  .workflow-inputs span { font-size: 11px; }
  .ai-stage, .review-stage { padding: 13px 10px; gap: 10px; }
  .stage-badge { display: none; }
  .workflow-foot { font-size: 10px; padding-inline: 8px; }
  .workflow-foot span { padding-inline: 4px; }
  .principles-grid { gap: 16px 10px; font-size: 12px; }
  .principles-grid span { gap: 7px; }
  .principles-grid b { font-size: 20px; }
  .problem-item { grid-template-columns: 24px 1fr; gap: 10px; }
  .process-grid, .people-grid { grid-template-columns: 1fr; }
  .people-grid { gap: 40px; margin-top: 32px; }
  .person-card { gap: 22px; }
  .person-card img { width: 218px; }
  .diagnostic-form { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-brand { flex-basis: auto; }
  .has-js .site-nav { padding: 16px 20px; flex-direction: column; align-items: stretch; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
