/* Variações do formulário "Indique uma biografada" (20/11/2026). O painel de teste escolhe (data-form). */

/* qual aparece */
.fv { display: none; }
html[data-form="1"] .fv-1, html[data-form="2"] .fv-2, html[data-form="3"] .fv-3, html[data-form="4"] .fv-4, html[data-form="5"] .fv-5 { display: block; }
html[data-form]:not([data-form="atual"]) .ind-pg > .pagina-t, html[data-form]:not([data-form="atual"]) .ind-pg > .ind-grade { display: none; }
html[data-form="4"] .ind-pg, html[data-form="5"] .ind-pg { padding-bottom: 0; }

/* comum */
.fv { --fx-bric: "Bricolage Grotesque", Rubik, system-ui, sans-serif; --fx-cond: "Archivo", "Arial Narrow", Impact, sans-serif; }
.fx input, .fx textarea { font: inherit; color: inherit; background: transparent; border: 0; border-radius: 0; outline: 0; }
.fx textarea { resize: vertical; }
.fx ::placeholder { color: rgba(38, 38, 38, .42); }
.fx-bt {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 0 30px;
  border: 0; border-radius: 8px; background: #842679; color: #fff; cursor: pointer;
  font: 600 18px/1 var(--fx-bric); letter-spacing: -.01em; transition: background .15s, transform .15s;
}
.fx-bt:hover { background: #0b0b0c; }
.fx-bt:active { transform: translateY(1px); }
.fx-bt:focus-visible, .fx-chip:focus-visible { outline: 3px solid #DC8FF0; outline-offset: 2px; }
.fx-nota { font: 400 14px/1.5 Rubik, system-ui, sans-serif; color: #575059; margin: 14px 0 0; }
.fx .erro input, .fx .erro textarea, .fx input.erro { border-bottom-color: #c82d24 !important; }
.fx .fx-l.erro::after, .fx .fx-c.erro::after { content: "Falta preencher"; display: block; font: 500 13px Rubik, sans-serif; color: #c82d24; margin-top: 4px; }
.fx-l.erro::after { display: inline; margin-left: 6px; }
.fx-chips.erro { outline: 2px dashed #c82d24; outline-offset: 6px; border-radius: 6px; }
/* etiquetas de área */
.fx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fx-chip {
  min-height: 40px; padding: 0 16px; border: 1.5px solid currentColor; border-radius: 999px; background: transparent; color: inherit; cursor: pointer;
  font: 500 15px/1 Rubik, system-ui, sans-serif; transition: background .15s, color .15s;
}
.fx-chip:hover { background: rgba(132, 38, 121, .1); }
.fx-chip[aria-pressed="true"] { background: #842679; border-color: #842679; color: #fff; }
.fx-outra { border-bottom: 2px solid currentColor !important; padding: 8px 0; min-width: 200px; }
/* confirmação */
.fx-enviado > *:not(.fx-ok) { display: none !important; }
.fx-ok { padding: clamp(28px, 4vw, 48px); border-radius: 14px; background: #842679 var(--grao-escuro); color: #fff; }
.fx-ok p { margin: 0 0 8px; font: 400 18px/1.5 Rubik, sans-serif; }
.fx-ok-t { font: 900 clamp(48px, 6vw, 88px)/.86 var(--fx-cond) !important; font-variation-settings: "wdth" 62; text-transform: uppercase; color: #DC8FF0; margin-bottom: 18px !important; }

/* ---------- 1 FRASE ---------- */
.fv-1 { max-width: 1180px; margin: clamp(10px, 2vw, 30px) auto 0; }
.fx-frase-t, .fx-frase .fx-bloco textarea {
  font: 500 clamp(26px, 1.6vw + 14px, 44px)/1.45 var(--fx-bric); letter-spacing: -.02em; color: #262626; margin: 0 0 14px;
}
.fx-frase .fx-l input {
  border-bottom: 3px solid #842679; color: #842679; font-weight: 600; padding: 0 4px; max-width: 100%;
}
.fx-frase .fx-l input::placeholder, .fx-frase textarea::placeholder { color: rgba(132, 38, 121, .38); font-weight: 500; }
.fx-frase .fx-op input { border-bottom-style: dashed; }
.fx-frase .fx-bloco { display: block; margin: 0 0 18px; }
.fx-frase .fx-bloco textarea { display: block; width: 100%; border-bottom: 3px solid #842679; color: #842679; padding: 4px 0; line-height: 1.35; }
.fx-bt-largo { width: 100%; min-height: 72px; font-size: 22px; margin-top: 18px; }

/* ---------- 2 CARTA ---------- */
.fv-2 { max-width: 900px; margin: clamp(10px, 2vw, 30px) auto 0; }
.fx-carta {
  position: relative; padding: clamp(32px, 5vw, 72px) clamp(24px, 5vw, 72px);
  background: #fbf7f2 var(--grao-leve); border-radius: 6px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 30px 60px -36px rgba(80, 20, 70, .5);
  rotate: -.6deg;
}
.fx-carta::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(132, 38, 121, .18); border-radius: 3px; pointer-events: none; }
.fx-carta-oi { font: 700 clamp(32px, 2vw + 18px, 48px)/1.1 var(--fx-bric); letter-spacing: -.02em; color: #842679; margin: 0 0 22px; }
.fx-carta-p { font: 400 clamp(19px, .4vw + 16px, 22px)/1.9 Rubik, system-ui, sans-serif; margin: 0 0 12px; color: #262626; }
.fx-carta .fx-l input, .fx-carta .fx-bloco textarea { border-bottom: 1.5px solid #262626; padding: 0 4px; color: #842679; font-weight: 500; max-width: 100%; }
.fx-carta .fx-bloco { display: block; margin: 0 0 18px; }
.fx-carta .fx-bloco textarea { width: 100%; line-height: 1.9; font-size: clamp(19px, .4vw + 16px, 22px); background: repeating-linear-gradient(transparent 0 calc(1.9em - 1px), rgba(38, 38, 38, .2) calc(1.9em - 1px) 1.9em); border-bottom: 0; }
.fx-carta-ass { margin-top: 26px; }
.fx-carta .fx-bt { margin-top: 22px; }
.fx-selo { position: absolute; top: 26px; right: 26px; width: 78px; height: 92px; padding: 6px; background: #fff; rotate: 6deg;
  -webkit-mask: radial-gradient(circle 4px at 4px 4px, transparent 98%, #000) -4px -4px / 12px 12px; mask: radial-gradient(circle 4px at 4px 4px, transparent 98%, #000) -4px -4px / 12px 12px; }
.fx-selo span { display: block; width: 100%; height: 100%; background: linear-gradient(#D52D00 0 20%, #FF9A56 20% 40%, #fff 40% 60%, #D362A4 60% 80%, #A30262 80%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }

/* ---------- 3 UMA POR VEZ ---------- */
.fv-3 { max-width: 980px; margin: clamp(10px, 2vw, 30px) auto 0; }
.fx-prog { height: 6px; border-radius: 6px; background: rgba(132, 38, 121, .15); overflow: hidden; }
.fx-prog span { display: block; height: 100%; width: 20%; background: #842679; border-radius: 6px; transition: width .45s cubic-bezier(.2, .7, .2, 1); }
.fx-conta { font: 500 15px Rubik, sans-serif; color: #575059; margin: 12px 0 30px; }
.fx-conta b { color: #842679; }
.fx-passo { border: 0; margin: 0 0 36px; padding: 0; }
.fx-passo legend { font: 600 clamp(36px, 2.6vw + 18px, 68px)/1.04 var(--fx-bric); letter-spacing: -.03em; color: #262626; margin-bottom: 26px; padding: 0; }
.fx-passo input, .fx-passo textarea { display: block; width: 100%; border-bottom: 3px solid #842679; padding: 10px 0; font: 500 clamp(22px, 1vw + 16px, 30px)/1.3 var(--fx-bric); color: #842679; margin-bottom: 16px; }
.fx-passo .fx-menor { font-size: 20px; margin-top: 22px; border-bottom-width: 2px; }
.fx-passo .fx-chips { margin-bottom: 6px; }
.fx-passos.fx-js .fx-passo { display: none; }
.fx-passos.fx-js .fx-passo.on { display: block; animation: fx-entra .4s cubic-bezier(.2, .7, .2, 1); }
@keyframes fx-entra { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.fx-nav { display: flex; align-items: center; gap: 14px; }
.fx-volta { border: 0; background: none; padding: 0 6px; min-height: 48px; font: 500 16px Rubik, sans-serif; color: #575059; cursor: pointer; }
.fx-passos:not(.fx-js) .fx-volta, .fx-passos:not(.fx-js) .fx-segue, .fx-passos:not(.fx-js) .fx-prog, .fx-passos:not(.fx-js) .fx-conta { display: none; }
.fx-passos.fx-js.fx-primeiro .fx-volta { visibility: hidden; }
.fx-passos.fx-js:not(.fx-ultimo) .fx-envia { display: none; }
.fx-passos.fx-js.fx-ultimo .fx-segue { display: none; }

/* ---------- 4 EDITORIAL ---------- */
.fv-4 { position: relative; isolation: isolate; padding: 0 0 clamp(40px, 5vw, 80px); }
.fx-gigante {
  position: absolute; z-index: -1; top: -2vw; right: -2vw; margin: 0; pointer-events: none; text-align: right;
  font: 900 clamp(140px, 22vw, 420px)/.8 var(--fx-cond); font-variation-settings: "wdth" 62; text-transform: uppercase; color: rgba(132, 38, 121, .07);
}
.fx-ed { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.fx-ed-t { font: 600 clamp(34px, 2.2vw + 16px, 60px)/1.04 var(--fx-bric); letter-spacing: -.03em; margin: 0 0 28px; }
.fx-ed-rostos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 26px; }
.fx-ed-rostos img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; filter: grayscale(1); transition: filter .3s; }
.fx-ed-rostos img:hover { filter: none; }
.fx-ed-vazio { display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: 4px; border: 2px dashed #842679; color: #842679; font: 800 34px var(--fx-bric); }
.fx-ed-mail { font: 400 16px/1.5 Rubik, sans-serif; color: #575059; } .fx-ed-mail a { color: #842679; font-weight: 500; }
.fx-ed-form { display: grid; gap: 26px; }
.fx-c { display: block; }
.fx-c > span { display: block; font: 600 clamp(18px, .4vw + 14px, 22px)/1.2 var(--fx-bric); letter-spacing: -.015em; margin-bottom: 8px; color: #262626; }
.fx-c > span small { font: 400 13px Rubik, sans-serif; color: #575059; margin-left: 6px; }
.fx-ed-form input, .fx-ed-form textarea, .fx-hist-form input, .fx-hist-form textarea { display: block; width: 100%; border-bottom: 2px solid #262626; padding: 8px 0 10px; font: 400 19px/1.4 Rubik, sans-serif; }
.fx-ed-form input:focus, .fx-ed-form textarea:focus { border-bottom-color: #842679; }
.fx-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.fx-ed-form .fx-bt { justify-self: start; }

/* ---------- 5 FAÇA PARTE DA HISTÓRIA ---------- */
.fv-5 { position: relative; isolation: isolate; overflow: hidden; margin: 0 calc(50% - 50vw); padding: clamp(56px, 7vw, 120px) clamp(16px, 4vw, 64px); background: #0b0b0c var(--grao-claro); color: #fff; }
.fx-hist-rostos { position: absolute; z-index: -1; inset: 0 0 0 auto; width: 46%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; opacity: .55;
  -webkit-mask: linear-gradient(to right, transparent, #000 45%); mask: linear-gradient(to right, transparent, #000 45%); }
.fx-hist-rostos img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.fx-hist { max-width: 1320px; margin: 0 auto; }
.fx-hist-t { font: 900 clamp(64px, 9vw, 168px)/.84 var(--fx-cond); font-variation-settings: "wdth" 62; text-transform: uppercase; color: #DC8FF0; margin: 0 0 22px; }
.fx-hist-s { max-width: 34em; font: 400 clamp(18px, .4vw + 15px, 22px)/1.5 Rubik, sans-serif; color: rgba(255, 255, 255, .86); margin: 0 0 40px; }
.fx-hist-form { max-width: 760px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 22px; }
.fx-hist-form .fx-largo { grid-column: 1 / -1; }
.fx-hist-form .fx-c > span { color: #fff; }
.fx-hist-form .fx-c > span small { color: rgba(255, 255, 255, .6); }
.fx-hist-form input, .fx-hist-form textarea { border-bottom-color: rgba(255, 255, 255, .6); color: #fff; }
.fx-hist-form input:focus, .fx-hist-form textarea:focus { border-bottom-color: #DC8FF0; }
.fx-hist-form ::placeholder { color: rgba(255, 255, 255, .4); }
.fx-hist-form .fx-bt { background: #DC8FF0; color: #0b0b0c; min-height: 64px; }
.fx-hist-form .fx-bt:hover { background: #fff; }
.fv-5 .fx-ok { background: #DC8FF0; color: #0b0b0c; } .fv-5 .fx-ok-t { color: #0b0b0c; }

@media (max-width: 860px) {
  .fx-ed { grid-template-columns: minmax(0, 1fr); }
  .fx-2, .fx-hist-form { grid-template-columns: minmax(0, 1fr); }
  .fx-hist-rostos { width: 100%; opacity: .22; -webkit-mask: none; mask: none; }
  .fx-selo { width: 54px; height: 64px; top: 18px; right: 18px; }
  .fx-carta { rotate: 0deg; }
  .fx-frase .fx-l input { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .fx-passos.fx-js .fx-passo.on { animation: none; } .fx-prog span { transition: none; } }

/* 20/11 (b): título da página aparece nas variações 1, 2 e 3; 4 e 5 têm o próprio título */
html[data-form="1"] .ind-pg > .pagina-t, html[data-form="2"] .ind-pg > .pagina-t, html[data-form="3"] .ind-pg > .pagina-t { display: block; }
/* selo da carta: bandeira com borda serrilhada simples */
.fx-selo { -webkit-mask: none; mask: none; padding: 5px; background: #fff; border: 2px dashed rgba(132, 38, 121, .45); box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .35); }
/* 3: pergunta à esquerda, ficha da biografada se montando à direita */
.fv-3 { max-width: 1320px; }
.fx-3grade { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 120px); align-items: start; min-height: 62vh; }
.fx-ficha { position: sticky; top: calc(var(--topo-h) + 30px); }
.fx-ficha-rot { font: 500 14px Rubik, sans-serif; color: #575059; margin: 0 0 12px; }
.fx-ficha-card { padding: 14px 14px 18px; background: #fff; border-radius: 10px; box-shadow: 0 24px 50px -30px rgba(80, 20, 70, .45); rotate: 2deg; transition: rotate .4s; }
.fx-ficha-card:hover { rotate: 0deg; }
.fx-ficha-foto { aspect-ratio: 4 / 5; border-radius: 6px; display: grid; place-items: center; background: #DC8FF0 var(--grao-escuro); }
.fx-ficha-foto span { font: 900 120px/1 var(--fx-cond); font-variation-settings: "wdth" 62; color: #fff; }
.fx-ficha-nome { margin: 14px 0 4px; font: 900 clamp(28px, 2.2vw, 40px)/.9 var(--fx-cond); font-variation-settings: "wdth" 62; text-transform: uppercase; color: rgba(132, 38, 121, .3); overflow-wrap: anywhere; }
.fx-ficha-area, .fx-ficha-lugar { margin: 0; font: 500 15px Rubik, sans-serif; color: rgba(38, 38, 38, .35); }
.fx-ficha .cheio { color: #842679; } .fx-ficha-area.cheio, .fx-ficha-lugar.cheio { color: #262626; }
.fx-ficha-n { margin: 16px 0 0; font: 700 14px var(--fx-bric); color: #842679; }
@media (max-width: 860px) { .fx-3grade { grid-template-columns: minmax(0, 1fr); min-height: 0; } .fx-ficha { position: static; max-width: 240px; } }

.fx-outra[hidden] { display: none !important; }
.fx-ficha { max-width: 340px; justify-self: end; width: 100%; }
/* 29/11: aviso de privacidade (LGPD) logo antes do botão */
.fx-priv { grid-column: 1 / -1; margin: 2px 0 0; font-size: 14px; line-height: 1.45; opacity: .85; }
.fx-priv a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
