/* Causor — papel, tinta e luz. O mesmo sistema do software ("Papel e tinta"): papel marfim, tinta
   e grafite, Satoshi nos títulos e Inter no texto. A cor vem das fotografias (luz quente sobre
   concreto e madeira, como nas campanhas) e de um brilho discreto nos degradês; o texto não leva
   cor. O paralelogramo do ícone marca os rótulos e aparece como marca-d'água. */
/* Paper, ink, graphite and focus blue match causor-software/frontend/app/styles/tokens.css. No green. */
:root{--paper:#f9f8f5;--paper-deep:#f1f0ec;--chip:#efeee8;--white:#fff;--ink:#1f1f1e;--ink-soft:#42423f;--night:#121211;--muted:#6f6e6a;--muted-2:#858480;--line:#deddd9;--emphasis:#3a3a38;--focus:#4765c4;--glow:214,170,112;--night-text:#f4f3ef;--night-muted:#a8a6a0;--night-line:rgba(244,243,239,.13);--night-panel:#1b1a18;--radius:12px;--radius-sm:8px;--display:'Satoshi','Inter',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;--font:'Inter',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;--font-ui:var(--font);--text-xs:12px;--text-sm:13px;--text-base:14px;--text-md:15px}

*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:88px}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit;color:inherit}
button{cursor:pointer}
button,a,summary{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
img{display:block;max-width:100%}
h1,h2,h3,h4,p,figure,dl,dd{margin:0}
ol,ul{margin:0;padding:0;list-style:none}
h1,h2,h3,h4{font-family:var(--display);font-weight:500;letter-spacing:-.02em;text-wrap:balance}
:focus-visible{outline:3px solid var(--focus);outline-offset:4px}
[hidden]{display:none!important}
::selection{background:#e2ded3;color:var(--ink)}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.shell{width:min(1280px,calc(100% - 64px));margin-inline:auto}
.section-space{padding-block:128px}
.skip-link{position:fixed;left:16px;top:12px;z-index:100;transform:translateY(-200%);background:var(--white);padding:10px 18px;border:1px solid var(--ink)}
.skip-link:focus{transform:none}

/* Type helpers. The small slanted mark is the parallelogram of the logo icon. */
.eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:var(--text-sm);font-weight:600;color:var(--emphasis);margin-bottom:20px}
.eyebrow:before{content:'';flex:none;width:12px;height:8px;border-radius:2px;background:var(--ink);transform:skewX(-35deg)}
.pill{display:inline-block;font-size:var(--text-xs);font-weight:600;padding:3px 10px;border-radius:999px;background:var(--ink);color:var(--paper)}
.pill-dark{background:var(--night-line);color:var(--night-text);font-family:var(--font);font-size:var(--text-xs);letter-spacing:0;line-height:1.6;vertical-align:middle;margin-left:10px}
.center-heading{text-align:center;max-width:820px;margin:0 auto 64px}
.center-heading h2,.split-heading h2,.product-intro h2,.human-copy h2,.control-intro h2,.pilot-copy h2,.contact-copy h2,.faq-heading h2{font-size:clamp(36px,4.2vw,60px);line-height:1.04;letter-spacing:-.035em}
.center-heading p{font-size:17px;line-height:1.6;color:var(--muted);max-width:560px;margin:22px auto 0}
.split-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:48px;margin-bottom:64px}
.split-heading>p{max-width:400px;font-size:16px;color:var(--muted)}
.text-link{display:inline-flex;align-items:center;gap:8px;font-size:var(--text-base);font-weight:600;padding-bottom:3px;border-bottom:1px solid currentColor;transition:gap .2s}
.text-link:hover{gap:12px}
.text-link .ui-icon{width:16px;height:16px}

/* Buttons: ink first, white second; the arrow is always in view and nudges forward on hover. */
.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 22px;border-radius:var(--radius-sm);border:1px solid transparent;font-size:15px;font-weight:600;line-height:1.3;transition:background .2s,color .2s,border-color .2s}
.button-dark{background:var(--ink);color:var(--paper)}
.button-dark:hover{background:var(--emphasis)}
.button-text{padding-inline:14px}
.button-text:hover{background:var(--paper-deep)}
.button-light{background:var(--white);color:var(--ink)}
.button-light:hover{background:var(--paper-deep)}
.button-arrow{display:inline-flex;transition:transform .25s ease}
.button-arrow .ui-icon{flex:none;width:16px;height:16px}
.button:hover .button-arrow,.button:focus-visible .button-arrow,.platform-card:hover .button-arrow{transform:translateX(3px)}
.play-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;border:1px solid #c9c7c1}
.play-icon .ui-icon{width:11px;height:11px}

/* Pilot bar above the header, in ink, as the one announcement on the page. */
.announce{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:4px 12px;min-height:40px;padding:8px 16px;background:var(--ink);color:var(--paper);font-size:var(--text-sm);font-weight:500;line-height:1.4;text-align:center}
.announce-more{display:inline-flex;align-items:center;gap:6px;color:var(--night-muted);transition:color .2s,gap .2s}
.announce-more .ui-icon{width:14px;height:14px}
.announce:hover .announce-more{color:var(--paper);gap:9px}

/* Header. While it sits over the hero photograph (.on-cover, set by site.js) it turns clear and
   switches to the light logo; past the photograph it is paper again. */
.site-header{position:sticky;top:0;z-index:50;background:rgba(249,248,245,.88);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid var(--line);transition:background .3s,border-color .3s}
.nav-shell{width:min(1280px,calc(100% - 64px));height:72px;margin:auto;display:flex;align-items:center;gap:40px}
.brand{display:inline-flex;align-items:center;flex-shrink:0}
.brand img{display:block;width:116px;height:22px}
.brand .brand-paper,.on-cover .brand .brand-ink{display:none}
.on-cover .brand .brand-paper{display:block}
.site-header.on-cover{background:transparent;border-bottom-color:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
.on-cover .desktop-nav a,.on-cover .nav-login{color:rgba(244,243,239,.86)}
.on-cover .desktop-nav a:hover,.on-cover .nav-login:hover{background:rgba(244,243,239,.1);color:var(--night-text)}
.on-cover .language-switch a{color:rgba(244,243,239,.6)}
.on-cover .language-switch a[aria-current=true]{color:var(--night-text)}
.on-cover .language-switch>span{color:rgba(244,243,239,.35)}
.on-cover .nav-cta{background:var(--white);color:var(--ink)}
.on-cover .nav-cta:hover{background:var(--paper-deep)}
.on-cover .menu-toggle span{background:var(--night-text)}
.desktop-nav{display:flex;gap:4px;font-size:var(--text-md)}
.desktop-nav a{padding:6px 12px;border-radius:var(--radius-sm);color:var(--emphasis);transition:background .2s,color .2s}
.desktop-nav a:hover{background:var(--paper-deep);color:var(--ink)}
.nav-actions{margin-left:auto;display:flex;align-items:center;gap:20px}
.language-switch{display:flex;align-items:center;gap:6px;font-size:var(--text-sm);letter-spacing:.04em}
.language-switch a{padding:8px 0;color:#8a8883}
.language-switch a[aria-current=true]{color:var(--ink);font-weight:600}
.language-switch>span{color:#bdbbb6}
.nav-login{padding:6px 12px;margin-right:-12px;border-radius:var(--radius-sm);font-size:var(--text-base);font-weight:500;color:var(--emphasis);transition:background .2s,color .2s}
.nav-login:hover{background:var(--paper-deep);color:var(--ink)}
.nav-cta{min-height:40px;padding:8px 16px;font-size:var(--text-base)}
.menu-toggle{display:none;border:0;background:transparent;width:40px;height:40px;padding:8px}
.menu-toggle span{display:block;background:var(--ink);height:1.5px;width:24px;margin:6px 0;transition:transform .2s}
.menu-toggle[aria-expanded=true] span:first-child{transform:translateY(3.75px) rotate(45deg)}
.menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-3.75px) rotate(-45deg)}
.mobile-menu{padding:8px 20px 24px;border-top:1px solid var(--line)}
.mobile-menu a{display:block;padding:12px 0;font-size:17px;border-bottom:1px solid var(--line)}
.mobile-menu .mobile-cta{display:flex;justify-content:space-between;align-items:center;border:0;margin-top:12px;font-weight:600}
.mobile-menu .ui-icon{width:20px;height:20px}

/* Footer */
.site-footer{border-top:1px solid var(--line);padding:72px 0 32px;background:var(--paper)}
.footer-top{display:flex;justify-content:space-between;gap:48px;padding-bottom:56px}
.footer-brand p{font-family:var(--display);font-weight:500;font-size:24px;line-height:1.2;letter-spacing:-.02em;margin-top:20px;max-width:280px}
.footer-links{display:grid;grid-template-columns:repeat(3,minmax(140px,1fr));gap:48px}
.footer-links div{display:flex;flex-direction:column;gap:10px;font-size:var(--text-base)}
.footer-links a{color:var(--muted);transition:color .2s}
.footer-links a:hover{color:var(--ink)}
.footer-title{font-size:var(--text-sm);font-weight:600;color:var(--ink);margin-bottom:6px}
.footer-bottom{display:flex;justify-content:space-between;gap:24px;border-top:1px solid var(--line);padding-top:24px;font-size:var(--text-sm);color:var(--muted)}

@media (max-width:1180px){.desktop-nav a{padding-inline:9px}.nav-shell{gap:24px}}
@media (max-width:960px){
  .desktop-nav,.nav-cta{display:none}
  .menu-toggle{display:block}
  .section-space{padding-block:96px}
  .split-heading{flex-direction:column;align-items:flex-start;gap:20px;margin-bottom:48px}
  .footer-top{flex-direction:column}
}
@media (max-width:760px){
  .shell,.nav-shell{width:calc(100% - 32px)}
  .nav-shell{height:64px}
  html{scroll-padding-top:76px}
  .section-space{padding-block:80px}
  .center-heading{margin-bottom:44px}
  .center-heading p{font-size:16px}
  .footer-links{grid-template-columns:1fr 1fr;gap:32px}
  .footer-bottom{flex-direction:column;gap:8px}
}
/* Reduced motion keeps fades and colour changes but drops movement (see sections.css). */
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button:hover .button-arrow,.button:focus-visible .button-arrow,.platform-card:hover .button-arrow{transform:none}}
