/* Base compartilhada pelos projetos conceito. Cada site define as próprias cores e fontes. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; overflow-x: clip; }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

/* Aviso de projeto conceito: pílula fixa no rodapé da tela, sempre com o caminho de volta. */
.conceito { position: fixed; z-index: 90; left: 50%; bottom: max(.8rem, env(safe-area-inset-bottom)); transform: translateX(-50%); width: max-content; max-width: calc(100vw - 1.6rem); display: flex; align-items: center; gap: .8rem; padding: .5rem .6rem .5rem 1.1rem; border-radius: 999px; font: 600 .76rem/1.3 Inter, system-ui, sans-serif; background: rgb(4 8 26 / .88); backdrop-filter: blur(10px); color: #cfd6e4; box-shadow: 0 10px 30px -8px rgb(0 0 0 / .5), 0 0 0 1px rgb(255 255 255 / .08); }
.conceito a { flex: none; color: #04081a; background: #21c2fe; padding: .35rem .8rem; border-radius: 999px; text-decoration: none; }
.conceito a.idioma-demo { margin-left: -.4rem; background: transparent; color: #cfd6e4; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .3); }
.conceito a.idioma-demo:hover { color: #fff; box-shadow: inset 0 0 0 1px #fff; }
@media (max-width: 600px) { .conceito .longo { display: none; } }

/* Revelação ao rolar (comum.js adiciona .js no <html> e .on no elemento). */
/* Usa "translate" (não "transform") para não brigar com hovers e rotações dos sites. */
.js [data-r] { opacity: 0; translate: 0 32px; transition: opacity .9s ease, translate 1s cubic-bezier(.2, .7, .2, 1), transform .35s, box-shadow .35s, background .35s, border-color .35s, padding .35s; }
.js [data-r].on { opacity: 1; translate: none; }

/* Imagem com zoom lento ao revelar. */
.js .zoom img { transform: scale(1.12); transition: transform 1.8s cubic-bezier(.2, .7, .2, 1); }
.js .zoom.on img { transform: scale(1); }

.fita { overflow: hidden; white-space: nowrap; }
.fita > div { display: inline-flex; animation: fita 28s linear infinite; }
@keyframes fita { to { transform: translateX(-50%); } }

.video-fundo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-r] { opacity: 1; translate: none; }
  .js .zoom img { transform: none; }
}

.aviso-demo { position: fixed; z-index: 95; left: 50%; bottom: 4.6rem; transform: translate(-50%, 12px); max-width: calc(100vw - 2rem); width: max-content; padding: .8rem 1.2rem; border-radius: 14px; background: #04081a; color: #e6ebf5; font: 600 .85rem/1.4 Inter, system-ui, sans-serif; box-shadow: 0 16px 40px -12px rgb(0 0 0 / .6); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; }
.aviso-demo.on { opacity: 1; transform: translate(-50%, 0); }
