/* Cartoriolabs: espaços, hierarquia e seções de soluções inspirados na Efí. */
:root {
  --bg: oklch(0.995 0.002 280);
  --bg-2: oklch(0.975 0.006 280);
  --surface-2: oklch(0.96 0.009 280);
  --ink: oklch(0.26 0.038 275);
  --ink-muted: oklch(0.46 0.025 275);
  --ink-faint: oklch(0.49 0.022 275);
  --line: oklch(0.90 0.014 280);
  --primary: oklch(0.47 0.14 290);
  --primary-bright: oklch(0.54 0.14 290);
  --primary-deep: oklch(0.37 0.12 290);
  --maxw: 1280px;
}
body { background: var(--bg); }
body::after { content: none; }
html { scroll-padding-top: 110px; }
main { overflow: clip; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 500; padding: 1rem; border-radius: 8px; background: white; color: var(--ink); }
.skip-link:focus { top: 1rem; }
h1, h2, h3, h4 { letter-spacing: -0.045em; }
.eyebrow { font-family: var(--font-display); font-size: .77rem; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; margin-bottom: 1.15rem; }
.lede { font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: var(--ink-muted); line-height: 1.65; }
.section { padding-block: clamp(4rem, 7vw, 6.5rem); }
.section-head { margin-bottom: 2.75rem; }
.section-head h2 { max-width: 24ch; }
.section-head .lede { margin-top: 1.25rem; }
.nav { width: 100%; max-width: none; margin: 0; top: 0; min-height: 92px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 1.2rem max(var(--gutter), calc((100vw - 1184px) / 2)); background: color-mix(in oklch, white 96%, transparent); box-shadow: none; gap: 2rem; }
.nav .nav-logo { width: 210px; height: auto; overflow: visible; }
.nav-logo-image { position: static; width: 100%; transform: none; max-width: 100%; height: auto; }
.nav-links { gap: 1.6rem; }
.nav-link { font-family: var(--font-display); font-size: .81rem; white-space: nowrap; color: var(--ink); font-weight: 600; }
.nav-link:hover, .nav-link[aria-current] { color: var(--primary); }
.nav-cta, .btn-primary { background: var(--primary); color: white; border-radius: 8px; box-shadow: none; }
.nav-cta { padding: .9rem 1.1rem; }
.nav-cta:hover, .btn-primary:hover { background: var(--primary-deep); }
.nav-toggle { display: none; }
.btn { min-height: 48px; padding: .95rem 1.25rem; border-radius: 8px; font-family: var(--font-display); font-size: .83rem; }
.btn-ghost { background: transparent; border: 1px solid var(--line-strong); }
.text-link { display: inline-flex; gap: .75rem; align-items: center; min-height: 44px; font-family: var(--font-display); font-weight: 700; color: var(--primary); font-size: .85rem; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero-ctas { gap: 1.5rem; margin-top: 2rem; flex-wrap: wrap; }
.home-hero { padding-block: clamp(2.5rem, 5vw, 5rem); background: linear-gradient(105deg, white 55%, var(--bg-2) 100%); }
.home-hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: 2rem; }
.home-hero h1 { font-size: clamp(2.7rem, 4.4vw, 4.05rem); line-height: 1.12; margin-block: 1.5rem; max-width: 16ch; }
.home-hero h1 em { color: var(--primary); }
.home-hero .lede { max-width: 39ch; }
.home-hero-art img { width: 100%; }
.hero-location { font-size: .8rem; margin-top: 1.5rem; }
.service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.service-card, .service-card-wide { grid-column: auto; background: transparent; border: 0; border-radius: 0; padding: 2.1rem 1.4rem; box-shadow: none; }
.service-card { border-right: 1px solid var(--line); }
.service-card:first-child { padding-left: 0; }
.service-card:last-child { border-right: 0; padding-right: 0; }
.service-card:hover { transform: none; background: transparent; box-shadow: none; }
.service-icon { width: 38px; height: 38px; color: var(--primary); margin-bottom: 1.6rem; }
.service-card h3 { font-size: 1.12rem; line-height: 1.35; margin-bottom: 1rem; }
.service-card p { font-size: .94rem; line-height: 1.65; }
.service-link { font-family: var(--font-display); font-size: .8rem; }
.regulation-section { background: oklch(0.29 0.055 278); padding-block: clamp(4rem, 7vw, 6rem); border: 0; }
.regulation-grid { align-items: center; gap: 4rem; }
.regulation-section h2 { color: white; font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 1.6rem; max-width: 22ch; }
.regulation-section p, .regulation-section .lede { color: oklch(0.86 0.012 280); }
.regulation-section .eyebrow { color: oklch(0.84 0.11 70); }
.regulation-section .btn-primary { background: white; color: var(--ink); }
.regulation-section .btn-primary:hover { background: oklch(0.94 0.017 280); }
.regulation-section .btn-ghost { border-color: oklch(0.65 0.03 280); color: white; background: transparent; }
.regulation-panel { border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: none; }
.regulation-section .regulation-panel { background: oklch(0.34 0.05 278); border-color: oklch(0.43 0.045 278); }
.regulation-section .regulation-panel > div { border-color: oklch(0.43 0.045 278); background: transparent; }
.regulation-section .regulation-panel span, .regulation-section .regulation-panel strong { color: white; }
.regulation-section .regulation-panel > div > strong { color: oklch(0.84 0.11 70); font-family: var(--font-display); }
.regulation-section .regulation-alert { font-size: .82rem; }
.chattixy-showcase { padding-block: clamp(4rem, 7vw, 6.5rem); background: oklch(0.97 0.012 285); }
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.showcase-copy h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); margin-bottom: 1.6rem; }
.showcase-copy h2 em { color: var(--primary); }
.showcase-visual { background: white; border: 1px solid var(--line); border-radius: 22px; padding: 2.3rem; }
.chattixy-brand { width: 290px; height: auto; margin-bottom: 1.8rem; }
.showcase-conversation { padding-top: 1.5rem; border-top: 1px solid var(--line); }
.conversation-label { display: block; font-size: .78rem; color: var(--ink-muted); margin-bottom: 1.5rem; }
.bubble-client, .bubble-bot { max-width: 88%; font-size: .95rem; line-height: 1.6; padding: 1rem 1.2rem; margin-bottom: 1rem; }
.bubble-client { margin-left: auto; border-radius: 14px 14px 3px 14px; background: oklch(0.94 0.018 280); color: var(--ink); }
.bubble-bot { margin-right: auto; border-radius: 14px 14px 14px 3px; background: oklch(0.97 0.012 160); color: var(--ink); }
.bubble-bot strong { display: block; font-size: .73rem; color: oklch(0.43 0.045 165); margin-bottom: .35rem; }
.conversation-handoff { font-size: .76rem; color: oklch(0.42 0.05 165); text-align: center; padding: .7rem .5rem; }
.illustration-note { display: block; font-size: .7rem; color: var(--ink-muted); margin-top: 1.2rem; line-height: 1.6; }
.showcase-benefits { margin-block: 1.8rem; }
.showcase-benefits li { padding: 1rem 0 1rem 1.75rem; border-top: 1px solid var(--line); position: relative; }
.showcase-benefits li::before { content: '✓'; color: var(--primary); font-weight: 700; position: absolute; left: 0; }
.showcase-benefits strong, .showcase-benefits span { display: block; font-size: .91rem; }
.showcase-benefits span { margin-top: .3rem; color: var(--ink-muted); }
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.bento-product { padding: 2rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; box-shadow: none; min-height: auto; }
.bento-product:hover { transform: none; box-shadow: none; }
.bento-product-title { font-size: 1.7rem; }
.bento-product-num { font-family: var(--font-display); font-size: .73rem; }
.bento-product-tag { background: white; color: var(--primary); }
.bento-product svg { width: 42px; height: 42px; margin-block: 1rem; }
.bento-product-features li::before { color: var(--primary); }
.difference-grid { gap: 2.5rem; }
.difference-grid article { background: transparent; padding: 1.1rem 0; border-radius: 0; border: 0; border-top: 1px solid var(--line); box-shadow: none; }
.difference-grid strong { font-size: 1.1rem; }
.difference-grid span { font-size: .97rem; }
.visual-break { display: none; }
.statement { background: var(--bg-2); border: 0; padding-block: 5rem; }
.statement-text { font-size: clamp(2.1rem, 3.4vw, 3rem); }
.statement-text, .statement p { color: var(--ink); }
.statement-grid { gap: 4rem; }
.contact-block { background: white; border: 0; border-radius: 0; box-shadow: none; padding: 0; gap: 4rem; }
.form { padding: 2rem; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); }
.contact-option { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 1rem 0; }
.contact-option:hover { transform: none; background: transparent; }
.contact-visual { max-width: 360px; margin-top: 2rem; }
.footer { background: white; border-top: 1px solid var(--line); }
.footer-brand .footer-logo { width: 220px; filter: none; }
.footer, .footer a, .footer h4, .footer-meta { color: var(--ink-muted); }
.footer a:hover { color: var(--primary); }
.footer-meta { border-color: var(--line); }
.product-hero { padding-top: 4rem; }
.product-hero h1 { font-size: clamp(2.7rem, 4.8vw, 4.6rem); }
.product-hero .eyebrow { margin-bottom: 1rem; }
.product-hero-grid { gap: 3rem; }
.hero-update-flag { padding: 1rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; margin-top: 1.5rem; font-size: .85rem; }
.norm-source { padding-top: 2rem; padding-bottom: 2rem; background: var(--bg-2); border-block: 1px solid var(--line); }
.norm-source strong { display: block; margin-bottom: .6rem; }
.norm-source p { font-size: .95rem; }
.norm-source a { display: inline-block; color: var(--primary); font-size: .88rem; font-weight: 700; margin: 1rem 1.5rem 0 0; text-decoration: underline; text-underline-offset: 4px; }
.node-details-toggle { width: 100%; text-align: left; color: var(--primary); font-size: .78rem; display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin-top: .6rem; }
.node-tooltip { z-index: 10; }
.class-pill { font-family: var(--font-display); font-size: .78rem; min-height: 44px; }
.calc-base-note { font-size: .9rem; margin-top: 1rem; }
.chat-product-hero { padding-block: clamp(3rem, 6vw, 5rem); }
.product-brand { width: 240px; margin-bottom: 2rem; }
.chat-product-hero h1 { font-size: clamp(2.75rem, 4.4vw, 4rem); margin-bottom: 1.6rem; }
.chat-product-hero h1 em { color: var(--primary); }
.chat-product-hero .lede { max-width: 43ch; }
.chat-product-visual { padding: 1.5rem; border-radius: 24px; background: oklch(0.95 0.014 280); }
.chat-window { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: white; box-shadow: 0 12px 35px oklch(0.35 0.04 280 / .06); }
.chat-window-head { padding: 1.2rem; display: flex; gap: .8rem; align-items: center; border-bottom: 1px solid var(--line); }
.chat-avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: white; font-family: var(--font-display); font-weight: 800; }
.chat-window-head strong, .chat-window-head div > span { display: block; }
.chat-window-head strong { font-size: .82rem; }
.chat-window-head div > span { color: var(--ink-muted); font-size: .7rem; }
.chat-window-status { width: 8px; height: 8px; background: oklch(0.65 0.08 160); border-radius: 50%; margin-left: auto; }
.chat-window-body { padding: 1.5rem 1.2rem; }
.chat-product-visual > p { margin: 1rem .5rem 0; }
.chat-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.75rem; }
.chat-features article { padding-top: 1.6rem; border-top: 1px solid var(--line); }
.feature-kicker { display: block; color: var(--primary); font-family: var(--font-display); font-size: .75rem; font-weight: 700; margin-bottom: 1.25rem; }
.chat-features h3 { font-size: 1.25rem; margin-bottom: .9rem; }
.chat-features p { font-size: 1rem; }
.chat-connection-section { background: var(--bg-2); padding-block: 4.5rem; }
.connection-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.connection-grid article { border-left: 3px solid var(--primary); padding-left: 1.5rem; }
.connection-grid h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.commercial-note { font-size: .85rem; margin-top: 2rem; max-width: 90ch; }
.chat-final-cta { background: oklch(0.96 0.014 280); padding-block: 4.5rem; }
.chat-final-cta h2 { max-width: 28ch; margin-bottom: 1.5rem; }
.process-grid { gap: 1.5rem; }
.process-step { background: transparent; border: 0; border-radius: 0; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.process-step-num { background: transparent; color: var(--primary); padding: 0; width: auto; height: auto; margin-bottom: 1rem; }
@media (max-width: 1100px) {
  .nav { gap: 1.5rem; padding-inline: 1.5rem; }
  .nav .nav-logo { width: 185px; }
  .nav-links { gap: 1rem; }
  .nav-link { font-size: .76rem; }
  .nav-cta { font-size: .75rem; padding: .8rem; }
}
@media (max-width: 900px) {
  .nav { flex-wrap: wrap; min-height: 80px; }
  .nav .nav-logo { width: 195px; }
  .nav-links { width: 100%; flex-wrap: wrap; justify-content: flex-start; }
  .nav-enhanced .nav-toggle { display: block; margin-left: auto; border: 1px solid var(--line); border-radius: 8px; padding: .6rem 1rem; min-height: 44px; font-weight: 700; font-size: .8rem; }
  .nav-enhanced .nav-links { display: none; }
  .nav-enhanced.menu-open .nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding-top: .5rem; }
  .nav-enhanced .nav-link { font-size: .9rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav-enhanced .nav-cta { margin-top: 1rem; text-align: center; font-size: .85rem; }
  .home-hero-grid, .showcase-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .home-hero h1 { font-size: 2.7rem; }
  .home-hero .hero-ctas { gap: .7rem; }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .service-card { padding: 1.8rem !important; }
  .service-card:nth-child(2) { border-right: 0; }
  .service-card:nth-child(n+3) { border-top: 1px solid var(--line); }
  .regulation-grid { gap: 2rem; }
  .showcase-visual { padding: 1.3rem; }
  .showcase-copy h2 { font-size: 2rem; }
  .showcase-copy .lede { font-size: 1rem; }
  .contact-block, .statement-grid { gap: 2rem; }
  .chat-features { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .nav { min-height: 76px; padding: 1rem 1.25rem; }
  .nav .nav-logo { width: 180px; }
  .home-hero-grid, .showcase-grid, .regulation-grid, .connection-grid { grid-template-columns: 1fr; }
  .home-hero { padding-top: 3rem; padding-bottom: 1.5rem; }
  .home-hero h1 { font-size: clamp(2.5rem, 9.5vw, 3.3rem); }
  .home-hero-art { max-width: 460px; margin-inline: auto; }
  .hero-location { max-width: 32ch; }
  .section-head h2 { font-size: 2rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { padding: 1.8rem 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-card:nth-child(n+3) { border-top: 0; }
  .service-card:last-child { border-bottom: 0; }
  .service-icon { margin-bottom: 1rem; width: 32px; height: 32px; }
  .service-card h3 { font-size: 1.25rem; }
  .chattixy-showcase .showcase-copy { grid-row: 1; }
  .showcase-grid { gap: 2.5rem; }
  .showcase-visual { padding: 1.4rem; }
  .showcase-copy h2 { font-size: 2.05rem; }
  .bento { grid-template-columns: 1fr; gap: 1.5rem; }
  .bento-product { padding: 1.5rem; }
  .bento-product-head { flex-wrap: wrap; }
  .statement { padding-block: 4rem; }
  .statement-grid, .contact-block { grid-template-columns: 1fr; }
  .statement-text { font-size: 2.1rem; }
  .form { padding: 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-option-value { font-size: 1rem; overflow-wrap: anywhere; }
  .footer-grid { grid-template-columns: repeat(2,1fr); gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-meta { flex-direction: column; align-items: flex-start; gap: .8rem; }
  .chat-product-hero h1 { font-size: 2.75rem; }
  .chat-product-visual { padding: 1rem; }
  .chat-features { grid-template-columns: 1fr; gap: 2rem; }
  .product-hero-grid { grid-template-columns: 1fr; }
  .class-filter { flex-direction: column; align-items: stretch; }
  .class-pill { text-align: left; }
  .class-calc-form { flex-direction: column; align-items: stretch; }
  .class-calc-form .form-field { flex-basis: auto; }
  .norm-source a { display: block; }
  .class-calc-summary h3 { overflow-wrap: anywhere; }
  .legal-meta { flex-wrap: wrap; }
}
/* Simplifica as superfícies e permite ler os requisitos no próprio cronograma. */
.nav { flex-direction: row; align-items: center; }
.service-grid, .difference-grid { background: transparent; border-radius: 0; box-shadow: none; border: 0; border-top: 1px solid var(--line); overflow: visible; }
.service-card { min-height: auto; gap: .5rem; }
.service-icon { background: none; border-radius: 0; }
.difference-grid { border-top: 0; grid-template-columns: repeat(3, 1fr); }
.bento { background: transparent; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.bento-docicon, .bento-ctpicon { position: static; opacity: 1; color: var(--primary); }
.bento-product-features { font-family: var(--font-body); font-size: .9rem; }
.bento-product-num, .bento-product-tag { letter-spacing: .04em; }
.statement-meta { text-align: left; font-family: var(--font-body); }
.footer { margin-top: 0; }
.footer-brand .footer-logo { height: auto; }
.node-tooltip { display: none; position: static; transform: none; width: auto; max-width: none; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); opacity: 1; box-shadow: none; pointer-events: auto; margin-top: .75rem; }
.node-tooltip::after, .timeline-node.is-tooltip-open::after { display: none; }
.node-tooltip h4 { color: var(--ink); }
.node-tooltip ul li { color: var(--ink-muted); }
.timeline-node.is-tooltip-open .node-tooltip { display: block; }
.timeline-node.is-tooltip-open .node-card { z-index: auto; }
@media (max-width: 640px) { .difference-grid { grid-template-columns: 1fr; gap: 1rem; } }
.nav-cta { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
