:root {
  color-scheme: light;
  --ink: #1c2a38;
  --muted: #455a6c;
  --paper: #f4f7fa;
  --navy: #06243f;
  --cyan: #9debf3;
  --sky: #83d4ff;
  --blue: #0d5c96;
  --line: #dce5ec;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.55; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #1677b8; outline-offset: 4px; }
.wrap { width: min(100% - 6rem, 1216px); margin-inline: auto; }
section[id] { scroll-margin-top: 1rem; }
.skip, .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip-path: none; margin: .5rem; padding: .55rem 1rem; z-index: 10; background: white; }
.header { background: #f1f9ff; position: relative; z-index: 2; }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; min-width: max-content; }
.header-logo, .footer-logo { width: 152px; height: auto; }
nav { display: flex; align-items: center; gap: clamp(1.15rem, 3vw, 2.7rem); }
nav a:not(.button) { font-size: .94rem; color: var(--muted); text-decoration: none; font-weight: 620; }
nav a:not(.button):hover, .footer a:hover, .footer button:hover { text-decoration: underline; text-underline-offset: .22em; }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: 8px; padding: .45rem .75rem; color: var(--ink); background: white; font-weight: 650; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; padding: .75rem 1.18rem; border: 1px solid transparent; border-radius: 9px; text-decoration: none; text-align: center; font-size: .93rem; font-weight: 730; line-height: 1.25; transition: background .18s, border-color .18s, color .18s; }
.button-outline { color: var(--blue); border-color: #b9d6e9; min-height: 43px; }
.button-outline:hover { background: #eef7fc; border-color: var(--blue); }
.button-primary { background: var(--sky); color: #06243f; }
.button-primary:hover { background: #b7e7ff; }
.button-secondary { color: #fff; border-color: #779db8; }
.button-secondary:hover { background: #15486d; }
.button-solid { background: var(--blue); color: white; }
.button-solid:hover { background: #0b4778; }
.hero { color: #fff; background: radial-gradient(ellipse at right bottom, #0b4778, transparent 66%), var(--navy); padding: clamp(3.7rem, 7vw, 6.5rem) 0; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 4vw, 4.7rem); align-items: center; }
.eyebrow { display: flex; align-items: center; gap: .58rem; color: var(--cyan); font-size: .78rem; line-height: 1.35; font-weight: 760; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.eyebrow span { display: inline-block; width: 21px; height: 2px; background: currentColor; }
.eyebrow.dark { color: var(--blue); }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 5.2vw, 5.15rem); line-height: .99; letter-spacing: -.072em; font-weight: 790; }
h1 em { color: var(--sky); font-style: normal; }
.hero-text { color: #d2e3ef; max-width: 31rem; margin-top: 1.55rem; font-size: clamp(1rem, 1.35vw, 1.18rem); }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.85rem; }
.hero-visual { min-height: clamp(355px, 36vw, 475px); isolation: isolate; overflow: hidden; position: relative; display: flex; flex-direction: column; justify-content: end; align-items: start; gap: .5rem; padding: clamp(1.15rem, 2.7vw, 2.4rem); border: 1px solid #537f9e; border-radius: 24px; background: #0b3458; }
.hero-image, .hero-grid { position: absolute; inset: 0; z-index: -1; }
.hero-image { background: linear-gradient(180deg, #123b5e10 20%, #061c30bb 100%), linear-gradient(#386c9e, #386c9e), url("assets/mobilidade.jpg") center 48% / cover; background-blend-mode: normal, color, normal; }
.hero-grid { opacity: .21; background: linear-gradient(90deg, #b6e2ff64 1px, transparent 1px), linear-gradient(#b6e2ff64 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(110deg, black, transparent 73%); }
.visual-label { color: #fff; background: #061e34dc; padding: .2rem .52rem; border-radius: 5px; font-size: .73rem; }
.balance { width: min(100%, 340px); background: #071f36eb; border: 1px solid #577e9b; border-radius: 14px; padding: 1.05rem 1.1rem; box-shadow: 0 12px 36px #061a2da3; backdrop-filter: blur(8px); font-variant-numeric: tabular-nums; }
.balance-heading { display: flex; gap: .5rem; align-items: center; margin-bottom: .55rem; font-size: .93rem; font-weight: 720; }
.mini-icon { display: grid; place-items: center; height: 24px; width: 24px; color: var(--cyan); background: #153b56; border-radius: 6px; }
.balance-row { display: flex; justify-content: space-between; gap: .5rem; color: #e0edf7; padding-block: .19rem; font-size: .84rem; }
.balance-row strong { white-space: nowrap; color: white; }
.balance-bar { height: 4px; background: #335a74; border-radius: 6px; margin: .53rem 0; overflow: hidden; }
.balance-bar span { display: block; width: 65%; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--sky), var(--cyan)); }
.balance-total { color: var(--cyan); font-weight: 720; }
.balance-total strong { color: var(--cyan); }
.section { padding: clamp(3.8rem, 7vw, 6.5rem) 0; }
h2 { font-size: clamp(2.15rem, 4.45vw, 3.8rem); line-height: 1.03; letter-spacing: -.059em; font-weight: 790; }
h3 { font-size: 1.28rem; line-height: 1.18; letter-spacing: -.025em; }
.section-lead { margin-top: 1rem; color: var(--muted); font-size: 1.07rem; max-width: 45ch; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 2.3rem; }
.card { background: white; border: 1px solid var(--line); border-radius: 16px; padding: clamp(1.3rem, 2.5vw, 2.1rem); }
.card-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #eaf5fb; color: var(--blue); margin-bottom: 1.2rem; font-size: 1.5rem; font-weight: 750; }
.card p { color: var(--muted); margin-top: .65rem; }
.integration { background: #0b3458; color: white; }
.integration-inner, .faq-inner, .contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.25rem, 7.4vw, 7rem); align-items: start; }
.integration-inner { align-items: center; }
.integration .section-lead { color: #d2e3ef; }
.features { list-style: none; padding: 0; margin: 1.35rem 0 1.6rem; display: grid; gap: .68rem; }
.features li { display: flex; gap: .6rem; }
.features li::before { content: "✓"; color: var(--cyan); font-weight: 800; }
.api-example { background: #061e34; border: 1px solid #517994; border-radius: 17px; overflow: hidden; box-shadow: 0 18px 44px #05192566; }
.api-top { display: flex; gap: .65rem; align-items: center; padding: 1rem 1.32rem; background: #123f5e; }
.api-top span { color: var(--cyan); font-family: monospace; }
.tabs { display: flex; gap: .45rem; margin: 1rem 1.32rem 0; }
.tabs button { padding: .36rem .77rem; border-radius: 6px; color: #d8eaf5; background: transparent; border: 1px solid #517994; font-size: .88rem; }
.tabs button[aria-selected="true"] { background: #185581; border-color: #86c9f2; color: #fff; }
.api-example pre { margin: 0; padding: 1.1rem 1.32rem; min-height: 172px; color: var(--cyan); overflow: auto; font-size: clamp(.76rem, 1.3vw, .95rem); line-height: 1.58; }
.api-example code { font-family: "IBM Plex Mono", "Courier New", monospace; }
.api-example p { color: #b6d0df; border-top: 1px solid #284a65; font-size: .83rem; padding: .72rem 1.32rem; }
.faq { background: white; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; font-weight: 720; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.05rem .15rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; color: var(--blue); line-height: 1; }
details[open] summary::after { content: "−"; }
details p { padding: 0 .15rem 1.05rem; color: var(--muted); }
details p a, .email { color: var(--blue); }
.contact { background: #eaf5fb; }
.email { display: inline-block; margin-top: 1.25rem; font-weight: 680; overflow-wrap: anywhere; }
#contact-form { display: grid; gap: .78rem; padding: clamp(1.15rem, 2.7vw, 2rem); border-radius: 17px; background: white; border: 1px solid #cddfea; }
.form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
#contact-form label { display: grid; gap: .25rem; font-weight: 660; font-size: .9rem; min-width: 0; }
#contact-form label span { font-weight: 450; color: var(--muted); display: inline; }
input, textarea, select { border: 1px solid #9ab0c0; border-radius: 7px; padding: .59rem .66rem; width: 100%; min-width: 0; background: white; color: var(--ink); }
textarea { resize: vertical; }
select { appearance: none; padding-right: 2rem; background: linear-gradient(45deg, transparent 49%, var(--muted) 50%) calc(100% - 15px) 50% / 6px 6px no-repeat, linear-gradient(135deg, var(--muted) 49%, transparent 50%) calc(100% - 9px) 50% / 6px 6px no-repeat, white; }
.form-note { font-size: .83rem; color: var(--muted); }
.footer { background: var(--navy); color: white; padding: 1.65rem 0 4rem; }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }
.footer p, .footer-links { color: #d4e6f1; font-size: .88rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.footer-links a, .footer-links button { text-decoration: none; }
.footer-links button { padding: 0; border: 0; background: none; color: inherit; font: inherit; }
.cookie, .chat-panel { position: fixed; background: white; border: 1px solid #d4e3ed; box-shadow: 0 12px 45px #06243f30; z-index: 5; }
.cookie { left: 1rem; bottom: 1rem; width: min(540px, calc(100% - 15rem)); padding: .95rem 1.05rem; border-radius: 12px; display: flex; gap: .85rem; align-items: center; }
.cookie p { font-size: .83rem; color: var(--muted); margin-top: .2rem; }
.cookie a { color: var(--blue); }
.cookie .button { min-height: 40px; padding: .42rem .7rem; flex-shrink: 0; }
.chat { position: fixed; right: 1rem; bottom: 1rem; z-index: 6; }
.chat-toggle { display: flex; align-items: center; gap: .55rem; background: var(--blue); color: white; border: 1px solid #347fb2; border-radius: 30px; box-shadow: 0 8px 24px #0b345841; padding: .65rem .96rem; font-size: .9rem; font-weight: 720; }
.chat-toggle:hover { background: #0b4778; }
.bubble-icon { display: grid; place-content: center; width: 22px; height: 19px; line-height: 1; border-radius: 6px; border: 1px solid #d8efff; font-size: .85rem; }
.chat-panel { right: 1rem; bottom: 4.45rem; width: min(360px, calc(100% - 2rem)); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; max-height: calc(100dvh - 5.2rem); }
.chat-header { background: #0b3458; color: white; display: flex; align-items: center; justify-content: space-between; padding: .7rem .85rem; }
.chat-header small { display: block; color: #d5e9f7; font-size: .8rem; }
.chat-header button { color: white; background: transparent; border: 1px solid #88abc3; border-radius: 7px; width: 34px; height: 34px; font-size: 1.35rem; line-height: 1; }
.chat-log { min-height: 65px; max-height: 230px; overflow: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: .4rem; padding: .7rem .75rem .4rem; }
.chat-log p { border-radius: 10px; color: var(--ink); background: #edf5fa; font-size: .88rem; padding: .5rem .6rem; align-self: start; overflow-wrap: anywhere; }
.chat-log p.visitor { background: #e1f8fb; align-self: end; }
.chat-log a { color: var(--blue); display: inline-block; margin-top: .15rem; font-weight: 650; }
.chat-options { display: flex; flex-wrap: wrap; gap: .32rem; padding: .3rem .75rem .62rem; }
.chat-options button { background: white; border: 1px solid #b6d6eb; border-radius: 30px; color: var(--blue); padding: .22rem .52rem; font-size: .79rem; }
#chat-form { display: flex; gap: .35rem; border-top: 1px solid var(--line); padding: .6rem .75rem; }
#chat-form input { font-size: 1rem; }
#chat-form button { background: var(--blue); color: white; border: 0; border-radius: 7px; padding: .42rem .61rem; font-size: .85rem; }
@media (max-width: 950px) {
  .wrap { width: calc(100% - 3.2rem); }
  .hero-inner { gap: 1.6rem; }
  .hero-visual { min-height: 375px; }
  .integration-inner, .faq-inner, .contact-inner { gap: 2.5rem; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 2.1rem); }
  .header-inner { min-height: 67px; }
  .header-logo, .footer-logo { width: 126px; }
  .menu-toggle { display: block; }
  nav { display: none; position: absolute; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 12px 16px #06243f20; inset: 100% 0 auto; padding: .65rem 1.05rem 1.15rem; align-items: stretch; gap: .15rem; }
  nav.open { display: grid; }
  nav a:not(.button) { padding: .56rem .25rem; }
  nav .button { justify-self: start; }
  .hero-inner, .integration-inner, .faq-inner, .contact-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 335px; }
  .cards { grid-template-columns: 1fr; gap: .7rem; }
  .card-icon { margin-bottom: .75rem; }
  .cookie { bottom: 4.35rem; left: 1rem; width: calc(100% - 2rem); }
  body:has(.chat-panel:not([hidden])) .cookie { visibility: hidden; }
}
@media (max-width: 355px) {
  h1 { font-size: 2.4rem; }
  .form-fields { grid-template-columns: 1fr; }
  .cookie { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
