/* ==========================================================================
   LMglass — camada de movimento e microinterações
   Princípios:
   • anima só transform/opacity (sem layout → sem CLS);
   • todo movimento fica dentro de @media (prefers-reduced-motion: no-preference);
     com "reduzir movimento" o conteúdo aparece direto, sem hover animado nem paralaxe;
   • sem JS o conteúdo continua 100% visível (estados ocultos só com html.js-ready);
   • animações com fill-mode "backwards": não prendem estilos depois de terminar.
   ========================================================================== */

@property --py { syntax: "<length>"; inherits: false; initial-value: 0px; }

:root {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --teal-strong: #0b7f86; /* teal escuro: texto branco sobre ele passa em AA */
}

/* ---------- barra de progresso de leitura (estado, não animação) ---------- */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--green));
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  pointer-events: none;
}

/* ---------- cabeçalho: fixo e sempre visível ---------- */
.site-header { transition: top 0.2s ease; }

/* indicador deslizante (desktop) */
.nav__indicator { display: none; }
@media (min-width: 960px) {
  .nav__menu { position: relative; }
  .nav__indicator {
    display: block;
    position: absolute;
    left: 0;
    bottom: 10px;
    width: var(--w, 0px);
    height: 2px;
    border-radius: 2px;
    background: var(--teal);
    transform: translateX(var(--x, 0px));
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease-out), width 0.4s var(--ease-out), opacity 0.2s ease;
  }
  .nav__indicator.is-on { opacity: 1; }
  .nav__list a:hover,
  .nav__list a[aria-current="true"] { text-decoration: none; }
  .nav__list a { transition: opacity 0.2s ease; }
}

/* ---------- botões: seta desliza, brilho passa, afundar ao clicar ---------- */
.btn span[aria-hidden="true"] { display: inline-block; }
.btn--whatsapp { position: relative; overflow: hidden; isolation: isolate; }
.btn--whatsapp::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
  transform: translateX(-120%);
}
.nav__cta { transition: background-color 0.2s ease, transform 0.2s var(--ease-out); }

/* ---------- vidro: brilho, flutuação e paralaxe ---------- */
.glass { overflow: hidden; }
.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.55) 50%, transparent 60%);
  transform: translateX(-130%);
}
/* luz que acompanha o mouse no tile do logo (hero) */
.glass--logo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 30%) var(--my, 15%), rgba(255, 255, 255, 0.55), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.hero.is-pointing .glass--logo::before { opacity: 1; }
.glass--logo img { z-index: 1; }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 70;
  max-width: min(92vw, 420px);
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  box-shadow: 0 16px 32px -12px rgba(35, 44, 56, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 0.25s ease, transform 0.35s var(--ease-out), visibility 0s linear 0.35s, bottom 0.3s var(--ease-out);
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
body.has-tray .toast { bottom: calc(96px + env(safe-area-inset-bottom)); }

/* ---------- botão flutuante de WhatsApp ---------- */
.fab {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 45;
  display: inline-flex;
  align-items: center;
  height: 56px;
  min-width: 56px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--green);
  color: var(--green-ink);
  text-decoration: none;
  box-shadow: 0 14px 28px -10px rgba(6, 41, 17, 0.55), 0 2px 6px rgba(6, 41, 17, 0.25);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.3s ease, transform 0.4s var(--ease-spring), visibility 0s linear 0.4s, background-color 0.2s ease;
}
.fab.is-shown { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
.fab:hover { background: #2fc062; }
.fab svg { flex: none; }
.fab__label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 15px;
  opacity: 0;
  transition: max-width 0.45s var(--ease-out), opacity 0.25s ease, margin 0.45s var(--ease-out);
}
.fab:hover .fab__label,
.fab:focus-visible .fab__label { max-width: 200px; margin-left: 10px; opacity: 1; }
.fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--green);
  opacity: 0;
  pointer-events: none;
}

/* ---------- bandeja do orçamento ---------- */
.tray {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(calc(100% - 24px), 640px);
  padding: 12px 12px 12px 20px;
  border-radius: 16px;
  background: var(--ink); /* mais escuro que o card "Empresa" (slate) para não se misturar */
  color: #fff;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 24px);
  transition: opacity 0.25s ease, transform 0.45s var(--ease-out), visibility 0s linear 0.45s;
}
.tray.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.tray__info { flex: 1; min-width: 0; }
.tray__count { font-family: var(--f-display); font-size: 15px; line-height: 22px; }
.tray__count strong { font-variant-numeric: tabular-nums; }
.tray__items {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  line-height: 18px;
  color: #c3ccd3;
}
.tray__clear {
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #d9d9d9;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.tray__clear:hover { color: #fff; }
.tray .tray__cta { min-height: 46px; padding: 10px 18px; font-size: 15px; white-space: nowrap; }
body.has-tray { padding-bottom: 88px; }
@media (max-width: 520px) {
  .tray__items { display: none; }
  .tray { gap: 8px; padding-left: 14px; }
  .tray .tray__cta { padding-inline: 14px; }
  .tray__clear { padding-inline: 6px; }
}

/* ---------- busca: limpar (×) e atalho "/" ---------- */
.search { position: relative; }
.search__input { padding-right: 44px; }
.search__hint {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  min-width: 22px;
  padding: 1px 6px;
  border: 1px solid var(--card-border);
  border-radius: 5px;
  background: #f4f6f7;
  font-family: var(--f-mono);
  font-size: 12px;
  line-height: 18px;
  color: var(--muted);
  text-align: center;
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) { .search__hint { display: block; } }
.search__input:focus ~ .search__hint,
.search.has-value .search__hint { display: none; }
.search__clear {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #eef1f3;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.search__clear[hidden] { display: none; }
.search__clear:hover { background: var(--ink); color: #fff; }
.search__input::-webkit-search-cancel-button { display: none; }

/* ---------- peças: botão de orçamento, esqueleto de carregamento ---------- */
.product { position: relative; overflow: hidden; }
.product__add {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--card-border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(35, 44, 56, 0.12);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.3s var(--ease-spring);
}
.product__add:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.product__add[aria-pressed="true"] { background: var(--teal-strong); border-color: var(--teal-strong); color: #fff; }
.product.is-selected { border-color: var(--teal-strong); box-shadow: 0 0 0 1px var(--teal-strong), 0 14px 28px -18px rgba(35, 44, 56, 0.5); }

.is-loading {
  color: transparent; /* esconde o alt enquanto carrega */
  background: linear-gradient(100deg, #eef1f3 30%, #f8fafb 50%, #eef1f3 70%) 0 0 / 220% 100%;
}
.contact__map img.is-loading,
.person img.is-loading { background-color: #d5dbe0; }

/* ---------- copiar contato ---------- */
.contact__list dd.has-copy { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.copy {
  flex: none;
  min-height: 30px;
  padding: 3px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.copy:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.copy.is-done { background: var(--teal-strong); border-color: var(--teal-strong); color: #fff; }

/* ---------- mapa ---------- */
.contact__map { position: relative; }
.contact__map-chip {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.4);
}

/* ---------- formulário: foco, estados do botão ---------- */
.field input,
.field select,
.field textarea { transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { border-color: var(--teal-strong); box-shadow: 0 0 0 3px rgba(25, 174, 181, 0.25); outline: none; }
.field:focus-within label { color: var(--teal-strong); }
.field label { transition: color 0.2s ease; }
.form__submit[data-state="loading"],
.form__submit[data-state="done"] { pointer-events: none; }
.form__submit[data-state="done"] { background: #1fa856; color: #fff; }
.spinner {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  border: 2px solid rgba(6, 41, 17, 0.3);
  border-top-color: var(--green-ink);
  border-radius: 50%;
}
.form__submit { gap: 0; }

/* ---------- rodapé ---------- */
.site-footer__top {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e3e9ec;
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 1px solid rgba(227, 233, 236, 0.4);
}
.site-footer__top:hover { color: #fff; border-color: #fff; }

/* ==========================================================================
   MOVIMENTO — somente quando o usuário não pediu para reduzir
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {

  /* ----- keyframes ----- */
  @keyframes rise { from { opacity: 0; transform: translateY(22px); } }
  @keyframes nav-in { from { opacity: 0; transform: translateY(-28px); } }
  @keyframes line-up { from { transform: translateY(108%); } }
  @keyframes accent-in { from { color: var(--ink); } }
  @keyframes dot-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.7); } }
  @keyframes reveal-up { from { opacity: 0; transform: translateY(30px); } }
  @keyframes reveal-left { from { opacity: 0; transform: translateX(-36px); } }
  @keyframes reveal-right { from { opacity: 0; transform: translateX(60px); } }
  @keyframes reveal-scale { from { opacity: 0; transform: translateY(18px) scale(0.94); } }
  @keyframes reveal-fade { from { opacity: 0; } }
  @keyframes reveal-clip { from { opacity: 0; clip-path: inset(0 0 100% 0 round 15px); } to { clip-path: inset(0 0 0 0 round 15px); } }
  @keyframes img-settle { from { scale: 1.18; } }
  @keyframes glass-in { from { opacity: 0; scale: 0.9; } }
  /* flutuar: percurso orgânico (sobe, desliza, desce) e volta ao ponto de partida; amplitude por tile via --fx/--fy/--fr */
  @keyframes glass-float {
    0%, 100% { translate: 0 var(--py, 0px); rotate: 0deg; }
    25%  { translate: calc(var(--fx, 7) * 1px * var(--fs, 1)) calc(var(--py, 0px) + var(--fy, 16) * -1px); rotate: calc(var(--fr, 1.8) * 1deg); }
    50%  { translate: calc(var(--fx, 7) * -0.6px * var(--fs, 1)) calc(var(--py, 0px) + var(--fy, 16) * -0.35px); rotate: calc(var(--fr, 1.8) * -0.6deg); }
    75%  { translate: calc(var(--fx, 7) * -1px * var(--fs, 1)) calc(var(--py, 0px) + var(--fy, 16) * 0.7px); rotate: calc(var(--fr, 1.8) * -1deg); }
  }
  /* paralaxe do vidro: anima --py (registrada em @property), que o flutuar soma ao próprio percurso */
  @keyframes glass-py {
    from { --py: calc(var(--par, 40) * -1px * var(--dir, 1)); }
    to   { --py: calc(var(--par, 40) * 1px * var(--dir, 1)); }
  }
  @keyframes sheen { 0% { transform: translateX(-130%); } 14% { transform: translateX(130%); } 100% { transform: translateX(130%); } }
  @keyframes shimmer { to { background-position: -220% 0; } }
  @keyframes img-in { from { opacity: 0; } }
  @keyframes check-pop { 0% { transform: scale(0); } 70% { transform: scale(1.3); } 100% { transform: scale(1); } }
  @keyframes ring { 0% { opacity: 0.7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.6); } }
  @keyframes spin { to { transform: rotate(360deg); } }
  @keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.25); } 100% { transform: scale(1); } }
  @keyframes glass-par {
    from { translate: 0 calc(var(--par, 40) * -1px * var(--dir, 1)); }
    to   { translate: 0 calc(var(--par, 40) * 1px * var(--dir, 1)); }
  }

  /* ----- entrada do hero (só CSS: não espera o JS) ----- */
  .js .site-header { animation: nav-in 0.9s var(--ease-out) 0.1s backwards; }
  .js .eyebrow { animation: rise 0.8s var(--ease-out) 0.25s backwards; }
  .js .hero__line { display: block; overflow: hidden; padding: 0.08em 0 0.12em; margin: -0.08em 0 -0.12em; }
  .js .hero__line-inner { display: block; animation: line-up 1.1s var(--ease-out) calc(0.35s + var(--l, 0) * 0.14s) backwards; }
  .js .hero__title .accent { animation: accent-in 1.2s ease 1s backwards; }
  .js .hero__lead { animation: rise 0.9s var(--ease-out) 0.75s backwards; }
  .js .hero__stats { animation: rise 0.9s var(--ease-out) 0.9s backwards; }
  .js .hero__actions .btn:nth-child(1) { animation: rise 0.9s var(--ease-out) 1.05s backwards; }
  .js .hero__actions .btn:nth-child(2) { animation: rise 0.9s var(--ease-out) 1.18s backwards; }
  .eyebrow__dot { animation: dot-pulse 2.2s ease-in-out infinite; }

  /* ----- revelar ao rolar ----- */
  html.js-ready [data-reveal]:not([data-reveal="none"]):not(.is-in) { opacity: 0; }
  html.js-ready [data-reveal].is-in { animation: reveal-up 0.9s var(--ease-out) var(--d, 0ms) backwards; }
  html.js-ready [data-reveal="left"].is-in { animation-name: reveal-left; }
  html.js-ready [data-reveal="right"].is-in { animation-name: reveal-right; animation-duration: 1.1s; }
  html.js-ready [data-reveal="scale"].is-in { animation-name: reveal-scale; animation-duration: 0.8s; }
  html.js-ready [data-reveal="fade"].is-in { animation-name: reveal-fade; }
  html.js-ready [data-reveal="clip"].is-in { animation-name: reveal-clip; animation-duration: 1.1s; animation-timing-function: var(--ease-in-out); }
  html.js-ready [data-reveal="none"].is-in { animation: none; }

  /* realce da palavra-chave: tinta -> teal quando o título aparece */
  html.js-ready h2[data-reveal] .accent { transition: color 0.9s ease 0.45s; }
  html.js-ready h2[data-reveal]:not(.is-in) .accent { color: var(--ink); }
  html.js-ready .catalog__title:not(.is-in) .accent,
  html.js-ready .about__title:not(.is-in) .accent { color: inherit; }

  /* ----- botões ----- */
  .btn span[aria-hidden="true"] { transition: transform 0.3s var(--ease-out); }
  .btn:hover span[aria-hidden="true"] { transform: translateX(5px); }
  .btn--whatsapp:hover::after { animation: shine 0.9s var(--ease-out); }
  @keyframes shine { to { transform: translateX(120%); } }
  .btn--outline { transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease; }
  .nav__cta:hover { transform: translateY(-1px); }
  .site-footer__top span { display: inline-block; transition: transform 0.3s var(--ease-out); }
  .site-footer__top:hover span { transform: translateY(-3px); }

  /* ----- vidro ----- */
  .js-ready .glass:not(.has-shown) { opacity: 0; }
  .glass.has-shown {
    animation: glass-in 1.5s var(--ease-out) var(--gd, 0s) backwards,
               glass-float var(--fd, 9s) ease-in-out var(--fl, 0s) infinite;
  }
  .glass:not(.is-visible) { animation-play-state: running, paused; }
  .glass.is-visible::after { animation: sheen var(--sd, 18s) ease-in-out var(--sl, 2s) infinite; }

  /* paralaxe guiada pela rolagem (CSS puro, no compositor) — só onde há suporte */
  @supports (animation-timeline: view()) {
    @media (min-width: 900px) {
      .glass.has-shown {
        animation-name: glass-in, glass-float, glass-py;
        animation-duration: 1.5s, var(--fd, 9s), auto;
        animation-timing-function: var(--ease-out), ease-in-out, linear;
        animation-delay: var(--gd, 0s), var(--fl, 0s), 0s;
        animation-iteration-count: 1, infinite, 1;
        animation-direction: normal, normal, normal;
        animation-fill-mode: backwards, none, both;
        animation-timeline: auto, auto, view();
        animation-range: normal, normal, cover 0% cover 100%;
      }
      .glass:not(.is-visible) { animation-play-state: running, paused, running; }
      .glass { --par: 18; }
      .glass[style*="--p:"] { --par: 32; }
      .catalog__shot--back { animation: glass-par linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; --par: 60; }
      .catalog__shot--front { animation: glass-par linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; --par: 34; --dir: -1; }
    }
  }

  /* ----- categorias: carrossel ----- */
  .cat-card img { transition: transform 0.6s var(--ease-out); }
  .cat-card:hover img,
  .cat-card:focus-visible img { transform: scale(1.07); }
  .cat-card__cta::after { content: " →"; display: inline-block; opacity: 0; transform: translateX(-6px); transition: opacity 0.25s ease, transform 0.35s var(--ease-out); }
  .cat-card:hover .cat-card__cta::after,
  .cat-card:focus-visible .cat-card__cta::after { opacity: 1; transform: none; }
  .cat-card:active { transform: translateY(-1px) scale(0.98); }
  .cat__btn { transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease-out), opacity 0.2s ease; }
  .cat__btn:hover:not(:disabled) { transform: scale(1.08); }

  /* ----- serviços ----- */
  .service__frame { display: block; overflow: hidden; border-radius: 15px; }
  .service__frame img { transition: transform 0.9s var(--ease-out); }
  .service:hover .service__frame img { transform: scale(1.06); }
  .service.is-in .service__frame img { animation: img-settle 1.6s var(--ease-out) var(--d, 0ms) backwards; }
  .service__body { position: relative; }
  .service__body::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 2px;
    background: var(--teal);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 0.6s var(--ease-out);
  }
  .service:hover .service__body::after,
  .service:focus-within .service__body::after { transform: scaleX(1); }
  .service__num { display: inline-block; transition: transform 0.5s var(--ease-out); }
  .service:hover .service__num { transform: translateX(6px); }
  @media (min-width: 900px) {
    /* a linha que liga as fotos "desenha" em sequência */
    html.js-ready .service__media::before { transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.9s var(--ease-in-out) var(--ld, 0.5s); }
    html.js-ready .service:nth-child(2) .service__media::before { --ld: 0.95s; }
    html.js-ready .service:nth-child(3) .service__media::before { --ld: 1.4s; }
    html.js-ready .service.is-in .service__media::before { transform: none; }
  }

  /* ----- produtos ----- */
  .product img { transition: transform 0.6s var(--ease-out); }
  .product:hover img { transform: scale(1.06); }
  .product .btn--slate span,
  .product .btn--slate { transition: background-color 0.2s ease, transform 0.15s ease; }
  .product__add[aria-pressed="true"] { animation: pop 0.45s var(--ease-spring); }
  .chip:active { transform: scale(0.96); }
  .search__clear { transition: background-color 0.2s ease, color 0.2s ease; }
  .is-loading { animation: shimmer 1.3s linear infinite; }
  .is-loaded { animation: img-in 0.5s ease backwards; }

  /* ----- empresa ----- */
  html.js-ready .checklist li.is-in::before { animation: check-pop 0.55s var(--ease-spring) calc(var(--d, 0ms) + 250ms) backwards; }
  .person img { transition: transform 0.4s var(--ease-spring); }
  .person:hover img { transform: scale(1.08) rotate(-2deg); }
  .number { transition: border-color 0.3s ease; }
  .number:hover { border-color: var(--teal-on-dark); }

  /* ----- botão flutuante ----- */
  .fab.is-shown::after { animation: ring 2.4s ease-out 1.2s 3; }

  /* ----- formulário ----- */
  .spinner { animation: spin 0.8s linear infinite; }
  .form__submit-label { display: inline-block; }
  .form__submit[data-state="done"] .form__submit-label { animation: pop 0.5s var(--ease-spring); }
  .field__error:not([hidden]) { animation: rise 0.3s var(--ease-out); }
  .field input[aria-invalid="true"],
  .field textarea[aria-invalid="true"] { animation: shake 0.4s ease; }
  @keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
}

/* mobile: sem paralaxe nem efeitos de ponteiro; botão flutuante só com ícone */
@media (max-width: 899px) {
  .fab__label { display: none; }
}
