/* ============================================================
   QGE-EFFECTS: biblioteca de efeitos visuais curados
   Mobile-first, prefers-reduced-motion respeitado.
   Cada projeto importa e usa 2 a 4 efeitos.
   Cores usam var(--fx-accent, ...) com fallback: para adaptar
   à marca do cliente, defina --fx-accent no :root do projeto.
   ============================================================ */

/* ================= 01. Glass Panel ================= */

.fx-glass {
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.fx-glass--dark {
  background: rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.15);
}

/* ================= 02. Aurora Background ================= */

.fx-aurora {
  position: relative;
  overflow: hidden;
}

.fx-aurora__bg {
  position: absolute;
  inset: -20%;
  background: conic-gradient(
    from 140deg at 60% 40%,
    rgba(196, 105, 79, 0.55),
    rgba(122, 158, 126, 0.35),
    rgba(245, 240, 232, 0.2),
    rgba(196, 105, 79, 0.55)
  );
  filter: blur(48px);
  opacity: 0.85;
  animation: fx-aurora-spin 18s linear infinite;
  will-change: transform;
  pointer-events: none;
}

.fx-aurora__content {
  position: relative;
  z-index: 1;
}

@keyframes fx-aurora-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ================= 03. Light Ray ================= */

.fx-ray {
  height: 1px;
  border: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(245, 240, 232, 0.9),
    transparent
  );
  position: relative;
  margin-block: 1rem;
}

.fx-ray::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 80%;
  height: 20px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse at center,
    rgba(196, 105, 79, 0.4),
    transparent 70%
  );
  filter: blur(4px);
  pointer-events: none;
}

.fx-ray--subtle::before {
  opacity: 0.5;
}

/* ================= 04. Parallax Suave ================= */

.fx-parallax {
  position: relative;
  overflow: hidden;
}

.fx-parallax__layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
  transition: transform 50ms linear;
}

.fx-parallax__content {
  position: relative;
  z-index: 1;
}

/* ================= 05. Fade in on Scroll ================= */

.fx-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fx-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================= 06. Text Reveal ================= */

.fx-text-reveal > span {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  animation: fx-text-rise 0.8s ease forwards;
  animation-delay: calc(var(--i, 0) * 120ms);
}

@keyframes fx-text-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= 07. Magnetic Cursor ================= */

.fx-magnetic {
  position: relative;
  transition: transform 220ms cubic-bezier(0.25, 1, 0.3, 1);
  will-change: transform;
}

/* ================= 08. Noise Texture Overlay ================= */

.fx-noise {
  position: relative;
  isolation: isolate;
}

.fx-noise::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' /><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.18;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 0;
}

.fx-noise > * {
  position: relative;
  z-index: 1;
}

/* ================= 09. Cursor Spotlight ================= */

.fx-spotlight {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  --fx-mx: 50%;
  --fx-my: 50%;
}

.fx-spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle 240px at var(--fx-mx) var(--fx-my),
    rgba(196, 105, 79, 0.5),
    transparent 70%
  );
  pointer-events: none;
  transition: background 140ms linear;
  z-index: 0;
}

.fx-spotlight > * {
  position: relative;
  z-index: 1;
}

/* ================= 14. Chat Scroll Blur ================= */

.fx-chat-scroll {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-block: 2rem;
  position: relative;
}

/* Mobile: conjunto avatar+bolha centralizado */
.fx-chat-scroll__msg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(16px);
  transition: opacity 0.5s ease, filter 0.5s ease, transform 0.45s ease;
  will-change: filter, opacity;
}

.fx-chat-scroll__msg--right {
  flex-direction: row-reverse;
}

.fx-chat-scroll__msg.is-revealed {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* Desktop: zigzag com linha central */
@media (min-width: 768px) {
  .fx-chat-scroll::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 6px;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, transparent, #d8d4cf 8%, #d8d4cf 92%, transparent);
    border-radius: 3px;
    pointer-events: none;
  }

  .fx-chat-scroll__msg {
    width: 46%;
    margin: 0;
  }

  .fx-chat-scroll__msg--left {
    align-self: flex-start;
  }

  .fx-chat-scroll__msg--right {
    align-self: flex-end;
  }
}

.fx-chat-scroll__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-sage, #7a9e7e);
  flex-shrink: 0;
}

.fx-chat-scroll__avatar--b { background: #6b8fa8; }
.fx-chat-scroll__avatar--c { background: #9e9590; }
.fx-chat-scroll__avatar--d { background: #b07c6a; }
.fx-chat-scroll__avatar--e { background: #8a9a5b; }

.fx-chat-scroll__bubble {
  padding: 0.7rem 1.1rem;
  background: #fff;
  border-radius: 18px 18px 18px 4px;
  font-style: italic;
  font-size: 0.9rem;
  line-height: 1.55;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.fx-chat-scroll__msg--right .fx-chat-scroll__bubble {
  border-radius: 18px 18px 4px 18px;
}

/* ================= 10. Card 3D Reveal on Scroll ================= */

.fx-card3d {
  display: flex;
  gap: 1.5rem;
  perspective: 700px;
}

.fx-card3d__card {
  flex: 1;
  will-change: transform;
}

@media (max-width: 640px) {
  .fx-card3d { flex-direction: column; }
}

/* ================= 11. Timeline Line Fill ================= */

.fx-timeline-fill {
  position: relative;
  padding-left: 2.5rem;
}

.fx-timeline-fill__track {
  position: absolute;
  top: 0.25rem;
  bottom: 0.25rem;
  left: 0;
  width: 2px;
  background: rgba(0, 0, 0, 0.12);
  border-radius: 2px;
}

.fx-timeline-fill__fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, var(--fx-accent, #FF3F7F), var(--fx-accent-soft, #A8CDE4));
  border-radius: 2px;
}

.fx-timeline-fill__item {
  position: relative;
  padding-bottom: 2rem;
}

.fx-timeline-fill__item:last-child { padding-bottom: 0; }

.fx-timeline-fill__dot {
  position: absolute;
  left: -2.5rem;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fx-accent, #FF3F7F);
  border: 2px solid var(--fx-surface, #fff);
  box-shadow: 0 0 0 2px rgba(255, 63, 127, 0.25);
}

.fx-timeline-fill__year {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--fx-accent, #FF3F7F);
  margin-bottom: 3px;
}

.fx-timeline-fill__label {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ================= 12. Timeline Sync Reveal ================= */

.fx-tlsync {
  position: relative;
  padding-left: 2.5rem;
}

.fx-tlsync__track {
  position: absolute;
  top: 0.25rem;
  bottom: 0.25rem;
  left: 0;
  width: 2px;
  background: rgba(0, 0, 0, 0.12);
  border-radius: 2px;
}

.fx-tlsync__fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, var(--fx-accent, #FF3F7F), var(--fx-accent-soft, #A8CDE4));
  border-radius: 2px;
}

.fx-tlsync__item {
  position: relative;
  padding-bottom: 2rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.fx-tlsync__item:last-child { padding-bottom: 0; }

.fx-tlsync__item.is-visible {
  opacity: 1;
  transform: none;
}

.fx-tlsync__dot {
  position: absolute;
  left: -2.5rem;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fx-accent, #FF3F7F);
  border: 2px solid var(--fx-surface, #fff);
  box-shadow: 0 0 0 2px rgba(255, 63, 127, 0.25);
  transition: transform 0.35s ease;
}

.fx-tlsync__item.is-visible .fx-tlsync__dot {
  transform: scale(1.25);
}

.fx-tlsync__year {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--fx-accent, #FF3F7F);
  margin-bottom: 3px;
}

.fx-tlsync__label {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ================= 13. Float Wander ================= */

.fx-float {
  will-change: transform;
}

/* ================= Máscaras e molduras ================= */

/* M1. Celular
   Frame aberto embaixo: SO A LINHA, sem preenchimento e sem overflow:hidden.
   A barra de controles e mais larga que o frame de proposito: ela vaza pelas
   laterais. Nunca colocar overflow:hidden no frame, e o que mata o efeito.

   A CENA (.fx-mask-phone-scene) NAO tem fundo por padrao: o fundo e o que ja
   existe atras (o card, a secao). So declare um fundo ou coloque a foto em
   .fx-mask-phone-scene__photo se voce realmente quiser uma imagem por tras,
   e nesse caso ela vaza abaixo do aparelho. No preview da biblioteca o
   degrade esta la so pra ilustrar essa possibilidade.

   Cores adaptaveis pelo projeto, o padrao ja serve pra fundo claro:
   --fx-phone-line   linha do frame, da ilha e do fio dos selos
   --fx-phone-bar    barra de controles e fundo dos selos
   --fx-phone-check  visto do selo
   --fx-phone-dim    conteudo da tela (avatar e status), bem apagado */

.fx-mask-phone-scene {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  padding: 1.25rem 0 0;
  overflow: hidden;
}

.fx-mask-phone-scene__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.fx-mask-phone {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 150px;
  height: 271px;
  border: 2px solid var(--fx-phone-line, rgba(40, 60, 72, 0.45));
  border-bottom: none;
  border-radius: 37px 37px 0 0;
}

/* Linha em degrade. Declare --fx-phone-line-2 pra ela clarear pra baixo e
   ficar mais delicada. Sem essa variavel o degrade e de cor unica, ou seja,
   identico a borda solida. Browser sem mask-composite cai na borda solida. */
@supports ((-webkit-mask-composite: xor) or (mask-composite: exclude)) {
  .fx-mask-phone { border-color: transparent; }

  .fx-mask-phone::before {
    content: "";
    position: absolute;
    inset: 0 0 -10px 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(
      180deg,
      var(--fx-phone-line, rgba(40, 60, 72, 0.45)) 0%,
      var(--fx-phone-line-2, var(--fx-phone-line, rgba(40, 60, 72, 0.45))) 100%
    );
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
  }
}

/* Alternativa: foto recortada dentro do frame em vez de cena atras.
   Perde o vazamento da foto, mantem o dos controles. */
.fx-mask-phone--recortado { overflow: hidden; }

.fx-mask-phone__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fx-mask-phone__island {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 69px;
  height: 23px;
  background: transparent;
  border: 2px solid var(--fx-phone-line, rgba(40, 60, 72, 0.45));
  border-radius: 14px;
  z-index: 2;
}

/* Tela: chamada em andamento sem foto. Fica apagada de proposito, pra nao
   competir com o texto do bloco. */
.fx-mask-phone__tela {
  position: absolute;
  inset: 58px 12px 66px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  text-align: center;
  color: var(--fx-phone-dim, #a9b7bd);
}

.fx-mask-phone__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  opacity: 0.75;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
}

.fx-mask-phone__status { font-size: 0.72rem; letter-spacing: 0.02em; }

.fx-mask-phone__controls {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--fx-phone-bar, rgba(24, 28, 30, 0.88));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 26px;
  padding: 6px 12px;
  display: flex;
  gap: 7px;
  align-items: center;
  white-space: nowrap;
  z-index: 2;
}

.fx-mask-phone__ctrl {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.fx-mask-phone__ctrl--end { background: #d63030; }

.fx-mask-phone__badges {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* fio vertical que amarra os selos no frame.
   Use .fx-mask-phone__badges--sem-fio quando os selos ficarem
   sobrepostos ao aparelho, aí o fio não tem o que ligar. */
.fx-mask-phone__badges--sem-fio::before { display: none; }

.fx-mask-phone__badges::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: var(--fx-phone-line, rgba(40, 60, 72, 0.28));
}

.fx-mask-phone__badge {
  background: var(--fx-phone-badge-bg, rgba(24, 28, 30, 0.88));
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 18px;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.fx-mask-phone__badge__check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--fx-phone-check, #7ec8a0);
  color: var(--fx-phone-check, #7ec8a0);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Visto cheio: circulo preenchido e simbolo branco. Use quando o selo tiver
   fundo claro, onde o visto so de contorno lava e some. */
.fx-mask-phone__badge__check--cheio {
  background: var(--fx-phone-check, #7ec8a0);
  border-color: var(--fx-phone-check, #7ec8a0);
  color: #ffffff;
}

/* M2. Círculo */
.fx-mask-circle {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 6px rgba(255, 63, 127, 0.25), 0 16px 48px rgba(0, 0, 0, 0.35);
}

.fx-mask-circle__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fx-mask-circle::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

/* M3. Polaroid */
.fx-mask-polaroid {
  display: inline-flex;
  flex-direction: column;
  gap: 0.75rem;
  background: #fff;
  padding: 0.75rem 0.75rem 1.5rem;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.15);
  transform: rotate(-2.5deg);
}

.fx-mask-polaroid__photo {
  width: 220px;
  height: 240px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

.fx-mask-polaroid__caption {
  text-align: center;
  font-family: Georgia, serif;
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.55);
  letter-spacing: 0.04em;
}

/* ================= 15. Sticky Duo (coluna que trava) =================
   Duas colunas: uma trava no topo enquanto a outra rola ao lado. A travada
   solta sozinha quando o bloco acaba. E `position: sticky` puro, sem JS e
   sem listener de scroll, entao nao pesa nada.

   TRES ARMADILHAS que fazem o efeito nao funcionar (as tres ja resolvidas
   aqui, mas vale saber ao adaptar):
   1. align-items nao pode ser stretch. Se a coluna estica ate a altura da
      linha, ela ja ocupa tudo e nao sobra o que travar. Por isso `start`.
   2. Nenhum ancestral pode ter overflow hidden, auto ou scroll. Isso mata
      o sticky silenciosamente, sem erro nenhum.
   3. A coluna que rola precisa ser MAIS ALTA que a que trava, senao nao
      existe percurso pra travar.

   --fx-duo-top deve ser a altura do cabecalho fixo do projeto, senao a
   coluna trava embaixo dele. */

.fx-sticky-duo {
  display: grid;
  grid-template-columns: var(--fx-duo-cols, 1.15fr 0.85fr);
  gap: var(--fx-duo-gap, 48px);
  align-items: start;
}

.fx-sticky-duo__fixa {
  position: sticky;
  top: var(--fx-duo-top, 120px);
  align-self: start;
}

.fx-sticky-duo__rola { min-width: 0; }

/* Em tela estreita vira uma coluna so e o sticky sai de cena */
@media (max-width: 900px) {
  .fx-sticky-duo { grid-template-columns: 1fr; gap: var(--fx-duo-gap-mob, 26px); }
  .fx-sticky-duo__fixa { position: static; }
}

/* ================= 16. Scroll Swap (troca de visual no scroll) =================
   Secao alta com o palco preso na tela. O JS le o progresso da secao e
   escreve --fx-swap-t (0 a 1): o visual A sai com leve subida e escala, o
   B entra no lugar. A troca acompanha o scroll nos dois sentidos.

   Sem JS ou com reduced motion, a classe .is-ativo nao entra e os dois
   visuais aparecem empilhados e parados. Nenhum ancestral pode ter
   overflow hidden/auto/scroll (mesma armadilha do Sticky Duo), a nao ser
   o proprio scroller marcado com data-scroll-swap-root.

   Tokens: --fx-swap-max (largura do visual), --fx-swap-altura-mob e
   --fx-swap-altura (percurso da secao), --fx-swap-tela (altura do palco,
   so muda quando o scroller nao e a pagina). */

.fx-swap { position: relative; }

.fx-swap__palco {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  padding-block: 48px;
}

.fx-swap__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: var(--fx-swap-max, 500px);
}

.fx-swap__item img { display: block; max-width: 100%; height: auto; }

.fx-swap__legenda { text-align: center; max-width: 30ch; margin: 0; }
.fx-swap__legenda b { display: block; font-size: 1.15rem; margin-bottom: 4px; }
.fx-swap__legenda span { opacity: 0.72; font-size: 0.92rem; }

.fx-swap__passos { display: none; }

.fx-swap.is-ativo { height: var(--fx-swap-altura-mob, 240vh); }

.fx-swap.is-ativo .fx-swap__palco {
  position: sticky;
  top: 0;
  height: 100vh;
  height: var(--fx-swap-tela, 100svh);
  padding-block: 0;
  gap: 0;
  justify-content: center;
  overflow: hidden;
}

.fx-swap.is-ativo .fx-swap__item {
  position: absolute;
  will-change: opacity, transform;
}

.fx-swap.is-ativo .fx-swap__item--a {
  opacity: calc(1 - var(--fx-swap-t, 0));
  transform: translateY(calc(var(--fx-swap-t, 0) * -24px)) scale(calc(1 - var(--fx-swap-t, 0) * 0.06));
}

.fx-swap.is-ativo .fx-swap__item--b {
  opacity: var(--fx-swap-t, 0);
  transform: translateY(calc((1 - var(--fx-swap-t, 0)) * 24px)) scale(calc(0.94 + var(--fx-swap-t, 0) * 0.06));
}

/* quem esta invisivel nao recebe toque */
.fx-swap.is-ativo .fx-swap__item.is-oculto { pointer-events: none; }

.fx-swap.is-ativo .fx-swap__passos {
  display: flex;
  gap: 8px;
  position: absolute;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
}

.fx-swap__passo {
  position: relative;
  width: 28px;
  height: 3px;
  border-radius: 3px;
  overflow: hidden;
  background: rgba(245, 245, 245, 0.2);
}

.fx-swap__passo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--fx-accent, #FF3F7F);
  transform-origin: left;
  transform: scaleX(var(--fx-passo, 0));
}

@media (min-width: 768px) {
  .fx-swap.is-ativo { height: var(--fx-swap-altura, 300vh); }
}

/* ================= Divisores de seção (SVG) ================= */

.fx-divider {
  line-height: 0;
}

.fx-divider svg {
  display: block;
  width: 100%;
}

/* ================= Divisores em linha ================= */

.fx-hr {
  width: 100%;
  height: 1px;
  border: none;
  background: rgba(0, 0, 0, 0.12);
  margin-block: 1.5rem;
}

.fx-hr-dot {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.fx-hr-dot__ln {
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, 0.12);
}

.fx-hr-dot__mark {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fx-accent, #FF3F7F);
  flex-shrink: 0;
}

.fx-hr-dot__mark--diamond {
  border-radius: 0;
  transform: rotate(45deg);
}

.fx-hr-arrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.fx-hr-arrow__ln {
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, 0.12);
}

.fx-hr-arrow__circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  line-height: 1;
}

.fx-hr-full {
  height: 1px;
  background: rgba(0, 0, 0, 0.12);
  margin-inline: calc(-1 * var(--fx-container-pad, 1.5rem));
}

.fx-hr-short {
  width: 52px;
  height: 2px;
  border-radius: 2px;
  background: var(--fx-accent, #FF3F7F);
  margin-inline: auto;
}

/* ================= Botão WhatsApp flutuante ================= */

.fx-wa {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease;
}

.fx-wa svg {
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 1;
  fill: #fff;
}

.fx-wa:hover {
  transform: scale(1.08);
}

/* V1: pulso simples */
@keyframes fx-wa-pulse {
  0%   { transform: scale(1);    opacity: 0.55; }
  100% { transform: scale(1.75); opacity: 0; }
}

.fx-wa--pulse::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.5);
  animation: fx-wa-pulse 2s ease-out infinite;
  z-index: 0;
}

/* V2: dois anéis */
.fx-wa--rings::before,
.fx-wa--rings::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.8);
  animation: fx-wa-pulse 2s ease-out infinite;
  z-index: 0;
}

.fx-wa--rings::after {
  animation-delay: 0.75s;
}

/* V3: label expansivo */
.fx-wa--label {
  width: 60px;
  border-radius: 30px;
  overflow: hidden;
  white-space: nowrap;
  gap: 10px;
  padding-inline: 14px;
  transition: width 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.fx-wa--label:hover {
  width: 180px;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.fx-wa__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transition: opacity 0.25s ease 0.1s, max-width 0.35s ease;
}

.fx-wa--label:hover .fx-wa__label {
  opacity: 1;
  max-width: 120px;
}

/* V4: flutuante */
@keyframes fx-wa-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.fx-wa--float {
  background: var(--fx-accent, #FF3F7F);
  box-shadow: 0 8px 24px rgba(255, 63, 127, 0.45);
  animation: fx-wa-float 3s ease-in-out infinite;
}

.fx-wa--float:hover {
  box-shadow: 0 12px 32px rgba(255, 63, 127, 0.6);
  animation-play-state: paused;
}

/* V5: glow escuro */
@keyframes fx-wa-glow {
  0%, 100% { box-shadow: 0 0 12px rgba(37, 211, 102, 0.3), 0 4px 16px rgba(0, 0, 0, 0.4); }
  50%      { box-shadow: 0 0 28px rgba(37, 211, 102, 0.65), 0 4px 20px rgba(0, 0, 0, 0.4); }
}

.fx-wa--glow {
  background: #1a1a1a;
  border: 1.5px solid rgba(37, 211, 102, 0.35);
  animation: fx-wa-glow 2.5s ease-in-out infinite;
}

.fx-wa--glow:hover {
  border-color: rgba(37, 211, 102, 0.7);
  animation-play-state: paused;
  box-shadow: 0 0 40px rgba(37, 211, 102, 0.8), 0 4px 24px rgba(0, 0, 0, 0.5);
}

/* ================= Cards ================= */
/* Seção de componentes de card. Cada card tem classe raiz própria (.fx-<nome>)
   e tokens locais com fallback, para adaptar à marca sem editar este arquivo.

   C1. Card de Depoimento com Vídeo
   Paleta QGE: grafite no corpo, rosa QGE no acento, branco gelo no texto.
   Tokens: --fx-testi-surface (fundo da metade de texto)
           --fx-testi-accent  (aspas e linha de destaque, herda --fx-accent)
           --fx-testi-ink     (texto principal) */

.fx-testimonial {
  --fx-testi-surface: #191b1c;
  --fx-testi-accent: var(--fx-accent, #ff3f7f);
  --fx-testi-ink: #f5f5f5;
  --fx-testi-wave: 44px;

  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 340px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--fx-testi-surface);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(255, 63, 127, 0.10);
}

/* --- metade superior: foto, play e a curva --- */

.fx-testimonial__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #222426;
}

.fx-testimonial__poster,
.fx-testimonial__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
}

.fx-testimonial__video {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}

.fx-testimonial.is-playing .fx-testimonial__video {
  opacity: 1;
  visibility: visible;
}

.fx-testimonial.is-playing .fx-testimonial__poster,
.fx-testimonial.is-playing .fx-testimonial__play {
  opacity: 0;
  pointer-events: none;
}

.fx-testimonial__play {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1), background 0.3s ease, opacity 0.3s ease;
}

.fx-testimonial__play:hover {
  transform: translate(-50%, -50%) scale(1.07);
  background: rgba(255, 255, 255, 0.42);
}

.fx-testimonial__play:focus-visible {
  outline: 3px solid var(--fx-testi-accent);
  outline-offset: 4px;
}

.fx-testimonial__play svg {
  width: 24px;
  height: 24px;
  margin-left: 4px;
  fill: #111114;
}

/* A curva que costura foto e texto: onda que sobe no centro,
   pintada na cor do corpo do card. */
.fx-testimonial__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: var(--fx-testi-wave);
  display: block;
  fill: var(--fx-testi-surface);
  pointer-events: none;
}

/* --- metade inferior: depoimento e autor --- */

.fx-testimonial__body {
  position: relative;
  padding: 0.35rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: var(--fx-testi-surface);
}

.fx-testimonial__quote {
  width: 26px;
  height: 20px;
  fill: var(--fx-testi-accent);
  opacity: 0.85;
}

.fx-testimonial__text {
  margin: 0;
  font-size: clamp(1.15rem, 4.4vw, 1.35rem);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fx-testi-ink);
}

.fx-testimonial__text span {
  display: block;
  color: var(--fx-testi-accent);
}

.fx-testimonial__rule {
  width: 34px;
  height: 1px;
  margin: 0;
  border: 0;
  background: rgba(245, 245, 245, 0.22);
}

.fx-testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.fx-testimonial__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.fx-testimonial__name {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--fx-testi-ink);
}

.fx-testimonial__role {
  display: block;
  margin-top: 2px;
  font-size: 0.8rem;
  line-height: 1.3;
  color: rgba(245, 245, 245, 0.55);
}

/* ================= Cards / C2. Card com Recorte ================= */
/* Card com um recorte na quina superior direita que abraca um botao
   circular. O contorno e uma silhueta continua: borda reta, curva
   convexa, arco concentrico com o botao (folga constante) e curva
   convexa de volta pra borda. Nenhuma emenda faz bico.

   A geometria NAO se escreve na mao. O estudio (aba Cards do
   biblioteca.html) tem os controles e exporta o bloco de variaveis
   pronto pra colar. O recorte sai de la como mascara de tamanho fixo
   ancorada na quina, entao o card continua fluido no mobile sem
   deformar a curva.

   A mascara mora no ::before, nao no card: mascara vale pros filhos
   tambem, e o botao mora justamente no vazio do recorte. No ::before
   ela pega so o fundo e deixa o botao em paz.

   Tokens que o estudio exporta:
     --fx-notch-mask     o recorte gerado
     --fx-notch-tile     tamanho do quadrado da quina
     --fx-notch-btn      diametro do botao
     --fx-notch-bleed-x  quanto o botao vaza pra fora, na direita
     --fx-notch-bleed-y  quanto o botao vaza pra fora, em cima
     --fx-notch-clear    folga a reservar no texto pra nao encostar

   Tokens de marca (padrao QGE: grafite, branco gelo, rosa no foco):
     --fx-notch-surface --fx-notch-ink --fx-notch-radius
     --fx-notch-btn-bg --fx-notch-btn-line --fx-notch-btn-ink

   ATENCAO na cor do botao: ele fica no vazado, ou seja, sobre o FUNDO
   DA PAGINA, nao sobre o card. Quem manda no contraste dele e o que
   esta atras do card. */

.fx-notch {
  --fx-notch-surface: #191b1c;
  --fx-notch-ink: #f5f5f5;
  --fx-notch-radius: 34px;

  /* Padrao perfeito ja embutido: usar .fx-notch sem colar nada do estudio
     ja entrega este recorte. O bloco exportado so sobrescreve estas seis. */
  --fx-notch-tile: 126px;
  --fx-notch-btn: 80px;
  --fx-notch-bleed-x: 14px;
  --fx-notch-bleed-y: 14px;
  --fx-notch-clear: 120px;
  --fx-notch-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22126%22%20height%3D%22126%22%20viewBox%3D%220%200%20126%20126%22%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M%200%200%20L%2018.02%200%20A%2028%2028%200%200%201%2046.02%2027.32%20A%2054%2054%200%200%200%2097.43%2079.94%20A%2030%2030%200%200%201%20126%20109.9%20L%20126%20126%20L%200%20126%20Z%22%2F%3E%3C%2Fsvg%3E");

  --fx-notch-btn-bg: #25272b;
  --fx-notch-btn-line: rgba(245, 245, 245, 0.22);
  --fx-notch-btn-ink: #f5f5f5;
  --fx-notch-btn-bg-hover: var(--fx-accent, #ff3f7f);
  --fx-notch-btn-ink-hover: #ffffff;

  position: relative;
  isolation: isolate;
  width: 100%;
  padding: 30px;
  color: var(--fx-notch-ink);

  /* Piso de altura, senao o recorte nao fecha. Card mais baixo que o
     quadrado da quina deixa a curva de saida sem espaco pra voltar pra
     borda direita: o arredondamento da quina de baixo some e sobra um
     bico. Com o raio somado, a curva fecha e ainda sobra a quina. */
  min-height: calc(var(--fx-notch-tile) + var(--fx-notch-radius));
}

.fx-notch::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--fx-notch-surface);
  border-radius: var(--fx-notch-radius);

  /* Uniao de tres camadas (o padrao de composicao ja e soma):
     a quina desenhada + o resto a esquerda + o resto embaixo.
     Branco nas tres porque serve tanto pra alpha quanto pra
     luminancia, dependendo de como o navegador le a mascara.
     O +1px fecha a fresta de arredondamento entre as camadas. */
  -webkit-mask-image: var(--fx-notch-mask), linear-gradient(#fff, #fff), linear-gradient(#fff, #fff);
          mask-image: var(--fx-notch-mask), linear-gradient(#fff, #fff), linear-gradient(#fff, #fff);
  -webkit-mask-size:
    var(--fx-notch-tile) var(--fx-notch-tile),
    calc(100% - var(--fx-notch-tile) + 1px) 100%,
    100% calc(100% - var(--fx-notch-tile) + 1px);
          mask-size:
    var(--fx-notch-tile) var(--fx-notch-tile),
    calc(100% - var(--fx-notch-tile) + 1px) 100%,
    100% calc(100% - var(--fx-notch-tile) + 1px);
  -webkit-mask-position: right top, left top, left bottom;
          mask-position: right top, left top, left bottom;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
}

.fx-notch__action {
  position: absolute;
  top: calc(-1 * var(--fx-notch-bleed-y));
  right: calc(-1 * var(--fx-notch-bleed-x));
  z-index: 2;
  width: var(--fx-notch-btn);
  height: var(--fx-notch-btn);
  border-radius: 50%;
  background: var(--fx-notch-btn-bg);
  border: 1.5px solid var(--fx-notch-btn-line);
  color: var(--fx-notch-btn-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

/* o gatilho e o card inteiro, nao so a bolinha: passar o mouse em
   qualquer canto do card ja acende o botao */
.fx-notch:hover .fx-notch__action,
.fx-notch__action:hover {
  transform: scale(1.05);
  background: var(--fx-notch-btn-bg-hover);
  border-color: var(--fx-notch-btn-bg-hover);
  color: var(--fx-notch-btn-ink-hover);
}

.fx-notch__action:focus-visible {
  outline: 3px solid var(--fx-accent, #ff3f7f);
  outline-offset: 3px;
}

.fx-notch__action svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.fx-notch:hover .fx-notch__action svg,
.fx-notch__action:hover svg { transform: translate(2px, -2px); }

/* o recuo so vale em cima, na altura do recorte */
.fx-notch__eyebrow,
.fx-notch__title { padding-right: var(--fx-notch-clear); }

.fx-notch__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fx-accent, #ff3f7f);
  margin-bottom: 0.6rem;
}

.fx-notch__title {
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

.fx-notch__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(245, 245, 245, 0.68);
}

/* ================= FAQ ================= */
/* Blocos de pergunta e resposta. Mesma lógica dos Cards: classe raiz própria
   e tokens locais com fallback, adapta à marca sem editar este arquivo.

   F1. Acordeão (sanfona)
   Paleta QGE: grafite no item fechado, degradê rosa no aberto.
   O degradê usa o rosa profundo (#b8215a), não o rosa puro (#ff3f7f):
   texto branco sobre o rosa puro fica em 3,1:1 e reprova no AA.
   Tokens: --fx-acc-surface   (fundo do item fechado)
           --fx-acc-ink       (texto do item fechado)
           --fx-acc-open-from / --fx-acc-open-to (degradê do item aberto) */

.fx-accordion {
  --fx-acc-surface: #191b1c;
  --fx-acc-ink: #f5f5f5;
  --fx-acc-open-from: #b8215a;
  --fx-acc-open-to: #6e1235;
  --fx-acc-ink-open: #ffffff;
  --fx-acc-answer: rgba(255, 255, 255, 0.82);
  --fx-acc-mark: currentColor;
  --fx-acc-mark-open: var(--fx-acc-ink-open);
  --fx-acc-radius: 20px;

  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 720px;
}

.fx-accordion__item {
  position: relative;
  border-radius: var(--fx-acc-radius);
  background: var(--fx-acc-surface);
  overflow: hidden;
  transition: box-shadow 0.4s ease;
}

/* O degradê vive numa camada própria porque background-image não anima.
   Assim a troca de cor entra suave em vez de piscar. */
.fx-accordion__item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--fx-acc-open-from) 0%, var(--fx-acc-open-to) 100%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.fx-accordion__item.is-open {
  box-shadow: 0 16px 34px rgba(255, 63, 127, 0.22);
}

.fx-accordion__item.is-open::before { opacity: 1; }

.fx-accordion__title {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.fx-accordion__head {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 1.15rem 1.35rem;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: var(--fx-acc-ink);
  transition: color 0.35s ease;
}

.fx-accordion__head:focus-visible {
  outline: 3px solid var(--fx-accent, #ff3f7f);
  outline-offset: -3px;
  border-radius: var(--fx-acc-radius);
}

.fx-accordion__item:not(.is-open) .fx-accordion__head:hover .fx-accordion__q {
  opacity: 0.7;
}

.fx-accordion__num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  opacity: 0.55;
  transition: opacity 0.35s ease;
}

/* --- variacoes do marcador da esquerda ---
   Padrao: numero de dois digitos em fonte mono.
   .fx-accordion--ponto: bolinha que enche ao abrir. Deixe o span vazio.
   .fx-accordion--seta:  seta que gira 90 graus ao abrir, e a seta da
                         direita sai. O span precisa ter o SVG do chevron. */

.fx-accordion--ponto .fx-accordion__num {
  display: block;
  width: 10px;
  height: 10px;
  font-size: 0;
  border-radius: 50%;
  border: 2px solid var(--fx-acc-mark, currentColor);
  background: transparent;
  opacity: 0.65;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.fx-accordion--ponto .fx-accordion__head:hover .fx-accordion__num { opacity: 1; }

.fx-accordion--ponto .fx-accordion__item.is-open .fx-accordion__num {
  background: var(--fx-acc-mark-open);
  border-color: var(--fx-acc-mark-open);
  opacity: 1;
  transform: scale(1.2);
}

.fx-accordion--seta .fx-accordion__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  font-size: 0;
  opacity: 0.65;
  color: var(--fx-acc-mark, currentColor);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1), color 0.3s ease, opacity 0.3s ease;
}

.fx-accordion--seta .fx-accordion__num svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fx-accordion--seta .fx-accordion__head:hover .fx-accordion__num { opacity: 1; }

.fx-accordion--seta .fx-accordion__item.is-open .fx-accordion__num {
  transform: rotate(90deg);
  color: var(--fx-acc-mark-open);
  opacity: 1;
}

/* com a seta na esquerda, a da direita vira redundancia */
.fx-accordion--seta .fx-accordion__icon { display: none; }

/* o recuo da resposta acompanha a largura do marcador */
.fx-accordion--ponto .fx-accordion__answer { padding-left: calc(1.35rem + 14px + 10px); }
.fx-accordion--seta  .fx-accordion__answer { padding-left: calc(1.35rem + 14px + 16px); }

.fx-accordion__q {
  font-size: clamp(0.95rem, 2.6vw, 1.05rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  transition: opacity 0.3s ease;
}

.fx-accordion__icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.6;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.3, 1), opacity 0.35s ease;
}

/* --- estado aberto --- */

.fx-accordion__item.is-open .fx-accordion__head { color: var(--fx-acc-ink-open); }
.fx-accordion__item.is-open .fx-accordion__num { opacity: 0.75; }
.fx-accordion__item.is-open .fx-accordion__icon { transform: rotate(180deg); opacity: 0.9; }

.fx-accordion__panel {
  position: relative;
  z-index: 1;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.fx-accordion__answer {
  padding: 0 1.35rem 1.25rem;
  padding-left: calc(1.35rem + 14px + 1.9ch);
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--fx-acc-answer);
  opacity: 0;
  transition: opacity 0.35s ease 0.05s;
}

.fx-accordion__item.is-open .fx-accordion__answer { opacity: 1; }

.fx-accordion__answer p { margin: 0 0 0.7rem; }
.fx-accordion__answer p:last-child { margin-bottom: 0; }

/* --- botão embaixo da lista --- */

.fx-accordion__more {
  align-self: center;
  margin-top: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 245, 245, 0.18);
  background: rgba(245, 245, 245, 0.05);
  color: var(--fx-acc-ink);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.fx-accordion__more:hover {
  background: rgba(255, 63, 127, 0.12);
  border-color: rgba(255, 63, 127, 0.45);
  transform: translateY(-1px);
}

.fx-accordion__more svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 480px) {
  .fx-accordion__head { padding: 1rem 1.1rem; gap: 10px; }
  .fx-accordion__answer { padding: 0 1.1rem 1.1rem; }
}

/* ================= Cabeçalhos ================= */
/* Container do topo da página. Duas variações: sólido fixo (.fx-header) e
   transparente que vira sólido ao rolar (.fx-header--fade, precisa de
   data-header-fade e do JS ativar/tirar a classe is-scrolled).
   Tokens: --fx-header-bg (fundo, grafite QGE) e --fx-header-ink (texto,
   branco gelo). Sobrescreva no elemento pra adaptar à marca do cliente. */

.fx-header {
  --fx-header-bg: #191b1c;
  --fx-header-ink: #f5f5f5;

  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--fx-header-bg);
  border-bottom: 1px solid rgba(245, 245, 245, 0.08);
}

.fx-header__inner {
  max-width: 1120px;
  margin-inline: auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.fx-header__logo {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--fx-header-ink);
  text-decoration: none;
  flex-shrink: 0;
}

.fx-header__nav { display: none; }

@media (min-width: 860px) {
  .fx-header__nav { display: block; }
}

.fx-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Variação: transparente no topo, ganha fundo e sombra ao rolar.
   Precisa de fundo escuro/imagem atrás no início, senão o texto some. */
.fx-header--fade {
  background: transparent;
  border-bottom-color: transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.fx-header--fade.is-scrolled {
  background: var(--fx-header-bg);
  border-bottom-color: rgba(245, 245, 245, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* ================= Menus ================= */
/* Lista de links (.fx-menu, desktop) e o par hambúrguer + gaveta
   (.fx-menu-toggle + .fx-menu-mobile, mobile). Os dois puxam
   --fx-accent pro sublinhado e usam --fx-menu-ink pro texto. */

.fx-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fx-menu__link {
  position: relative;
  display: inline-block;
  padding-block: 0.35rem;
  color: var(--fx-menu-ink, #f5f5f5);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.fx-menu__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--fx-accent, #ff3f7f);
  transition: width 0.25s ease, left 0.25s ease;
}

.fx-menu__link:hover::after,
.fx-menu__link.is-active::after {
  width: 100%;
  left: 0;
}

/* Botão hambúrguer: some em telas largas, a gaveta some junto */
.fx-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  flex-shrink: 0;
}

@media (min-width: 860px) {
  .fx-menu-toggle { display: none; }
}

.fx-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--fx-menu-ink, #f5f5f5);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.fx-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fx-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.fx-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Gaveta em tela cheia. is-open entra pela direita.
   Fica fixa na página real; na vitrine da biblioteca ela é contida
   numa caixa pra dar pra ver sem cobrir a tela toda. */
.fx-menu-mobile {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background: var(--fx-header-bg, #191b1c);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.fx-menu-mobile.is-open { transform: translateX(0); }

.fx-menu-mobile__link {
  color: #f5f5f5;
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
}

.fx-menu-mobile__close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  color: #f5f5f5;
  cursor: pointer;
}

.fx-menu-mobile__close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

/* ================= Menus / M4. Cápsula de vidro ================= */
/* Lista de links dentro de uma capsula translucida, com uma pilula branca
   que desliza ate o item atual. Feita pra viver sobre foto ou sobre cor
   forte: o vidro pega o que esta atras e desfoca (backdrop-filter), entao
   sobre fundo chapado claro ela praticamente some.

   Sem JS a pilula nao tem onde se posicionar, entao ela nasce invisivel e
   o item atual se marca sozinho com fundo proprio. O JS posiciona, e so
   entao a pilula aparece (.is-pronta).

   Tokens: --fx-cap-vidro --fx-cap-borda --fx-cap-pilula
           --fx-cap-ink (itens) --fx-cap-ink-ativo (item atual)  */

.fx-menu-capsula {
  --fx-cap-vidro: rgba(255, 255, 255, 0.18);
  --fx-cap-borda: rgba(255, 255, 255, 0.4);
  --fx-cap-pilula: #ffffff;
  --fx-cap-ink: rgba(255, 255, 255, 0.92);
  --fx-cap-ink-ativo: #191b1c;
  --fx-cap-respiro: 5px;

  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: var(--fx-cap-respiro);
  list-style: none;
  border-radius: 999px;
  background: var(--fx-cap-vidro);
  border: 1.2px solid var(--fx-cap-borda);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
          backdrop-filter: blur(16px) saturate(160%);
  box-shadow:
    0 8px 32px rgba(0, 20, 50, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

/* A pilula anda por transform, nao por left: o movimento fica na GPU
   e nao obriga o navegador a recalcular layout a cada quadro. */
.fx-menu-capsula__pilula {
  position: absolute;
  top: var(--fx-cap-respiro);
  bottom: var(--fx-cap-respiro);
  left: 0;
  width: 0;
  z-index: 1;
  border-radius: 999px;
  background: var(--fx-cap-pilula);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    width 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.2s ease;
}

/* O quique da mola passa um pouco do destino e volta. No meio do menu
   isso e charme; indo pro primeiro ou pro ultimo item, esse "passar do
   ponto" sai pra fora da capsula. Nas pontas, entao, a curva e suave e
   chega sem ultrapassar. O JS liga essa classe quando o destino e uma
   das pontas. A ordem acompanha a do transition: transform, width, opacity. */
.fx-menu-capsula__pilula.is-na-ponta {
  transition-timing-function:
    cubic-bezier(0.22, 1, 0.36, 1),
    cubic-bezier(0.22, 1, 0.36, 1),
    ease;
}

.fx-menu-capsula.is-pronta .fx-menu-capsula__pilula { opacity: 1; }

.fx-menu-capsula__item {
  position: relative;
  z-index: 2;
  padding: 8px 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fx-cap-ink);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease;
}

.fx-menu-capsula__item:hover { color: #ffffff; }

.fx-menu-capsula__item.is-ativo {
  color: var(--fx-cap-ink-ativo);
  font-weight: 600;
}

/* enquanto a pilula nao chega (sem JS, ou antes dele rodar), o item
   atual carrega o proprio fundo pra continuar legivel */
.fx-menu-capsula:not(.is-pronta) .fx-menu-capsula__item.is-ativo {
  background: var(--fx-cap-pilula);
}

.fx-menu-capsula__item:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

/* ================= Menus / M3. Dock inferior ================= */
/* Barra flutuante no rodape, em pilula, com uma cupula no meio que abre
   espaco pro botao de acao principal. Silhueta continua: a cupula sobe da
   borda de cima da barra por duas curvas suaves, sem emenda visivel.

   A barra e fluida (estica com a tela) e a cupula tem tamanho FIXO,
   ancorada no centro. E por isso que ela nao deforma: quem estica e so a
   pilula, que e arredondamento puro. A cupula e um SVG proprio encostado
   em cima da barra, na mesma cor, com 1px de sobreposicao pra nao abrir
   fresta de arredondamento entre as duas pecas.

   Sem JS: o item atual leva .is-active no HTML, que e o que a pagina ja
   sabe. Em mobile de verdade, lembre do env(safe-area-inset-bottom), que
   ja esta embutido aqui, senao a barra fica embaixo da faixa do iPhone.

   Tokens: --fx-dock-surface --fx-dock-ink --fx-dock-ink-off
           --fx-dock-h (altura) --fx-dock-gap-bottom (respiro ate o rodape) */

.fx-dock {
  --fx-dock-surface: #191b1c;
  --fx-dock-ink: #f5f5f5;
  --fx-dock-ink-off: rgba(245, 245, 245, 0.48);
  --fx-dock-h: 74px;
  --fx-dock-gap-bottom: 16px;
  --fx-dock-btn: 52px;    /* diametro do botao central */
  --fx-dock-ring: 66px;   /* anel de respiro em volta dele */

  position: fixed;
  left: 50%;
  bottom: calc(var(--fx-dock-gap-bottom) + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 120;
  width: calc(100% - 32px);
  max-width: 360px;
  height: var(--fx-dock-h);
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.28));
}

.fx-dock__bar {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--fx-dock-surface);
}

/* a cupula. -1px no bottom e a sobreposicao que fecha a emenda */
.fx-dock__domo {
  position: absolute;
  left: 50%;
  bottom: calc(100% - 1px);
  transform: translateX(-50%);
  display: block;
  width: 122px;
  height: 27px;
  fill: var(--fx-dock-surface);
}

.fx-dock__grid {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 88px 1fr 1fr;
  align-items: center;
  padding: 0 10px;
}

.fx-dock__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
  color: var(--fx-dock-ink-off);
  transition: color 0.2s ease;
}

.fx-dock__item svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.fx-dock__item span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.fx-dock__item:hover:not(.is-active) { color: rgba(245, 245, 245, 0.75); }

.fx-dock__item.is-active { color: var(--fx-dock-ink); }
.fx-dock__item.is-active svg { transform: scale(1.08); }

.fx-dock__item:focus-visible {
  outline: 3px solid var(--fx-accent, #ff3f7f);
  outline-offset: 4px;
  border-radius: 14px;
}

.fx-dock__center-wrap {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* anel de respiro entre o botao e a barra */
.fx-dock__ring {
  position: absolute;
  top: -20px;
  width: var(--fx-dock-ring);
  height: var(--fx-dock-ring);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 245, 245, 0.08);
  box-shadow: 0 0 0 4px var(--fx-dock-surface);
}

.fx-dock__center {
  position: relative;
  width: var(--fx-dock-btn);
  height: var(--fx-dock-btn);
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 70% 25%, #ff6ea0 0%, var(--fx-accent, #ff3f7f) 52%, #b8215a 100%);
  box-shadow: 0 8px 22px rgba(255, 63, 127, 0.45);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.fx-dock__center::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.fx-dock__center:hover {
  transform: scale(1.06);
  box-shadow: 0 10px 26px rgba(255, 63, 127, 0.55);
}

.fx-dock__center:active { transform: scale(0.95); }

.fx-dock__center:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.fx-dock__center svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ================= Botões ================= */
/* Botão de CTA geral do projeto, diferente do botão WhatsApp (que é
   fixo e circular). --fx-accent controla a cor de acento, herdada
   do :root do projeto. */

.fx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fx-btn--primary {
  background: var(--fx-accent, #ff3f7f);
  color: #ffffff;
}

.fx-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 63, 127, 0.35);
}

.fx-btn--outline {
  background: transparent;
  color: var(--fx-btn-outline-ink, #f5f5f5);
  border-color: rgba(245, 245, 245, 0.35);
}

.fx-btn--outline:hover {
  background: var(--fx-accent, #ff3f7f);
  border-color: var(--fx-accent, #ff3f7f);
  color: #ffffff;
}

.fx-btn--icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}

.fx-btn--icon:hover svg { transform: translateX(4px); }

/* ================= Popup / P1. Bottom sheet com recorte ================= */
/* Painel que sobe do rodape com um recorte concavo no topo, no centro,
   abracando o botao de fechar. Mesma familia geometrica do card C2: a
   borda reta sobe por um ombro convexo, encosta tangente num arco
   concentrico com o botao (folga constante) e desce pelo outro ombro.

   Igual ao C2, a geometria sai do estudio (aba Popup do biblioteca.html),
   que exporta o bloco de variaveis pronto. O recorte vem como mascara de
   tamanho fixo ancorada no topo ao centro, entao o sheet continua fluido
   em qualquer largura sem achatar a curva.

   A mascara mora no ::before porque mascara corta os filhos junto, e o
   botao de fechar mora justamente no vazado.

   Tokens do estudio:
     --fx-sheet-mask --fx-sheet-tile-w --fx-sheet-tile-h
     --fx-sheet-btn (diametro) --fx-sheet-btn-top (altura da bolinha)

   Tokens de marca:
     --fx-sheet-surface --fx-sheet-ink --fx-sheet-radius --fx-sheet-fundo
     --fx-sheet-btn-bg --fx-sheet-btn-ink --fx-sheet-btn-line

   ATENCAO na cor do botao de fechar: ele fica no vazado, ou seja, sobre o
   FUNDO ESCURECIDO, nao sobre o sheet. Por isso ele nasce claro. */

.fx-sheet-fundo {
  /* A pagina de tras fica DESFOCADA, nao escurecida. Se em algum projeto
     o contraste pedir um veu, e so declarar --fx-sheet-fundo-cor com uma
     cor bem transparente. */
  --fx-sheet-fundo-cor: transparent;
  --fx-sheet-blur: 10px;

  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: var(--fx-sheet-fundo-cor);
  -webkit-backdrop-filter: blur(var(--fx-sheet-blur));
          backdrop-filter: blur(var(--fx-sheet-blur));
  opacity: 0;
  transition: opacity 0.28s ease;
}

/* display:flex acima passa por cima do atributo hidden, e af o popup
   fechado continuaria cobrindo a pagina e comendo os cliques.
   Esta linha e o que faz o hidden valer de verdade. */
.fx-sheet-fundo[hidden] { display: none; }

.fx-sheet-fundo.is-open { opacity: 1; }

.fx-sheet {
  --fx-sheet-surface: #191b1c;
  --fx-sheet-ink: #f5f5f5;
  --fx-sheet-radius: 32px;

  /* padrao perfeito ja embutido: usar .fx-sheet sem colar nada do
     estudio ja entrega este recorte */
  --fx-sheet-tile-w: 123px;
  --fx-sheet-tile-h: 52px;
  --fx-sheet-btn: 44px;
  --fx-sheet-btn-top: -20px;
  --fx-sheet-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22123%22%20height%3D%2252%22%20viewBox%3D%220%200%20123%2052%22%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M%200%200%20L%2012.02%200%20A%2018%2018%200%200%201%2029.15%2012.46%20A%2034%2034%200%200%200%2093.85%2012.46%20A%2018%2018%200%200%201%20110.98%200%20L%20123%200%20L%20123%2052%20L%200%2052%20Z%22%2F%3E%3C%2Fsvg%3E");

  --fx-sheet-btn-bg: #f5f5f5;
  --fx-sheet-btn-ink: #191b1c;
  --fx-sheet-btn-line: rgba(25, 27, 28, 0.08);

  position: relative;
  isolation: isolate;
  /* mobile: largura inteira, colado no rodape, so as quinas de cima.
     A caixa centralizada e o desktop, la embaixo no media query. */
  width: 100%;
  /* o topo precisa ficar livre pro recorte descer sem comer o conteudo */
  padding: calc(var(--fx-sheet-tile-h) + 8px) 24px calc(28px + env(safe-area-inset-bottom, 0px));
  min-height: calc(var(--fx-sheet-tile-h) + var(--fx-sheet-radius));
  color: var(--fx-sheet-ink);
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.fx-sheet-fundo.is-open .fx-sheet { transform: translateY(0); }

.fx-sheet::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--fx-sheet-surface);
  border-radius: var(--fx-sheet-radius) var(--fx-sheet-radius) 0 0;

  /* Uniao de quatro camadas: o recorte no topo ao centro, tudo que fica
     abaixo dele, e as duas sobras dos lados. Branco nas quatro porque
     serve pra alpha e pra luminancia. O +1px fecha as frestas. */
  -webkit-mask-image: var(--fx-sheet-mask), linear-gradient(#fff, #fff), linear-gradient(#fff, #fff), linear-gradient(#fff, #fff);
          mask-image: var(--fx-sheet-mask), linear-gradient(#fff, #fff), linear-gradient(#fff, #fff), linear-gradient(#fff, #fff);
  -webkit-mask-size:
    var(--fx-sheet-tile-w) var(--fx-sheet-tile-h),
    100% calc(100% - var(--fx-sheet-tile-h) + 1px),
    calc((100% - var(--fx-sheet-tile-w)) / 2 + 1px) var(--fx-sheet-tile-h),
    calc((100% - var(--fx-sheet-tile-w)) / 2 + 1px) var(--fx-sheet-tile-h);
          mask-size:
    var(--fx-sheet-tile-w) var(--fx-sheet-tile-h),
    100% calc(100% - var(--fx-sheet-tile-h) + 1px),
    calc((100% - var(--fx-sheet-tile-w)) / 2 + 1px) var(--fx-sheet-tile-h),
    calc((100% - var(--fx-sheet-tile-w)) / 2 + 1px) var(--fx-sheet-tile-h);
  -webkit-mask-position: center top, left bottom, left top, right top;
          mask-position: center top, left bottom, left top, right top;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
}

.fx-sheet__fechar {
  position: absolute;
  left: 50%;
  top: var(--fx-sheet-btn-top);
  transform: translateX(-50%);
  z-index: 2;
  width: var(--fx-sheet-btn);
  height: var(--fx-sheet-btn);
  border-radius: 50%;
  background: var(--fx-sheet-btn-bg);
  color: var(--fx-sheet-btn-ink);
  border: 1px solid var(--fx-sheet-btn-line);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease;
}

.fx-sheet__fechar:hover { transform: translateX(-50%) scale(1.07); }

.fx-sheet__fechar:focus-visible {
  outline: 3px solid var(--fx-accent, #ff3f7f);
  outline-offset: 3px;
}

.fx-sheet__fechar svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.fx-sheet__corpo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
}

.fx-sheet__selo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 63, 127, 0.14);
  margin-bottom: 0.3rem;
}

.fx-sheet__selo svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--fx-accent, #ff3f7f);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fx-sheet__titulo {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.fx-sheet__texto {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(245, 245, 245, 0.65);
}

.fx-sheet__corpo .fx-btn {
  width: 100%;
  margin-top: 1.1rem;
}

/* No desktop ele deixa de ser gaveta colada no rodape e vira caixa
   flutuante no centro, com TODAS as quinas arredondadas. O recorte e o
   botao continuam iguais, so muda onde a caixa mora. 860px e o mesmo
   corte que a biblioteca usa pra virar a chave de mobile pra desktop. */
@media (min-width: 860px) {
  .fx-sheet-fundo { align-items: center; }

  .fx-sheet {
    max-width: 420px;
    border-radius: var(--fx-sheet-radius);
    /* solto no meio da tela, entao nem faixa do iPhone nem rodape */
    padding-bottom: 32px;
    /* entrada curta, so um respiro subindo: deslizar da base da tela
       inteira so faz sentido quando ele nasce colado no rodape */
    transform: translateY(16px);
  }

  .fx-sheet::before { border-radius: var(--fx-sheet-radius); }
}

/* ================= Galerias / G1. Pilha em Leque =================
   Pilha de cards de imagem aberta em leque: o da frente fica no centro,
   quase de pe, e os de tras abrem pra direita e pra esquerda, menores,
   mais girados e mais escuros. O palco inteiro e um <button>, entao gira
   no clique e tambem no teclado. Quem gira e o JS, mas ele so troca o
   numero do data-posicao: toda a geometria mora aqui. Cada posicao
   declara cinco numeros:
     --fx-pilha-x       lado (multiplo de --fx-pilha-passo-x)
     --fx-pilha-y       descida (multiplo de --fx-pilha-passo-y)
     --fx-pilha-giro    inclinacao do card
     --fx-pilha-escala  tamanho relativo ao da frente
     --fx-pilha-brilho  escurecimento (1 = card da frente)
     --fx-pilha-d       profundidade, so pra ordem de empilhamento
   Pra suportar mais cards, basta acrescentar mais um seletor de posicao.

   Tokens de marca:
     --fx-pilha-largura --fx-pilha-altura --fx-pilha-palco
     --fx-pilha-passo-x --fx-pilha-passo-y
     --fx-pilha-raio --fx-pilha-borda --fx-pilha-sombra
     --fx-pilha-legenda-bg --fx-pilha-legenda-ink --fx-pilha-dica-ink
   ================================================================== */

.fx-pilha {
  /* medidas mobile-first: o desktop cresce no media query la embaixo */
  --fx-pilha-largura: 190px;
  --fx-pilha-altura: 248px;
  --fx-pilha-palco: 320px;
  --fx-pilha-passo-x: 52px;
  --fx-pilha-passo-y: 14px;

  --fx-pilha-raio: 18px;
  --fx-pilha-borda: rgba(245, 245, 245, 0.1);
  --fx-pilha-sombra: 0 24px 50px rgba(0, 0, 0, 0.7);
  --fx-pilha-legenda-bg: rgba(0, 0, 0, 0.65);
  --fx-pilha-legenda-ink: #f5f5f5;
  --fx-pilha-dica-ink: rgba(245, 245, 245, 0.45);

  position: relative;
}

.fx-pilha__palco {
  position: relative;
  display: block;
  width: 100%;
  height: var(--fx-pilha-palco);
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.fx-pilha__palco:focus-visible {
  outline: 2px solid var(--fx-accent, #ff3f7f);
  outline-offset: 4px;
  border-radius: 12px;
}

.fx-pilha__arte {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--fx-pilha-largura);
  height: var(--fx-pilha-altura);
  margin: calc(var(--fx-pilha-altura) / -2) 0 0 calc(var(--fx-pilha-largura) / -2);
  overflow: hidden;
  border-radius: var(--fx-pilha-raio);
  border: 1px solid var(--fx-pilha-borda);
  box-shadow: var(--fx-pilha-sombra);

  transform:
    translate(
      calc(var(--fx-pilha-x, 0) * var(--fx-pilha-passo-x)),
      calc(var(--fx-pilha-y, 0) * var(--fx-pilha-passo-y))
    )
    rotate(var(--fx-pilha-giro, 0deg))
    scale(var(--fx-pilha-escala, 1));
  filter: brightness(var(--fx-pilha-brilho, 1));
  z-index: calc(50 - var(--fx-pilha-d, 0) * 10);

  transition:
    transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.6s ease;
  will-change: transform;
}

.fx-pilha__arte img,
.fx-pilha__arte picture,
.fx-pilha__arte video,
.fx-pilha__arte svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* O leque: a frente no centro e quase de pe, o 2 abre pra direita, o 3
   pra esquerda. Os extras (4 e 5) continuam alternando os lados, sempre
   menores, mais girados e mais escuros. */
.fx-pilha__arte[data-posicao="1"] {
  --fx-pilha-x: 0; --fx-pilha-y: 0;
  --fx-pilha-giro: -1.5deg; --fx-pilha-escala: 1; --fx-pilha-brilho: 1;
  --fx-pilha-d: 0;
}
.fx-pilha__arte[data-posicao="2"] {
  --fx-pilha-x: 1; --fx-pilha-y: 0.4;
  --fx-pilha-giro: 6deg; --fx-pilha-escala: 0.88; --fx-pilha-brilho: 0.8;
  --fx-pilha-d: 1;
}
.fx-pilha__arte[data-posicao="3"] {
  --fx-pilha-x: -1; --fx-pilha-y: 0.6;
  --fx-pilha-giro: -7deg; --fx-pilha-escala: 0.86; --fx-pilha-brilho: 0.55;
  --fx-pilha-d: 2;
}
.fx-pilha__arte[data-posicao="4"] {
  --fx-pilha-x: 1.35; --fx-pilha-y: 1.2;
  --fx-pilha-giro: 11deg; --fx-pilha-escala: 0.82; --fx-pilha-brilho: 0.4;
  --fx-pilha-d: 3;
}
.fx-pilha__arte[data-posicao="5"] {
  --fx-pilha-x: -1.35; --fx-pilha-y: 1.4;
  --fx-pilha-giro: -13deg; --fx-pilha-escala: 0.8; --fx-pilha-brilho: 0.32;
  --fx-pilha-d: 4;
}

/* --- Variacao: .fx-pilha--fila, enfileirada em diagonal ---------------
   Mesmo componente, outra assinatura: em vez de abrir em leque pros dois
   lados, os cards sobem numa diagonal da esquerda pra direita. O da frente
   fica embaixo e a esquerda, o do fundo sobe pra direita. Muda so a
   geometria das posicoes e os dois passos, o HTML e o JS sao os mesmos. */
.fx-pilha--fila {
  --fx-pilha-palco: 340px;
  --fx-pilha-passo-x: 46px;
  --fx-pilha-passo-y: 26px;
}

.fx-pilha--fila .fx-pilha__arte[data-posicao="1"] {
  --fx-pilha-x: -0.95; --fx-pilha-y: 0.9;
  --fx-pilha-giro: -5deg; --fx-pilha-escala: 1; --fx-pilha-brilho: 1;
  --fx-pilha-d: 0;
}
.fx-pilha--fila .fx-pilha__arte[data-posicao="2"] {
  --fx-pilha-x: 0.1; --fx-pilha-y: -0.1;
  --fx-pilha-giro: 1deg; --fx-pilha-escala: 0.94; --fx-pilha-brilho: 0.72;
  --fx-pilha-d: 1;
}
.fx-pilha--fila .fx-pilha__arte[data-posicao="3"] {
  --fx-pilha-x: 1.05; --fx-pilha-y: -1.05;
  --fx-pilha-giro: 6deg; --fx-pilha-escala: 0.88; --fx-pilha-brilho: 0.5;
  --fx-pilha-d: 2;
}
.fx-pilha--fila .fx-pilha__arte[data-posicao="4"] {
  --fx-pilha-x: 1.95; --fx-pilha-y: -1.9;
  --fx-pilha-giro: 10deg; --fx-pilha-escala: 0.83; --fx-pilha-brilho: 0.36;
  --fx-pilha-d: 3;
}
.fx-pilha--fila .fx-pilha__arte[data-posicao="5"] {
  --fx-pilha-x: 2.8; --fx-pilha-y: -2.7;
  --fx-pilha-giro: 14deg; --fx-pilha-escala: 0.79; --fx-pilha-brilho: 0.28;
  --fx-pilha-d: 4;
}

/* Legenda: so o card da frente mostra. */
.fx-pilha__legenda {
  position: absolute;
  left: 12px;
  bottom: 12px;
  margin: 0;
  padding: 4px 10px;
  border: 1px solid rgba(245, 245, 245, 0.14);
  border-radius: 8px;
  background: var(--fx-pilha-legenda-bg);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  font-size: 0.58rem;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fx-pilha-legenda-ink);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.fx-pilha__arte[data-posicao="1"] .fx-pilha__legenda { opacity: 1; }

.fx-pilha__dica {
  margin: 10px 0 0;
  text-align: center;
  font-size: 0.7rem;
  font-style: normal;
  color: var(--fx-pilha-dica-ink);
}

@media (min-width: 640px) {
  .fx-pilha {
    --fx-pilha-largura: 240px;
    --fx-pilha-altura: 312px;
    --fx-pilha-palco: 400px;
    --fx-pilha-passo-x: 72px;
    --fx-pilha-passo-y: 18px;
  }

  .fx-pilha--fila {
    --fx-pilha-palco: 430px;
    --fx-pilha-passo-x: 68px;
    --fx-pilha-passo-y: 38px;
  }

  .fx-pilha__legenda { font-size: 0.66rem; }
  .fx-pilha__dica { font-size: 0.78rem; }
}

/* ================= Reduced motion fallback ================= */

@media (prefers-reduced-motion: reduce) {
  .fx-aurora__bg { animation: none; }
  .fx-parallax__layer { transform: none !important; transition: none; }
  .fx-fade { opacity: 1; transform: none; transition: none; }
  .fx-text-reveal > span { animation: none; opacity: 1; transform: none; }
  .fx-magnetic { transform: none !important; transition: none; }
  .fx-spotlight::before { transition: none; }
  .fx-chat-scroll__msg { opacity: 1 !important; filter: none !important; transform: none !important; transition: none !important; }
  .fx-card3d__card { transform: none !important; transition: none !important; }
  .fx-timeline-fill__fill { height: 100% !important; }
  .fx-tlsync__fill { height: 100% !important; }
  .fx-tlsync__item { opacity: 1 !important; transform: none !important; transition: none !important; }
  .fx-float { transform: none !important; }
  /* o JS nao ativa o swap com reduce; isto garante a pilha estatica mesmo assim */
  .fx-swap.is-ativo { height: auto; }
  .fx-swap.is-ativo .fx-swap__palco { position: static; height: auto; padding-block: 48px; gap: 56px; overflow: visible; }
  .fx-swap.is-ativo .fx-swap__item { position: static; opacity: 1; transform: none; }
  .fx-swap.is-ativo .fx-swap__passos { display: none; }
  .fx-wa--pulse::before,
  .fx-wa--rings::before,
  .fx-wa--rings::after,
  .fx-wa--float,
  .fx-wa--glow { animation: none; }
  .fx-testimonial__play { transition: none; }
  .fx-testimonial__play:hover { transform: translate(-50%, -50%); }
  .fx-testimonial__video { transition: none; }
  .fx-accordion__item::before,
  .fx-accordion__head,
  .fx-accordion__icon,
  .fx-accordion__answer,
  .fx-accordion__more { transition: none; }
  .fx-accordion__panel { transition: none; }
  .fx-header--fade { transition: none; }
  .fx-menu__link::after { transition: none; }
  .fx-menu-toggle span { transition: none; }
  .fx-menu-mobile { transition: none; }
  .fx-btn { transition: none; }
  .fx-btn--primary:hover { transform: none; }
  .fx-btn--icon svg { transition: none; }
  /* a cor do botao continua mudando no hover, so o movimento sai */
  .fx-notch__action,
  .fx-notch__action svg { transition: none; }
  .fx-notch:hover .fx-notch__action,
  .fx-notch__action:hover,
  .fx-notch:hover .fx-notch__action svg,
  .fx-notch__action:hover svg { transform: none; }
  /* a pilula troca de item na hora, sem deslizar */
  .fx-menu-capsula__pilula,
  .fx-menu-capsula__item { transition: none; }
  .fx-dock__item,
  .fx-dock__item svg,
  .fx-dock__center { transition: none; }
  .fx-dock__item.is-active svg { transform: none; }
  .fx-dock__center:hover,
  .fx-dock__center:active { transform: none; }
  /* a pilha continua girando no clique, so sem deslizar entre as posicoes */
  .fx-pilha__arte,
  .fx-pilha__legenda { transition: none; }
  /* o sheet ainda abre e fecha, so nao desliza nem escala */
  .fx-sheet-fundo,
  .fx-sheet,
  .fx-sheet__fechar { transition: none; }
  .fx-sheet { transform: none; }
  .fx-sheet__fechar:hover { transform: translateX(-50%); }
}
