/* CTRL+JG — rascunho do site. Cores e fonte da marca. */

/* Montserrat servida pelo próprio site (licença OFL em fontes/OFL.txt).
   Arquivo variável: cobre os pesos 400 a 900, só caracteres latinos (inclui acentos do português). */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("fontes/montserrat-latin.woff2") format("woff2");
}
:root {
  --fundo: #12151C;
  --fundo-2: #0C0F14;
  --verde: #00D878;
  --branco: #FFFFFF;
  --azul: #00264D;
  --cinza: #8A94A6;
  --linha: rgba(255, 255, 255, .1);
  --raio: 1rem;
  --raio-g: 2rem;
  --gap: 1.25rem;
  --lado: clamp(1rem, 4vw, 3rem);
  --suave: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--fundo);
  color: var(--branco);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
section[id] { scroll-margin-top: 5rem; }
.verde { color: var(--verde); }

/* grão leve */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 200;
  background-image: radial-gradient(rgba(255,255,255,.5) .5px, transparent .6px);
  background-size: 3px 3px; opacity: .03;
}

/* ---------- textos ---------- */
.etiqueta {
  font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--verde);
}
.titulo {
  font-size: clamp(2.6rem, 8vw, 6.5rem); font-weight: 900; text-transform: uppercase;
  line-height: .85; letter-spacing: -.03em;
}
.cabeca { margin-bottom: clamp(2rem, 5vw, 3.5rem); display: grid; gap: .9rem; }
.secao { padding: clamp(4.5rem, 11vw, 9rem) var(--lado); max-width: 1320px; margin: 0 auto; position: relative; }

/* ---------- botões ---------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--verde); color: var(--fundo); font-weight: 800; text-decoration: none;
  padding: 1rem 1.6rem; border-radius: 999px; border: 2px solid var(--verde);
  transition: transform .4s var(--suave), box-shadow .4s var(--suave), background .3s;
}
.botao:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0, 216, 120, .35); }
.botao-vazado { background: transparent; color: var(--branco); border-color: rgba(255,255,255,.35); }
.botao-vazado:hover { border-color: var(--verde); color: var(--verde); box-shadow: none; }
:focus-visible { outline: 3px solid var(--verde); outline-offset: 3px; }

/* ---------- menu ---------- */
.topo {
  position: fixed; inset: 0 0 auto; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem var(--lado);
  background: linear-gradient(to bottom, rgba(18,21,28,.85), rgba(18,21,28,0));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  -webkit-mask-image: linear-gradient(#000 70%, transparent);
          mask-image: linear-gradient(#000 70%, transparent);
}
.marca { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 900; letter-spacing: .04em; }
.marca img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--verde); }
.marca b { color: var(--verde); }
.menu-botao {
  width: 56px; height: 56px; border-radius: 14px; border: 0; cursor: pointer;
  background: var(--verde); display: grid; place-content: center; gap: 6px; position: relative; z-index: 120;
  transition: transform .3s var(--suave);
}
.menu-botao:hover { transform: scale(1.05); }
.menu-botao span { display: block; width: 24px; height: 3px; background: var(--fundo); border-radius: 2px; transition: transform .4s var(--suave); }
.menu-aberto .menu-botao span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-aberto .menu-botao span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 110; background: var(--fundo);
  display: flex; flex-direction: column; justify-content: center; gap: 3rem;
  padding: 6rem var(--lado) 2.5rem;
  clip-path: ellipse(0% 0% at 100% 0%); visibility: hidden;
  transition: clip-path .8s var(--suave), visibility 0s .8s;
}
.menu-aberto .menu { clip-path: ellipse(150% 150% at 100% 0%); visibility: visible; transition-delay: 0s; }
.menu ul { list-style: none; }
.menu li a {
  display: inline-block; text-decoration: none; text-transform: uppercase; font-weight: 900;
  font-size: clamp(2.2rem, 8vw, 5rem); line-height: 1.05; letter-spacing: -.02em;
  transition: color .3s, transform .4s var(--suave);
}
.menu li a:hover { color: var(--verde); transform: translateX(10px); }
.menu-redes { display: flex; flex-wrap: wrap; gap: 1.5rem; color: var(--cinza); font-weight: 600; }
.menu-redes a { text-decoration: none; }
.menu-redes a:hover { color: var(--verde); }
.menu-aberto { overflow: hidden; }

/* ---------- abertura ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 7rem var(--lado) 5rem; overflow: hidden; isolation: isolate;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3;
  background: var(--fundo) url("midia/abertura-pc-ctrl.webp") center / cover no-repeat;
}
.hero-veu {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(18,21,28,.85) 0%, rgba(18,21,28,.35) 55%, rgba(18,21,28,0) 100%),
    linear-gradient(to top, var(--fundo) 0%, rgba(18,21,28,0) 30%);
}
.orbe {
  position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); opacity: .28;
  background: var(--verde); animation: flutua 18s ease-in-out infinite alternate;
}
.orbe-1 { width: 32vw; height: 32vw; left: -10vw; top: 10%; }
.orbe-2 { width: 22vw; height: 22vw; left: 30%; bottom: -10%; opacity: .15; animation-delay: -6s; }
@keyframes flutua { to { transform: translate(6vw, -4vh) scale(1.15); } }

.hero-conteudo { max-width: 900px; display: grid; gap: 1.2rem; }
.hero-titulo {
  font-size: clamp(4.2rem, 17vw, 13rem); font-weight: 900; line-height: .85; letter-spacing: -.045em;
  white-space: nowrap;
}
.hero-titulo .mais { color: var(--verde); }
.hero-frase { font-size: clamp(1.25rem, 2.6vw, 2rem); font-weight: 700; line-height: 1.2; max-width: 22ch; }
.hero-botoes { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .8rem; }

.palavra { display: inline-block; opacity: 0; transform: translateY(.5em); animation: sobe .9s var(--suave) forwards; animation-delay: calc(.15s + var(--i) * 90ms); }
@keyframes sobe { to { opacity: 1; transform: none; } }

.role {
  position: absolute; left: 50%; bottom: 1.6rem; translate: -50% 0;
  width: 28px; height: 46px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px;
}
.role span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--verde); animation: pula 1.6s ease-in-out infinite; }
@keyframes pula { 50% { transform: translateY(12px); opacity: .3; } }

/* ---------- faixa ---------- */
.faixa { overflow: hidden; border-block: 1px solid var(--linha); background: var(--fundo-2); padding: 1rem 0; }
.faixa-trilho { display: flex; width: max-content; animation: corre 24s linear infinite; }
.faixa:hover .faixa-trilho { animation-play-state: paused; }
.faixa span { white-space: nowrap; font-weight: 900; font-size: clamp(1.4rem, 4vw, 2.6rem); color: var(--verde); letter-spacing: .02em; padding-right: .4em; }
@keyframes corre { to { transform: translateX(-50%); } }

/* ---------- frase de impacto ---------- */
.impacto { padding: clamp(5rem, 14vw, 11rem) var(--lado); max-width: 1320px; margin: 0 auto; }
.impacto-texto { font-size: clamp(2rem, 6.4vw, 5.4rem); font-weight: 900; line-height: .95; letter-spacing: -.03em; text-transform: uppercase; }
.impacto-texto .linha { display: block; }
.impacto-texto em { font-style: normal; color: var(--verde); }

/* revelar na rolagem */
.revela { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--suave), transform .9s var(--suave); }
.revela.visivel { opacity: 1; transform: none; }
.impacto-texto .revela:nth-child(2) { transition-delay: .08s; }
.impacto-texto .revela:nth-child(3) { transition-delay: .16s; }
.impacto-texto .revela:nth-child(4) { transition-delay: .24s; }

/* ---------- serviços ---------- */
.grade-servicos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.servico {
  position: relative; overflow: hidden; border-radius: var(--raio-g);
  background: var(--fundo-2); border: 1px solid var(--linha);
  transition: transform .5s var(--suave), border-color .4s, opacity .9s var(--suave);
}
.servico:nth-child(even) { background: var(--azul); }
.servico-img { overflow: hidden; aspect-ratio: 4 / 3; }
.servico-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--suave); }
.servico-texto { padding: 1.5rem 1.6rem 1.8rem; display: grid; gap: .4rem; }
.servico .num { font-size: .8rem; font-weight: 700; color: var(--verde); letter-spacing: .1em; }
.servico h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; text-transform: uppercase; line-height: 1; letter-spacing: -.02em; }
.servico p { color: #C9D0DC; max-width: 42ch; }
/* brilho diagonal (porta) */
.servico::after, .porta::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.14) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform .9s var(--suave);
}
.servico:hover { transform: translateY(-6px); border-color: rgba(0,216,120,.5); }
.servico:hover::after, .porta:hover::after { transform: translateX(120%); }
.servico:hover .servico-img img { transform: scale(1.05); }

/* ---------- portfólio ---------- */
.grade-projetos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.projeto { display: grid; gap: .6rem; align-content: start; }
.projeto-img {
  position: relative; overflow: hidden; border-radius: var(--raio-g); aspect-ratio: 1;
  background: var(--fundo-2); isolation: isolate;
}
.projeto-img::before {
  content: ""; position: absolute; inset: 0; z-index: 1; background: var(--verde); mix-blend-mode: soft-light;
  clip-path: ellipse(0% 0% at 50% 100%); transition: clip-path .7s var(--suave);
}
.projeto-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--suave); }
.projeto:hover .projeto-img::before { clip-path: ellipse(120% 120% at 50% 100%); }
.projeto:hover .projeto-img img { transform: scale(1.08); }
.tag, .ano {
  position: absolute; z-index: 2; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: .4rem .8rem; border-radius: 999px;
}
.tag { top: 1rem; left: 1rem; background: var(--verde); color: var(--fundo); }
.ano { bottom: 1rem; right: 1rem; background: rgba(18,21,28,.75); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.projeto h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 900; text-transform: uppercase; line-height: 1.05; margin-top: .6rem; }
.resumo { color: var(--cinza); }
details { border-top: 1px solid var(--linha); padding-top: .6rem; }
summary { cursor: pointer; font-weight: 700; color: var(--verde); list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: " +"; }
details[open] summary::after { content: " −"; }
details p { margin-top: .5rem; color: #C9D0DC; }
details b { color: var(--branco); }

/* ---------- como funciona ---------- */
.como { max-width: none; background: var(--azul); overflow: clip; }
.como > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.como-fundo { position: absolute; inset: 0; max-width: none; z-index: 0; }
.como-fundo video { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.como-fundo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--azul) 0%, rgba(0,38,77,.6) 40%, var(--azul) 100%); }
.como .cabeca, .como .painel { position: relative; z-index: 1; }
.abas { display: inline-flex; gap: .4rem; padding: .35rem; border-radius: 999px; background: rgba(0,0,0,.3); width: fit-content; margin-top: .6rem; }
.abas button {
  border: 0; background: none; color: var(--branco); font: inherit; font-weight: 700; cursor: pointer;
  padding: .7rem 1.3rem; border-radius: 999px; transition: background .3s, color .3s;
}
.abas button[aria-selected="true"] { background: var(--verde); color: var(--fundo); }

.painel { display: grid; grid-template-columns: 380px 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.painel[hidden] { display: none; }
.celular-lado { position: sticky; top: 12vh; perspective: 1600px; }
.celular {
  position: relative; width: min(300px, 78vw); aspect-ratio: 9 / 19; margin: 0 auto;
  border-radius: 46px; padding: 14px; background: #05070A;
  border: 2px solid #2A3140;
  box-shadow: 0 0 0 6px #1A1F29, 0 40px 80px rgba(0,0,0,.5), 0 0 60px rgba(0,216,120,.18);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  animation: boia 5s ease-in-out infinite; transition: transform .3s ease-out;
}
@keyframes boia { 50% { translate: 0 -6px; } }
.celular::after { /* brilho do vidro */
  content: ""; position: absolute; inset: 14px; border-radius: 34px; pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.08), transparent 40%);
}
.ilha { position: absolute; top: 24px; left: 50%; translate: -50% 0; width: 90px; height: 26px; border-radius: 20px; background: #000; z-index: 3; }
.tela {
  position: absolute; inset: 14px; border-radius: 34px; overflow: hidden;
  background: linear-gradient(160deg, #1B2130, var(--fundo));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem;
  padding: 3.5rem 1.4rem 2rem; text-align: center;
  opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .5s var(--suave), transform .5s var(--suave);
}
.tela.ativa { opacity: 1; transform: none; }
.tela b { font-size: 1.15rem; font-weight: 800; }
.tela small { color: var(--cinza); font-size: .85rem; }
.campo { width: 100%; text-align: left; padding: .7rem .9rem; border-radius: 12px; background: rgba(255,255,255,.07); color: var(--cinza); font-size: .85rem; border: 1px solid var(--linha); }
.btn-tela { width: 100%; padding: .75rem; border-radius: 12px; background: var(--verde); color: var(--fundo); font-weight: 800; font-size: .9rem; }
.ok { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-size: 2.4rem; font-weight: 900; color: var(--verde); border: 4px solid var(--verde); box-shadow: 0 0 30px rgba(0,216,120,.5); }
.linha-lista { width: 100%; text-align: left; padding: .6rem .8rem; border-radius: 10px; background: rgba(0,216,120,.1); font-size: .85rem; }
.produto { width: 120px; height: 120px; border-radius: 20px; background: linear-gradient(135deg, var(--azul), #0A3D6E); border: 1px solid var(--linha); }
.ico-wifi { position: relative; width: 90px; height: 70px; }
.ico-wifi i { position: absolute; left: 50%; bottom: 0; border-radius: 50% 50% 0 0; border: 5px solid var(--verde); border-bottom: 0; translate: -50% 0; animation: anel 2s ease-in-out infinite; }
.ico-wifi i:nth-child(1) { width: 24px; height: 12px; }
.ico-wifi i:nth-child(2) { width: 56px; height: 28px; animation-delay: .2s; }
.ico-wifi i:nth-child(3) { width: 90px; height: 45px; animation-delay: .4s; }
@keyframes anel { 50% { opacity: .35; } }

.passos { list-style: none; display: grid; gap: 14vh; padding: 6vh 0 24vh; position: relative; }
.passos::before { content: ""; position: absolute; left: 22px; top: 6vh; bottom: 24vh; width: 2px; background: rgba(255,255,255,.12); }
.passos::after { content: ""; position: absolute; left: 22px; top: 6vh; width: 2px; height: calc((100% - 30vh) * var(--progresso, 0)); background: var(--verde); transition: height .5s var(--suave); }
.passo { display: grid; grid-template-columns: 46px 1fr; gap: 1.2rem; min-height: 22vh; opacity: .38; transform: translateY(14px); transition: opacity .5s var(--suave), transform .5s var(--suave); cursor: pointer; position: relative; z-index: 1; }
.passo.ativo { opacity: 1; transform: none; }
.passo > span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; background: var(--fundo); border: 2px solid rgba(255,255,255,.25); transition: background .4s, border-color .4s, color .4s; }
.passo.ativo > span { background: var(--verde); border-color: var(--verde); color: var(--fundo); }
.passo h3 { font-size: clamp(1.4rem, 2.8vw, 2.2rem); font-weight: 900; text-transform: uppercase; line-height: 1; letter-spacing: -.02em; margin-bottom: .5rem; }
.passo p { color: #C9D0DC; max-width: 38ch; }
.passo-texto { display: none; }

/* ---------- instagram ---------- */
.insta {
  position: relative; overflow: hidden; text-align: center; padding: clamp(6rem, 16vw, 12rem) var(--lado);
  display: grid; justify-items: center; gap: 1.4rem; isolation: isolate;
}
.insta-oval {
  position: absolute; left: 50%; top: 50%; z-index: -1; width: 120vw; height: 70vw; max-height: 900px;
  translate: -50% -50%; border-radius: 50%; background: var(--verde);
  transform: scale(var(--oval, .15)); transition: transform .2s linear;
}
.insta-titulo { font-size: clamp(3.2rem, 15vw, 12rem); font-weight: 900; line-height: .85; letter-spacing: -.05em; }
.insta.cheio .insta-titulo, .insta.cheio .etiqueta { color: var(--fundo); }
.insta.cheio .botao { background: var(--fundo); color: var(--verde); border-color: var(--fundo); }

/* ---------- final 2 portas ---------- */
.final { max-width: none; overflow: hidden; }
.final > * { max-width: 1180px; margin-left: auto; margin-right: auto; position: relative; z-index: 1; }
.final-fundo { position: absolute; inset: 0; max-width: none; z-index: 0; }
.final-fundo video { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.final-fundo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--fundo), rgba(18,21,28,.55) 40%, var(--fundo)); }
.portas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.porta {
  position: relative; overflow: hidden; display: grid; gap: .8rem; align-content: end; min-height: 320px;
  padding: 2rem; border-radius: var(--raio-g); text-decoration: none;
  transition: transform .5s var(--suave), box-shadow .5s var(--suave), opacity .9s var(--suave);
}
.porta:hover { transform: translateY(-6px); }
.porta small { font-size: .95rem; font-weight: 600; }
.porta strong { font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 900; text-transform: uppercase; line-height: .9; letter-spacing: -.03em; }
.porta span { font-weight: 800; }
.porta-verde { background: var(--verde); color: var(--fundo); }
.porta-verde:hover { box-shadow: 0 20px 60px rgba(0,216,120,.35); }
.porta-azul { background: var(--azul); color: var(--branco); border: 1px solid rgba(255,255,255,.15); }
.porta-azul span { color: var(--verde); }

/* ---------- rodapé ---------- */
.rodape { padding: 4rem var(--lado) 2rem; border-top: 1px solid var(--linha); background: var(--fundo-2); overflow: hidden; }
.rodape-links { display: flex; flex-wrap: wrap; gap: 1rem 2rem; font-weight: 700; max-width: 1320px; margin: 0 auto; }
.rodape-links a { text-decoration: none; color: var(--cinza); transition: color .3s; }
.rodape-links a:hover { color: var(--verde); }
.rodape-marca {
  font-size: clamp(4rem, 21vw, 19rem); font-weight: 900; line-height: .8; letter-spacing: -.05em;
  text-align: center; margin: 3rem 0 1.5rem; white-space: nowrap; overflow: hidden;
}
.rodape-marca span { display: inline-block; transform: translateY(100%); transition: transform 1s var(--suave); transition-delay: calc(var(--i) * 60ms); }
.rodape-marca.visivel span { transform: none; }
.rodape-copy { text-align: center; color: var(--cinza); font-size: .85rem; }
.rodape-copy a { color: var(--cinza); }
.rodape-copy a:hover { color: var(--verde); }

/* atraso das animações (no lugar de style="--i:N", que a CSP bloqueia) */
.d0 { --i: 0; } .d1 { --i: 1; } .d2 { --i: 2; } .d3 { --i: 3; }
.d4 { --i: 4; } .d5 { --i: 5; } .d6 { --i: 6; } .d7 { --i: 7; }

/* ---------- páginas de texto (privacidade, 404) ---------- */
.topo-simples { position: static; -webkit-mask-image: none; mask-image: none; background: var(--fundo); }
.voltar { color: var(--cinza); font-weight: 700; text-decoration: none; }
.voltar:hover { color: var(--verde); }
.texto { max-width: 760px; padding-top: clamp(2.5rem, 7vw, 5rem); }
.texto .titulo { font-size: clamp(2.2rem, 7vw, 4.4rem); }
.texto h2 { font-size: clamp(1.2rem, 3vw, 1.6rem); font-weight: 800; margin: 2.2rem 0 .6rem; }
.texto p, .texto li { color: #D5DBE5; }
.texto p + p { margin-top: .8rem; }
.texto ul { padding-left: 1.2rem; display: grid; gap: .35rem; }
.texto a { color: var(--verde); }
.atualizado { color: var(--cinza); font-size: .9rem; margin-top: 1rem; }
.texto .etiqueta { margin-bottom: .8rem; }
.erro { min-height: 70svh; display: grid; align-content: center; gap: 1.5rem; }
.erro .titulo { font-size: clamp(5rem, 22vw, 14rem); color: var(--verde); }

/* ---------- telas menores ---------- */
@media (max-width: 1024px) {
  .painel { grid-template-columns: 300px 1fr; }
}
@media (max-width: 767px) {
  .hero { align-items: flex-end; padding-bottom: 6rem; }
  .hero-video { background-image: url("midia/abertura-celular-ctrl.webp"); }
  .hero-veu { background: linear-gradient(to top, var(--fundo) 5%, rgba(18,21,28,.55) 55%, rgba(18,21,28,.2) 100%); }
  .orbe-1 { width: 70vw; height: 70vw; }
  .orbe-2 { display: none; }
  .hero-botoes .botao { flex: 1 1 100%; }
  .grade-servicos, .grade-projetos, .portas { grid-template-columns: 1fr; }
  .porta { min-height: 240px; }
  .menu-botao { width: 52px; height: 52px; }

  /* como funciona: celular em cima, passos viram pílulas */
  .painel { grid-template-columns: 1fr; gap: 1.5rem; }
  .celular-lado { position: relative; top: 0; order: 2; }
  .celular { width: min(260px, 70vw); }
  .passos {
    order: 1; display: flex; gap: .6rem; padding: 0 0 .5rem; overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .passos::-webkit-scrollbar { display: none; }
  .passos::before, .passos::after { display: none; }
  .passo {
    flex: 0 0 auto; min-height: 0; display: flex; align-items: center; gap: .5rem; scroll-snap-align: start;
    padding: .45rem .9rem .45rem .45rem; border-radius: 999px; background: rgba(0,0,0,.3); transform: none;
  }
  .passo > span { width: 32px; height: 32px; font-size: .85rem; }
  .passo h3 { font-size: .9rem; margin: 0; letter-spacing: 0; white-space: nowrap; }
  .passo p { display: none; }
  .painel .passo-texto { display: block; order: 3; text-align: center; color: #C9D0DC; min-height: 3.2em; }
}
@media (max-width: 479px) {
  .tag, .ano { font-size: .68rem; }
}

/* ---------- menos movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .palavra, .revela, .rodape-marca span { opacity: 1 !important; transform: none !important; }
  .faixa-trilho { transform: none; }
  .insta-oval { transform: scale(1); }
  .insta .insta-titulo, .insta .etiqueta { color: var(--fundo); }
  .insta .botao { background: var(--fundo); color: var(--verde); border-color: var(--fundo); }
}
