/* ============================================================
   APOLLINE PUBLI · protótipo de movimento (fase 2)
   Tipografia: Quicksand como stand-in da Caregold (trocar
   quando os arquivos da fonte chegarem).
   Paleta oficial: #7248F0 roxo · #DBFF3F lima · #000 · #FFF
   ============================================================ */

:root {
  --roxo: #7248F0;
  --lima: #DBFF3F;
  --preto: #050505;
  --branco: #F4F2FB;
  --cinza: #8a82a0;
  --fonte: "Quicksand", -apple-system, sans-serif;          /* marca e títulos (stand-in da Caregold) */
  --fonte-texto: "Manrope", -apple-system, sans-serif;      /* textos e frases */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: initial; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: #000000;
  color: var(--branco);
  font-family: var(--fonte-texto);
  overflow-x: hidden;
  cursor: none;
}
h1, h2, h3, .trabalhos-titulo, .clientes-titulo, .lima-frase { font-family: var(--fonte); }
@media (hover: none) { body { cursor: auto; } }

img { user-select: none; -webkit-user-drag: none; }
a { color: inherit; text-decoration: none; }

/* cursor customizado */
/* sem blend no container: blend na tela inteira fazia a página piscar a cada hover */
.cursor { position: fixed; inset: 0; z-index: 9999; pointer-events: none; }
.cursor-dot {
  position: absolute; width: 8px; height: 8px;
  background: var(--lima); border-radius: 50%;
  transform: translate(-50%,-50%);
  mix-blend-mode: difference;
}
.cursor-anel {
  position: absolute; width: 34px; height: 34px;
  border: 1px solid rgba(160,160,170,0.75); border-radius: 50%;
  transform: translate(-50%,-50%);
  mix-blend-mode: difference;
  transition: width .25s, height .25s, border-color .25s;
}
.cursor.grande .cursor-anel { width: 70px; height: 70px; border-color: var(--lima); }
@media (hover: none) { .cursor { display: none; } }

/* topo */
.topo {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 26px;
}
.marca {
  display: flex; align-items: center; justify-content: center;
  background: rgba(5,5,5,0.88);
  width: 46px; height: 46px; border-radius: 50%;
}
.marca img { width: 22px; }

main { position: relative; z-index: 3; }
section { position: relative; }

/* ================= ENTRADA (portal e abertura na mesma cena) ================= */
.entrada { position: relative; height: 230svh; }
.entrada-palco {
  position: sticky; top: 0; height: 100svh;
  overflow: hidden;
}
.entrada-video {
  position: absolute;
  top: -80px; left: -80px;
  width: calc(100% + 160px); height: calc(100% + 160px);
  object-fit: cover;
  filter: blur(16px);
  will-change: filter;
}
/* uma única camada de escurecimento, que clareia na rolagem */
.entrada-veu {
  position: absolute; inset: 0;
  background: #000; opacity: 0.72;
}
.portal-frase {
  position: absolute; inset: 0;
  font-family: var(--fonte-texto);
  font-size: clamp(20px, 4.2vw, 66px);
  font-weight: 200; line-height: 1.22; letter-spacing: -0.02em;
  display: flex; align-items: center; justify-content: center;
  gap: 0.28em; white-space: nowrap;
  padding: 0 5vw;
}
.parte-fixa { display: inline-block; }
/* cilindro de palavras */
.cilindro {
  display: inline-block; position: relative;
  height: 1.5em; overflow: hidden;
  vertical-align: baseline; margin-bottom: -0.16em;
  transition: width .45s cubic-bezier(.2,.8,.2,1);
  mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
}
.cilindro .rolo { display: flex; flex-direction: column; align-items: flex-start; will-change: transform; }
.cilindro .rolo span {
  height: 1.5em; line-height: 1.5em;
  font-weight: 600; color: var(--lima);
  white-space: nowrap; text-align: left;
}
.portal-dica {
  position: absolute; bottom: 4vh; left: 50%; transform: translateX(-50%);
  width: 1px; height: 40px; overflow: hidden;
  background: rgba(255,255,255,0.18);
}
.portal-dica span {
  position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--lima);
  animation: dica 1.9s ease-in-out infinite;
}

/* o topo só aparece depois do portal */
.topo { opacity: 0; pointer-events: none; transition: opacity .6s ease; }
.topo.visivel { opacity: 1; pointer-events: auto; }

/* frentes: aparecem no segundo estado da entrada */
.hero-frentes { position: absolute; left: 6vw; right: 6vw; bottom: 15vh; }
.lima-texto { font-style: normal; color: var(--lima); }

.ponto { color: var(--lima); font-style: normal; }
.hero-frentes {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 26px;
  font-size: clamp(10px, 1.1vw, 12px);
  text-align: center;
  letter-spacing: 4px; text-transform: uppercase;
  color: rgba(244,242,251,0.7); font-weight: 500;
}
.hero-frentes span { opacity: 0; transform: translateY(14px); }
@keyframes dica { to { top: 110%; } }

/* ================= JORNADA (linha do tempo vertical com filme atrás) ================= */
.manifesto { position: relative; background: #000; }
.manifesto-palco { position: relative; }

/* palco fixo atrás dos marcos */
.palco-fixo {
  position: sticky; top: 0; height: 100svh;
  overflow: hidden;
}
/* fundo roxo sólido da paleta */
.tecido {
  position: absolute; inset: 0;
  background: var(--roxo);
  overflow: hidden;
}

/* marcos centralizados, subindo por cima do palco */
.marcos {
  position: relative; z-index: 2;
  list-style: none;
  margin-top: -100svh;
}
.marco {
  position: relative;
  min-height: 62svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(18px, 2.6vh, 30px);
  padding: 0 8vw; text-align: center;
}
/* trecho de linha que desce até o pino: cresce quando o marco entra */
.marco::before {
  content: ""; position: absolute; left: 50%; width: 1px;
  transform-origin: top; transform: translateX(-50%) scaleY(0);
  top: 4%; height: 32%;
  background: linear-gradient(to bottom, rgba(219,255,63,0.12), var(--lima));
  transition: transform 1.1s cubic-bezier(.16,1,.3,1);
}
.marco.ativo::before { transform: translateX(-50%) scaleY(1); }
.marco:first-child::before { top: 12%; height: 24%; }
/* faísca que corre pela linha quando o marco acende */
.marco::after {
  content: ""; position: absolute; left: 50%; top: 4%;
  width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--lima);
  box-shadow: 0 0 14px rgba(219,255,63,0.9);
  opacity: 0;
}
.marco.ativo::after { animation: faisca 1.1s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes faisca {
  0% { opacity: 0; transform: translateY(0); }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translateY(calc(62svh * 0.32)); }
}
.pino {
  position: relative; z-index: 2;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--roxo);
  border: 2px solid rgba(255,255,255,0.45);
  flex: 0 0 auto;
  transition: background .5s cubic-bezier(.16,1,.3,1), transform .5s cubic-bezier(.16,1,.3,1),
              border-color .5s ease, box-shadow .5s ease;
}
.marco.ativo .pino {
  background: var(--lima); border-color: var(--lima);
  transform: scale(1.6);
  box-shadow: 0 0 26px rgba(219,255,63,0.85);
}
/* halo pulsando no pino ativo */
.pino::after {
  content: ""; position: absolute; inset: -6px;
  border-radius: 50%; border: 1px solid rgba(219,255,63,0.5);
  opacity: 0; transform: scale(0.6);
}
.marco.ativo .pino::after { animation: pulso 2.2s ease-out infinite; }
@keyframes pulso {
  0% { opacity: 0.8; transform: scale(0.6); }
  70% { opacity: 0; transform: scale(2.4); }
  100% { opacity: 0; transform: scale(2.4); }
}
.marco p {
  position: relative; z-index: 2;
  font-family: var(--fonte-texto);
  font-size: clamp(24px, 3.4vw, 50px);
  font-weight: 300; line-height: 1.25; letter-spacing: -0.02em;
  max-width: 18ch; text-wrap: balance;
  opacity: 0; transform: translateY(34px) scale(0.98); filter: blur(5px);
  transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1), filter .9s ease;
}
/* uma vez visto, o texto fica legível para sempre (some só o destaque) */
.marco.visto p { opacity: 0.55; transform: none; filter: blur(0); }
.marco.ativo p { opacity: 1; }
/* o traço fica desenhado depois que passou */
.marco.visto::before { transform: translateX(-50%) scaleY(1); }
.marco em { font-style: normal; font-weight: 700; color: var(--lima); }

/* ================= CLIENTES (o bloco branco do PDF) ================= */
.clientes {
  padding: 26vh 0 22vh; overflow: hidden;
  background: #FFFFFF; color: #0A0A0A;
}
.clientes .kicker { color: rgba(10,10,10,0.5); }
.clientes-titulo {
  text-align: center;
  font-size: clamp(22px, 3.2vw, 40px);
  font-weight: 600; line-height: 1.1;
  margin-bottom: 8vh; padding: 0 6vw;
}
.clientes-titulo .rev { display: inline-block; }
.esteira { width: 100%; overflow: hidden; padding: 22px 0; }
.fila { display: flex; align-items: center; width: max-content; will-change: transform; }
/* altura de cada logo = base x escala óptica (--e, calculada por proporção) */
.fila img {
  --base-logo: clamp(32px, 3.4vw, 46px);
  height: calc(var(--base-logo) * var(--e, 1));
  width: auto; max-width: none;
  object-fit: contain;
  margin: 0 clamp(28px, 3.2vw, 52px);
  opacity: 0.5;
  transition: opacity .35s;
}
.fila img:hover { opacity: 1; }
.fila img.selo-app { border-radius: 14%; }

/* ================= TRABALHOS ================= */
.trabalhos { padding: 24vh 0 8vh; }
.trabalhos-titulo {
  font-size: clamp(22px, 3.2vw, 40px);
  font-weight: 600; padding: 0 6vw;
  margin-bottom: 6vh;
}
.kicker {
  display: block;
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 5px; text-transform: uppercase;
  color: rgba(138,130,160,0.8);
  margin-bottom: 18px;
}
/* cabeça do portfólio com os números de autoridade */
.cabeca-portfolio {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 30px;
  padding: 0 6vw; margin-bottom: 7vh;
}
.cabeca-portfolio .trabalhos-titulo { padding: 0; margin: 0; }
.numeros { display: flex; gap: clamp(26px, 4vw, 64px); }
.numero { display: flex; flex-direction: column; gap: 2px; }
.numero b {
  font-family: var(--fonte);
  font-size: clamp(24px, 2.8vw, 40px); font-weight: 700;
  letter-spacing: -0.02em; line-height: 1;
  color: var(--lima);
}
.numero span {
  font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(138,130,160,0.85);
}

/* mosaico de peças: colunas em velocidades diferentes */
.mosaico {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 1.1vw, 16px);
  padding: 0 clamp(10px, 1.1vw, 16px);
  height: 92svh; overflow: hidden;
}
.coluna { display: flex; flex-direction: column; gap: clamp(10px, 1.1vw, 16px); will-change: transform; }
.coluna img {
  width: 100%; display: block; border-radius: 6px;
  filter: saturate(0.92);
  transition: transform .5s cubic-bezier(.2,.8,.2,1), filter .5s;
}
.coluna img:hover { transform: scale(1.03); filter: saturate(1.1); }
.mosaico-bordas {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, #000 0%, transparent 16%, transparent 84%, #000 100%);
}

/* ================= DESTAQUE (bloco roxo chapado, como o PDF) ================= */
.destaque-lima {
  background: var(--roxo);
  color: #FFFFFF;
  padding: 18vh 6vw;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  position: relative; overflow: hidden;
}
.destaque-lima::after {
  content: "";
  position: absolute; right: 0; bottom: 0;
  width: min(26vh, 22vw); height: min(26vh, 22vw);
  background: #FFFFFF;
  border-top-left-radius: 100%;
}
.lima-frase {
  font-family: var(--fonte);
  font-size: clamp(24px, 3.8vw, 52px);
  font-weight: 700; line-height: 1.15;
  letter-spacing: -0.01em;
}
.lima-frase { position: relative; z-index: 1; }
.lima-frase b { font-weight: 700; color: var(--lima); }

/* ================= FILMES (cinema com playlist) ================= */
.filmes { padding: 22vh 0 6vh; }
/* grade de fitas: todas com o mesmo peso, nenhuma em destaque */
.fitas {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.5vw, 22px);
  padding: 0 6vw;
}
.fita {
  background: none; border: 0; padding: 0;
  text-align: left; color: var(--branco); font-family: inherit;
  cursor: none; display: block;
}
@media (hover: none) { .fita { cursor: pointer; } }
.fita-img {
  position: relative; display: block; overflow: hidden;
  border-radius: 8px; aspect-ratio: 16 / 10;
  margin-bottom: 13px;
}
.fita-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(0.85) brightness(0.82);
  transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .5s;
}
.fita-img::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,0.12);
  transition: background .4s;
}
.fita-img::before {
  content: ""; position: absolute; z-index: 2;
  left: 50%; top: 50%; width: 46px; height: 46px;
  transform: translate(-50%,-50%) scale(0.8);
  border-radius: 50%;
  background: rgba(219,255,63,0.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230A0A0A'%3E%3Cpath d='M9 7.5v9l7.5-4.5z'/%3E%3C/svg%3E") center/20px no-repeat;
  opacity: 0; transition: opacity .35s ease, transform .35s cubic-bezier(.2,.8,.2,1);
}
.fita:hover .fita-img img { transform: scale(1.06); filter: saturate(1) brightness(1); }
.fita:hover .fita-img::after { background: rgba(0,0,0,0.32); }
.fita:hover .fita-img::before { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.fita-nome { display: block; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.fita-sub { display: block; font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--cinza); margin-top: 2px; }

/* lightbox do vídeo */
.luz {
  position: fixed; inset: 0; z-index: 210;
  display: flex; align-items: center; justify-content: center;
  padding: 5vw;
  opacity: 0; pointer-events: none; transition: opacity .35s ease;
}
.luz.aberto { opacity: 1; pointer-events: auto; }
.luz-fundo { position: absolute; inset: 0; background: rgba(0,0,0,0.9); backdrop-filter: blur(8px); }
.luz .modal-x { top: 22px; right: 22px; }
.luz-tela {
  position: relative; z-index: 1;
  width: min(1120px, 100%);
  transform: scale(0.97); transition: transform .4s cubic-bezier(.2,.9,.3,1);
}
.luz.aberto .luz-tela { transform: none; }
.luz-tela iframe {
  width: 100%; aspect-ratio: 16 / 9; border: 0;
  border-radius: 12px; display: block;
  background: #000;
}

/* ================= FECHO (compacto) ================= */
.fecho-site { padding: 13vh 6vw 0; }
.rodape-linha {
  display: flex; flex-direction: row;
  align-items: center; justify-content: center;
  gap: clamp(22px, 3vw, 40px);
  padding-bottom: 42px;
}
.fecho-p { display: flex; line-height: 0; }
.fecho-p .assinatura { height: clamp(84px, 8.5vw, 100px); width: auto; display: block; }
.rodape-acoes {
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 12px;
}
.btn-fale {
  font-family: var(--fonte); font-size: 10px; font-weight: 600;
  letter-spacing: 1.6px; text-transform: uppercase;
  color: rgba(244,242,251,0.82); background: none;
  border: 1px solid rgba(244,242,251,0.22); border-radius: 100px;
  padding: 9px 18px; cursor: none;
  transition: color .3s, border-color .3s, transform .3s;
}
@media (hover: none) { .btn-fale { cursor: pointer; } }
.btn-fale:hover { color: var(--lima); border-color: var(--lima); transform: translateY(-2px); }
.redes { display: flex; gap: 9px; }
.redes a {
  display: inline-flex; width: 32px; height: 32px;
  align-items: center; justify-content: center;
  border: 1px solid rgba(244,242,251,0.16); border-radius: 50%;
  color: var(--branco);
  transition: border-color .3s, color .3s, transform .3s;
}
.redes a svg { width: 13px; height: 13px; }
.redes a:hover { border-color: var(--lima); color: var(--lima); transform: translateY(-2px); }
footer {
  width: 100%;
  display: flex; justify-content: center; align-items: center; gap: 10px;
  padding: 16px 0 22px;
  border-top: 1px solid rgba(244,242,251,0.07);
  font-size: 9.5px; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(138,130,160,0.6);
}
footer span + span::before { content: "·"; margin-right: 10px; }

/* revelação no scroll: só esconde se o JS assumiu (sem JS, tudo aparece) */
html.com-rev .rev, html.com-rev #fechoP {
  opacity: 0; transform: translateY(42px);
  transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1);
}
html.com-rev .rev.visivel, html.com-rev #fechoP.visivel { opacity: 1; transform: none; }

/* ================= POPUP DE CONTATO ================= */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 5vw;
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
}
.modal.aberto { opacity: 1; pointer-events: auto; }
.modal-fundo { position: absolute; inset: 0; background: rgba(0,0,0,0.82); backdrop-filter: blur(6px); }
.modal-caixa {
  position: relative; z-index: 1;
  width: min(520px, 100%);
  background: var(--roxo); color: #fff;
  border-radius: 20px; padding: 40px 38px 36px;
  overflow: hidden;
  transform: translateY(24px) scale(0.97);
  transition: transform .4s cubic-bezier(.2,.9,.3,1);
}
.modal.aberto .modal-caixa { transform: none; }
.modal-caixa::after {
  content: ""; position: absolute; right: 0; bottom: 0;
  width: 120px; height: 120px; background: #fff;
  border-top-left-radius: 100%;
  opacity: 0.1;
}
.modal-caixa .kicker { color: rgba(255,255,255,0.65); }
.modal-caixa h3 {
  font-size: clamp(26px, 3.4vw, 36px); font-weight: 700;
  margin-bottom: 26px; letter-spacing: -0.01em;
}
.modal-x {
  position: absolute; top: 16px; right: 16px;
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.12); border: 0; color: #fff;
  cursor: none; transition: background .3s;
}
@media (hover: none) { .modal-x { cursor: pointer; } }
.modal-x:hover { background: rgba(255,255,255,0.24); }
.modal-x svg { width: 15px; height: 15px; }
.campo { position: relative; margin-bottom: 16px; }
.campo input, .campo textarea {
  width: 100%; background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16); border-radius: 12px;
  padding: 20px 16px 9px;
  color: #fff; font-family: var(--fonte-texto); font-size: 15px;
  outline: none; resize: none;
  transition: border-color .25s, background .25s;
}
.campo textarea { padding-top: 24px; }
.campo input:focus, .campo textarea:focus { border-color: var(--lima); background: rgba(255,255,255,0.14); }
.campo label {
  position: absolute; left: 16px; top: 15px;
  font-size: 14px; color: rgba(255,255,255,0.65);
  pointer-events: none;
  transition: transform .22s ease, font-size .22s ease, color .22s ease;
  transform-origin: left top;
}
.campo input:focus + label, .campo input:not(:placeholder-shown) + label,
.campo textarea:focus + label, .campo textarea:not(:placeholder-shown) + label {
  transform: translateY(-9px) scale(0.75); color: var(--lima);
}
.btn-enviar {
  width: 100%; margin-top: 6px;
  font-family: var(--fonte); font-size: 13px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: #0A0A0A; background: var(--lima);
  border: 0; border-radius: 100px; padding: 15px;
  cursor: none; transition: background .3s;
}
@media (hover: none) { .btn-enviar { cursor: pointer; } }
.btn-enviar:hover { background: #E6FF63; }

/* modo de verificação (?plano=1): tudo empilhado, sem pins, alturas em px */
html.plano .hero { min-height: 820px; }
html.plano .hero-titulo { font-size: 130px; }
html.plano .hero-p { width: 430px; }
html.plano .scroll-dica { display: none; }
html.plano .entrada { height: 900px; }
html.plano .entrada-palco { position: absolute; height: 900px; }
html.plano .entrada-video { filter: none; }
html.plano .entrada-veu { opacity: 0.42; }
html.plano .palco-fixo { position: absolute; height: 100%; }
html.plano .marco { min-height: 240px; }
html.plano .marco p { opacity: 1; transform: none; }
html.plano .marcos { margin-top: 0; }
html.plano .manifesto { padding: 0; }
html.plano .trabalhos { padding: 70px 0 30px; }
html.plano .filmes { padding: 70px 0 20px; }
html.plano .obra { position: static; height: 430px; margin-bottom: 26px; }
html.plano .clientes { padding: 90px 0; }
html.plano .clientes-titulo { margin-bottom: 56px; }
html.plano .clientes-nota { margin-top: 48px; }
html.plano .fecho-site { min-height: auto; padding: 90px 6vw 0; }
html.plano footer { margin-top: 70px; }
html.plano .destaque-lima { padding: 90px 6vw; }
html.plano .filmes { padding: 90px 0 40px; }
html.plano .hero { min-height: 780px; padding-bottom: 70px; }
html.plano .hero-frentes span { opacity: 1; transform: none; }


/* ============================================================
   RESPONSIVO
   Ordem: tablet retrato (1024) → celular grande (700) → celular pequeno (400)
   ============================================================ */

/* ---------- TABLET (até 1024px) ---------- */
@media (max-width: 1024px) {
  .topo { padding: 14px 20px; }
  .marca { width: 42px; height: 42px; }
  .marca img { width: 20px; }

  .portal-frase { font-size: clamp(24px, 5.4vw, 46px); }
  .hero-frentes { gap: 7px 20px; letter-spacing: 3px; bottom: 9vh; }

  .marco { min-height: 58svh; padding: 0 9vw; }
  .marco p { font-size: clamp(23px, 4vw, 34px); max-width: 20ch; }

  .cabeca-portfolio { padding: 0 7vw; }
  .trabalhos-titulo, .clientes-titulo { font-size: clamp(22px, 3.6vw, 32px); }
  .numeros { gap: clamp(20px, 3.5vw, 40px); }
  .numero b { font-size: clamp(22px, 3.4vw, 30px); }

  .mosaico { grid-template-columns: repeat(3, 1fr); height: 88svh; }
  .fitas { grid-template-columns: repeat(3, 1fr); padding: 0 7vw; }
  .lima-frase { font-size: clamp(22px, 4vw, 38px); }
  .destaque-lima { padding: 15vh 7vw; }
  .destaque-lima::after { width: min(22vh, 20vw); height: min(22vh, 20vw); }
  .clientes { padding: 20vh 0 18vh; }
}

/* ---------- CELULAR (até 700px) ---------- */
@media (max-width: 700px) {
  .topo { padding: 12px 16px; }
  /* alvos de toque com no mínimo 44px, padrão de dedo */
  .marca { width: 44px; height: 44px; }
  .marca img { width: 19px; }
  .redes { gap: 10px; }
  .redes a { width: 44px; height: 44px; }
  .redes a svg { width: 15px; height: 15px; }
  .btn-fale { padding: 14px 24px; font-size: 10.5px; }
  .modal-x { width: 46px; height: 46px; }
  .fita { padding-bottom: 4px; }

  /* entrada: frase em duas linhas, sem estourar a tela */
  .entrada { height: 200svh; }
  .portal-frase {
    font-size: clamp(22px, 7.4vw, 34px);
    flex-direction: column; gap: 0;
    white-space: normal; line-height: 1.18;
    padding: 0 7vw; text-align: center;
  }
  .parte-fixa { display: block; width: 100%; }
  /* no celular a caixa ocupa a linha toda (o JS fixa px no desktop) */
  .cilindro { width: 100% !important; margin-bottom: 0; }
  .cilindro .rolo span { text-align: center; align-self: stretch; }
  .hero-frentes {
    left: 7vw; right: 7vw; bottom: 12vh;
    gap: 6px 14px; font-size: 9px; letter-spacing: 2.5px;
    justify-content: center; text-align: center;
  }
  .portal-dica { height: 36px; bottom: 3.5vh; }

  /* jornada */
  .marco { min-height: 52svh; padding: 0 8vw; gap: 16px; }
  .marco p { font-size: clamp(21px, 5.6vw, 28px); max-width: 17ch; }
  .marco::before { top: 6%; height: 26%; }
  @keyframes faisca {
    0% { opacity: 0; transform: translateY(0); }
    15% { opacity: 1; } 85% { opacity: 1; }
    100% { opacity: 0; transform: translateY(calc(52svh * 0.26)); }
  }

  /* portfólio */
  .trabalhos { padding: 16vh 0 6vh; }
  .cabeca-portfolio { flex-direction: column; align-items: flex-start; gap: 20px; padding: 0 8vw; margin-bottom: 5vh; }
  .trabalhos-titulo, .clientes-titulo { font-size: clamp(21px, 6.2vw, 28px); }
  .numeros { gap: 18px; flex-wrap: wrap; }
  .numero b { font-size: clamp(20px, 6vw, 26px); }
  .numero span { font-size: 8.5px; letter-spacing: 1.6px; }
  .mosaico { grid-template-columns: repeat(2, 1fr); height: 78svh; gap: 8px; padding: 0 8px; }

  /* destaque roxo */
  .destaque-lima { padding: 13vh 8vw; }
  .destaque-lima::after { width: 34vw; height: 34vw; }
  .lima-frase { font-size: clamp(21px, 6.4vw, 30px); }

  /* filmes */
  .filmes { padding: 16vh 0 5vh; }
  .fitas { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 8vw; }
  .fita-nome { font-size: 12.5px; }
  .fita-sub { font-size: 9px; letter-spacing: 1.4px; }
  .luz { padding: 6vw; }
  .luz .modal-x { top: 14px; right: 14px; }

  /* clientes */
  .clientes { padding: 16vh 0 15vh; }
  .esteira { padding: 16px 0; }
  .fila img { --base-logo: clamp(26px, 7vw, 34px); margin: 0 clamp(20px, 6vw, 34px); }

  /* fecho */
  .fecho-site { padding: 11vh 8vw 0; }
  .rodape-linha { flex-direction: column; gap: 28px; padding-bottom: 34px; }
  .fecho-p .assinatura { height: 76px; }
  .rodape-acoes { align-items: center; }
  footer { flex-direction: column; gap: 6px; padding: 16px 0 24px; text-align: center; }
  footer span + span::before { content: none; margin: 0; }

  /* popup de contato */
  .modal { padding: 6vw; }
  .modal-caixa { padding: 30px 22px 26px; border-radius: 16px; }
  .modal-caixa h3 { font-size: clamp(22px, 6.4vw, 28px); margin-bottom: 20px; }
  .campo input, .campo textarea { font-size: 16px; }   /* 16px evita zoom automático no iOS */
}

/* ---------- CELULAR PEQUENO (até 400px) ---------- */
@media (max-width: 400px) {
  .portal-frase { font-size: 25px; }
  .hero-frentes { font-size: 8.5px; letter-spacing: 2px; gap: 5px 11px; }
  .marco p { font-size: 20px; }
  .mosaico { height: 72svh; }
  .fitas { grid-template-columns: 1fr; }
  .numeros { gap: 14px; }
  .fecho-p .assinatura { height: 66px; }
}

/* ---------- ALTURA CURTA (celular deitado) ---------- */
@media (max-height: 520px) and (orientation: landscape) {
  .entrada { height: 260svh; }
  .portal-frase { font-size: clamp(22px, 4.6vw, 34px); }
  .marco { min-height: 90svh; }
  .mosaico { height: 150svh; }
}

/* ---------- QUEM PREFERE MENOS MOVIMENTO ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .entrada-video { filter: none; }
  .marco p { opacity: 1 !important; transform: none !important; filter: none !important; }
}
