/*
  Tenant Flow · folha de estilo única do site

  1. Fontes e tokens
  2. Base
  3. Layout
  4. Tipografia
  5. Componentes (botões, links, formulário, bandeira)
  6. Faixa de aviso, cabeçalho e rodapé
  7. Home
  8. Páginas internas (serviços, blog, privacidade)
  9. Utilitários e impressão

  Cores, fontes e espaçamentos ficam só nos tokens (seção 1).
  Para trocar a cor de destaque, altere --accent e --accent-strong.
*/

/* 1. Fontes e tokens ------------------------------------------------------ */

@font-face {
  font-family: "Newsreader";
  src: url("/assets/newsreader-display.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f6f4ef;
  --paper-alt: #eeebe3;
  --surface: #ffffff;
  --ink: #16181d;
  --ink-2: #3a3e47;
  --ink-3: #5f636c;
  --rule: #d9d4c9;
  --rule-strong: #b9b3a6;
  --accent: #0f4c5c;
  --accent-strong: #0a3642;
  --accent-tint: #e2ebea;
  --accent-rgb: 15, 76, 92;
  --ok: #2e6b4c;
  --warn: #8a5a00;
  --bad: #a1332a;

  --font-serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --fs-display: clamp(2.5rem, 1.55rem + 3.9vw, 4.6rem);
  --fs-h1: clamp(2.25rem, 1.6rem + 2.6vw, 3.6rem);
  --fs-h2: clamp(1.9rem, 1.45rem + 1.8vw, 2.85rem);
  --fs-h3: 1.1875rem;
  --fs-lead: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-xs: 0.8125rem;

  --container: 76rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-space: clamp(4.5rem, 3rem + 6vw, 8rem);
  --header-h: 4.5rem;
  --radius: 4px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* 2. Base ----------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul[class],
ol[class] {
  list-style: none;
  padding: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--accent);
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* 3. Layout --------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-space);
}

.section + .section {
  border-top: 1px solid var(--rule);
}

.section--alt {
  background: var(--paper-alt);
}

.section--alt + .section,
.section + .section--alt {
  border-top: 0;
}

/* Cabeçalho de seção em duas colunas: rótulo à esquerda, título à direita. */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.section-head__label {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink);
  padding-top: 0.35rem;
}

.section-head__label::before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 2px;
  margin-bottom: 0.9rem;
  background: var(--accent);
}

.section-head__intro {
  margin-top: 1.25rem;
  max-width: 38rem;
  font-size: var(--fs-lead);
  color: var(--ink-2);
}

@media (min-width: 60rem) {
  .section-head {
    grid-template-columns: 14rem minmax(0, 1fr);
    gap: 3rem;
  }
  .section-body {
    margin-left: calc(14rem + 3rem);
  }
}

/* 4. Tipografia ----------------------------------------------------------- */

.display,
h1,
h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.display {
  font-size: var(--fs-display);
  line-height: 1.02;
}

h1 {
  font-size: var(--fs-h1);
  line-height: 1.06;
}

h2 {
  font-size: var(--fs-h2);
  line-height: 1.1;
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink-2);
}

p + p {
  margin-top: 1em;
}

strong,
b {
  font-weight: 600;
  color: var(--ink);
}

code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  padding: 0.1em 0.35em;
  background: var(--paper-alt);
  border: 1px solid var(--rule);
  border-radius: 3px;
  color: var(--ink);
  overflow-wrap: anywhere;
}

/* 5. Componentes ---------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.8rem 1.35rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.button:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.button:disabled {
  opacity: 0.6;
  cursor: progress;
}

.button--outline {
  background: transparent;
  color: var(--ink);
}

.button--outline:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.button--block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.link-arrow::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}

.link-arrow:hover {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

.text-link {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.text-link:hover {
  color: var(--accent-strong);
  text-decoration-thickness: 2px;
}

.flag {
  flex: none;
  width: 1.35rem;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(22, 24, 29, 0.18);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  white-space: nowrap;
}

.status::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
}

.status--ok { color: var(--ok); }
.status--warn { color: var(--warn); }
.status--bad { color: var(--bad); }

/* Formulário */

.form {
  display: grid;
  gap: 1.25rem;
}

.form__row {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 40rem) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink);
}

.field__optional {
  font-weight: 400;
  color: var(--ink-3);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.field textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.field select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2316181d' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8a8d94;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}

.field [aria-invalid="true"] {
  border-color: var(--bad);
}

.field__error {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--bad);
}

.field__error:empty {
  display: none;
}

.form__trap {
  position: absolute;
  left: -9999px;
}

.form__note {
  font-size: var(--fs-xs);
  color: var(--ink-3);
}

.form__status {
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--ok);
  background: var(--surface);
  font-size: var(--fs-small);
  color: var(--ink);
}

.form__status--error {
  border-left-color: var(--bad);
}

.form__status:empty {
  display: none;
}

/* Botão flutuante: fica sempre visível na tela, com um pulso discreto para
   chamar atenção, e vira uma barra de largura total no celular. */

.floating-cta {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.floating-cta:hover {
  background: var(--accent-strong);
  color: var(--paper);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.26);
}

.floating-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.55);
  animation: floating-cta-pulse 2.6s ease-out infinite;
  pointer-events: none;
}

@keyframes floating-cta-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.55);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(var(--accent-rgb), 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-cta::after {
    animation: none;
  }
}

@media (max-width: 47.9375rem) {
  .floating-cta {
    left: 1rem;
    right: 1rem;
    bottom: 0;
    justify-content: center;
    border-radius: var(--radius) var(--radius) 0 0;
    padding-block: 1rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }
}

/* 6. Faixa de aviso, cabeçalho e rodapé ------------------------------------ */

.notice {
  background: var(--ink);
  color: #e8e4da;
  font-size: var(--fs-xs);
}

.notice__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 2.5rem;
  padding-block: 0.45rem;
  text-align: center;
}

.notice .flag {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.notice a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 244, 239, 0.94);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}

@supports (backdrop-filter: blur(8px)) {
  .site-header {
    backdrop-filter: saturate(140%) blur(8px);
  }
}

.site-header.is-stuck {
  border-bottom-color: var(--rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
}

.brand__mark {
  width: 1.75rem;
  height: 1.75rem;
}

.brand__name {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  line-height: 1;
  letter-spacing: -0.01em;
}

.nav {
  display: none;
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--ink);
}

.nav__link[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.5em;
}

.nav__item--menu {
  position: relative;
}

.nav__item--menu > .nav__link::after {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin-left: 0.45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.2rem) rotate(45deg);
}

.nav__panel {
  position: absolute;
  top: 100%;
  left: -0.5rem;
  width: 20rem;
  padding: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px -24px rgba(22, 24, 29, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.15s var(--ease), transform 0.15s var(--ease), visibility 0s linear 0.15s;
}

.nav__item--menu:hover .nav__panel,
.nav__item--menu:focus-within .nav__panel {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.nav__panel a {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 3px;
  text-decoration: none;
}

.nav__panel a:hover {
  background: var(--paper);
}

.nav__panel strong {
  display: block;
  font-size: var(--fs-small);
}

.nav__panel span {
  display: block;
  font-size: var(--fs-xs);
  color: var(--ink-3);
}

.site-header__cta {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: transparent;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle__icon {
  position: relative;
  width: 1rem;
  height: 0.7rem;
  border-block: 1.5px solid currentColor;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon {
  border-block-color: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before,
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after {
  transform: rotate(-45deg);
}

.mobile-menu {
  border-top: 1px solid var(--rule);
  background: var(--paper);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu__inner {
  display: grid;
  gap: 0.25rem;
  padding-block: 1rem 1.5rem;
}

.mobile-menu a:not(.button) {
  display: block;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.mobile-menu .button {
  margin-top: 1rem;
}

@media (min-width: 64rem) {
  .nav,
  .site-header__cta {
    display: block;
  }
  .menu-toggle,
  .mobile-menu {
    display: none !important;
  }
  .site-header__cta {
    margin-left: 0.5rem;
  }
  .site-header__cta .button {
    min-height: 2.6rem;
    padding: 0.6rem 1.05rem;
  }
}

/* Chamada para ação com destaque sutil */

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(15, 76, 92, 0.32); }
  50% { box-shadow: 0 0 0 7px rgba(15, 76, 92, 0); }
}

.site-header__cta .button {
  animation: cta-pulse 2.8s ease-in-out infinite;
}

.site-header__cta .button:hover,
.site-header__cta .button:focus-visible {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .site-header__cta .button {
    animation: none;
  }
}

.site-footer {
  padding-block: clamp(3.5rem, 3rem + 3vw, 5rem) 2rem;
  /* espaço extra embaixo para o botão "Agendar diagnóstico" flutuante não
     cobrir o link de "Segurança e privacidade" quando a página rola até o fim */
  padding-bottom: 6.5rem;
  background: var(--ink);
  color: #b9b6ae;
  font-size: var(--fs-small);
}

.site-footer a {
  color: #e8e4da;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-footer .brand {
  color: #ffffff;
}

.site-footer__grid {
  display: grid;
  gap: 2.5rem;
}

.site-footer__about p {
  max-width: 24rem;
  margin-top: 1rem;
}

.site-footer__reach {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.25rem;
  color: #e8e4da;
}

.site-footer__audience {
  margin-top: 0.75rem;
  font-size: var(--fs-xs);
  color: #8f8b81;
}

.site-footer__reach .flag {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.site-footer__title {
  margin-bottom: 0.9rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: #ffffff;
}

.site-footer__links {
  display: grid;
  gap: 0.55rem;
}

.site-footer__legal {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #33363d;
  font-size: var(--fs-xs);
  color: #9d9a92;
}

.site-footer__legal p {
  max-width: 52rem;
}

@media (min-width: 48rem) {
  .site-footer__grid {
    grid-template-columns: 1.6fr repeat(3, 1fr);
  }
  .site-footer__legal {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

/* 7. Home ----------------------------------------------------------------- */

.hero {
  padding-block: clamp(3.5rem, 2rem + 5vw, 6.5rem) clamp(4rem, 3rem + 4vw, 6.5rem);
}

.hero__grid {
  display: grid;
  gap: clamp(3rem, 2rem + 4vw, 5rem);
  align-items: center;
}

.hero__copy .lead {
  max-width: 34rem;
  margin-top: 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2.25rem;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  max-width: 34rem;
  font-size: var(--fs-small);
  color: var(--ink-3);
}

@media (min-width: 72rem) {
  .hero__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}

/* Cena do hero: Outlook e Teams em uso.
   A tela é desenhada em 600 x 590 px e escalada pelo site.js para caber
   na coluna (variável --scene-scale). As cores seguem os temas claros
   atuais dos dois apps. Nada aqui é interativo: é ilustração. */

.hero {
  overflow-x: clip;
}

.scene {
  --ol-brand: #0f6cbd;
  --ol-select: #cfe4fa;
  --tm-brand: #5b5fc7;
  --tm-brand-dark: #444791;
  --tm-mine: #e8ebfa;
  --app-ink: #242424;
  --app-ink-2: #424242;
  --app-ink-3: #616161;
  --app-line: #e0e0e0;
  --app-bg: #f5f5f5;
  --pres-on: #6bb700;
  --pres-away: #ffaa44;
  --pres-busy: #c4314b;

  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 600 / 590;
  margin: 0;
}

.scene__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 600px;
  height: 590px;
  transform: scale(var(--scene-scale, 1));
  transform-origin: 0 0;
  font-family: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.35;
  color: var(--app-ink);
  --mx: 0;
  --my: 0;
}

.scene .ic {
  width: 16px;
  height: 16px;
  flex: none;
}

.scene p,
.scene h3 {
  margin: 0;
}

.scene b {
  font-weight: 600;
}

/* Camadas: profundidade para o movimento do mouse e flutuação suave. */
.win,
.job,
.toast {
  position: absolute;
  transform: translate3d(calc(var(--mx) * var(--d) * 1px), calc(var(--my) * var(--d) * 1px), 0);
  transition: transform 0.9s var(--ease);
}

.win {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 8px;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.06),
    0 28px 56px -18px rgba(22, 24, 29, 0.38);
}

.win--outlook {
  --d: 10;
  top: 30px;
  left: 0;
  width: 530px;
  height: 330px;
  animation: sceneIn 0.8s var(--ease) 0.1s both, floatA 9s ease-in-out 0.9s infinite;
}

.win--teams {
  --d: 18;
  top: 270px;
  left: 150px;
  width: 450px;
  height: 312px;
  animation: sceneIn 0.8s var(--ease) 0.35s both, floatB 7.5s ease-in-out 1.15s infinite;
}

@keyframes floatA {
  50% { translate: 0 -7px; }
}

@keyframes floatB {
  50% { translate: 0 -10px; }
}

@keyframes floatC {
  50% { translate: 0 -6px; }
}

/* Entrada da cena ao carregar (CSS puro, sem depender do script). */
@keyframes sceneIn {
  from { opacity: 0; scale: 0.965; }
}

/* Controles de janela do Windows. */
.winctl {
  display: flex;
  margin-left: 6px;
}

.winctl .ic {
  width: 30px;
  height: 14px;
  padding-inline: 8px;
  stroke-width: 1.2;
}

/* Avatares e presença. */
.av {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.av--sm {
  width: 22px;
  height: 22px;
  font-size: 9px;
}

.av--berry { background: #f7d9f4; color: #6d1c66; }
.av--blue  { background: #d0e7f8; color: #004377; }
.av--teal  { background: #cce3e6; color: #0f4c5c; }
.av--amber { background: #fef0cf; color: #835b00; }
.av--green { background: #d2edd0; color: #0b5a08; }
.av--red   { background: #f6d1d5; color: #750b1c; }

.pres {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 9px;
  height: 9px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  background: var(--pres-on);
  transition: background-color 0.3s;
}

.pres--away { background: var(--pres-away); }
.pres--busy { background: var(--pres-busy); }

/* ---- Outlook ---- */

.ol-top {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding-left: 12px;
  background: var(--ol-brand);
  color: #fff;
}

.ol-top__app {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 112px;
  font-size: 14px;
}

.ol-search {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 210px;
  height: 26px;
  padding-inline: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--app-ink-3);
}

.ol-search .ic {
  width: 14px;
  height: 14px;
  color: var(--ol-brand);
}

.ol-top__me {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-left: auto;
  border-radius: 50%;
  background: #cce3e6;
  color: #0f4c5c;
  font-size: 9.5px;
  font-weight: 600;
}

.ol-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 38px;
  padding-inline: 10px;
  border-bottom: 1px solid var(--app-line);
  color: var(--app-ink-2);
}

.ol-new {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 11px 0 9px;
  border-radius: 4px;
  background: var(--ol-brand);
  color: #fff;
  font-weight: 600;
}

.ol-new .ic {
  width: 14px;
  height: 14px;
}

.ol-bar__sep {
  width: 1px;
  height: 18px;
  margin-inline: 6px;
  background: var(--app-line);
}

.ol-tool {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 6px;
}

.ol-tool .ic {
  width: 15px;
  height: 15px;
  color: var(--ol-brand);
}

.ol-body {
  display: grid;
  grid-template-columns: 136px 188px minmax(0, 1fr);
  flex: 1;
  min-height: 0;
}

.ol-folders {
  padding: 10px 6px;
  background: #fafafa;
  border-right: 1px solid var(--app-line);
}

.ol-folders__title {
  padding: 0 6px 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--app-ink-3);
}

.ol-folder {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 27px;
  padding-inline: 6px;
  border-radius: 4px;
  font-size: 11px;
  white-space: nowrap;
  color: var(--app-ink);
}

.ol-folder__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ol-folder .ic {
  width: 14px;
  height: 14px;
  color: var(--app-ink-3);
}

.ol-folder.is-active {
  background: #e6f0fb;
  font-weight: 600;
}

.ol-folder.is-active .ic {
  color: var(--ol-brand);
}

.ol-count,
.ol-folder em {
  flex: none;
  margin-left: auto;
  font-style: normal;
  font-size: 11px;
}

.ol-count {
  color: var(--ol-brand);
  font-weight: 700;
}

.ol-folder em {
  color: var(--app-ink-3);
}

.ol-list {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-right: 1px solid var(--app-line);
}

.ol-tabs {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: 30px;
  padding-inline: 12px;
  border-bottom: 1px solid var(--app-line);
  color: var(--app-ink-3);
}

.ol-tabs span {
  padding-bottom: 6px;
}

.ol-tabs .is-active {
  box-shadow: inset 0 -2px 0 var(--ol-brand);
  color: var(--app-ink);
  font-weight: 600;
}

.ol-tabs .ic {
  width: 14px;
  height: 14px;
  margin: 0 0 7px auto;
}

.ol-mails {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.ol-mail {
  position: relative;
  max-height: 80px;
  padding: 7px 10px 8px 13px;
  border-bottom: 1px solid #f0f0f0;
  transition:
    max-height 0.55s var(--ease),
    padding 0.55s var(--ease),
    opacity 0.45s ease 0.1s,
    background-color 0.25s;
}

.ol-mail.is-new {
  max-height: 0;
  padding-block: 0;
  opacity: 0;
}

.ol-mail.is-unread::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--ol-brand);
}

.ol-mail.is-selected {
  background: var(--ol-select);
}

.ol-mail__top {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-size: 12.5px;
}

.ol-mail__top b {
  overflow: hidden;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ol-mail__top time {
  flex: none;
  font-size: 11px;
  color: var(--app-ink-3);
}

.ol-mail.is-unread .ol-mail__top b {
  font-weight: 600;
}

.ol-mail.is-unread .ol-mail__top time {
  color: var(--ol-brand);
  font-weight: 600;
}

.ol-mail__subject,
.ol-mail__preview {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ol-mail__subject {
  margin-top: 1px;
  font-size: 12px;
}

.ol-mail.is-unread .ol-mail__subject {
  color: var(--ol-brand);
  font-weight: 600;
}

.ol-mail__preview {
  font-size: 11.5px;
  color: var(--app-ink-3);
}

.ol-read {
  padding: 14px 14px 12px;
  overflow: hidden;
  transition: opacity 0.3s ease, translate 0.4s var(--ease);
}

.ol-read.is-swapping {
  opacity: 0;
  translate: 0 5px;
}

.ol-read__subject {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--app-ink);
}

.ol-read__from {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.ol-read__from p {
  display: grid;
  min-width: 0;
  font-size: 12px;
}

.ol-read__from p span {
  overflow: hidden;
  font-size: 11px;
  color: var(--app-ink-3);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ol-read__from time {
  margin-left: auto;
  align-self: flex-start;
  font-size: 11px;
  color: var(--app-ink-3);
}

.ol-read__body {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--app-ink-2);
}

.ol-attach[hidden] {
  display: none;
}

.ol-attach {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  margin-top: 10px;
  padding: 5px 9px 5px 5px;
  border: 1px solid var(--app-line);
  border-radius: 4px;
  font-size: 11px;
  white-space: nowrap;
}

.ol-attach__tile {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 3px;
  color: #fff;
}

.ol-attach__tile .ic {
  width: 13px;
  height: 13px;
}

.ol-attach__tile--pdf  { background: #c43e1c; }
.ol-attach__tile--xlsx { background: #107c41; }
.ol-attach__tile--docx { background: #185abd; }

.ol-read__actions {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.ol-read__actions span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid var(--app-line);
  border-radius: 4px;
  font-size: 11px;
}

.ol-read__actions .ic {
  width: 13px;
  height: 13px;
  color: var(--ol-brand);
}

/* ---- Teams ---- */

.tm-top {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding-left: 10px;
  background: #ebebeb;
  color: var(--app-ink-2);
}

.tm-nav {
  display: flex;
  gap: 4px;
  width: 104px;
  color: var(--app-ink-3);
}

.tm-nav .ic {
  width: 14px;
  height: 14px;
}

.tm-search {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 190px;
  height: 24px;
  padding-inline: 8px;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  background: #fff;
  color: var(--app-ink-3);
}

.tm-search .ic {
  width: 13px;
  height: 13px;
}

.tm-top .av {
  margin-left: auto;
}

.tm-body {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  flex: 1;
  min-height: 0;
}

.tm-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding-top: 4px;
  background: #ebebeb;
}

.tm-app {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 2px;
  width: 56px;
  padding-block: 6px;
  font-size: 9.5px;
  color: var(--app-ink-3);
}

.tm-app .ic {
  width: 19px;
  height: 19px;
}

.tm-app.is-active {
  color: var(--tm-brand);
  font-weight: 600;
}

.tm-app.is-active::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 3px;
  border-radius: 2px;
  background: var(--tm-brand);
}

.tm-badge {
  position: absolute;
  top: 3px;
  right: 11px;
  min-width: 15px;
  height: 15px;
  padding-inline: 4px;
  border-radius: 8px;
  background: var(--pres-busy);
  color: #fff;
  font-size: 9.5px;
  line-height: 15px;
  text-align: center;
}

.tm-main {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--app-bg);
  border-top-left-radius: 8px;
  box-shadow: -1px -1px 0 var(--app-line);
}

.tm-head {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding-inline: 14px;
  background: #fff;
  border-bottom: 1px solid var(--app-line);
  border-top-left-radius: 8px;
}

.tm-group {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--tm-mine);
  color: var(--tm-brand-dark);
  font-size: 10px;
  font-weight: 700;
}

.tm-head__name {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.tm-tab {
  padding-block: 13px 11px;
  font-size: 12px;
  color: var(--app-ink-3);
}

.tm-tab.is-active {
  box-shadow: inset 0 -2px 0 var(--tm-brand);
  color: var(--app-ink);
  font-weight: 600;
}

.tm-meet {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  height: 26px;
  padding: 0 10px 0 8px;
  border-radius: 4px;
  background: var(--tm-brand);
  color: #fff;
  font-weight: 600;
}

.tm-meet .ic {
  width: 15px;
  height: 15px;
}

.tm-feed {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
  padding: 0 16px 2px;
  overflow: hidden;
}

.tm-msg {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.5s var(--ease),
    opacity 0.4s ease 0.08s;
}

.tm-msg.is-in {
  grid-template-rows: 1fr;
  opacity: 1;
}

.tm-msg__in {
  min-height: 0;
  overflow: hidden;
}

.tm-msg__row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-top: 10px;
}

.tm-msg--me .tm-msg__row {
  justify-content: flex-end;
}

.tm-bubble {
  position: relative;
  max-width: 275px;
  padding: 6px 10px 7px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  font-size: 12.5px;
}

.tm-msg--me .tm-bubble {
  background: var(--tm-mine);
  box-shadow: none;
}

.tm-bubble__meta {
  display: flex;
  gap: 8px;
  margin-bottom: 1px;
  font-size: 11px;
  color: var(--app-ink-3);
}

.tm-bubble__meta b {
  color: var(--app-ink);
}

.tm-msg--me .tm-bubble__meta {
  justify-content: flex-end;
}

.tm-react {
  position: absolute;
  top: -9px;
  right: 8px;
  padding: 0 6px;
  border: 1px solid var(--app-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  font-size: 10.5px;
  line-height: 17px;
  animation: pop 0.45s var(--ease) both;
}

@keyframes pop {
  from { scale: 0.4; opacity: 0; }
  60% { scale: 1.12; opacity: 1; }
}

.tm-typing {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 18px;
  padding-inline: 16px;
  font-size: 10.5px;
  color: var(--app-ink-3);
  opacity: 0;
  transition: opacity 0.3s;
}

.tm-typing.is-on {
  opacity: 1;
}

.tm-typing__dots {
  display: inline-flex;
  gap: 2px;
}

.tm-typing__dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--tm-brand);
  animation: typing 1.2s ease-in-out infinite;
}

.tm-typing__dots i:nth-child(2) { animation-delay: 0.15s; }
.tm-typing__dots i:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing {
  0%, 60%, 100% { translate: 0 0; opacity: 0.45; }
  30% { translate: 0 -3px; opacity: 1; }
}

.tm-compose {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  margin: 0 16px 12px;
  padding-inline: 10px;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  background: #fff;
  box-shadow: inset 0 -1px 0 transparent;
  transition: box-shadow 0.25s;
}

.tm-compose.is-focus {
  box-shadow: inset 0 -2px 0 var(--tm-brand);
}

.tm-compose__text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  white-space: nowrap;
}

.tm-compose__ph {
  color: var(--app-ink-3);
}

.tm-compose__caret {
  display: inline-block;
  width: 1px;
  height: 14px;
  margin-left: 1px;
  vertical-align: -3px;
  background: var(--app-ink);
  animation: caret 1s steps(1) infinite;
}

@keyframes caret {
  50% { opacity: 0; }
}

.tm-compose__tools {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--app-ink-3);
}

.tm-send {
  display: grid;
  place-items: center;
  transition: color 0.2s;
}

.tm-send.is-ready {
  color: var(--tm-brand);
}

/* ---- Cartão de migração ---- */

.job {
  --d: 26;
  top: 452px;
  left: 0;
  width: 214px;
  padding: 12px 14px 13px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: #fff;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.05),
    0 20px 40px -16px rgba(22, 24, 29, 0.35);
  animation: sceneIn 0.8s var(--ease) 0.6s both, floatC 6s ease-in-out 1.4s infinite;
}

.job__kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
}

.job__kicker .ic {
  width: 14px;
  height: 14px;
}

.job__spin {
  animation: spin 1.4s linear infinite;
}

.job__ok {
  display: none;
  color: var(--ok);
}

.job.is-done .job__spin { display: none; }
.job.is-done .job__ok { display: block; animation: pop 0.45s var(--ease) both; }
.job.is-done .job__kicker { color: var(--ok); }

@keyframes spin {
  to { rotate: 360deg; }
}

.job__count {
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink-3);
}

.job__n {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.job__bar {
  display: block;
  height: 4px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--paper-alt);
}

.job__fill {
  display: block;
  width: var(--p, 100%);
  height: 100%;
  background: var(--accent);
  transition: width 0.4s linear, background-color 0.3s;
}

.job.is-done .job__fill {
  background: var(--ok);
}

.job__note {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-3);
}

/* ---- Notificação do Windows ---- */

.toast {
  --d: 14;
  top: 0;
  right: 0;
  width: 266px;
  padding: 10px 12px 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: rgba(249, 249, 249, 0.97);
  box-shadow: 0 16px 32px -10px rgba(22, 24, 29, 0.35);
  opacity: 0;
  translate: 36px 0;
  transition:
    opacity 0.35s ease,
    translate 0.55s var(--ease),
    transform 0.9s var(--ease);
}

.toast.is-on {
  opacity: 1;
  translate: 0 0;
}

.toast__app {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--app-ink-3);
}

.toast__app time {
  margin-left: auto;
}

.toast__tile {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 3px;
  background: var(--ol-brand);
  color: #fff;
}

.toast.is-teams .toast__tile {
  background: var(--tm-brand);
}

.toast__tile .ic {
  width: 11px;
  height: 11px;
  stroke-width: 1.8;
}

.toast__body {
  display: flex;
  gap: 9px;
  margin-top: 8px;
}

.toast__body p {
  display: grid;
  min-width: 0;
  font-size: 12px;
}

.toast__subject {
  overflow: hidden;
  color: var(--app-ink-2);
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---- Cursor ---- */

.cursor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  width: 15px;
  opacity: 0;
  transform: translate(var(--cx, 420px), var(--cy, 300px));
  transition:
    transform 0.95s cubic-bezier(0.35, 0.1, 0.2, 1),
    opacity 0.3s;
  pointer-events: none;
}

.cursor.is-on {
  opacity: 1;
}

.cursor svg {
  display: block;
  width: 15px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
  transition: scale 0.12s;
}

.cursor::after {
  content: "";
  position: absolute;
  top: -9px;
  left: -9px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--ol-brand);
  opacity: 0;
}

.cursor.is-click svg {
  scale: 0.82;
}

.cursor.is-click::after {
  animation: ripple 0.5s ease-out;
}

@keyframes ripple {
  from { opacity: 0.7; scale: 0.3; }
  to { opacity: 0; scale: 1.6; }
}

/* Cena parada fora da tela, e sem movimento quando o sistema pede. */
.scene.is-paused *,
.scene.is-paused {
  animation-play-state: paused !important;
}

@media (prefers-reduced-motion: reduce) {
  .win,
  .job,
  .hero__copy > * {
    animation: none !important;
  }
}

/* Faixa de produtos em movimento */

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--rule);
  background: var(--surface);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 48s linear infinite;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

.ticker ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticker li {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 1rem 2.5rem 1rem 0;
  font-size: var(--fs-small);
  color: var(--ink-2);
  white-space: nowrap;
}

.ticker li::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
}

@keyframes ticker {
  to { translate: -50% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track {
    animation: none !important;
    flex-wrap: wrap;
    width: auto;
  }
  .ticker ul:last-child {
    display: none;
  }
}

/* Diagnóstico: texto e relatório lado a lado */

.dx {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  margin-top: clamp(3.5rem, 3rem + 2vw, 5rem);
}

.dx__title {
  margin-bottom: 1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}

.dx__copy p + p {
  margin-top: 0.9rem;
}

.dx .report {
  width: 100%;
  max-width: 36rem;
  justify-self: center;
}

@media (min-width: 56rem) {
  .dx {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(3rem, 2rem + 4vw, 6rem);
  }
}

/* Entradas ao rolar a página (só com JavaScript e sem "reduzir movimento") */

.motion .rv {
  opacity: 0;
  translate: 0 26px;
  transition:
    opacity 0.8s var(--ease) var(--rv-delay, 0s),
    translate 0.9s var(--ease) var(--rv-delay, 0s);
}

.motion .rv.is-in {
  opacity: 1;
  translate: 0 0;
}

.motion .steps-row li.rv {
  position: relative;
}

.motion .steps-row li.rv::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease) calc(var(--rv-delay, 0s) + 0.25s);
}

.motion .steps-row li.rv.is-in::after {
  transform: scaleX(1);
}

.motion .report.rv .report__row {
  opacity: 0;
  translate: -10px 0;
  transition:
    opacity 0.5s var(--ease),
    translate 0.6s var(--ease);
}

.motion .report.rv.is-in .report__row {
  opacity: 1;
  translate: 0 0;
}

.motion .report.rv .status {
  scale: 0.6;
  opacity: 0;
  transition: scale 0.45s var(--ease), opacity 0.3s;
}

.motion .report.rv.is-in .status {
  scale: 1;
  opacity: 1;
}

.report__row:nth-child(1), .report__row:nth-child(1) .status { transition-delay: 0.35s; }
.report__row:nth-child(2), .report__row:nth-child(2) .status { transition-delay: 0.5s; }
.report__row:nth-child(3), .report__row:nth-child(3) .status { transition-delay: 0.65s; }
.report__row:nth-child(4), .report__row:nth-child(4) .status { transition-delay: 0.8s; }
.report__row:nth-child(5), .report__row:nth-child(5) .status { transition-delay: 0.95s; }

.hero__copy > * {
  animation: rise 0.9s var(--ease) both;
}

.hero__copy > :nth-child(2) { animation-delay: 0.08s; }
.hero__copy > :nth-child(3) { animation-delay: 0.16s; }
.hero__copy > :nth-child(4) { animation-delay: 0.24s; }

@keyframes rise {
  from { opacity: 0; translate: 0 18px; }
}

/* Linhas de serviço: um pouco de vida no passar do mouse. */
.service {
  transition: background-color 0.3s;
}

.service__number {
  transition: color 0.3s;
}

@media (hover: hover) {
  .service:hover .service__number {
    color: var(--accent);
  }
}

/* Folha de relatório: exemplo do que o diagnóstico entrega. */
.report {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow:
    0.65rem 0.65rem 0 -1px var(--paper-alt),
    0.65rem 0.65rem 0 0 var(--rule),
    0 30px 60px -40px rgba(22, 24, 29, 0.45);
  font-size: var(--fs-small);
}


.report__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem 1.2rem;
  border-bottom: 1px solid var(--rule);
}

.report__kicker {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--accent);
}

.report__title {
  margin-top: 0.2rem;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--ink);
}

.report__domain {
  margin-top: 0.3rem;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--ink-3);
}

.report__tag {
  flex: none;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--ink-3);
}

.report__rows {
  padding: 0.35rem 1.5rem;
}

.report__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.25rem 1rem;
  padding-block: 0.85rem;
  border-bottom: 1px dashed var(--rule);
}

.report__row:last-child {
  border-bottom: 0;
}

.report__row dt {
  font-weight: 600;
  color: var(--ink);
}

.report__row dd {
  grid-column: 1;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--ink-3);
  overflow-wrap: anywhere;
}

.report__row .status {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}

.report__foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem 1.2rem;
  border-top: 1px solid var(--rule);
  background: var(--paper);
  font-size: var(--fs-xs);
  color: var(--ink-3);
}

.report__foot strong {
  color: var(--ink);
}

/* Serviços em lista numerada */

.services-group + .services-group {
  margin-top: 0.5rem;
}

.services-group__label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-top: 2rem;
  padding-bottom: 0.25rem;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.services-group:first-child .services-group__label {
  padding-top: 0;
}

.services-group__label::before {
  content: "";
  display: block;
  width: 1rem;
  height: 2px;
  background: var(--accent);
  flex: none;
}

.services-group + .services-group .services {
  border-top: none;
}

.services {
  border-top: 1px solid var(--ink);
}

.service {
  display: grid;
  gap: 0.75rem 2rem;
  padding-block: 2rem;
  border-bottom: 1px solid var(--rule);
}

.service__number {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--ink-3);
  padding-top: 0.45rem;
}

.service__title {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 1.25rem + 0.7vw, 1.85rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.service__title a {
  text-decoration: none;
}

.service__title a:hover {
  color: var(--accent);
}

.service__text p {
  max-width: 34rem;
}

.service__text .link-arrow {
  margin-top: 1rem;
}

@media (min-width: 48rem) {
  .service {
    grid-template-columns: 3rem minmax(0, 1fr) minmax(0, 1.15fr);
  }
}

.stack {
  display: grid;
  gap: 2rem;
  margin-top: 3.5rem;
}

.stack__title {
  margin-bottom: 0.6rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink);
}

.stack__items {
  font-size: var(--fs-small);
  color: var(--ink-3);
}

@media (min-width: 48rem) {
  .stack {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Processo e compromissos */

.steps-row {
  display: grid;
  gap: 2.5rem;
  counter-reset: step;
}

.steps-row li {
  counter-increment: step;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink);
}

.steps-row li::before {
  content: "Etapa " counter(step);
  display: block;
  margin-bottom: 0.75rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--accent);
}

.steps-row h3 {
  margin-bottom: 0.6rem;
}

@media (min-width: 48rem) {
  .steps-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.promises {
  display: grid;
  margin-top: clamp(3.5rem, 3rem + 2vw, 5rem);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
}

.promise {
  padding: 1.5rem;
  border-bottom: 1px solid var(--rule);
}

.promise:last-child {
  border-bottom: 0;
}

.promise dt {
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.1;
  color: var(--ink);
}

.promise dd {
  margin-top: 0.5rem;
  font-size: var(--fs-small);
  color: var(--ink-3);
}

@media (min-width: 48rem) {
  .promises {
    grid-template-columns: repeat(2, 1fr);
  }
  .promise:nth-child(odd) {
    border-right: 1px solid var(--rule);
  }
  .promise:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (min-width: 72rem) {
  .promises {
    grid-template-columns: repeat(4, 1fr);
  }
  .promise {
    border-bottom: 0;
    border-right: 1px solid var(--rule);
  }
  .promise:last-child {
    border-right: 0;
  }
}

.independence {
  max-width: 46rem;
  margin-top: 2rem;
  font-size: var(--fs-small);
  color: var(--ink-3);
}

@media (min-width: 48rem) {
  .promises--3 {
    grid-template-columns: 1fr;
  }
  .promises--3 .promise {
    border-right: 0;
  }
}

@media (min-width: 72rem) {
  .promises--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Atendimento remoto: Brasil e Portugal */

.reach {
  display: grid;
  gap: 2.5rem;
}

.reach__flags {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink);
}

.reach__flags .flag {
  width: 2.25rem;
}

.reach__list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.reach__list li {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.75rem;
}

.reach__list li::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.55rem;
  border: 2px solid var(--accent);
  border-radius: 50%;
}

@media (min-width: 60rem) {
  .reach {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 5rem;
    align-items: start;
  }
}

/* Preços */

.plans {
  display: grid;
  border-top: 1px solid var(--ink);
}

.plan {
  display: flex;
  flex-direction: column;
  padding-block: 2rem;
  border-bottom: 1px solid var(--rule);
}

.plan__name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.2;
}

.plan__summary {
  margin-top: 0.5rem;
  color: var(--ink-3);
}

.plan__price {
  margin-top: 1.5rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-3);
}

.plan__value {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
}

.plan__note {
  margin-top: 0.5rem;
  font-size: var(--fs-xs);
  color: var(--ink-3);
}

.plan__features {
  display: grid;
  gap: 0.65rem;
  margin-block: 1.5rem 2rem;
  font-size: var(--fs-small);
}

.plan__features li {
  position: relative;
  padding-left: 1.4rem;
}

.plan__features li::before {
  content: "";
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 0.7rem;
  height: 0.4rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.plan .button {
  margin-top: auto;
  align-self: flex-start;
}

.plan--featured .plan__name::after {
  content: "Comece por aqui";
  display: inline-block;
  margin-left: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-tint);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  vertical-align: middle;
}

@media (min-width: 60rem) {
  .plans {
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--rule);
  }
  .plan {
    padding: 2rem 2rem 2.25rem;
    border-bottom: 0;
    border-right: 1px solid var(--rule);
  }
  .plan:first-child {
    padding-left: 0;
  }
  .plan:last-child {
    padding-right: 0;
    border-right: 0;
  }
}

/* Blog em destaque */

.posts {
  display: grid;
  border-top: 1px solid var(--ink);
}

.post {
  display: grid;
  gap: 0.5rem;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--rule);
}

.post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.75rem;
  font-size: var(--fs-xs);
  color: var(--ink-3);
}

@media (min-width: 60rem) {
  .post__meta {
    flex-direction: column;
  }
}

.post__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.25;
}

.post__title a {
  text-decoration: none;
}

.post__title a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.post__excerpt {
  max-width: 40rem;
  font-size: var(--fs-small);
}

@media (min-width: 60rem) {
  .post {
    grid-template-columns: 12rem minmax(0, 1fr);
    gap: 0.5rem 3rem;
  }
  .post__meta {
    grid-row: span 2;
    padding-top: 0.4rem;
  }
}

/* Perguntas frequentes */

.faq {
  border-top: 1px solid var(--ink);
}

.faq details {
  border-bottom: 1px solid var(--rule);
}

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  width: 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 0.9;
  text-align: center;
  color: var(--accent);
}

.faq details[open] summary::after {
  content: "−";
}

.faq summary:hover {
  color: var(--accent);
}

.faq details > :not(summary) {
  max-width: 44rem;
  padding-bottom: 1.5rem;
}

/* Contato */

.contact {
  display: grid;
  gap: 3rem;
}

.contact__lead {
  margin-top: 1.25rem;
}

.contact__steps {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  counter-reset: contact;
}

.contact__steps li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.75rem;
  counter-increment: contact;
}

.contact__steps li::before {
  content: counter(contact);
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink);
}

.contact__direct {
  display: grid;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-size: var(--fs-small);
}

.contact__direct p {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
}

.contact__card {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

@media (min-width: 60rem) {
  .contact {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 5rem;
    align-items: start;
  }
}

/* 8. Páginas internas ------------------------------------------------------ */

.page-header {
  padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(3rem, 2.5rem + 3vw, 5rem);
  border-bottom: 1px solid var(--rule);
}

.breadcrumb ol {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 2rem;
  font-size: var(--fs-xs);
  color: var(--ink-3);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.35rem;
  color: var(--rule-strong);
}

.breadcrumb a {
  color: var(--ink-3);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.page-header h1 {
  max-width: 22ch;
}

.page-header .lead {
  max-width: 42rem;
  margin-top: 1.5rem;
}

.page-header__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2.25rem;
}

.page-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin-top: 1.75rem;
  font-size: var(--fs-small);
  color: var(--ink-3);
}

.page-header__meta span + span::before {
  content: "·";
  margin-right: 1.25rem;
}

/* Lista de sinais / checklist */

.checklist {
  display: grid;
  border-top: 1px solid var(--ink);
}

.checklist li {
  position: relative;
  padding: 1.1rem 0 1.1rem 2rem;
  border-bottom: 1px solid var(--rule);
}

.checklist li::before {
  content: "";
  position: absolute;
  top: 1.65rem;
  left: 0.2rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--accent);
}

.checklist b {
  display: block;
}

/* Etapas numeradas */

.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
  border-top: 1px solid var(--ink);
}

.steps li {
  display: grid;
  gap: 0.35rem 2rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--rule);
}

.steps h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 400;
}

@media (min-width: 48rem) {
  .steps li {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
}

/* Itens de escopo em grade */

.features {
  display: grid;
  gap: 0 2.5rem;
}

.features li {
  padding-block: 1.5rem;
  border-top: 1px solid var(--rule);
}

.features h3 {
  margin-bottom: 0.5rem;
}

.features p {
  font-size: var(--fs-small);
}

@media (min-width: 48rem) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 72rem) {
  .features--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Leitura relacionada */

.related {
  display: grid;
  border-top: 1px solid var(--ink);
}

.related a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--rule);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.related a::after {
  content: "→";
  color: var(--accent);
}

.related a:hover {
  color: var(--accent);
}

/* Chamada final comum às páginas internas */

.cta-band {
  padding-block: clamp(4rem, 3rem + 4vw, 6.5rem);
  background: var(--accent-strong);
  color: #d7e3e2;
}

.cta-band__inner {
  display: grid;
  gap: 2rem;
  align-items: end;
}

.cta-band h2 {
  max-width: 20ch;
  color: #ffffff;
}

.cta-band p {
  max-width: 36rem;
  margin-top: 1rem;
}

.cta-band .button {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.cta-band .button:hover {
  background: #ffffff;
  border-color: #ffffff;
}

@media (min-width: 60rem) {
  .cta-band__inner {
    grid-template-columns: 1fr auto;
  }
}

/* Texto longo (artigos e política de privacidade) */

.prose {
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.75;
}

.prose > * + * {
  margin-top: 1.25em;
}

.prose h2 {
  margin-top: 2.5em;
  font-size: clamp(1.6rem, 1.35rem + 1vw, 2.1rem);
}

.prose h3 {
  margin-top: 2em;
}

.prose h2 + *,
.prose h3 + * {
  margin-top: 0.75em;
}

.prose ul,
.prose ol {
  padding-left: 1.3rem;
}

.prose li + li {
  margin-top: 0.5em;
}

.prose li::marker {
  color: var(--accent);
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.prose blockquote {
  padding-left: 1.25rem;
  border-left: 3px solid var(--accent);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--ink);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
}

.prose table {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
  font-size: var(--fs-small);
  line-height: 1.5;
}

.prose th,
.prose td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}

.prose thead th {
  background: var(--paper);
  font-weight: 600;
  color: var(--ink);
}

.prose td code {
  white-space: nowrap;
  overflow-wrap: normal;
}

.prose tbody tr:last-child td {
  border-bottom: 0;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
}

@media (min-width: 60rem) {
  .article-layout {
    grid-template-columns: 14rem minmax(0, 1fr);
    gap: 3rem;
  }
}

.article-aside {
  font-size: var(--fs-small);
  color: var(--ink-3);
}

.article-aside__box {
  padding-top: 1rem;
  border-top: 2px solid var(--accent);
}

.article-aside__box p + p {
  margin-top: 0.4rem;
}

@media (min-width: 60rem) {
  .article-aside__box {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

.post-index {
  border-top: 1px solid var(--ink);
}

.legal-updated {
  margin-top: 1rem;
  font-size: var(--fs-small);
  color: var(--ink-3);
}

/* 9. Utilitários e impressão ---------------------------------------------- */

.mt-lg {
  margin-top: 3rem;
}

@media print {
  .notice,
  .site-header,
  .site-footer,
  .cta-band,
  .contact__card,
  .floating-cta {
    display: none !important;
  }
  body {
    background: #ffffff;
    color: #000000;
  }
}
