/* ---------- Pular para o conteúdo ---------- */
.pular {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-weight: 600;
  text-decoration: none;
}

.pular:focus {
  top: 12px;
}

/* ---------- Topo ---------- */
.topo {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--topo-altura);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}

.topo--rolado,
.topo--menu-aberto {
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  border-color: var(--borda);
}

.topo__barra {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.topo__logo img {
  width: auto;
  height: 24px;
}

.topo__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.topo__nav a {
  font-size: 0.9rem;
  color: var(--texto-suave);
  text-decoration: none;
  transition: color 0.2s;
}

.topo__nav a:hover {
  color: var(--texto);
}

.topo__cta-menu,
.topo__menu-botao {
  display: none;
}

@media (max-width: 860px) {
  .topo__nav {
    position: fixed;
    inset: var(--topo-altura) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: rgba(0, 0, 0, 0.94);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--borda);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }

  .topo--menu-aberto .topo__nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .topo__nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--borda);
    font-size: 1.05rem;
    color: var(--texto);
  }

  .topo__cta-menu {
    display: inline-flex;
    margin-top: 18px;
  }

  .topo__cta {
    margin-left: auto;
  }

  .topo__menu-botao {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 0;
    background: transparent;
  }

  .topo__menu-botao span {
    height: 1.5px;
    background: #fff;
    transition: transform 0.3s var(--ease);
  }

  .topo__menu-botao[aria-expanded="true"] span:first-child {
    transform: translateY(3.75px) rotate(45deg);
  }

  .topo__menu-botao[aria-expanded="true"] span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-block: calc(var(--topo-altura) + 40px) 80px;
  overflow: hidden;
  isolation: isolate;
}

.hero__fundo,
.final__fundo {
  position: absolute;
  inset: -6%;
  z-index: -2;
  background: url("../img/fundo/pilulas.webp") center / cover no-repeat;
  animation: mover-pilulas 24s ease-in-out infinite;
}

.hero__fundo {
  opacity: 0.9;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 58% 52% at 50% 50%, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3) 70%, transparent),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent 28%, transparent 70%, #000);
}

.hero__grade {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.hero__texto > * {
  animation: entrada-hero 1s var(--ease) both;
}

.hero__texto > :nth-child(2) { animation-delay: 0.08s; }
.hero__texto > :nth-child(3) { animation-delay: 0.16s; }
.hero__texto > :nth-child(4) { animation-delay: 0.24s; }
.hero__texto > :nth-child(5) { animation-delay: 0.32s; }
.hero__texto > :nth-child(6) { animation-delay: 0.4s; }

.hero__selo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border: 1px solid var(--borda-forte);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 0.85rem;
  color: var(--texto-suave);
}

.ponto-vivo {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sucesso);
  animation: pulsar-whatsapp 2s infinite;
}

.hero__titulo {
  margin-top: 22px;
  font-size: clamp(3rem, 9vw, 6.4rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero__subtitulo {
  max-width: 30ch;
  margin-top: 18px;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: var(--texto-suave);
}

.hero__acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__nota {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--texto-suave);
}

.hero__brinde {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 10px 16px 10px 12px;
  border: 1px solid rgba(176, 77, 255, 0.38);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(36, 64, 255, 0.2), rgba(176, 77, 255, 0.2));
  font-size: 0.9rem;
}

.hero__brinde svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--roxo-claro);
}

.hero__aparelho {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 540px;
}

.hero__aura,
.card-produto__aura,
.design__aura {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--roxo) 0%, transparent 65%);
  background: radial-gradient(circle, color-mix(in srgb, var(--aura, var(--roxo)) 60%, var(--roxo)) 0%, transparent 66%);
  filter: blur(40px);
  opacity: 0.7;
  transform: translate(-50%, -50%);
  animation: pulsar-aura 6s ease-in-out infinite;
  pointer-events: none;
  transition: background 0.6s;
}

.hero__ilus {
  position: relative;
  width: min(290px, 60vw);
  animation: apresentar-aparelho 1.2s var(--ease) 0.2s both;
}

.hero__ilus svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.65));
  animation: flutuar 6s ease-in-out 1.4s infinite;
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    text-align: center;
  }

  /* No celular a imagem "pílulas" ficava gigante/cortada (o "cover" cobria a altura toda,
     estourando a largura). Troca por um brilho suave e contido, igual à referência de UX. */
  .hero__fundo {
    inset: 0;
    background: radial-gradient(ellipse 70% 38% at 28% 8%, rgba(22, 49, 214, 0.55), transparent 62%),
      radial-gradient(ellipse 60% 34% at 80% 16%, rgba(138, 20, 201, 0.45), transparent 65%);
    background-color: var(--fundo);
    animation: none;
  }

  /* Transição em degradê (tipo sombra) para o preto da seção de vídeo (acima) e da
     próxima seção (abaixo), em vez do vinheta radial pensado para telas largas. */
  .hero::before {
    background: linear-gradient(
      to bottom,
      var(--fundo) 0%,
      transparent 22%,
      transparent 78%,
      var(--fundo) 100%
    );
  }

  .hero__grade {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero__texto {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__subtitulo {
    margin-inline: auto;
  }

  .hero__acoes {
    justify-content: center;
  }

  .hero__aparelho {
    min-height: 400px;
  }

  .hero__ilus {
    width: 200px;
  }
}

@media (max-width: 480px) {
  .hero__acoes .botao {
    width: 100%;
  }
}

/* ---------- Como funciona ---------- */
.passos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0;
  list-style: none;
}

.passo,
.card-produto,
.troca__cartao {
  position: relative;
}

.passo {
  padding: 32px 28px;
  border: 1px solid var(--borda);
  border-radius: var(--raio-l);
  background: linear-gradient(180deg, var(--superficie-2), var(--superficie));
}

.passo::after,
.card-produto::after {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: var(--contorno-luz);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.passo:hover::after,
.card-produto:hover::after {
  opacity: 0.75;
}

.passo__numero {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--marca);
  font-weight: 700;
  box-shadow: 0 10px 24px -10px rgba(106, 31, 224, 0.8);
}

.passo h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.passo p {
  color: var(--texto-suave);
}

.brinde {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 18px;
  padding: 24px 28px;
  border: 1px solid rgba(176, 77, 255, 0.32);
  border-radius: var(--raio-l);
  background: linear-gradient(120deg, rgba(36, 64, 255, 0.22), rgba(138, 20, 201, 0.22));
}

.brinde__icone {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: none;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
}

.brinde__icone svg {
  width: 28px;
  height: 28px;
}

.brinde h3 {
  font-size: 1.2rem;
}

.brinde p {
  margin-top: 4px;
  color: var(--texto-suave);
}

.brinde .botao {
  margin-left: auto;
}

@media (max-width: 860px) {
  .passos {
    grid-template-columns: 1fr;
  }

  .brinde {
    flex-direction: column;
    text-align: center;
  }

  .brinde .botao {
    margin: 0;
  }
}

/* ---------- Design ---------- */
.design {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}

.design__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 580px;
  padding: 40px 20px;
  border: 1px solid var(--borda);
  border-radius: var(--raio-xl);
  background: radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, 0.05), transparent 70%), var(--superficie);
  overflow: hidden;
}

.design__aura {
  width: 90%;
  top: 44%;
}

.design__ilus {
  position: relative;
  width: min(250px, 58vw);
}

.design__ilus svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 36px 50px rgba(0, 0, 0, 0.6));
}

.design__cores {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.design__nome-cor {
  font-size: 0.9rem;
  color: var(--texto-suave);
}

.destaques {
  margin-top: 28px;
  border-top: 1px solid var(--borda);
}

.destaque {
  border-bottom: 1px solid var(--borda);
}

.destaque summary,
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.destaque summary {
  padding: 18px 0;
  font-size: 1.08rem;
}

.destaque summary::-webkit-details-marker,
.faq__item summary::-webkit-details-marker {
  display: none;
}

.destaque p {
  max-width: 52ch;
  padding-bottom: 18px;
  color: var(--texto-suave);
}

details[open] > :not(summary) {
  animation: entrada-hero 0.45s var(--ease);
}

.icone-mais {
  position: relative;
  width: 28px;
  height: 28px;
  flex: none;
  border: 1px solid var(--borda-forte);
  border-radius: 50%;
  transition: background 0.3s, border-color 0.3s;
}

.icone-mais::before,
.icone-mais::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease);
}

.icone-mais::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

details[open] .icone-mais {
  border-color: var(--roxo-claro);
  background: rgba(176, 77, 255, 0.15);
}

details[open] .icone-mais::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.design .botao {
  margin-top: 28px;
}

@media (max-width: 860px) {
  .design {
    grid-template-columns: 1fr;
  }

  .design__visual {
    min-height: 460px;
  }
}

/* ---------- Modelos ---------- */
.vitrine {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card-produto {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--borda);
  border-radius: var(--raio-l);
  background: var(--superficie);
  transition: border-color 0.3s;
}

.card-produto__visual {
  position: relative;
  display: grid;
  place-items: center;
  height: 320px;
  border-radius: var(--raio-l) var(--raio-l) 0 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 255, 255, 0.06), transparent 70%);
  overflow: hidden;
}

.card-produto__aura {
  width: 80%;
  opacity: 0.5;
}

.card-produto__ilus {
  position: relative;
  display: grid;
  place-items: center;
  height: 250px;
}

.card-produto__ilus svg {
  width: auto;
  height: 100%;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55));
}

.card-produto__visual .selo {
  position: absolute;
  top: 16px;
  left: 16px;
}

.card-produto--breve .card-produto__ilus {
  opacity: 0.75;
}

.card-produto__corpo {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  padding: 22px 24px 24px;
}

.card-produto__nome {
  font-size: 1.45rem;
}

.card-produto__detalhe {
  margin-top: -12px;
  font-size: 0.9rem;
  color: var(--texto-suave);
}

.card-produto__opcoes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-produto__cor {
  font-size: 0.85rem;
  color: var(--texto-suave);
}

.card-produto__preco {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--borda);
}

.preco {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.preco__rotulo {
  font-size: 0.8rem;
  color: var(--texto-suave);
}

.preco__parcela {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.preco__nota {
  font-size: 0.84rem;
  color: var(--texto-suave);
}

.preco__nota strong {
  color: var(--texto);
}

.preco--breve .preco__parcela {
  font-size: 1.25rem;
}

.campo-compacto {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.campo-compacto__rotulo {
  font-size: 0.8rem;
  color: var(--texto-suave);
}

.campo-compacto select,
.campo select {
  width: 100%;
  min-height: 46px;
  padding: 10px 40px 10px 14px;
  border: 1px solid var(--borda-forte);
  border-radius: 12px;
  background: var(--superficie-2)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a6a6b6' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat right 14px center / 12px;
  -webkit-appearance: none;
  appearance: none;
}

select option {
  background: #13131c;
}

.nota-legal {
  margin-top: 22px;
  font-size: 0.8rem;
  text-align: center;
  color: var(--texto-fraco);
}

.acessorios {
  margin-top: clamp(56px, 8vw, 96px);
}

.acessorios__cabecalho {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.acessorios__cabecalho h3 {
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
}

.acessorios__cabecalho p {
  margin-top: 6px;
  color: var(--texto-suave);
}

.carrossel__setas {
  display: flex;
  gap: 8px;
}

.seta {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--borda-forte);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s, opacity 0.2s;
}

.seta:hover {
  background: rgba(255, 255, 255, 0.1);
}

.seta:disabled {
  opacity: 0.3;
  cursor: default;
}

.seta svg {
  width: 18px;
  height: 18px;
}

.carrossel {
  display: grid;
  grid-auto-columns: calc((100% - 36px) / 3);
  grid-auto-flow: column;
  gap: 18px;
  padding-bottom: 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.carrossel::-webkit-scrollbar {
  display: none;
}

.carrossel > * {
  scroll-snap-align: start;
}

@media (max-width: 980px) {
  .vitrine {
    grid-template-columns: repeat(2, 1fr);
  }

  .carrossel {
    grid-auto-columns: calc((100% - 18px) / 2);
  }
}

@media (max-width: 640px) {
  .vitrine {
    grid-template-columns: 1fr;
  }

  /* Um produto por vez, ocupando a largura toda (sem mostrar parte do próximo) */
  .carrossel {
    grid-auto-columns: 100%;
  }
}

/* ---------- Troca ---------- */
.troca {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}

.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin: 28px 0 20px;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--texto-suave);
}

.checklist li::before {
  content: "";
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / 12px no-repeat,
    var(--marca);
}

.troca .botao {
  margin-top: 16px;
}

.troca__cartao {
  padding: 28px;
  border: 1px solid var(--borda);
  border-radius: var(--raio-xl);
  background: linear-gradient(160deg, var(--superficie-3), var(--superficie));
  box-shadow: var(--sombra);
}

.troca__linha {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--borda);
  border-radius: var(--raio-m);
  background: rgba(255, 255, 255, 0.03);
}

.troca__linha strong {
  display: block;
}

.troca__linha span {
  font-size: 0.86rem;
  color: var(--texto-suave);
}

.troca__linha--destaque {
  border-color: rgba(176, 77, 255, 0.42);
  background: linear-gradient(120deg, rgba(36, 64, 255, 0.25), rgba(138, 20, 201, 0.25));
}

.troca__icone {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  background: rgba(176, 77, 255, 0.14);
  color: var(--roxo-claro);
}

.troca__linha--destaque .troca__icone {
  background: var(--marca);
  color: #fff;
}

.troca__icone svg {
  width: 22px;
  height: 22px;
}

.troca__seta {
  display: grid;
  place-items: center;
  height: 34px;
  color: var(--roxo-claro);
}

.troca__seta svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 860px) {
  .troca {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .checklist {
    grid-template-columns: 1fr;
  }
}

/* ---------- Dúvidas ---------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
  margin-inline: auto;
}

.faq__item {
  border: 1px solid var(--borda);
  border-radius: var(--raio-m);
  background: var(--superficie);
  transition: border-color 0.3s, background 0.3s;
}

.faq__item[open] {
  border-color: rgba(176, 77, 255, 0.35);
  background: var(--superficie-2);
}

.faq__item summary {
  padding: 20px 22px;
  font-size: 1.05rem;
}

.faq__resposta {
  padding: 0 22px 22px;
  color: var(--texto-suave);
}

.faq__resposta a,
.faq__mais a {
  color: var(--roxo-claro);
  font-weight: 600;
}

.faq__mais {
  margin-top: 28px;
  text-align: center;
  color: var(--texto-suave);
}

/* ---------- Chamada final ---------- */
.final {
  position: relative;
  padding-block: clamp(100px, 14vw, 180px);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.final__fundo {
  opacity: 0.75;
}

.final::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 55% 60% at 50% 50%, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.25) 75%),
    linear-gradient(#000, transparent 25%, transparent 75%, #000);
}

.titulo-final {
  font-size: clamp(2.4rem, 7vw, 5rem);
  letter-spacing: -0.04em;
}

.final .subtitulo-secao {
  max-width: 560px;
  margin-inline: auto;
}

.final .botao {
  margin-top: 36px;
}

/* ---------- Rodapé ---------- */
.rodape {
  padding-block: 56px 36px;
  border-top: 1px solid var(--borda);
  background: #030305;
}

.rodape__grade {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.rodape__logo img {
  width: auto;
  height: 26px;
}

.rodape__slogan {
  max-width: 32ch;
  margin-top: 14px;
  color: var(--texto-suave);
}

.rodape h3 {
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--texto-fraco);
}

.rodape ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  list-style: none;
  color: var(--texto-suave);
}

.rodape a {
  color: var(--texto-suave);
  text-decoration: none;
  transition: color 0.2s;
}

.rodape a:hover {
  color: var(--texto);
}

.rodape__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--borda);
  font-size: 0.8rem;
  color: var(--texto-fraco);
}

.rodape__legal p {
  max-width: 70ch;
}

@media (max-width: 760px) {
  .rodape__grade {
    grid-template-columns: 1fr;
  }
}

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-flutuante {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6);
  animation: pulsar-whatsapp 2.6s infinite;
  transition: transform 0.2s var(--ease);
}

.whatsapp-flutuante:hover {
  transform: scale(1.07);
}

.whatsapp-flutuante svg {
  width: 30px;
  height: 30px;
}

/* ---------- Entrada com vídeo (antes do hero) ---------- */
.entrada {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 520px;
  overflow: hidden;
  isolation: isolate;
  background: #000;
}

/* Escurece o topo para o menu continuar legível sobre o vídeo */
.entrada::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: 22%;
  background: linear-gradient(rgba(0, 0, 0, 0.65), transparent);
  pointer-events: none;
}

.entrada__video {
  position: absolute;
  inset: 0;
  background: #000 center / cover no-repeat;
}

.entrada__video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* O iframe do YouTube é 16:9: aumenta até cobrir a tela inteira, como object-fit: cover */
.entrada__video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100%, calc(100svh * 16 / 9));
  height: max(100%, calc(100vw * 9 / 16));
  border: 0;
  opacity: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: opacity 1.2s var(--ease);
}

.entrada--pronta .entrada__video iframe {
  opacity: 1;
}

/* Skeleton: iPhone estático numa "luz baixa" por cima do mesmo fundo, enquanto o vídeo
   não toca (ou nunca toca — some sozinho quando entrada--pronta liga). */
.entrada__esqueleto {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 1s var(--ease);
}

.entrada--pronta .entrada__esqueleto {
  opacity: 0;
}

.entrada__esqueleto-luz {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 42% at 50% 54%, rgba(176, 77, 255, 0.22), transparent 68%),
    radial-gradient(ellipse 120% 90% at 50% 50%, transparent 38%, rgba(0, 0, 0, 0.8) 85%);
}

.entrada__esqueleto-foto {
  position: relative;
  z-index: 1;
  width: min(260px, 46vw);
  height: auto;
  filter: drop-shadow(0 40px 70px rgba(0, 0, 0, 0.8)) brightness(0.82);
  animation: respirar-esqueleto 3.2s ease-in-out infinite;
}

@keyframes respirar-esqueleto {
  0%,
  100% {
    opacity: 0.82;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

/* Sombra de transição para o bloco seguinte */
.entrada__sombra {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 48%;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.55) 50%, var(--fundo));
  pointer-events: none;
}

.entrada__acoes {
  position: absolute;
  left: 50%;
  bottom: max(32px, env(safe-area-inset-bottom));
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transform: translateX(-50%);
  text-align: center;
}

.entrada__descer {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--texto);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.entrada__seta {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: quicar 2.2s var(--ease) infinite;
  transition: background 0.25s, border-color 0.25s;
}

.entrada__seta svg {
  width: 24px;
  height: 24px;
}

.entrada__descer:hover .entrada__seta,
.entrada__descer:focus-visible .entrada__seta {
  border-color: transparent;
  background: var(--marca);
}

@keyframes quicar {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

/* ---------- Hero no celular: iPhone em 3D contado pela rolagem ---------- */
/* A faixa é alta e o palco fica preso na tela enquanto --p vai de 0 a 1 (hero-paralaxe.js):
   0–30% tela ligada de frente · 30–70% gira para a traseira · 70–100% zoom no módulo de câmeras */
.hero__paralaxe {
  display: none;
}

@media (max-width: 860px) {
  /* "clip" corta o fundo como "hidden", mas sem impedir o palco de ficar preso na tela */
  .hero {
    overflow: clip;
  }

  .hero__aparelho {
    width: 100%;
    min-height: 0;
  }

  .hero__aura,
  .hero__ilus {
    display: none;
  }

  .hero__paralaxe {
    --p: 0;
    position: relative;
    display: block;
    width: calc(100% + 2 * var(--gutter));
    height: 190vh;
    height: 190svh;
    margin: 24px calc(-1 * var(--gutter)) 0;
    background: #000;
  }

  .hero__paralaxe-palco {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    background: #000;
  }

  /* Brilho roxo da marca que cresce conforme a história avança */
  .hero__paralaxe-palco::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 95%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(138, 20, 201, 0.5), rgba(36, 64, 255, 0.18) 45%, transparent 68%);
    filter: blur(26px);
    opacity: calc(0.55 + var(--p) * 0.45);
    transform: translate(-50%, -50%) scale(calc(0.85 + var(--p) * 0.45));
  }

  /* Funde o topo e a base do palco com o preto da página */
  .hero__paralaxe-palco::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(#000, transparent 14%, transparent 86%, #000);
    pointer-events: none;
  }

  .hero__paralaxe-palco model-viewer {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: transparent;
    --poster-color: transparent;
    pointer-events: none; /* a rolagem com o dedo passa direto para a página */
    opacity: 0;
    transition: opacity 0.8s var(--ease);
  }

  .hero__paralaxe--3d .hero__paralaxe-palco model-viewer {
    opacity: 1;
  }

  /* Foto usada até o 3D carregar (ou no lugar dele): também se aproxima e gira com a rolagem */
  .hero__paralaxe img {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: auto;
    height: 76%;
    max-width: none;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.7));
    transform-origin: 50% 25%;
    transform: translate(-50%, -50%) rotate(calc(-14deg + var(--p) * 14deg)) scale(calc(0.9 + var(--p) * 0.7));
    transition: opacity 0.8s var(--ease);
    will-change: transform;
  }

  .hero__paralaxe--3d img {
    opacity: 0;
  }
}

@media (max-width: 860px) and (prefers-reduced-motion: reduce) {
  .hero__paralaxe {
    height: auto;
  }

  .hero__paralaxe-palco {
    position: relative;
    height: min(120vw, 520px);
  }

  .hero__paralaxe img {
    transform: translate(-50%, -50%) rotate(-8deg);
  }
}
