/* RotaCerta landing: CSS proprio, sem framework.
   Tokens em :root, mobile-first, tudo que anima respeita prefers-reduced-motion. */

:root {
  --brand: #0f766e;
  --brand-strong: #115e59;
  --brand-soft: #ccfbf1;
  --brand-tint: #f0fdfa;
  --brand-ink: #134e4a;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --bg: #ffffff;
  --bg-2: #f8fafc;
  --bg-3: #f1f5f9;
  --dark: #0b1220;
  --dark-2: #111a2e;
  --dark-text: #e2e8f0;
  --dark-muted: #94a3b8;
  --ok: #059669;
  --warn: #d97706;
  --danger: #dc2626;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .25), 0 2px 6px rgba(15, 23, 42, .06);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, .35), 0 8px 16px -8px rgba(15, 23, 42, .12);
  --container: 1200px;
  --gutter: 20px;
  --font: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* Inter variavel (subset latin), hospedada localmente. Licenca: fonts/LICENSE-Inter-OFL.txt */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/landing/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Fallback com metricas ajustadas para a Inter: evita layout shift na troca da fonte. */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial'), local('Helvetica'), local('Liberation Sans');
  size-adjust: 107.12%;
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { color: var(--ink); letter-spacing: -.02em; line-height: 1.12; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid #14b8a6; outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } body { font-size: 1.0625rem; } }

/* Tipografia */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--brand); border-radius: 2px; }
.title-xl { font-size: clamp(2.25rem, 1.55rem + 2.6vw, 3.5rem); font-weight: 800; line-height: 1.04; }
.title-lg { font-size: clamp(1.8rem, 1.35rem + 1.9vw, 2.9rem); font-weight: 800; }
.title-md { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); font-weight: 700; }
.lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--muted); line-height: 1.6; }
.muted { color: var(--muted); }

/* Botoes */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(15, 118, 110, .6); }
.btn--primary:hover { background: var(--brand-strong); transform: translateY(-1px); box-shadow: 0 12px 24px -8px rgba(15, 118, 110, .6); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--light { background: #fff; color: var(--brand-ink); }
.btn--outline-light { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .4); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .14); border-color: #fff; color: #fff; }
.btn--light:hover { background: var(--brand-tint); }
.btn--lg { padding: 16px 26px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 64px;
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, .8);
}
.nav { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; letter-spacing: -.02em; font-size: 1.1rem; }
.logo__mark { width: 36px; height: 36px; border-radius: 10px; background: var(--brand); display: grid; place-items: center; color: #fff; }
.logo__mark svg { width: 20px; height: 20px; }
.logo small { display: block; font-size: .65rem; font-weight: 500; color: var(--muted); letter-spacing: .04em; margin-top: -2px; }
.nav__links { display: none; align-items: center; gap: 28px; font-size: .925rem; font-weight: 500; color: var(--ink-2); }
.nav__links a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav__links a:hover { color: var(--brand); border-color: var(--brand); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
/* "Entrar" fica sempre visivel: motoristas e passageiros acessam o app por aqui. */
.nav__login { display: inline-flex; align-items: center; text-decoration: none; font-weight: 600; font-size: .9rem; padding: 9px 14px; color: var(--ink); border: 1px solid var(--line-2); border-radius: 10px; }
.nav__login:hover { color: var(--brand); border-color: var(--brand); }
.nav__cta { display: none; padding: 10px 16px; font-size: .9rem; }
@media (min-width: 640px) { .nav__cta { display: inline-flex; } }
.nav__toggle { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.nav__toggle svg { width: 22px; height: 22px; }
.nav__toggle .ico-close { display: none; }
.nav__toggle[aria-expanded="true"] .ico-open { display: none; }
.nav__toggle[aria-expanded="true"] .ico-close { display: block; }
.nav__panel {
  display: none; position: fixed; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
  padding: 12px var(--gutter) 20px; box-shadow: var(--shadow); z-index: 49;
}
.nav__panel.is-open { display: block; }
.nav__panel a { display: block; padding: 12px 4px; text-decoration: none; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--bg-3); }
.nav__panel .btn { margin-top: 14px; }
@media (min-width: 1024px) {
  .nav__links { display: inline-flex; }
  .nav__login { border-color: transparent; font-weight: 500; color: var(--ink-2); }
  .nav__login:hover { border-color: transparent; }
  .nav__toggle, .nav__panel { display: none !important; }
  .nav__cta { padding: 11px 18px; }
}

/* Secoes */
.section { padding: 72px 0; }
.section--muted { background: var(--bg-2); }
.section--dark { background: var(--dark); color: var(--dark-text); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead, .section--dark .muted { color: var(--dark-muted); }
.section--dark .eyebrow { color: #5eead4; }
.section--dark .eyebrow::before { background: #5eead4; }
.section__head { max-width: 720px; margin-bottom: 40px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__head .lead { margin-top: 14px; }
@media (min-width: 768px) { .section { padding: 104px 0; } .section__head { margin-bottom: 56px; } }

/* Hero: a cena ativa cobre a secao inteira (video de fundo) e o texto fica por cima.
   A secao e o proprio .stage--sequence: cenas em .hero__media (absoluto), copy em .hero__inner. */
.hero { position: relative; overflow: hidden; overflow: clip; background: var(--dark); color: var(--dark-text); isolation: isolate; }
.hero .hero__media { position: absolute; inset: 0; z-index: 0; border-radius: 0; box-shadow: none; aspect-ratio: auto; }
.hero__shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 18, 32, .5) 0%, rgba(11, 18, 32, .08) 20%, rgba(11, 18, 32, .06) 38%, rgba(11, 18, 32, .66) 58%, rgba(11, 18, 32, .95) 100%);
}
.hero__inner {
  position: relative; z-index: 3; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 100vh; min-height: 100svh; padding-top: 96px; padding-bottom: 26px;
}
.hero__copy { max-width: 620px; }
.hero__eyebrow { color: #5eead4; }
.hero__eyebrow::before { background: #5eead4; }
.hero__title { color: #fff; text-shadow: 0 2px 28px rgba(0, 0, 0, .45); }
.hero__title em { font-style: normal; color: #5eead4; }
.hero__sub { margin-top: 18px; max-width: 540px; color: rgba(255, 255, 255, .86); text-shadow: 0 1px 16px rgba(0, 0, 0, .4); }
.hero__ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.hero__trust { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .8125rem; color: rgba(255, 255, 255, .78); }
.hero__trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero__trust svg { width: 16px; height: 16px; color: #5eead4; }
.hero__steps { margin-top: 30px; max-width: 640px; }
.hero .stage-step { color: rgba(255, 255, 255, .66); }
.hero .stage-step::before { background: rgba(255, 255, 255, .22); }
.hero .stage-step::after { background: #5eead4; }
.hero .stage-step.is-active { color: #fff; }
.hero .stage-step b, .hero .stage-step.is-active b { color: #5eead4; }
.hero .scene__chip {
  left: auto; right: var(--gutter); top: 80px; bottom: auto;
  background: rgba(15, 23, 42, .58); color: #fff;
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.hero .scene__chip small { color: rgba(255, 255, 255, .72); }
.hero .scene__chip i { box-shadow: 0 0 0 3px rgba(52, 211, 153, .25); background: #34d399; }
/* Celular em retrato: bloco de texto compacto para deixar a metade de cima da cena livre. */
@media (max-width: 639px) {
  .hero__title { font-size: 2rem; }
  .hero__trust { display: none; }
  .hero__ctas .btn--lg { padding: 13px 20px; font-size: .95rem; }
  .hero__steps { margin-top: 24px; }
  .hero .stage-step__desc { display: none; }
  .hero .stage-step b { margin-bottom: 0; }
  .hero__shade { background: linear-gradient(180deg, rgba(11, 18, 32, .5) 0%, rgba(11, 18, 32, .1) 16%, rgba(11, 18, 32, .08) 30%, rgba(11, 18, 32, .78) 50%, rgba(11, 18, 32, .96) 100%); }
}
@media (min-width: 640px) { .hero__ctas { flex-direction: row; } .hero__trust { font-size: .875rem; gap: 8px 18px; } }
/* Paisagem em telas menores que desktop (celular deitado, tablet deitado): altura pelo conteudo. */
@media (max-width: 1023px) and (orientation: landscape) {
  .hero__inner { min-height: 0; padding-top: 112px; padding-bottom: 32px; }
  .hero__shade { background: linear-gradient(90deg, rgba(11, 18, 32, .92) 0%, rgba(11, 18, 32, .78) 40%, rgba(11, 18, 32, .3) 75%, rgba(11, 18, 32, .12) 100%); }
}
@media (min-width: 1024px) {
  .hero__inner { min-height: min(88vh, 860px); min-height: min(88svh, 860px); justify-content: center; padding-top: 136px; padding-bottom: 56px; }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(11, 18, 32, .28) 0%, rgba(11, 18, 32, 0) 22%, rgba(11, 18, 32, 0) 72%, rgba(11, 18, 32, .5) 100%),
      linear-gradient(90deg, rgba(11, 18, 32, .93) 0%, rgba(11, 18, 32, .82) 32%, rgba(11, 18, 32, .42) 60%, rgba(11, 18, 32, .14) 100%);
  }
  .hero__sub { margin-top: 22px; }
  .hero__ctas { margin-top: 30px; }
  .hero__trust { margin-top: 26px; }
  .hero__steps { margin-top: 48px; }
  .hero .scene__chip { top: auto; bottom: 30px; right: 32px; }
}

/* Palco de cenas (hero e cards) */
.stage { position: relative; }
.stage__viewport {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); background: #0f172a; box-shadow: var(--shadow-lg);
  aspect-ratio: var(--stage-ar, 16 / 9); isolation: isolate;
}

.scene { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); }
.scene.is-active { opacity: 1; z-index: 1; }
.stage--single .scene { opacity: 1; }
.scene__frame { position: absolute; left: 0; top: 0; width: 100%; height: 100%; will-change: width, height; }
.scene__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene__video { opacity: 0; transition: opacity .6s ease; }
.scene__video.is-ready { opacity: 1; }
.scene__screen, .scene__glass { position: absolute; left: 0; top: 0; transform-origin: 0 0; backface-visibility: hidden; }
.scene__screen { object-fit: cover; will-change: transform; max-width: none; } /* max-width: none: a base de 1000px nao pode ser limitada pela largura do frame */
.scene__glass { pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 38%, rgba(0, 0, 0, .06) 100%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .22), inset 0 0 18px rgba(0, 0, 0, .18); }
.scene__chip {
  position: absolute; left: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 14px 9px 11px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--ink);
  font-size: .8125rem; font-weight: 600; box-shadow: var(--shadow); backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(8px); transition: opacity .5s .25s var(--ease), transform .5s .25s var(--ease);
}
.scene.is-active .scene__chip, .stage--single .scene__chip { opacity: 1; transform: none; }
.scene__chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(5, 150, 105, .2); }
.scene__chip small { font-weight: 500; color: var(--muted); }
@media (min-width: 768px) { .scene__chip { left: 20px; bottom: 20px; font-size: .875rem; } }

.stage__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.stage-step { position: relative; text-align: left; padding: 10px 2px 0; background: none; border: 0; cursor: pointer; color: var(--muted); font-size: .8125rem; font-weight: 600; line-height: 1.3; }
.stage-step::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 3px; background: var(--line); }
.stage-step::after { content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 0; border-radius: 3px; background: var(--brand); }
.stage-step.is-active { color: var(--ink); }
.stage-step.is-active::after { width: 100%; transition: width var(--scene-ms, 6000ms) linear; }
.stage-step.is-done::after { width: 100%; }
.stage-step b { display: block; color: var(--brand); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; }
.stage-step.is-active b { color: var(--brand); }
@media (min-width: 768px) { .stage-step { font-size: .9rem; padding-top: 12px; } }

/* Problema */
.pain-grid { display: grid; gap: 14px; }
.pain { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.pain__icon { flex: none; width: 40px; height: 40px; border-radius: 10px; background: #fff1f2; color: #be123c; display: grid; place-items: center; }
.pain__icon svg { width: 20px; height: 20px; }
.pain h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.pain p { font-size: .925rem; color: var(--muted); }
@media (min-width: 640px) { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pain-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

/* Tres experiencias */
.roles { display: grid; gap: 22px; }
.role { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.role:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.role .stage__viewport { border-radius: 0; box-shadow: none; --stage-ar: 4 / 3; }
.role__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.role__tag { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.role__tag i { width: 22px; height: 22px; border-radius: 6px; background: var(--brand-soft); display: grid; place-items: center; }
.role__tag svg { width: 13px; height: 13px; }
.role h3 { font-size: 1.35rem; }
.role p { color: var(--muted); font-size: .95rem; }
.role__link { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: .9rem; color: var(--brand); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.role__link svg { width: 16px; height: 16px; transition: transform .2s; }
.role__link:hover svg { transform: translateX(3px); }
@media (min-width: 900px) { .roles { grid-template-columns: repeat(3, 1fr); } }

/* Como funciona */
.steps { position: relative; display: grid; gap: 18px; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step__num { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; font-weight: 800; font-size: .95rem; border: 1px solid var(--brand-soft); }
.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.step p { font-size: .925rem; color: var(--muted); }
.step__who { display: inline-block; margin-top: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(6, 1fr); gap: 12px; }
  .steps::before { content: ''; position: absolute; left: 6%; right: 6%; top: 40px; height: 2px; background: linear-gradient(90deg, var(--brand-soft), var(--brand), var(--brand-soft)); }
  .step { grid-template-columns: 1fr; gap: 12px; padding: 20px 16px; }
  .step__num { margin-top: -2px; }
}

/* Blocos com dispositivo + texto */
.split { display: grid; gap: 32px; align-items: center; }
.split__copy .lead { margin-top: 14px; }
.check-list { margin-top: 24px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .975rem; }
.check-list li strong { color: var(--ink); }
.check-list svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); margin-top: 1px; }
.section--dark .check-list svg { background: rgba(94, 234, 212, .15); color: #5eead4; }
.split__media { position: relative; }
.split__note { margin-top: 12px; font-size: .8125rem; color: var(--muted); text-align: center; }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
  .split--media-left { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split--media-left .split__media { order: -1; }
  .split--even { grid-template-columns: 1fr 1fr; }
}

/* Molduras de dispositivo */
.device-browser { border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.device-browser__bar { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px; background: var(--bg-3); border-bottom: 1px solid var(--line); }
.device-browser__dots { display: flex; gap: 6px; }
.device-browser__dots i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.device-browser__url { flex: 1; max-width: 360px; margin-inline: auto; height: 24px; border-radius: 7px; background: #fff; border: 1px solid var(--line); font-size: .7rem; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 6px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.device-browser__url svg { width: 11px; height: 11px; color: var(--ok); }
.device-browser__screen { position: relative; aspect-ratio: 16 / 9; background: var(--bg-2); }
.device-browser__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 1; transition: opacity .35s ease; }
.device-browser__screen img[hidden] { display: block; opacity: 0; pointer-events: none; }

.device-tablet { margin-inline: auto; width: 100%; max-width: 720px; padding: 14px; border-radius: 26px; background: #0f172a; box-shadow: var(--shadow-lg), inset 0 0 0 2px #1e293b; }
.device-tablet__screen { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #000; }
.device-tablet__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }

.device-phone { position: relative; margin-inline: auto; width: min(300px, 78vw); padding: 11px; border-radius: 44px; background: #0f172a; box-shadow: var(--shadow-lg), inset 0 0 0 2px #1e293b; }
.device-phone::before { content: ''; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; border-radius: 14px; background: #0f172a; z-index: 2; }
.device-phone__screen { position: relative; aspect-ratio: 390 / 844; border-radius: 34px; overflow: hidden; background: #000; }
.device-phone__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.device-phone--secondary { position: absolute; width: min(220px, 50vw); right: 0; bottom: 0; transform: rotate(6deg); display: none; }
.device-phone--secondary::before { width: 66px; height: 18px; top: 14px; }
.device-phone--secondary .device-phone__screen { border-radius: 26px; }
@media (min-width: 640px) { .device-phone--secondary { display: block; } }
.phones { position: relative; display: flex; justify-content: center; padding-bottom: 36px; }

.screen-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.screen-tab { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .8125rem; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: all .2s; }
.screen-tab:hover { border-color: var(--brand); color: var(--brand); }
.screen-tab[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Tempo real */
.live__legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-size: .9rem; }
.live__legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend-dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(255, 255, 255, .08); }
.legend-dot--ok { background: #22c55e; }
.legend-dot--warn { background: #f59e0b; }
.legend-dot--danger { background: #ef4444; }
.live__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 26px; }
.live__stats div { padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.live__stats b { display: block; color: #fff; font-size: .95rem; margin-bottom: 2px; }
.live__stats span { font-size: .85rem; color: var(--dark-muted); }
.section--dark .device-browser { border-color: #1e293b; }
.section--dark .device-browser__bar { background: #0f172a; border-color: #1e293b; }
.section--dark .device-browser__dots i { background: #334155; }
.section--dark .device-browser__url { background: #111a2e; border-color: #1e293b; color: #94a3b8; }

/* Indicadores */
.kpi-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
.kpi { padding: 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.kpi b { display: block; color: var(--ink); font-size: .95rem; }
.kpi span { font-size: .8125rem; color: var(--muted); }
.kpi__group { grid-column: 1 / -1; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-top: 6px; }

/* Seguranca */
.security-grid { display: grid; gap: 16px; }
.security-card { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.security-card__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; border: 1px solid var(--brand-soft); }
.security-card__icon svg { width: 22px; height: 22px; }
.security-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.security-card p { font-size: .925rem; color: var(--muted); }
@media (min-width: 640px) { .security-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .security-grid { grid-template-columns: repeat(4, 1fr); } }

/* FAQ */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 0 20px; transition: border-color .2s; }
.faq details[open] { border-color: var(--brand-soft); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); font-weight: 700; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 20px; color: var(--muted); font-size: .95rem; }

/* CTA final + formulario */
.cta { position: relative; overflow: hidden; overflow: clip; background: linear-gradient(160deg, #0f766e 0%, #115e59 55%, #0b1220 100%); color: #fff; }
.cta::before { content: ''; position: absolute; width: 600px; height: 600px; right: -200px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(94, 234, 212, .25), transparent 65%); pointer-events: none; }
.cta__grid { position: relative; display: grid; gap: 36px; align-items: center; }
.cta h2 { color: #fff; }
.cta .lead { color: #ccfbf1; }
.cta__points { margin-top: 26px; display: grid; gap: 14px; }
.cta__points li { display: flex; gap: 12px; align-items: flex-start; font-size: .975rem; color: #f0fdfa; }
.cta__points svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(255, 255, 255, .15); }
.cta__points a { color: #fff; }
@media (min-width: 1024px) { .cta__grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

.form-card { background: #fff; color: var(--ink-2); border-radius: 20px; padding: 24px; box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.form-card > p { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.form-grid { display: grid; gap: 14px; }
.field label { display: block; font-size: .8125rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field label b { color: var(--danger); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: 10px; font: inherit; font-size: .95rem; color: var(--ink); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15, 118, 110, .15); }
.field textarea { resize: vertical; min-height: 110px; }
.form-msg { display: none; padding: 12px 14px; border-radius: 10px; font-size: .9rem; }
.form-msg.is-ok { display: block; background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-msg.is-error { display: block; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.form-legal { font-size: .75rem; color: var(--muted); text-align: center; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; display: none; }
.btn.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 640px) { .form-card { padding: 32px; } .form-grid--2 { grid-template-columns: 1fr 1fr; } }

/* Footer */
.site-footer { background: var(--dark); color: var(--dark-muted); padding: 56px 0 28px; font-size: .9rem; }
.footer-grid { display: grid; gap: 32px; }
.footer-brand p { max-width: 420px; margin-top: 14px; }
.footer-brand .logo { color: #fff; }
.footer-brand .logo small { color: var(--dark-muted); }
.site-footer h4 { color: #fff; font-size: .875rem; margin-bottom: 14px; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #5eead4; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid #1e293b; font-size: .8rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

/* Reveal no scroll */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }

/* Reduzir movimento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .stage-step.is-active::after { transition: none; width: 100%; }
}
.no-motion [data-reveal] { opacity: 1; transform: none; }
