/* ==========================================================================
   EuSindica — site institucional
   Organização:
   1. Fonte e tokens        6. Hero             11. Segurança
   2. Base                  7. Ticker           12. Banner final
   3. Utilitários           8. Recursos         13. Rodapé
   4. Botões                9. Rotina           14. Páginas legais
   5. Cabeçalho            10. Painel           15. Animações / movimento reduzido
   ========================================================================== */

/* 1. Fonte e tokens ------------------------------------------------------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2-variations"),
       url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Cores */
  --ink: #071A33;          /* azul-marinho: texto e fundo escuro */
  --ink-2: #0C2747;
  --brand: #0E86FF;        /* azul da logomarca Opba! */
  --brand-deep: #0064D2;
  --brand-soft: #DCEBFF;
  --lime: #DCF46A;
  --cobalt: #0B5ED7;
  --cobalt-deep: #0847A8;
  --coral: #FF8A66;
  --peach: #FFD3BF;
  --sky: #A9D2FF;
  --paper: #F2F6FB;
  --white: #FFFFFF;
  --muted: #4F5E73;
  --line: rgba(7, 26, 51, .1);

  /* Tipografia */
  --font: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --display-stretch: 62%;
  --fs-mega: clamp(3.6rem, 9.4vw, 8.6rem);
  --fs-h2: clamp(2.6rem, 5.4vw, 4.6rem);
  --fs-h3: clamp(1.6rem, 2.2vw, 2rem);
  --fs-lead: clamp(1.05rem, 1.3vw, 1.2rem);

  /* Layout */
  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --shadow: 0 1px 2px rgba(7, 26, 51, .06), 0 12px 32px -12px rgba(7, 26, 51, .18);
  --shadow-lg: 0 30px 80px -30px rgba(7, 26, 51, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: var(--white); padding: .7rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

/* 3. Utilitários ---------------------------------------------------------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.display {
  font-stretch: var(--display-stretch);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.012em;
}
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); line-height: 1; }
.lead { font-size: var(--fs-lead); color: var(--muted); max-width: 46ch; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.tag {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .72rem; font-weight: 700; padding: .25rem .55rem; border-radius: 99px;
  background: var(--lime); color: var(--ink);
}

/* 4. Botões --------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.45rem;
  border: 0; border-radius: 99px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 650; font-size: .98rem; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(7, 26, 51, .55); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 40px; padding: .55rem 1.1rem; font-size: .9rem; }
.btn--brand { --btn-bg: var(--brand); }
.btn--brand:hover { --btn-bg: var(--brand-deep); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--ink); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--lime { --btn-bg: var(--lime); --btn-fg: var(--ink); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* 5. Cabeçalho ------------------------------------------------------------ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(7, 26, 51, .35); }
.header__bar { display: flex; align-items: center; gap: 2rem; height: 76px; }
.header__logo, .footer__logo { text-decoration: none; color: var(--ink); }
.logo { display: block; height: 42px; width: auto; }
.footer__logo .logo { height: 50px; margin-bottom: 1.2rem; }
.nav { display: flex; align-items: center; gap: .25rem; margin-inline: auto; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3rem; padding: .5rem .85rem; border-radius: 99px;
  font-weight: 550; font-size: .95rem; text-decoration: none; color: var(--ink);
  transition: background-color .2s;
}
.nav__link:hover, .nav__link.is-active { background: var(--paper); }
.nav__chev { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.has-sub:hover .nav__chev, .has-sub:focus-within .nav__chev { transform: rotate(180deg); }
.sub {
  position: absolute; top: calc(100% + 12px); left: 50%; width: 600px; z-index: 5;
  display: grid; grid-template-columns: 1fr 1fr; gap: .2rem; padding: .6rem;
  background: var(--white); border-radius: 22px; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub__link { display: flex; gap: .8rem; padding: .75rem; border-radius: 16px; text-decoration: none; color: var(--ink); transition: background-color .2s; }
.sub__link:hover { background: var(--paper); }
.sub__icon { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; }
.sub__icon svg { width: 20px; height: 20px; }
.sub__link b { display: block; font-size: .95rem; }
.sub__link small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.35; margin-top: .15rem; }
.btn .hide-sm { display: inline; }
.header__actions { display: flex; gap: .5rem; align-items: center; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--paper); cursor: pointer; place-items: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  position: relative; transition: transform .3s var(--ease), background-color .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* 6. Hero ----------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 4.5rem) 0; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center; gap: 2rem; min-height: min(720px, calc(100vh - 76px));
}
.hero__copy { position: relative; z-index: 2; padding-bottom: 4rem; }
.hero__title { font-size: var(--fs-mega); margin-bottom: 1.6rem; }
.hero__title span { display: block; }
.hero .lead { color: var(--ink); opacity: .82; margin-bottom: 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__note { margin-top: 1.1rem; font-size: .88rem; color: var(--muted); }

.hero__visual { position: relative; align-self: stretch; min-height: 600px; }
.hero__canvas {
  position: absolute; top: 0; bottom: 0; left: -6%; right: calc(-1 * var(--gutter) - 12vw);
  overflow: hidden;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%, 0 56%);
}
.hero__slab { position: absolute; inset: 0; background: linear-gradient(140deg, var(--brand) 0%, #4AB0FF 45%, var(--lime) 100%); }
.hero__stripe {
  position: absolute; right: -16%; top: 0; bottom: 0; width: 46%;
  background: var(--cobalt);
  transform: skewX(-18deg); transform-origin: bottom;
}
.hero__feed { position: absolute; left: 6%; top: 14%; width: 720px; z-index: 2; }

/* Componente: celular */
.phone {
  width: 330px; padding: 11px; border-radius: 46px;
  background: #08162B;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, .08);
}
.phone__screen {
  border-radius: 36px; overflow: hidden; background: #0A1C36; color: var(--white);
  padding: 1.1rem 1.1rem 1.4rem; min-height: 640px; font-size: .88rem;
}
.phone__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.3rem; }
.phone__condo {
  display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .75rem;
  border-radius: 99px; background: rgba(255, 255, 255, .08); font-weight: 600; font-size: .82rem;
}
.phone__condo i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.phone__icons { display: flex; gap: .55rem; opacity: .8; }
.phone__icons svg { width: 18px; height: 18px; }
.phone__label { font-size: .78rem; opacity: .65; }
.phone__balance { font-stretch: 75%; font-weight: 700; font-size: 2.35rem; line-height: 1.1; letter-spacing: -.01em; }
.phone__delta { color: #8CCBFF; font-size: .82rem; font-weight: 600; margin-bottom: 1.2rem; }
.phone__actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; margin-bottom: 1rem; }
.phone__action {
  display: grid; justify-items: center; gap: .3rem; padding: .7rem .2rem;
  border-radius: 14px; background: rgba(255, 255, 255, .07); font-size: .72rem; font-weight: 600;
}
.phone__action svg { width: 20px; height: 20px; }
.phone__card { border-radius: 18px; background: rgba(255, 255, 255, .07); padding: .9rem; margin-bottom: .7rem; }
.phone__row { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.phone__progress { height: 8px; border-radius: 9px; background: rgba(255, 255, 255, .12); margin-top: .6rem; overflow: hidden; }
.phone__progress i { display: block; height: 100%; width: 87%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--lime)); }
.phone__list li { display: flex; align-items: center; gap: .7rem; padding: .6rem 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.phone__list li:last-child { border-bottom: 0; }
.phone__avatar {
  flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-size: .72rem; font-weight: 700; color: var(--ink);
}
.phone__list b { display: block; font-weight: 600; font-size: .84rem; }
.phone__list small { opacity: .6; font-size: .74rem; }
.phone__list em { margin-left: auto; font-style: normal; font-weight: 600; font-size: .82rem; color: #8CCBFF; }

/* Componente: notificação flutuante */
.toast {
  position: absolute; z-index: 3; color: var(--ink); display: flex; align-items: center; gap: .7rem;
  padding: .75rem 1rem .75rem .75rem; border-radius: 18px; background: var(--white);
  box-shadow: var(--shadow-lg); font-size: .85rem; line-height: 1.3; max-width: 250px;
}
.toast__icon { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; }
.toast__icon svg { width: 20px; height: 20px; }
.toast b { display: block; }
.toast small { color: var(--muted); }
.hero .toast--a { left: -4%; top: 30%; }
.hero .toast--b { left: 26%; bottom: 7%; }

/* 7. Ticker --------------------------------------------------------------- */
.ticker { position: relative; padding-block: 1.6rem; overflow: hidden; }
.ticker::before, .ticker::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 8%; z-index: 2; pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--white), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--white), transparent); }
.ticker__set { display: flex; gap: .8rem; padding-right: .8rem; }
.ticker__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.chip {
  display: flex; align-items: center; gap: .7rem; padding: .55rem 1rem .55rem .55rem;
  border-radius: 99px; background: var(--white); border: 1px solid var(--line);
  font-size: .82rem; line-height: 1.25; white-space: nowrap;
}
.chip__dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.chip__dot svg { width: 16px; height: 16px; }
.chip b { font-weight: 650; }
.chip small { display: block; color: var(--muted); font-size: .72rem; }
.chip__value { margin-left: .6rem; font-weight: 650; }
.chip__pill { padding: .2rem .6rem; border-radius: 99px; font-size: .72rem; font-weight: 700; }

/* 8. Recursos ------------------------------------------------------------- */
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section-head { text-align: center; margin-inline: auto; max-width: 900px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head .lead { margin: 1.1rem auto 0; max-width: 58ch; }

.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.module {
  --card-bg: var(--lime);
  position: relative; display: flex; flex-direction: column;
  padding: 1.6rem 1.5rem 1.5rem; border-radius: var(--r-md); background: var(--card-bg);
  min-height: 480px; overflow: hidden; isolation: isolate;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.module:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.module__art { flex: 1; display: grid; place-items: center; margin: -.5rem -.5rem 1rem; }
.module__art svg { width: 100%; max-width: 230px; height: auto; transition: transform .6s var(--ease); }
.module:hover .module__art svg { transform: translateY(-6px) rotate(-2deg) scale(1.03); }
.module h3 { font-size: 2.15rem; margin-bottom: .5rem; }
.module p { font-size: .93rem; margin-bottom: 1.3rem; max-width: 32ch; }
.module .btn { align-self: flex-start; }
.module.tone-paper { box-shadow: inset 0 0 0 1px var(--line); }

.more-modules { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 2rem; }
.more-modules a {
  display: inline-flex; align-items: center; gap: .55rem; padding: .55rem 1rem .55rem .6rem;
  border-radius: 99px; border: 1px solid var(--line); text-decoration: none; font-weight: 550; font-size: .92rem;
  transition: border-color .2s, background-color .2s;
}
.more-modules a:hover { border-color: var(--ink); background: var(--paper); }
.more-modules span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); }
.more-modules svg { width: 15px; height: 15px; }

/* 9. Rotina (fundo ilustrado + cards sobrepostos) ------------------------- */
.routine {
  position: relative; overflow: hidden;
  padding-block: clamp(4rem, 8vw, 6.5rem) clamp(4rem, 8vw, 6rem);
  background: #8EC3FF url("../img/fachada.svg") center bottom / cover no-repeat;
}
.routine::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 30%;
  background: linear-gradient(transparent, rgba(7, 26, 51, .35)); pointer-events: none;
}
.routine__title { position: relative; z-index: 1; text-align: center; color: var(--ink); margin-bottom: clamp(2rem, 4vw, 3rem); }
.cards3 {
  position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
  padding: 1.1rem; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.feature {
  display: flex; flex-direction: column; padding: .8rem .8rem 1.5rem; border-radius: var(--r-md);
  background: var(--white); box-shadow: var(--shadow);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature__shot {
  height: 290px; border-radius: 14px; margin-bottom: 1.4rem; overflow: hidden;
  display: grid; place-items: center; padding: 1.2rem;
}
.feature__body { padding-inline: .7rem; display: flex; flex-direction: column; flex: 1; }
.feature h3 { font-size: 1.95rem; margin-bottom: .55rem; }
.feature p { color: var(--muted); font-size: .95rem; margin-bottom: 1.4rem; }
.feature .btn { margin-top: auto; align-self: flex-start; }
.routine__note { position: relative; z-index: 1; margin-top: 1.4rem; text-align: center; font-size: .8rem; color: var(--white); text-shadow: 0 1px 8px rgba(7, 26, 51, .5); }

/* Mini telas usadas nos cards */
.mini {
  width: 100%; max-width: 300px; border-radius: 16px; background: var(--ink); color: var(--white);
  padding: 1rem; font-size: .78rem; box-shadow: var(--shadow-lg);
}
.mini__title { font-weight: 650; margin-bottom: .6rem; display: flex; justify-content: space-between; }
.mini .mini__big { color: inherit; font-stretch: 75%; font-weight: 700; font-size: 1.9rem; line-height: 1; margin-bottom: .2rem; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 74px; margin-top: .8rem; }
.bars i { flex: 1; border-radius: 4px 4px 2px 2px; background: rgba(255, 255, 255, .16); }
.bars i.on { background: var(--lime); }
.mini__split { display: flex; justify-content: space-between; margin-top: .7rem; padding-top: .7rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.mini__split b { display: block; font-size: .95rem; }
.mini--light { background: var(--white); color: var(--ink); }
.notice { display: flex; gap: .7rem; padding: .7rem; border-radius: 12px; background: var(--paper); }
.notice + .notice { margin-top: .5rem; }
.notice__icon { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; }
.notice__icon svg { width: 16px; height: 16px; }
.notice b { display: block; font-size: .82rem; }
.notice small { color: var(--muted); font-size: .72rem; }
.docs li { display: flex; align-items: center; gap: .65rem; padding: .55rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.docs li:last-child { border-bottom: 0; }
.docs__file { flex: none; width: 30px; height: 36px; border-radius: 5px; position: relative; background: var(--white); }
.docs__file::after { content: ""; position: absolute; left: 6px; right: 6px; top: 10px; height: 14px; background: repeating-linear-gradient(var(--line) 0 2px, transparent 2px 5px); }
.docs small { display: block; opacity: .6; font-size: .7rem; }

/* 10. Painel (fundo escuro) ---------------------------------------------- */
.panel { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.panel::before {
  content: ""; position: absolute; left: -10%; top: -30%; width: 60%; height: 120%;
  background: radial-gradient(closest-side, rgba(14, 134, 255, .35), transparent);
  pointer-events: none;
}
.panel__grid { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.panel__title { font-size: clamp(3rem, 6.4vw, 5.6rem); margin-bottom: 1.4rem; }
.panel .lead { color: rgba(255, 255, 255, .75); margin-bottom: 2rem; }
.panel__cta { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.qr {
  display: inline-flex; align-items: center; gap: .9rem; padding: .55rem 1.3rem .55rem .55rem;
  border-radius: 16px; background: var(--coral); color: var(--ink); text-decoration: none; font-weight: 650; line-height: 1.2;
  transition: transform .25s var(--ease);
}
.qr:hover { transform: translateY(-2px); }
.qr svg { width: 58px; height: 58px; border-radius: 8px; background: var(--white); padding: 4px; }
.stats { position: relative; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 3.5rem; margin-top: clamp(3rem, 6vw, 5rem); padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.stat b { display: block; font-stretch: 62%; font-weight: 800; font-size: clamp(3rem, 5vw, 4.2rem); line-height: .95; }
.stat span { display: block; max-width: 20ch; margin-top: .4rem; font-size: .88rem; color: rgba(255, 255, 255, .7); }

/* Componente: painel web (desktop) */
.app {
  position: relative; display: grid; grid-template-columns: 170px 1fr; border-radius: 22px; overflow: hidden;
  background: #F6F9FD; color: var(--ink); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08);
  font-size: .78rem; transform: perspective(1800px) rotateY(-9deg) rotateX(3deg); transform-origin: left center;
  transition: transform .8s var(--ease);
}
.panel__visual:hover .app { transform: perspective(1800px) rotateY(-4deg) rotateX(1deg); }
.app__side { background: var(--ink-2); color: var(--white); padding: 1.1rem .8rem; }
.app__brand { display: flex; align-items: center; gap: .5rem; font-weight: 700; margin-bottom: 1.3rem; padding-inline: .3rem; }
.app__brand img { width: 26px; height: 26px; }
.app__nav li { padding: .48rem .6rem; border-radius: 9px; margin-bottom: 2px; opacity: .72; display: flex; gap: .55rem; align-items: center; }
.app__nav li.on { background: rgba(255, 255, 255, .1); opacity: 1; font-weight: 600; }
.app__nav svg { width: 15px; height: 15px; flex: none; }
.app__main { padding: 1.2rem; display: grid; gap: .8rem; grid-template-columns: repeat(6, 1fr); align-content: start; }
.app__head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
.app__head h4 { font-size: 1.15rem; font-stretch: 80%; font-weight: 700; }
.app__search { width: 38%; height: 30px; border-radius: 99px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.kpi { grid-column: span 2; background: var(--white); border-radius: 14px; padding: .85rem; box-shadow: inset 0 0 0 1px var(--line); }
.kpi small { color: var(--muted); display: block; }
.kpi b { font-stretch: 75%; font-size: 1.45rem; font-weight: 750; display: block; line-height: 1.15; }
.kpi em { font-style: normal; font-weight: 600; font-size: .72rem; color: var(--brand-deep); }
.kpi em.neg { color: #C2410C; }
.app__chart { grid-column: span 4; background: var(--white); border-radius: 14px; padding: .9rem; box-shadow: inset 0 0 0 1px var(--line); }
.app__chart .bars { height: 130px; gap: 9px; }
.app__chart .bars i { background: var(--brand-soft); }
.app__chart .bars i.on { background: var(--brand); }
.app__months { display: flex; justify-content: space-between; color: var(--muted); font-size: .66rem; margin-top: .35rem; }
.app__list { grid-column: span 2; background: var(--white); border-radius: 14px; padding: .9rem; box-shadow: inset 0 0 0 1px var(--line); }
.app__list li { display: flex; gap: .4rem; align-items: center; justify-content: space-between; padding: .38rem 0; border-bottom: 1px solid var(--line); }
.app__list li:last-child { border: 0; }
.status { white-space: nowrap; padding: .1rem .45rem; border-radius: 99px; font-size: .66rem; font-weight: 700; }
.status--ok { background: var(--brand-soft); color: var(--brand-deep); }
.status--late { background: #FFE2D6; color: #B4380F; }
.status--wait { background: #DCEBFF; color: var(--cobalt-deep); }
.panel__visual { position: relative; }
.panel__phone { position: absolute; left: -9%; bottom: -22%; transform: rotate(-6deg); }
.panel__phone .phone { width: 210px; border-radius: 32px; padding: 8px; }
.panel__phone .phone__screen { min-height: 380px; border-radius: 25px; font-size: .74rem; padding: .9rem; }
.vote { margin-top: .6rem; }
.vote__row { display: flex; justify-content: space-between; font-size: .72rem; margin-bottom: .25rem; }
.vote__bar { height: 9px; border-radius: 9px; background: rgba(255, 255, 255, .12); margin-bottom: .55rem; overflow: hidden; }
.vote__bar i { display: block; height: 100%; border-radius: inherit; }

/* 11. Segurança ----------------------------------------------------------- */
.trust__head { display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); }
.trust__head .lead { margin-top: 1.1rem; }
.trust__art { justify-self: end; width: min(100%, 280px); animation: float 7s ease-in-out infinite; }
.cards-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.trust-card {
  padding: 1.6rem; border-radius: var(--r-md); background: var(--paper); min-height: 230px;
  display: flex; flex-direction: column; transition: background-color .3s, transform .45s var(--ease);
}
.trust-card:hover { background: var(--brand-soft); transform: translateY(-4px); }
.trust-card__icon { width: 46px; height: 46px; border-radius: 14px; background: var(--ink); color: var(--lime); display: grid; place-items: center; margin-bottom: auto; }
.trust-card__icon svg { width: 22px; height: 22px; }
.trust-card h3 { font-size: 2rem; margin: 2.2rem 0 .5rem; }
.trust-card p { color: var(--muted); font-size: .93rem; max-width: 40ch; }
.facts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 1rem; }
.fact { padding: 1.2rem 1.3rem; border-radius: var(--r-md); border: 1px solid var(--line); }
.fact b { display: block; font-stretch: 62%; font-weight: 800; font-size: 2.2rem; line-height: 1; margin-bottom: .4rem; }
.fact span { display: block; font-size: .82rem; color: var(--muted); line-height: 1.35; }

/* 12. Banner final -------------------------------------------------------- */
.final { padding-block: 0 clamp(4rem, 8vw, 6rem); }
.banner {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.05fr .95fr; min-height: 560px;
  border-radius: var(--r-lg); background: var(--cobalt); color: var(--white);
}
.banner::before {
  content: ""; position: absolute; z-index: -1; right: -14%; top: -20%; width: 62%; height: 140%;
  background: linear-gradient(160deg, var(--coral) 0%, #FF6FA0 55%, var(--lime) 120%);
  transform: skewX(-16deg);
}
.banner__copy { padding: clamp(2rem, 5vw, 4rem); display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.banner__title { font-size: clamp(3.3rem, 6.6vw, 6rem); color: var(--lime); max-width: 7.5em; }
.banner__copy p { max-width: 40ch; font-size: var(--fs-lead); opacity: .92; margin-top: 1.2rem; }
.banner__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.banner__art { position: relative; min-height: 420px; }
.banner__cam { position: absolute; right: -2%; top: 10%; width: 78%; max-width: 420px; animation: sway 9s ease-in-out infinite; transform-origin: 85% 20%; }
.banner__phone { position: absolute; left: 4%; bottom: -60px; transform: rotate(-7deg); }
.banner__phone .phone { width: 230px; padding: 8px; border-radius: 34px; }
.banner__phone .phone__screen { min-height: 400px; border-radius: 27px; padding: .9rem; font-size: .76rem; }
.banner__toast { right: 6%; bottom: 10%; }
.disclaimer { margin-top: 1.4rem; font-size: .78rem; color: var(--muted); max-width: 110ch; }

/* 13. Rodapé -------------------------------------------------------------- */
.footer { background: var(--paper); padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2rem; }
.footer__brand p { color: var(--muted); max-width: 32ch; margin-bottom: 1.4rem; }
.contact-card { padding: 1.2rem; border-radius: var(--r-md); background: var(--peach); max-width: 300px; }
.contact-card b { display: block; font-size: 1.05rem; margin-bottom: .2rem; }
.contact-card p { font-size: .85rem; margin-bottom: .9rem; color: var(--ink); opacity: .8; }
.footer h2 { font-size: .95rem; font-weight: 700; margin-bottom: .9rem; }
.footer__col li + li { margin-top: .55rem; }
.footer__col a { text-decoration: none; color: var(--muted); transition: color .2s; }
.footer__col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem;
}
.socials { display: flex; gap: .5rem; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color .2s, color .2s, transform .25s var(--ease);
}
.socials a:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.legal-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.legal-links a { text-decoration: none; }
.legal-links a:hover { text-decoration: underline; }

/* 14. Páginas legais ------------------------------------------------------ */
.legal { padding-block: clamp(3rem, 7vw, 5.5rem); }
.legal__head { margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.legal__head h1 { font-size: clamp(3rem, 7vw, 5.4rem); margin-bottom: .8rem; }
.legal__head p { color: var(--muted); }
.legal__body { max-width: 72ch; }
.legal__body h2 { font-size: 1.35rem; font-weight: 700; margin: 2.4rem 0 .8rem; }
.legal__body p { margin-bottom: 1rem; color: #22324A; }
.legal__body ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1rem; color: #22324A; }
.legal__body li { margin-bottom: .3rem; }
.legal__body .legal__sub { font-size: 1.05rem; font-weight: 700; margin: 1.6rem 0 .5rem; }

/* 15. Animações ----------------------------------------------------------- */
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes slab { from { opacity: 0; transform: translateX(14%); } }

.toast { animation: float 6s ease-in-out infinite; }
.toast--b { animation-delay: -3s; }

/* Entrada do hero: um único momento orquestrado */
.js .hero__title span, .js .hero .lead, .js .hero__ctas, .js .hero__note { animation: rise .9s var(--ease) both; }
.js .hero__title span:nth-child(2) { animation-delay: .08s; }
.js .hero__title span:nth-child(3) { animation-delay: .16s; }
.js .hero__title span:nth-child(4) { animation-delay: .24s; }
.js .hero .lead { animation-delay: .34s; }
.js .hero__ctas { animation-delay: .42s; }
.js .hero__note { animation-delay: .5s; }
.js .hero__canvas { animation: slab 1.1s var(--ease) both .1s; }
.js .hero__feed { animation: rise 1.1s var(--ease) both .35s; }

/* Revelação discreta ao rolar */
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal-group] > * { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal-group].is-in > * { opacity: 1; transform: none; }
.js [data-reveal-group].is-in > *:nth-child(2) { transition-delay: .08s; }
.js [data-reveal-group].is-in > *:nth-child(3) { transition-delay: .16s; }
.js [data-reveal-group].is-in > *:nth-child(4) { transition-delay: .24s; }
.js [data-reveal-group].is-in > *:nth-child(5) { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-reveal], .js [data-reveal-group] > * { opacity: 1; transform: none; }
}

/* Responsividade ---------------------------------------------------------- */
@media (max-width: 1180px) {
  .cards4 { grid-template-columns: repeat(2, 1fr); }
  .module { min-height: 420px; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; gap: 1rem 2rem; align-items: start; }
  .footer__brand .contact-card { grid-row: 1 / span 2; grid-column: 2; }
}

@media (max-width: 1024px) {
  .nav, .header__actions .btn--ghost { display: none; }
  .menu-toggle { display: grid; }
  .header__actions { margin-left: auto; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0; padding: 1rem var(--gutter) 1.5rem;
    background: var(--white); box-shadow: 0 30px 40px -20px rgba(7, 26, 51, .25);
  }
  .nav { align-items: stretch; max-height: calc(100vh - 76px); overflow-y: auto; }
  .nav__link { width: 100%; font-size: 1.6rem; font-stretch: 70%; font-weight: 700; padding: .7rem 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav__link:hover, .nav__link.is-active { background: none; }
  .nav__chev { display: none; }
  .sub { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; grid-template-columns: 1fr; padding: .4rem 0 .6rem; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { transform: none; }
  .sub__link { padding: .5rem 0; }
  .sub__link small { display: none; }
  .sub__icon { width: 34px; height: 34px; border-radius: 10px; }
  .menu-open .nav { display: flex; }

  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__copy { padding-bottom: 0; }
  .hero__visual { min-height: 560px; margin-inline: calc(-1 * var(--gutter)); }
  .hero__canvas { left: 0; right: 0; clip-path: polygon(0 16%, 100% 0, 100% 100%, 0 100%); }
  .hero__stripe { right: -14%; width: 36%; }
  .hero__feed { left: 50%; top: 20%; width: min(640px, 88%); transform: translateX(-50%); }
  .js .hero__feed { animation: none; }
  .hero .toast--a { left: 4%; top: 36%; }
  .hero .toast--b { left: auto; right: 4%; bottom: 3%; }

  .cards3 { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .panel__grid { grid-template-columns: 1fr; }
  .panel__visual { margin-top: 1rem; padding-bottom: 3rem; }
  .app { transform: none; }
  .panel__visual:hover .app { transform: none; }
  .trust__head { grid-template-columns: 1fr; }
  .trust__art { justify-self: start; width: 180px; order: -1; }
  .cards-trust { grid-template-columns: 1fr; }
  .trust-card { min-height: 0; }
  .banner { grid-template-columns: 1fr; }
  .banner::before { right: -40%; top: 45%; width: 140%; height: 100%; }
  .banner__art { min-height: 460px; }
  .banner__cam { max-width: 340px; }
  .panel__phone { display: none; }
}

@media (max-width: 720px) {
  .header__bar { height: 68px; }
  .logo { height: 36px; }
  .nav { inset: 68px 0 auto 0; max-height: calc(100vh - 68px); }
  .btn .hide-sm { display: none; }
  .header__actions .btn--brand { padding-inline: .9rem; }
  .hero__title { font-size: clamp(3.4rem, 17vw, 5.2rem); }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__visual { min-height: 400px; }
  .hero__feed { top: 22%; width: 92%; }
  .hero .toast { max-width: 220px; font-size: .78rem; }
  .hero .toast--a { left: 3%; top: 6%; }
  .hero .toast--b { left: auto; right: 3%; bottom: 4%; }
  .cards4 { grid-template-columns: 1fr; }
  .module { min-height: 0; }
  .module__art svg { max-width: 190px; }
  .feature__shot { height: auto; min-height: 220px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
  .app { grid-template-columns: 1fr; font-size: .72rem; }
  .app__side { display: none; }
  .app__main { grid-template-columns: repeat(2, 1fr); padding: .9rem; }
  .kpi, .app__chart, .app__list { grid-column: 1 / -1; }
  .app .kpi { grid-column: span 1; }
  .app .kpi--extra { display: none; }
  .panel__phone { display: none; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts .fact:last-child { grid-column: 1 / -1; }
  .banner { border-radius: var(--r-md); }
  .banner__actions .btn { flex: 1 1 100%; }
  .banner__art { min-height: 400px; }
  .banner__cam { width: 76%; right: -6%; }
  .banner__phone .phone { width: 200px; }
  .banner__toast { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { display: block; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  .logo { height: 32px; }
}

/* ==========================================================================
   16. Componentes do produto e páginas internas
   ========================================================================== */

/* Tela de câmera com caixas de detecção */
.feed {
  position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden;
  border: 6px solid #08162B; border-radius: 22px; background: #08162B; box-shadow: var(--shadow-lg);
}
.feed img { width: 100%; height: 100%; object-fit: cover; }
.feed::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 26%; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(220, 244, 106, .16) 85%, rgba(220, 244, 106, .55));
  animation: scan 7s cubic-bezier(.45, 0, .55, 1) infinite;
}
.feed__bar { position: absolute; top: 12px; left: 12px; display: flex; gap: .4rem; z-index: 2; }
.feed__bar span, .feed__time {
  padding: .3rem .65rem; border-radius: 99px; background: rgba(7, 26, 51, .74); color: var(--white);
  font-size: .74rem; font-weight: 600; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.feed__live { display: inline-flex; align-items: center; gap: .4rem; }
.feed__live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #FF4D4D; animation: blink 1.6s steps(2) infinite; }
.feed__time { position: absolute; right: 12px; bottom: 12px; z-index: 2; font-variant-numeric: tabular-nums; }
.bbox { --bc: var(--lime); position: absolute; border: 2.5px solid var(--bc); border-radius: 6px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .18); }
.bbox__tag {
  position: absolute; left: -2.5px; bottom: 100%; margin-bottom: 4px; padding: .15rem .45rem; border-radius: 5px;
  background: var(--bc); color: var(--ink); font-size: .7rem; font-weight: 700; white-space: nowrap; line-height: 1.3;
}
.bbox--coral { --bc: var(--coral); }
.bbox--cobalt { --bc: #5AA9FF; }
.bbox--cobalt .bbox__tag { color: var(--white); }
.bbox--brand { --bc: var(--brand); }
.bbox--brand .bbox__tag { color: var(--white); }
.js .hero .bbox, .js .page-hero .bbox { animation: boxIn .7s var(--ease) both; }
.js .hero .bbox:nth-of-type(2), .js .page-hero .bbox:nth-of-type(2) { animation-delay: .9s; }
.js .hero .bbox:nth-of-type(1), .js .page-hero .bbox:nth-of-type(1) { animation-delay: .75s; }
.js .hero .bbox:nth-of-type(3), .js .page-hero .bbox:nth-of-type(3) { animation-delay: 1.05s; }
.js .hero .bbox:nth-of-type(4) { animation-delay: 1.2s; }
@keyframes scan { 0% { transform: translateY(-100%); } 100% { transform: translateY(400%); } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes boxIn { from { opacity: 0; transform: scale(1.25); } }

/* Pequenos ajustes de componentes da Home */
.dim { opacity: .6; }
.tag--peach { background: var(--peach); }
.tag--sky { background: var(--sky); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn--outline-light:hover { box-shadow: inset 0 0 0 1.5px var(--white); }
.btn--ghost svg, .btn--sm svg { transition: none; }
.btn--ghost:hover svg, .btn--sm:hover svg { transform: none; }
.events li { display: flex; align-items: center; gap: .7rem; padding: .55rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.events li:last-child { border: 0; }
.events span:not(.thumb) { font-weight: 600; font-size: .82rem; }
.events small { display: block; font-weight: 400; opacity: .6; font-size: .72rem; }
.events em { margin-left: auto; font-style: normal; font-weight: 600; color: #8CCBFF; }
.events em.warn { color: var(--coral); }
.thumb { flex: none; width: 40px; height: 40px; border-radius: 10px; background: #08162B url("../img/cena-portaria.svg") no-repeat; box-shadow: inset 0 0 0 2px var(--lime); }
.thumb--face { background-size: 320px 200px; background-position: -68px -85px; }
.thumb--plate { background-size: 267px 167px; background-position: -180px -112px; box-shadow: inset 0 0 0 2px var(--brand); }
.thumb--person { background-size: 160px 100px; background-position: -45px -56px; box-shadow: inset 0 0 0 2px var(--coral); }
.cams { grid-column: span 4; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.cam { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #08162B; }
.cam img { width: 100%; height: 100%; object-fit: cover; }
.cam--night img { filter: grayscale(1) brightness(.75) contrast(1.25) sepia(.35) hue-rotate(60deg); }
.cam--gray img { filter: saturate(.35); }
.cam__label { position: absolute; left: 6px; top: 6px; padding: .1rem .45rem; border-radius: 99px; background: rgba(7, 26, 51, .75); color: var(--white); font-size: .62rem; font-weight: 600; }
.cam__box { position: absolute; border: 2px solid var(--lime); border-radius: 4px; }
.cam__box--cobalt { border-color: #5AA9FF; }
.cam__box--coral { border-color: var(--coral); }

/* Topo das páginas internas */
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; font-size: .85rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.intro { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2.5rem, 5vw, 4rem); }
.intro__title { font-size: clamp(3.2rem, 8vw, 7rem); max-width: 13ch; margin-bottom: 1.3rem; }
.page-hero { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 6vw, 5rem); overflow: hidden; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.page-hero__kicker { display: inline-flex; align-items: center; gap: .6rem; font-weight: 650; font-size: .95rem; }
.kicker-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.kicker-icon svg { width: 18px; height: 18px; }
.page-hero__title { font-size: clamp(3rem, 6.4vw, 6rem); margin: 1rem 0 1.4rem; }
.page-hero .lead { color: var(--ink); opacity: .82; margin-bottom: 2rem; }
.page-hero__visual { position: relative; border-radius: var(--r-lg); padding: clamp(1.4rem, 4vw, 3.2rem); min-height: 460px; display: grid; place-items: center; }
.page-hero__visual::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 58%, rgba(255, 255, 255, .22) 58% 74%, transparent 74%);
}
.page-hero__visual > div, .page-hero__visual > figure { position: relative; width: 100%; transform: rotate(-1.5deg); }
.page-hero__toast { left: -6%; bottom: 8%; }

/* Recursos, usos, ficha técnica */
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--flush-top { padding-top: 0; }
.section-head--left { text-align: left; margin-inline: 0; margin-bottom: 2rem; }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.feat { padding: 1.6rem; border-radius: var(--r-md); border: 1px solid var(--line); transition: border-color .3s, transform .45s var(--ease); }
.feat:hover { border-color: var(--ink); transform: translateY(-4px); }
.feat__icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 2.6rem; }
.feat__icon svg { width: 24px; height: 24px; }
.feat h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .45rem; }
.feat p { color: var(--muted); font-size: .93rem; }
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.use { padding: 1.8rem; border-radius: var(--r-md); min-height: 250px; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .45s var(--ease); }
.use:hover { transform: translateY(-4px); }
.use h3 { font-size: 2.2rem; margin-bottom: .6rem; }
.use p { font-size: .95rem; max-width: 34ch; opacity: .9; }
.spec { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); padding: clamp(1.8rem, 4vw, 3.2rem); border-radius: var(--r-lg); background: var(--ink); color: var(--white); }
.spec__intro p { color: rgba(255, 255, 255, .72); margin: 1rem 0 1.6rem; max-width: 38ch; }
.spec__list div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.spec__list div:first-child { padding-top: 0; }
.spec__list div:last-child { border-bottom: 0; }
.spec__list dt { color: var(--lime); font-weight: 650; font-size: .9rem; }
.spec__list dd { margin: 0; font-size: 1.02rem; }
.others__title { font-size: 1.3rem; font-weight: 700; margin-bottom: 1rem; }
.others { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.other { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; border-radius: var(--r-md); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .25s, background-color .25s; }
.other:hover { border-color: var(--ink); background: var(--paper); }
.other__icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; }
.other__icon svg { width: 22px; height: 22px; }
.other b { display: block; }
.other small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.4; }
.other__arrow { flex: none; width: 20px; height: 20px; margin-left: auto; transition: transform .25s var(--ease); }
.other:hover .other__arrow { transform: translateX(4px); }

/* Linhas alternadas (Soluções e Segmentos) */
.rows { display: grid; gap: clamp(3.5rem, 8vw, 6.5rem); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; scroll-margin-top: 100px; }
.row--flip .row__art { order: 2; }
.row__art { position: relative; border-radius: var(--r-lg); aspect-ratio: 5 / 4; display: grid; place-items: center; padding: 2rem; overflow: hidden; }
.row__art svg { width: 100%; max-width: 340px; height: auto; transition: transform .7s var(--ease); }
.row:hover .row__art svg { transform: scale(1.04) rotate(-1.5deg); }
.row__art--feed { aspect-ratio: auto; padding: clamp(1.4rem, 4vw, 3rem); }
.row__art--feed .feed { width: 100%; }
.row__title { font-size: clamp(2.5rem, 4.6vw, 4rem); margin: .9rem 0 1rem; }
.row__text { color: var(--muted); font-size: var(--fs-lead); max-width: 46ch; margin-bottom: 1.4rem; }
.checks { margin-bottom: 1.8rem; }
.checks li { display: flex; gap: .7rem; padding: .45rem 0; font-size: .96rem; }
.checks svg { flex: none; width: 20px; height: 20px; margin-top: .15rem; color: var(--brand-deep); }
.checks b { font-weight: 650; }
.jump { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.jump a { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem 1rem .5rem .5rem; border-radius: 99px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 550; font-size: .92rem; transition: border-color .2s, background-color .2s; }
.jump a:hover { border-color: var(--ink); background: var(--paper); }
.jump span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.jump svg { width: 16px; height: 16px; }

/* Como funciona */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: none; }
.step { padding: 1.7rem; border-radius: var(--r-md); min-height: 320px; display: flex; flex-direction: column; }
.step__n { font-stretch: 62%; font-weight: 800; font-size: 5.5rem; line-height: .8; margin-bottom: auto; }
.step h2 { font-size: 2rem; margin: 2rem 0 .6rem; }
.step p { font-size: .94rem; opacity: .9; }
.io { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.2rem; align-items: center; }
.io__col { padding: clamp(1.5rem, 3vw, 2.2rem); border-radius: var(--r-lg); background: var(--paper); height: 100%; }
.io__col h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: .6rem; }
.io__col li { display: flex; gap: .9rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.io__col li:last-child { border-bottom: 0; }
.io__col li svg { flex: none; width: 22px; height: 22px; margin-top: .1rem; }
.io__col li span { color: var(--muted); font-size: .9rem; }
.io__col li b { display: block; color: var(--ink); font-size: 1rem; }
.io__col--dark { background: var(--ink); color: var(--white); scroll-margin-top: 100px; }
.io__col--dark li { border-color: rgba(255, 255, 255, .12); }
.io__col--dark li span { color: rgba(255, 255, 255, .65); }
.io__col--dark li b { color: var(--white); }
.io__col--dark svg { color: var(--lime); }
.io__arrow { position: relative; display: grid; place-items: center; padding: 1rem; }
.io__arrow::before { content: ""; position: absolute; left: -1.2rem; right: -1.2rem; top: 50%; border-top: 2px dashed var(--line); z-index: -1; }
.io__arrow .logo { box-sizing: content-box; height: 44px; background: var(--white); padding: .8rem 1.3rem; border-radius: 99px; box-shadow: var(--shadow); }
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 0; cursor: pointer; list-style: none; font-weight: 650; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); transition: background-color .25s, transform .35s var(--ease); }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ink); border-radius: 2px; }
.faq__plus::after { transform: rotate(90deg); }
.faq details[open] .faq__plus { transform: rotate(45deg); background: var(--lime); }
.faq summary:hover .faq__plus { background: var(--brand-soft); }
.faq details p { color: var(--muted); padding-bottom: 1.3rem; max-width: 62ch; }

/* Contato */
.contact { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(4rem, 8vw, 6rem); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact__ways { margin-top: 2rem; display: grid; gap: .7rem; max-width: 440px; }
.contact__ways a { display: flex; align-items: center; gap: 1rem; padding: 1rem; border-radius: var(--r-md); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s, background-color .2s; }
.contact__ways a:hover { border-color: var(--ink); background: var(--paper); }
.contact__ways a > span:first-child { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; }
.contact__ways svg { width: 22px; height: 22px; }
.contact__ways b { display: block; }
.contact__legal { margin-top: 1.4rem; color: var(--muted); font-size: .85rem; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: clamp(1.5rem, 3.5vw, 2.6rem); border-radius: var(--r-lg); background: var(--paper); }
.form__title, .field--full, .form__status, .form__actions, .form__note { grid-column: 1 / -1; }
.form__title { font-stretch: 62%; font-weight: 800; font-size: 2.4rem; line-height: 1; margin-bottom: .4rem; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white);
  font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(14, 134, 255, .15); }
.field__error { display: none; margin-top: .3rem; color: #B4380F; font-size: .8rem; }
.field.is-invalid input { border-color: #B4380F; }
.field.is-invalid .field__error { display: block; }
.form__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.form__submit[aria-busy="true"] { opacity: .7; pointer-events: none; }
.form__note a { color: inherit; }
.optional { font-weight: 400; color: var(--muted); }
.alert { padding: .85rem 1rem; border-radius: 12px; font-size: .92rem; font-weight: 550; }
.alert--ok { background: var(--brand-soft); color: var(--brand-deep); }
.alert--error { background: #FFE2D6; color: #8A2A0A; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: #B4380F; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form__note { color: var(--muted); font-size: .82rem; }

/* Comparador antes/depois */
.compare { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; border: 6px solid #08162B; border-radius: 22px; background: #08162B; box-shadow: var(--shadow-lg); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__raw { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__raw img { filter: brightness(.4) contrast(.75) saturate(.45) blur(.7px); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--white); pointer-events: none; }
.compare__handle::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062A1D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}
.compare__tag { position: absolute; top: 12px; padding: .3rem .65rem; border-radius: 99px; background: rgba(7, 26, 51, .74); color: var(--white); font-size: .74rem; font-weight: 600; pointer-events: none; }
.compare__tag--l { left: 12px; }
.compare__tag--r { right: 12px; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare__range:focus-visible + * { outline: none; }
.compare:focus-within { outline: 3px solid var(--cobalt); outline-offset: 3px; }

.legal__notice { padding: 1rem 1.2rem; border-radius: 14px; background: var(--peach); color: var(--ink) !important; margin-bottom: 1.6rem; }
.legal__head .crumbs { margin-bottom: 1.2rem; }

@media (max-width: 1180px) {
  .header__wa { display: none; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .sub { width: 520px; }
}
@media (max-width: 1024px) {
  .page-hero__grid, .row, .contact__grid, .faq-wrap, .spec { grid-template-columns: 1fr; }
  .row--flip .row__art { order: 0; }
  .page-hero__visual { min-height: 0; }
  .page-hero__toast { left: 4%; bottom: -18px; }
  .uses { grid-template-columns: 1fr; }
  .use { min-height: 0; }
  .io { grid-template-columns: 1fr; }
  .io__arrow::before { left: 50%; right: auto; top: -1.2rem; bottom: -1.2rem; border-top: 0; border-left: 2px dashed var(--line); }
  .cams { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .feat-grid, .steps, .others, .form { grid-template-columns: 1fr; }
  .feat__icon { margin-bottom: 1.4rem; }
  .step { min-height: 0; }
  .step__n { font-size: 4rem; }
  .spec__list div { grid-template-columns: 1fr; gap: .2rem; }
  .row__art { aspect-ratio: 4 / 3; }
  .page-hero__visual > div, .page-hero__visual > figure { transform: none; }
  .bbox__tag { font-size: .6rem; padding: .1rem .3rem; }
  .feed { border-width: 4px; border-radius: 16px; }
  .feed__bar span, .feed__time { font-size: .64rem; }
  .form__actions .btn { flex: 1 1 100%; }
  .app__list { grid-column: 1 / -1; }
}

/* ==========================================================================
   18. Objetos prontos, dispositivos embarcados e "qualquer imagem"
   ========================================================================== */

/* Lista dos objetos prontos (Detecção de objetos) */
.objects__head { display: grid; grid-template-columns: 1fr minmax(280px, 420px); gap: 2rem; align-items: end; margin-bottom: 2rem; }
.objects__head .lead { margin-top: 1rem; }
.objects__search { position: relative; }
.objects__search svg { position: absolute; left: 1rem; top: 1.55rem; width: 20px; height: 20px; margin-top: -10px; color: var(--muted); pointer-events: none; }
.objects__search input {
  width: 100%; padding: .95rem 7rem .95rem 2.9rem; border: 1.5px solid var(--line); border-radius: 99px; background: var(--white);
  font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.objects__search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(14, 134, 255, .15); }
.objects__count { position: absolute; right: .5rem; top: 50%; transform: translateY(-50%); padding: .3rem .7rem; border-radius: 99px; background: var(--paper); font-size: .78rem; font-weight: 650; color: var(--muted); pointer-events: none; }
.objects__grid { columns: 3 300px; column-gap: 1rem; }
.objects__group { break-inside: avoid; margin-bottom: 1rem; padding: 1.3rem; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--white); }
.objects__group[hidden] { display: none; }
.objects__group h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.02rem; font-weight: 700; margin-bottom: .9rem; }
.objects__group h3 small { margin-left: auto; color: var(--muted); font-weight: 600; font-size: .8rem; }
.objects__icon { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.objects__icon svg { width: 18px; height: 18px; }
.objects__group ul { display: flex; flex-wrap: wrap; gap: .4rem; }
.objects__group li {
  padding: .35rem .75rem; border-radius: 99px; background: var(--paper); font-size: .88rem; cursor: default;
  transition: background-color .2s, color .2s;
}
.objects__group li:hover { background: var(--ink); color: var(--white); }
.objects__group li[hidden] { display: none; }
.objects__group li.is-match { background: var(--lime); }
.objects__empty { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding: 1.4rem 1.6rem; border-radius: var(--r-md); background: var(--peach); margin-bottom: 1rem; }
.objects__empty[hidden] { display: none; }
.objects__empty p { flex: 1 1 320px; }
.objects__more { display: grid; grid-template-columns: 1fr 1fr auto; gap: 1rem 2rem; align-items: center; margin-top: 1rem; padding: 1.6rem 1.8rem; border-radius: var(--r-md); background: var(--ink); color: var(--white); }
.objects__more-item { display: flex; align-items: center; gap: 1rem; }
.objects__more-item b { font-stretch: 62%; font-weight: 800; font-size: 3rem; line-height: 1; color: var(--lime); }
.objects__more-item span { font-size: .92rem; color: rgba(255, 255, 255, .78); max-width: 34ch; }

/* Dispositivos (embarcados) */
.devices { background: var(--paper); }
.devices__head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 2.2rem; }
.devices__rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.device { padding: 1.5rem; border-radius: var(--r-md); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.device:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.device__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 2.4rem; }
.device__icon svg { width: 26px; height: 26px; }
.device h3 { font-stretch: 62%; font-weight: 800; font-size: 1.85rem; line-height: 1; margin-bottom: .55rem; }
.device p { color: var(--muted); font-size: .9rem; }
.devices__formats { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.6rem; color: var(--muted); font-size: .88rem; }
.devices__formats span { margin-right: .3rem; }
.devices__formats b { padding: .3rem .75rem; border-radius: 99px; background: var(--white); color: var(--ink); font-size: .8rem; box-shadow: inset 0 0 0 1px var(--line); }

/* Faixa "qualquer tipo de imagem" */
.anyimg {
  position: relative; overflow: hidden; display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.5rem 2.5rem; align-items: center;
  margin-top: 1rem; padding: clamp(1.6rem, 3.5vw, 2.4rem); border-radius: var(--r-md); background: var(--ink); color: var(--white);
}
.anyimg::before {
  content: ""; position: absolute; right: -10%; top: -60%; width: 55%; height: 220%; pointer-events: none;
  background: linear-gradient(160deg, var(--brand), transparent 70%); opacity: .45; transform: skewX(-18deg);
}
.anyimg__copy { position: relative; }
.anyimg h3 { font-size: clamp(2.2rem, 3.6vw, 3rem); margin-bottom: .7rem; color: var(--lime); }
.anyimg p { color: rgba(255, 255, 255, .8); margin-bottom: 1.3rem; max-width: 46ch; }
.anyimg__types { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.anyimg__types li {
  display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem; border-radius: 14px;
  background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); font-weight: 600; font-size: .92rem;
}
.anyimg__types svg { flex: none; width: 20px; height: 20px; color: var(--lime); }
.intro__extra { margin-top: 2rem; }
.stat span a { color: var(--lime); }

@media (max-width: 1180px) {
  .devices__rail { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .objects__head, .devices__head, .anyimg { grid-template-columns: 1fr; }
  .objects__more { grid-template-columns: 1fr; }
  .objects__more .btn { justify-self: start; }
  .devices__rail { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .devices__rail, .anyimg__types { grid-template-columns: 1fr; }
  .device__icon { margin-bottom: 1.2rem; }
  .objects__search input { padding-right: 1rem; }
  .objects__count { position: static; transform: none; display: inline-block; margin-top: .5rem; }
}

/* ==========================================================================
   19. Teste ao vivo (/teste)
   ========================================================================== */
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #FF4D4D; box-shadow: 0 0 0 3px rgba(255, 77, 77, .2); animation: blink 1.6s steps(2) infinite; }
.nav__link--live { gap: .45rem; }
.intro--tight { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.demo-steps { list-style: none; margin: 1.8rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.demo-steps li { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1rem .45rem .45rem; border-radius: 99px; background: var(--paper); font-weight: 600; font-size: .92rem; }
.demo-steps span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--lime); font-size: .82rem; }

.demo { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 1.2rem; align-items: start; }
.demo.is-busy .demo__screen::after { opacity: 1; }
.demo__stage { position: sticky; top: 96px; }
.demo__screen {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 22px; background: var(--ink);
  border: 6px solid #08162B; box-shadow: var(--shadow-lg); display: grid; place-items: center;
}
.demo__screen::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30%; opacity: 0; pointer-events: none; transition: opacity .3s;
  background: linear-gradient(to bottom, transparent, rgba(220, 244, 106, .2) 85%, rgba(220, 244, 106, .7));
  animation: scan 1.6s linear infinite;
}
.demo__video, .demo__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #08162B; }
.demo__video { transform: scaleX(-1); }
.demo__placeholder { text-align: center; color: rgba(255, 255, 255, .7); padding: 2rem; }
.demo__placeholder svg { width: 44px; height: 44px; margin: 0 auto .8rem; color: var(--lime); }
.demo__badge { position: absolute; top: 12px; left: 12px; padding: .3rem .7rem; border-radius: 99px; background: rgba(7, 26, 51, .75); color: var(--white); font-size: .75rem; font-weight: 650; }
.demo__stagebar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: .9rem; }
.demo__hint { color: var(--muted); font-size: .85rem; }
.demo__results { display: grid; gap: .5rem; margin-top: .9rem; }
.demo__results li { display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; border-radius: 14px; background: var(--paper); }
.demo__results li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; flex: none; }
.demo__results li.is-known::before { background: var(--brand); }
.demo__results li.is-unknown::before { background: var(--coral); }
.demo__results b { font-size: 1.05rem; }
.demo__results span { color: var(--muted); font-size: .9rem; }

.demo__panel { display: grid; gap: .8rem; }
.demo__card { padding: 1.3rem; border-radius: var(--r-md); background: var(--paper); }
.demo__card h2 { display: flex; align-items: center; gap: .6rem; font-stretch: 62%; font-weight: 800; font-size: 1.9rem; line-height: 1; margin-bottom: 1rem; }
.demo__n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--white); font-stretch: 100%; font-size: .95rem; }
.demo__card .field { margin-bottom: .8rem; }
.demo__row { display: flex; flex-wrap: wrap; gap: .5rem; }
.demo__upload { position: relative; overflow: hidden; cursor: pointer; }
.demo__upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.demo__upload[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.demo__thumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.demo__thumbs:empty { display: none; }
.demo__thumbs li { position: relative; }
.demo__thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.demo__thumbs button { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--ink); color: var(--white); font-size: .9rem; line-height: 1; cursor: pointer; }
.demo__tip { color: var(--muted); font-size: .82rem; margin: .8rem 0 1rem; }
.demo__submit { width: 100%; }
.demo__people { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.demo__people li { display: inline-flex; align-items: baseline; gap: .4rem; padding: .35rem .8rem; border-radius: 99px; background: var(--white); font-weight: 650; font-size: .9rem; box-shadow: inset 0 0 0 1px var(--line); }
.demo__people small { color: var(--muted); font-weight: 500; font-size: .75rem; }
.demo__people .demo__empty { background: none; box-shadow: none; padding: 0; color: var(--muted); font-weight: 500; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin-top: .1rem; accent-color: var(--brand); }
.demo__consent { background: var(--brand-soft); }
.demo__status { padding: .85rem 1rem; border-radius: 12px; font-size: .9rem; font-weight: 550; background: var(--paper); }
.demo__status.is-ok { background: var(--brand-soft); color: var(--brand-deep); }
.demo__status.is-error { background: #FFE2D6; color: #8A2A0A; }
.demo__forget { justify-self: start; display: inline-flex; align-items: center; gap: .45rem; padding: .4rem 0; border: 0; background: none; color: var(--muted); font-size: .88rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.demo__forget svg { width: 16px; height: 16px; }
.demo__forget:disabled { opacity: .45; cursor: default; }
.demo__note { margin-top: 1.6rem; color: var(--muted); font-size: .88rem; max-width: 90ch; }

.demo-tabs { display: inline-flex; flex-wrap: wrap; gap: .4rem; margin-top: 2rem; padding: .35rem; border-radius: 99px; background: var(--paper); }
.demo-tab { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.2rem; border: 0; border-radius: 99px; background: none; font-weight: 650; font-size: .95rem; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s; }
.demo-tab svg { width: 18px; height: 18px; }
.demo-tab:hover { color: var(--ink); }
.demo-tab[aria-selected="true"] { background: var(--ink); color: var(--white); }
.demo-panel .demo-steps { margin: 0 0 1.4rem; }
.demo__video--plain { transform: none; }
.demo__tip--top { margin: -.4rem 0 .9rem; }
.demo__plateform { display: flex; gap: .5rem; margin-bottom: .9rem; }
.demo__plateform input { flex: 1; min-width: 0; padding: .65rem .9rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); font: inherit; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.demo__plateform input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(14, 134, 255, .15); }
.demo__chip-x { margin-left: .2rem; border: 0; background: none; font-size: 1rem; line-height: 1; color: var(--muted); cursor: pointer; }
.demo__results em { margin-left: auto; padding: .25rem .65rem; border-radius: 99px; font-style: normal; font-weight: 700; font-size: .78rem; white-space: nowrap; }
.demo__results .tag-ok { background: var(--lime); color: var(--ink); }
.demo__results .tag-no { background: #FFE2D6; color: #8A2A0A; }

@media (max-width: 1024px) {
  .demo { grid-template-columns: 1fr; }
  .demo__stage { position: static; }
}

/* ==========================================================================
   20. Automação de WhatsApp e IA
   ========================================================================== */
.services2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.service {
  display: grid; grid-template-columns: 170px 1fr; gap: 1.2rem; align-items: center; padding: 1.4rem 1.6rem;
  border-radius: var(--r-md); text-decoration: none; transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service__art svg { width: 100%; height: auto; transition: transform .6s var(--ease); }
.service:hover .service__art svg { transform: rotate(-3deg) scale(1.04); }
.service__copy { display: grid; gap: .5rem; justify-items: start; }
.service__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(7, 26, 51, .1); }
.tone-cobalt .service__icon { background: rgba(255, 255, 255, .15); }
.service__icon svg { width: 20px; height: 20px; }
.service__title { font-size: 2.1rem; }
.service__text { font-size: .93rem; opacity: .85; max-width: 40ch; }
.service__link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .92rem; }
.service__link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.service:hover .service__link svg { transform: translateX(4px); }

/* Celular com a conversa do robô */
.chatmock { width: min(100%, 380px); margin-inline: auto; border-radius: 30px; overflow: hidden; background: var(--white); border: 8px solid #08162B; box-shadow: var(--shadow-lg); font-size: .86rem; }
.chatmock__top { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; background: var(--brand); color: var(--white); }
.chatmock__top b { display: block; font-size: .92rem; }
.chatmock__top small { opacity: .85; font-size: .75rem; }
.chatmock__avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--ink); }
.chatmock__avatar svg { width: 20px; height: 20px; }
.chatmock__body { display: flex; flex-direction: column; gap: .5rem; padding: 1rem; background: var(--paper); min-height: 330px; }
.msg { max-width: 82%; padding: .55rem .8rem; border-radius: 14px; line-height: 1.4; box-shadow: 0 1px 1px rgba(7, 26, 51, .06); }
.msg--in { align-self: flex-start; background: var(--white); border-bottom-left-radius: 4px; }
.msg--out { align-self: flex-end; background: var(--lime); border-bottom-right-radius: 4px; }
.msg--alert { display: grid; gap: .3rem; background: var(--ink); color: var(--white); }
.msg--alert b { color: var(--lime); font-size: .82rem; }
.msg--alert span { font-size: .8rem; }
.msg--alert img { width: 100%; height: 90px; object-fit: cover; border-radius: 8px; }
.chatmock__input { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .7rem .8rem; background: var(--white); color: var(--muted); }
.chatmock__input span { flex: 1; padding: .55rem .9rem; border-radius: 99px; background: var(--paper); font-size: .82rem; }
.chatmock__input i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--white); }
.chatmock__input svg { width: 16px; height: 16px; }

/* Documento entrando e dados saindo da IA */
.aimock { display: grid; grid-template-columns: 1fr auto 1fr; gap: .8rem; align-items: center; width: 100%; }
.aimock__doc { display: grid; gap: .45rem; padding: 1.1rem; border-radius: 16px; background: var(--white); box-shadow: var(--shadow-lg); transform: rotate(-3deg); }
.aimock__doc i { display: block; height: 6px; border-radius: 3px; background: rgba(7, 26, 51, .12); }
.aimock__label { display: inline-flex; align-items: center; gap: .35rem; font-size: .7rem; color: var(--muted); }
.aimock__label svg { width: 14px; height: 14px; }
.aimock__title { font-weight: 700; font-size: .9rem; margin-bottom: .2rem; }
.aimock__hl { justify-self: start; padding: .2rem .45rem; border-radius: 6px; background: var(--lime); font-weight: 700; font-size: .78rem; }
.aimock__flow { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--ink); box-shadow: 0 0 0 8px rgba(220, 244, 106, .25); animation: float 4s ease-in-out infinite; }
.aimock__flow svg { width: 22px; height: 22px; }
.aimock__out { padding: 1.1rem; border-radius: 16px; background: var(--ink); color: var(--white); box-shadow: var(--shadow-lg); font-size: .82rem; }
.aimock__head { display: flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--lime); margin-bottom: .7rem; }
.aimock__head svg { width: 16px; height: 16px; }
.aimock__out dl { display: grid; gap: .45rem; margin: 0 0 .7rem; }
.aimock__out dl div { display: flex; justify-content: space-between; gap: .6rem; padding-bottom: .4rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.aimock__out dt { color: #8CCBFF; }
.aimock__out dd { margin: 0; font-weight: 650; text-align: right; }
.aimock__sum { font-size: .76rem; opacity: .85; margin-bottom: .7rem; }
.aimock__tag { display: inline-block; padding: .2rem .55rem; border-radius: 99px; background: var(--brand); font-size: .72rem; font-weight: 700; }

@media (max-width: 1024px) {
  .services2 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .service { grid-template-columns: 1fr; }
  .service__art { max-width: 170px; }
  .aimock { grid-template-columns: 1fr; }
  .aimock__flow { justify-self: center; transform: rotate(90deg); }
  .aimock__doc { transform: none; }
}

/* 17. Tons (cores de fundo reutilizáveis) — mantenha no fim do arquivo */
.tone-lime { background: var(--lime); color: var(--ink); }
.tone-cobalt { background: var(--cobalt); color: var(--white); }
.tone-peach { background: var(--peach); color: var(--ink); }
.tone-coral { background: var(--coral); color: var(--ink); }
.tone-paper { background: var(--paper); color: var(--ink); }
.tone-soft { background: var(--brand-soft); color: var(--ink); }
.tone-sky { background: var(--sky); color: var(--ink); }
.toast__icon--soft { background: var(--brand-soft); color: var(--brand-deep); }
.toast__icon--cobalt { background: var(--cobalt); color: var(--white); }
.toast__icon--lime { background: var(--lime); color: var(--ink); }
