/* FOTOS COM IA (/app/fotos-ia): a escolha da foto, os fundos, a espera e as fotos prontas. Nomes com "fi-" (não colidem com o resto) */
.fi-tela { gap: 14px; }
.fi-aviso .lista-simples { gap: 8px; font-size: 14.5px; }
.fi-escolher { display: grid; place-items: center; min-height: 180px; border: 2px dashed var(--borda, #E7C7D6); border-radius: 18px; background: var(--fundo-2, #FFF5FA); cursor: pointer; overflow: hidden; text-align: center; padding: 12px; }
.fi-escolher span { display: grid; gap: 4px; justify-items: center; color: var(--texto, #4A3542); }
.fi-escolher svg { width: 34px; height: 34px; color: var(--destaque-texto, #A33A66); }
.fi-escolher img { max-width: 100%; max-height: 300px; border-radius: 12px; }
.fi-arquivo { position: absolute; width: 1px; height: 1px; opacity: 0; }
.fi-fundos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fi-fundo { cursor: pointer; }
.fi-fundo input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fi-fundo span { display: flex; gap: 8px; align-items: center; min-height: 48px; padding: 8px 10px; border-radius: 14px; border: 1.5px solid var(--borda, #E7C7D6); background: var(--superficie, #fff); font-weight: 700; font-size: 14px; line-height: 1.2; }
.fi-fundo span i { font-style: normal; font-size: 20px; }
.fi-fundo input:checked + span { border-color: var(--destaque-texto, #A33A66); background: var(--fundo-2, #FFF0F6); box-shadow: 0 0 0 2px var(--destaque, #F7A8C6); }
.fi-fundo input:focus-visible + span { outline: 3px solid var(--destaque, #F7A8C6); outline-offset: 2px; }
.fi-esperando { display: flex; gap: 10px; align-items: center; justify-content: center; font-weight: 700; color: var(--destaque-texto, #A33A66); }
.fi-bolinha { width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--destaque, #F7A8C6); border-top-color: transparent; animation: fi-gira 1s linear infinite; }
@keyframes fi-gira { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .fi-bolinha { animation: none; } }
.fi-foto-grande { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 10px 24px -16px rgba(61, 31, 24, .5); }
.fi-botoes { display: grid; gap: 8px; }
.fi-grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fi-item { margin: 0; display: grid; gap: 4px; }
.fi-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; height: auto; }
.fi-item figcaption { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 12.5px; color: var(--texto-mudo, #7A5E6A); }
.fi-item form { margin: 0; }
.fi-apagar { border: 0; background: none; padding: 6px; min-width: 36px; min-height: 36px; color: var(--perigo, #B3261E); cursor: pointer; }
.fi-apagar svg { width: 18px; height: 18px; }
@media (min-width: 640px) { .fi-fundos { grid-template-columns: repeat(3, minmax(0, 1fr)); } .fi-grade { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
