/* Realismo (tarefa 373): celular com acabamento de aparelho, pessoas e notebook reais em PNG transparente.
   Imagens: images/real/ (créditos em images/real/CREDITOS.md e no rodapé). */

/* celular: borda de titânio, ilha, botões laterais e reflexo de vidro */
.palco .fone { z-index: 3; padding: 10px; border-radius: 42px;
  background: linear-gradient(135deg, #3a3f44 0%, #1b1e21 22%, #2b2f33 50%, #121416 78%, #3d4247 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), inset 0 0 0 3px #08090a, 0 0 0 1px rgba(0,0,0,.6),
              0 50px 90px -30px rgba(0,0,0,.95), 0 0 60px -10px rgba(94,240,168,.25); }
.palco .fone::before, .palco .fone::after { content: ''; position: absolute; width: 3px; border-radius: 2px;
  background: linear-gradient(90deg, #4a5056, #1d2023); }
.palco .fone::before { left: -3px; top: 96px; height: 54px; box-shadow: 0 -40px 0 -0px #2a2e32; }
.palco .fone::after  { right: -3px; top: 120px; height: 78px; }
.palco .fone-tela { border-radius: 33px; background: linear-gradient(180deg, #0f231a, #050d09); }
.palco .fone-tela::before { top: 10px; width: 78px; height: 22px; margin-left: -39px; border-radius: 14px; opacity: 1; background: #000;
  box-shadow: inset -14px 0 0 -9px #10161d; }
.palco .fone-tela::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 5;
  background: linear-gradient(115deg, rgba(255,255,255,.13) 0%, rgba(255,255,255,.04) 28%, transparent 42%); }
.palco .fone-tela { padding-top: 40px; }

/* pessoa no herói, atrás do celular */
.pessoa-heroi { position: absolute; z-index: 1; right: 150px; bottom: -40px; height: 500px; width: auto; pointer-events: none;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)) saturate(.95);
  -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent 100%); mask-image: linear-gradient(180deg, #000 75%, transparent 100%); }
.palco .papel-ideia { z-index: 2; }

/* artes das seções viram fotos recortadas */
.arte-foto { top: -70px; }
.arte-foto img { display: block; height: auto; filter: drop-shadow(0 26px 30px rgba(7,19,14,.22)); }
.arte-foto .pessoa { width: 330px; -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, #000 80%, transparent 100%); }
.arte-a.arte-foto .janela { position: absolute; left: -150px; bottom: 30px; transform: rotate(-4deg) scale(.82); transform-origin: left bottom; }

.notebook-real { position: relative; width: 400px; }
.notebook-real .tela { position: absolute; left: 14.47%; top: 6.19%; width: 71.05%; height: 58.97%; overflow: hidden; border-radius: 2px; background: #07130e; }
.notebook-real .tela img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: none; }
.notebook-real .tela::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.12), transparent 40%); }
.arte-f.arte-foto { top: -40px; }
.arte-f.arte-foto .nv-selo { position: absolute; right: -6px; bottom: 34%; }

@media (max-width: 1240px) { .arte-foto .pessoa { width: 280px; } .notebook-real { width: 340px; } }
@media (max-width: 1020px) { .pessoa-heroi { right: 120px; height: 420px; } }
@media (max-width: 640px)  { .pessoa-heroi { right: 96px; height: 340px; bottom: -20px; } }

/* ajustes de composição */
.palco .papel-ideia { left: -60px; transform-origin: left top; scale: .86; }
.pessoa-heroi { right: 130px; height: 520px; }
.arte-a.arte-foto { top: -90px; }
.arte-a.arte-foto .pessoa { width: 280px; }
.arte-a.arte-foto .janela { left: -250px; bottom: 70px; }
.arte-b.arte-foto { top: -110px; }
.arte-b.arte-foto .pessoa { width: 290px; }
.arte-foto .pessoa { filter: none; }
@media (max-width: 640px) {
  .palco .papel-ideia { left: 0; scale: .9; z-index: 1; }
  .pessoa-heroi { z-index: 2; right: 140px; height: 330px; bottom: -20px; }
}
/* .creditos-img foi para css/oito.css (317) */

/* guardanapo com a ideia rabiscada à caneta (conteúdo do cliente, nasceu numa conversa) */
.palco .papel-ideia.guardanapo { width: 250px; height: 242px; padding: 30px 24px 14px 30px; border-radius: 0;
  background: url(../images/real/guardanapo.webp) center / 100% 100% no-repeat; box-shadow: none;
  filter: drop-shadow(0 26px 30px rgba(0,0,0,.55)); }
.guardanapo .ideia-txt { height: 66px; margin: 0 0 2px; font: 700 1.62rem/.98 'Caveat', 'Segoe Print', cursive; color: #1f3a96; }
.guardanapo .ideia-txt .iv { text-shadow: 0 0 .6px rgba(31,58,150,.7), 0 0 2px rgba(31,58,150,.18); }
.guardanapo .esboco { display: block; width: 120px; height: 116px; margin: 0 0 0 18px; overflow: visible; }
.guardanapo .esboco path { fill: none; stroke: #1f3a96; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; opacity: .85;
  stroke-dasharray: 700; stroke-dashoffset: 700; animation: caneta var(--ciclo) ease-in-out infinite; }
.guardanapo .esboco path:nth-child(2) { animation-delay: .25s; } .guardanapo .esboco path:nth-child(3) { animation-delay: .5s; }
.guardanapo .esboco path:nth-child(4) { animation-delay: .75s; } .guardanapo .esboco path:nth-child(5) { animation-delay: 1s; }
.guardanapo .esboco .seta { stroke: #c0392b; animation-delay: 1.2s; }
@keyframes caneta { 0%, 8% { stroke-dashoffset: 700; } 38%, 100% { stroke-dashoffset: 0; } }
@media (max-width: 640px) {
  .palco .papel-ideia.guardanapo { width: 176px; height: 170px; padding: 20px 14px 8px 20px; left: 0; top: 30px; scale: 1; }
  .guardanapo .ideia-txt { height: 46px; font-size: 1.12rem; }
  .guardanapo .esboco { width: 88px; height: 86px; margin-left: 14px; }
}
@media (prefers-reduced-motion: reduce) { .guardanapo .esboco path { animation: none; stroke-dashoffset: 0; } }

/* convites de produto com foto: foram para css/oito.css (317), para valer também no /en/ */

/* 421: a foto termina sem marca. Os recortes encostam braço e tronco nas laterais e na base da imagem;
   as laterais e a base desbotam no fundo da seção (as duas máscaras se cruzam). */
.pessoa-heroi, .arte-foto .pessoa {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%), linear-gradient(180deg, #000 var(--base, 80%), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%), linear-gradient(180deg, #000 var(--base, 80%), transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.pessoa-heroi { --base: 75%; }
