/* =========================================================
   PlantonIA - mockup de telefone (WhatsApp fiel)
   Peça central do hero: frame de smartphone + tela de chat
   estilizada como o WhatsApp de verdade (interface, não o logo).
   ========================================================= */

.hero-visual { position: relative; justify-self: center; perspective: 1400px; }
.phone-glow {
  position: absolute;
  inset: -8% -30% -10%;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--wa-green) 32%, transparent), transparent 70%);
  filter: blur(28px);
  z-index: 0;
}

.phone-mock {
  position: relative;
  z-index: 1;
  /* corpo FISICO do aparelho (77.6x163mm, iPhone Pro Max) manda na forma
     externa - mais "quadrado" que a tela por causa da moldura ao redor.
     A tela interna (.phone-screen) usa a razao de pontos (430x932) e fica
     encaixada com bezel uniforme; a diferenca entre as duas razoes E o
     bezel, sem conta especial. Altura = teto que sobra da dobra (100vh/svh
     menos header, menos padding do hero e respiro), travada num maximo
     confortavel pra telas bem altas. Nunca altura solta por conteudo. */
  aspect-ratio: 77.6 / 163;
  width: auto;
  height: min(620px, calc(100vh - var(--header-h) - 6rem));
  height: min(620px, calc(100svh - var(--header-h) - 6rem));
  background: #060B0D;
  border-radius: 54px;
  box-shadow:
    0 60px 90px -30px rgba(4, 12, 10, 0.65),
    0 18px 34px -18px rgba(4, 12, 10, 0.55),
    0 0 0 1.5px rgba(255,255,255,0.06) inset;
  transform-style: preserve-3d;
  /* --tilt-x/--tilt-y: estado inicial (3D leve, reduzido pra nao encurtar a
     largura percebida por perspectiva), motion.js anima ate 0deg conforme
     o scroll do hero avança ("endireita" o telefone). Sem JS, fica com a
     inclinação estática abaixo, ainda com boa leitura. */
  --tilt-x: 4deg;
  --tilt-y: -6deg;
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 0.4s var(--ease-out-expo);
}
/* botões laterais sutis (opcional, so silhueta) */
.phone-mock::before,
.phone-mock::after {
  content: "";
  position: absolute;
  background: #0A1114;
  z-index: -1;
}
.phone-mock::before { left: -2px; top: 17%; width: 3px; height: 7%; border-radius: 2px 0 0 2px; }
.phone-mock::after { right: -2px; top: 22%; width: 3px; height: 10%; border-radius: 0 2px 2px 0; }

/* tela interna: razao de pontos (430/932) por consequencia geometrica do
   bezel uniforme, nao por aspect-ratio proprio (evita os dois aspect-ratio
   competindo pelo mesmo box). Raio concentrico = raio externo - bezel. */
.phone-screen {
  position: absolute;
  inset: 11px;
  border-radius: 43px;
  overflow: hidden;
  background: var(--wa-wallpaper);
  /* iOS liquid glass: topbar e inputbar flutuam translucidos SOBRE o chat
     (que ocupa a tela inteira, ver .wa-chat), nao empurram ele pra baixo -
     o conteudo passa por baixo deles com profundidade real. */
}

/* dynamic island: parte FISICA do aparelho (frame), por isso vive como
   irmã de .phone-screen dentro de .phone-mock, nunca dentro do container
   que rola ou de algo com overflow:hidden que possa engoli-la. z-index alto
   pra flutuar por cima da topbar de vidro (que tambem e translucida) em
   todo estado do scrollytelling - ela e fisica, nunca sai de cena.
   Medida real do iPhone Pro Max: tela 430x932pt, island 126x37.3pt, offset
   de topo ~11pt - 126/430=29% largura, 37.3/932=4% altura da TELA (nao do
   corpo). Como ela vive em .phone-mock (corpo) mas a medida e relativa a
   .phone-screen (tela, inset:11px), "100%" de cada calc() abaixo resolve
   contra o eixo certo do phone-mock (largura pra width/left, altura pra
   top/height) e so subtrai os 22px do bezel (11px x2) pra chegar no
   tamanho real da tela por baixo. */
.phone-notch {
  position: absolute;
  top: calc(11px + (100% - 22px) * 0.012); /* screen top (11px) + 1.2% da altura da tela */
  left: 50%;
  translate: -50% 0;
  width: calc((100% - 22px) * 0.29);
  height: calc((100% - 22px) * 0.04);
  background: #000;
  border-radius: 999px;
  z-index: 20;
}

/* =========================================================
   Topbar iOS liquid glass (status bar + header numa so peca
   translucida, flutuando SOBRE o chat - ver .wa-chat abaixo)
   ========================================================= */
.wa-topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.phone-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* margem lateral em % da largura da TELA (a base de calculo aqui, ja
     dentro de .phone-screen, e o proprio phone-screen - nao precisa do
     calc do bezel). altura fixa aproxima o centro vertical do texto do
     centro da dynamic island (~19-22px do topo da tela no nosso range real
     de tamanho, 560-693px de altura de tela) - min-height:38px com
     align-items:center centraliza nesse ponto sem depender de % de altura
     (que nao resolveria: o pai .wa-topbar tem altura "auto"). */
  padding-inline: 6.5%;
  padding-top: 0.1rem;
  min-height: 38px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.status-icons { display: inline-flex; align-items: center; gap: 5px; }

.wa-header {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 52px;
  padding: 0.3rem 0.45rem;
  color: var(--ink);
}
.wa-back-pill {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  flex-shrink: 0;
  color: var(--wa-teal-900);
  padding: 0.2rem 0.15rem 0.2rem 0;
}
.wa-back-badge {
  display: grid;
  place-items: center;
  min-width: 1.05rem;
  height: 1.05rem;
  padding-inline: 0.15rem;
  border-radius: 999px;
  background: var(--wa-teal-900);
  color: var(--on-dark);
  font-size: 0.6rem;
  font-weight: 700;
}
.wa-avatar {
  display: grid;
  place-items: center;
  width: 1.9rem; height: 1.9rem;
  border-radius: 50%;
  background: var(--wa-teal-700);
  color: var(--on-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  flex-shrink: 0;
}
.wa-header-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
/* nome sempre em UMA linha, com reticencias se nao couber - no WhatsApp
   real ele nunca quebra em 2-3 linhas (bug relatado). */
.wa-header-title strong {
  font-size: 0.8rem;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wa-header-title span { font-size: 0.62rem; color: var(--ink-soft); margin-top: 1px; }
.wa-header-icons-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  color: var(--wa-teal-900);
  background: rgba(11, 26, 23, 0.06);
  padding: 0.3rem 0.45rem;
  border-radius: 999px;
}

.wa-chat {
  /* preenche a tela INTEIRA (liquid glass: topbar/inputbar flutuam por cima,
     translucidas, com o chat passando por baixo - ver .wa-topbar acima e
     .wa-inputbar abaixo). padding-top/bottom reservam o espaco visual delas
     sem empurrar o layout, ja que ambas sao position:absolute. */
  position: absolute;
  inset: 0;
  overflow-y: auto;
  /* sem scrollbar visivel (nem WhatsApp mostra uma); com JS, motion.js
     controla o scrollTop em sincronia com o scrollytelling do hero, dando
     o efeito de "a conversa rola dentro da tela" pedido. Sem JS, o rolar
     nativo (mouse/touch) continua funcionando, nada fica inacessivel. */
  scrollbar-width: none;
  padding: 90px 0.6rem 60px;
  display: flex;
  flex-direction: column;
  /* ancorado no fundo: no WhatsApp real a conversa nasce colada na barra de
     input e cresce pra cima (vazio, se houver, fica no topo, nao embaixo -
     bug relatado). gap curto = "mesmo grupo"; grupos diferentes usam
     margin-top proprio (ver .wa-system-note/.wa-tag/.wa-bubble-audio).
     "safe": no estado inicial (maioria das bolhas ainda invisivel mas
     ocupando espaco no flex) o conteudo passa da altura do container: sem
     "safe" isso e o bug classico do CSS Box Alignment onde o flex-end
     empurra o topo pra FORA da area rolavel (data-chip/aviso de criptografia
     ficam inacessiveis - foi exatamente o que aconteceu). "safe" cai pra
     start automaticamente so quando ha overflow, e volta pro fim quando
     o conteudo cabe (visual real do WhatsApp). */
  justify-content: safe flex-end;
  gap: 3px;
  background-color: var(--wa-wallpaper);
  /* doodle rico (sol, folha, coracao, nuvem, xicara, estrela, planta,
     borboleta, balao, guarda-chuva, pata, aviao de papel, flor, camera) em
     traco fino e bem sutil - nao pode competir com as bolhas. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cg fill='none' stroke='%23000' stroke-width='1' opacity='0.05'%3E%3Ccircle cx='24' cy='28' r='5'/%3E%3Cpath d='M24 17v4M24 35v4M13 28h4M31 28h4M17 21l3 3M31 21l-3 3M17 35l3-3M31 35l-3 3'/%3E%3Cpath d='M58 16v16a3.5 3.5 0 1 1-2-3.2V18l9-2v12a3.5 3.5 0 1 1-2-3.2V14Z'/%3E%3Cpath d='M98 32c-5-7-14-3-14 3 0 5 7 10 14 15 7-5 14-10 14-15 0-6-9-10-14-3Z'/%3E%3Cpath d='M138 30a5 5 0 0 1 9-2 4 4 0 0 1 5 4 4 4 0 0 1-1 8h-14a4 4 0 0 1 1-10Z'/%3E%3Cpath d='M178 22h12v9a6 6 0 0 1-12 0Zm12 2h3a2.5 2.5 0 0 1 0 5h-3'/%3E%3Cpath d='M22 66l2 4 4 .5-3 3 1 4-4-2.5-4 2.5 1-4-3-3 4-.5Z'/%3E%3Cpath d='M52 62c9-4 17 2 15 12-10 2-17-3-15-12Z'/%3E%3Cpath d='M98 64v12M98 67c-3-5-11-5-11 0s8 7 11 3M98 67c3-5 11-5 11 0s-8 7-11 3'/%3E%3Ccircle cx='142' cy='60' r='7'/%3E%3Cpath d='M142 67v5l2 3'/%3E%3Cpath d='M178 76a9 9 0 0 1 18 0h-18Zm9 0v12a2.5 2.5 0 0 1-3.5 2.5'/%3E%3Ccircle cx='22' cy='105' r='3.5'/%3E%3Ccircle cx='15' cy='99' r='2'/%3E%3Ccircle cx='29' cy='99' r='2'/%3E%3Ccircle cx='18' cy='94' r='2'/%3E%3Ccircle cx='26' cy='94' r='2'/%3E%3Cpath d='M52 92l22 7-9 3.5-3 7-3.5-7-9-3.5Z'/%3E%3Ccircle cx='98' cy='100' r='3'/%3E%3Ccircle cx='93' cy='96' r='3'/%3E%3Ccircle cx='103' cy='96' r='3'/%3E%3Ccircle cx='93' cy='104' r='3'/%3E%3Ccircle cx='103' cy='104' r='3'/%3E%3Cpath d='M172 94h18v12h-18Zm3-3h4l2-3h2l2 3h4'/%3E%3Ccircle cx='181' cy='100' r='3.5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 190px 190px;
}
.wa-chat::-webkit-scrollbar { display: none; }

.wa-date-chip {
  align-self: center;
  background: rgba(255,255,255,0.75);
  color: var(--ink-soft);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.08);
}

/* aviso de criptografia (detalhe de autenticidade do WhatsApp real) */
.wa-encryption-note {
  align-self: center;
  max-width: 92%;
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  text-align: center;
  justify-content: center;
  font-size: 0.62rem;
  line-height: 1.35;
  color: #8A6B1E;
  background: rgba(255, 250, 235, 0.7);
  padding: 0.4rem 0.7rem;
  border-radius: 10px;
  margin-top: 5px;
}
.wa-encryption-note svg { flex-shrink: 0; margin-top: 1px; }

/* quando motion.js assume (js-motion), o GSAP controla opacity/transform dos
   elementos do chat via scroll (scrollytelling); desliga os keyframes de
   carregamento pra eles nao brigarem pelo mesmo transform/opacity.
   ponytail: pode haver um flash bem breve entre o primeiro paint (CSS) e o
   vendor JS terminar de carregar; seguranca (funciona sem JS) pesa mais que
   esse instante cosmetico. */
.js-motion .wa-chat > * { animation: none; }

.wa-bubble {
  position: relative;
  max-width: 78%;
  padding: 0.4rem 2.3rem 0.45rem 0.55rem;
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.35;
  opacity: 0;
  animation: bubble-in var(--dur-normal) var(--ease-out-expo) both;
  animation-delay: calc(var(--d, 0) * 480ms + 250ms);
  box-shadow: 0 1px 1px rgba(0,0,0,0.12);
}
/* espacamento padrao WhatsApp: ~8px entre GRUPOS de mensagem (bolha depois
   de nota de sistema, bolha de audio inicial, nova bolha recebida). Dentro
   do mesmo grupo (tag->bolha) o gap de 3px do container ja basta. */
.wa-bubble-audio,
.wa-system-note,
.wa-tag,
.wa-typing,
.wa-system-note + .wa-bubble-in,
.wa-bubble-out + .wa-bubble-in {
  margin-top: 5px;
}
@keyframes bubble-in {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.wa-bubble-in {
  align-self: flex-start;
  background: var(--wa-received);
  color: var(--ink);
  border-top-left-radius: 2px;
}
.wa-bubble-in::before {
  content: "";
  position: absolute;
  left: -7px; top: 0;
  width: 12px; height: 13px;
  background: var(--wa-received);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}
.wa-bubble-out {
  align-self: flex-end;
  background: var(--wa-sent);
  color: var(--ink);
  border-top-right-radius: 2px;
}
.wa-bubble-out::before {
  content: "";
  position: absolute;
  right: -7px; top: 0;
  width: 12px; height: 13px;
  background: var(--wa-sent);
  clip-path: polygon(0 0, 0 100%, 100% 0);
}

.wa-meta {
  position: absolute;
  right: 0.5rem;
  bottom: 0.3rem;
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
  color: rgba(11, 26, 23, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}
.wa-check { color: var(--wa-check); }

.wa-tag {
  align-self: flex-start;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--wa-teal-700);
  padding: 0 0.3rem;
  opacity: 0;
  animation: bubble-in var(--dur-normal) ease both;
  animation-delay: calc(var(--d, 0) * 480ms + 180ms);
}
.wa-tag-ai, .wa-tag-human { align-self: flex-end; }
.wa-tag-human { color: var(--wa-green-600); }

/* --- mensagem de audio + transcricao nativa (o diferencial nº1) ---
   layout real do WhatsApp: [avatar com badge de mic][play][waveform] numa
   linha, duracao (esquerda, sob a waveform) + hora (direita) na linha debaixo,
   depois a transcricao INTEGRADA na mesma bolha (divisor sutil + texto +
   rotulinho), nao um elemento solto. Sem pill de velocidade parado (so
   aparece DURANTE a reproducao no app). */
.wa-bubble-audio {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.45rem 0.6rem 0.5rem 0.5rem;
}
.wa-audio-row { display: flex; align-items: center; gap: 0.5rem; }
.wa-audio-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: var(--wa-wallpaper);
  color: var(--wa-teal-700);
  flex-shrink: 0;
}
.wa-mic-badge {
  position: absolute;
  right: -2px; bottom: -2px;
  display: grid;
  place-items: center;
  width: 1rem; height: 1rem;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  border: 1.5px solid var(--wa-received);
}
.wa-play-btn {
  display: grid;
  place-items: center;
  width: 1.9rem; height: 1.9rem;
  border-radius: 50%;
  background: var(--wa-teal-900);
  color: var(--on-dark);
  flex-shrink: 0;
}
.wa-audio-main { display: flex; flex-direction: column; flex: 1; min-width: 0; gap: 3px; }
.waveform { position: relative; display: flex; align-items: center; gap: 2.5px; height: 18px; }
.waveform i {
  width: 2.5px;
  border-radius: 2px;
  background: color-mix(in oklab, var(--wa-teal-700) 55%, transparent);
  animation: wave 1.1s ease-in-out infinite;
}
.waveform i:nth-child(-n+5) { background: var(--wa-teal-700); }
.waveform i:nth-child(1) { height: 40%; animation-delay: 0ms; }
.waveform i:nth-child(2) { height: 75%; animation-delay: 90ms; }
.waveform i:nth-child(3) { height: 55%; animation-delay: 180ms; }
.waveform i:nth-child(4) { height: 100%; animation-delay: 270ms; }
.waveform i:nth-child(5) { height: 65%; animation-delay: 360ms; }
.waveform i:nth-child(6) { height: 85%; animation-delay: 450ms; }
.waveform i:nth-child(7) { height: 45%; animation-delay: 540ms; }
.waveform i:nth-child(8) { height: 70%; animation-delay: 630ms; }
.waveform i:nth-child(9) { height: 50%; animation-delay: 720ms; }
.waveform i:nth-child(10) { height: 80%; animation-delay: 810ms; }
.waveform i:nth-child(11) { height: 38%; animation-delay: 900ms; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.55); }
  50% { transform: scaleY(1); }
}
/* pontinho de progresso da reproducao, parado em ~35% (decorativo) */
.waveform::after {
  content: "";
  position: absolute;
  left: 35%;
  top: 50%;
  translate: -50% -50%;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--wa-teal-700);
  box-shadow: 0 0 0 2px var(--wa-wallpaper);
}
.wa-audio-row2 { display: flex; align-items: center; justify-content: space-between; }
.audio-time { font-size: 0.66rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.wa-meta-audio { position: static; font-size: 0.66rem; }

/* transcricao nativa: divisor hairline + texto (shimmer resolve pro texto
   real via motion.js) + rotulinho discreto. */
.wa-transcript {
  position: relative;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(11, 26, 23, 0.1);
}
.wa-transcript-shimmer,
.wa-transcript-text {
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.35;
}
.wa-transcript-shimmer { display: none; align-items: center; gap: 0.3rem; font-style: italic; }
/* estado padrao (sem JS): mostra o texto real direto, nunca o placeholder -
   motion.js e que troca pra shimmer->resolve quando assume o controle. */
.wa-transcript-text { display: block; margin: 0; }
.wa-transcript-label {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.58rem;
  color: color-mix(in oklab, var(--ink-soft) 70%, transparent);
}

/* --- notas de sistema (transcrevendo / encaminhado) --- */
.wa-system-note {
  align-self: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: rgba(255,255,255,0.6);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  opacity: 0;
  animation: bubble-in var(--dur-normal) ease both;
  animation-delay: calc(var(--d, 0) * 480ms + 250ms);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.wa-handoff { color: var(--wa-teal-900); background: color-mix(in oklab, var(--wa-green) 16%, white); font-weight: 700; }
.dots { display: inline-flex; gap: 2px; }
.dots i {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: currentColor;
  animation: bounce 1.2s ease-in-out infinite;
}
.dots i:nth-child(2) { animation-delay: 0.15s; }
.dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

/* --- indicador "digitando" (bolha transiente, sem cauda) --- */
.wa-typing {
  padding: 0.55rem 0.9rem;
  background: color-mix(in oklab, var(--wa-sent) 70%, white);
}
.wa-typing::before { display: none; }
.wa-typing .dots i { background: var(--ink-soft); width: 4px; height: 4px; }

/* --- barra de input estilo iOS ---
   "+" FORA a esquerda, campo com sticker DENTRO a direita, camera FORA e
   mic FORA a direita - nada de emoji+clipe (isso e padrao Android). Vidro
   liquido flutuando sobre o chat, igual a topbar. */
.wa-inputbar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 -1px 0 rgba(0,0,0,0.06);
  color: var(--wa-teal-900);
}
.wa-plus-btn {
  display: grid;
  place-items: center;
  width: 1.9rem; height: 1.9rem;
  flex-shrink: 0;
  color: var(--wa-teal-900);
}
.wa-input-pill {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  background: rgba(11, 26, 23, 0.055);
  border-radius: 999px;
  padding: 0.45rem 0.5rem 0.45rem 0.85rem;
  font-size: 0.8rem;
  color: rgba(11, 26, 23, 0.45);
}
.wa-sticker-icon { flex-shrink: 0; opacity: 0.75; }
.wa-camera-icon { flex-shrink: 0; color: var(--wa-teal-900); }
.wa-mic-send {
  display: grid;
  place-items: center;
  width: 1.9rem; height: 1.9rem;
  border-radius: 50%;
  background: var(--wa-green);
  color: var(--on-dark);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  /* empilhado (copy em cima, telefone embaixo): tenta caber na dobra do
     celular tambem (100svh), mas copy+telefone empilhados realisticamente
     passam de 1 tela com o telefone num tamanho que ainda pareça de
     verdade - align-items:flex-start mantem o topo (badge/titulo/CTA)
     ancorado no alto em vez de cortar os dois lados igual (centralizado
     cortaria o badge por cima tambem). Decisao own-mobile, nao espremido
     do desktop: largura manda aqui (~74-78vw), nao altura. */
  .hero { min-height: 100svh; align-items: flex-start; padding-block: clamp(1.5rem, 5vh, 3rem); }
  .hero-visual { margin-inline: auto; }
  .phone-mock { width: min(300px, 78vw); height: auto; }
}
@media (max-width: 560px) {
  .phone-mock { --tilt-x: 0deg; --tilt-y: 0deg; width: min(270px, 74vw); height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .phone-mock { --tilt-x: 0deg; --tilt-y: 0deg; }
  /* !important de verdade aqui: CSS Animation ativa (mesmo com duration/delay
     zerados globalmente em styles.css) fica numa camada da cascata ACIMA de
     uma regra de autor comum - sem !important essa opacity:1 perdia pra
     opacity:0 do keyframe "from" (bug real, medido: elementos com delay
     longo, tipo a tag da Marina a ~3s, ficavam invisiveis por esse tempo
     todo mesmo com reduced-motion ligado). */
  .wa-bubble, .wa-system-note, .wa-tag {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
