/* PERSONALIZAÇÃO QUE ACOMPANHA A NAVEGAÇÃO
   - a tela "Como podemos chamar vocês?" (#voces);
   - o selo do casal na barra de cima (iniciais, depois que os nomes são informados);
   - o fio dourado da barra, que cresce conforme a pessoa avança na página (o tracinho da logo, esticado).
   Comportamento em js/casal.js; os dados ficam em Weddia.casal (js/nucleo.js). */

.so-leitor { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- barra de cima ---------- */
.topo .fio { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; transform-origin: 0 50%; transform: scaleX(var(--fio, 0)); background: linear-gradient(90deg, #C9A255, #A47528); pointer-events: none; }
.menu a { position: relative; }
.menu a::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--dourado); opacity: 0; transform: scale(.2); transition: opacity .3s ease, transform .3s ease; }
.menu a.atual { color: var(--tinta); } .menu a.atual::after { opacity: 1; transform: none; }

.acoes .selo-casal { height: 44px; min-width: 44px; padding: 0 15px; justify-content: center; border: 1.5px solid #C9A255; background: rgba(255,255,255,.7); color: var(--dourado); font: italic 600 19px/1 var(--f); letter-spacing: .02em; font-size-adjust: none; }
.acoes .selo-casal[hidden] { display: none; }
.acoes .selo-casal:hover { background: #fff; transform: translateY(-2px); }
.acoes .selo-casal.pousou { animation: selo-pousa .7s cubic-bezier(.2,1.4,.3,1); }
@keyframes selo-pousa { 0% { transform: scale(.6); } 60% { transform: scale(1.08); } 100% { transform: none; } }
/* o selo no meio do caminho, voando da tela até a barra */
.selo-voando { position: fixed; z-index: 80; left: 0; top: 0; pointer-events: none; display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 15px; border-radius: 999px; border: 1.5px solid #C9A255; background: #fff; color: var(--dourado); font: italic 600 19px/1 var(--f); letter-spacing: .02em; box-shadow: 0 10px 26px rgba(63,85,128,.18); will-change: transform; }

/* ---------- a tela ---------- */
.voces { background: #FBF9F6; }
.voces .escrito h2 em { color: var(--dourado); }
.voces-form, .voces-feito { width: min(980px, 100%); }
.voces-nomes { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: .1em .45em; font: italic 500 clamp(34px, min(4.4vw, 9vh), 76px)/1.15 var(--f); color: var(--tinta); }
.voces-nomes input { font: inherit; color: var(--tinta); background: none; border: 0; border-bottom: 1.5px solid #C9A255; border-radius: 0; width: 6.4ch; min-width: 4.5ch; max-width: 11ch; field-sizing: content; text-align: center; padding: 0 .12em .04em; outline: none; caret-color: var(--dourado); transition: border-color .3s ease, background .3s ease; }
.voces-nomes input::placeholder { color: #BCC7DB; opacity: 1; }
.voces-nomes input:focus { border-bottom-color: var(--dourado); background: linear-gradient(180deg, transparent 60%, rgba(201,162,85,.12)); }
.voces-nomes .e { color: var(--dourado); }
.voces-nomes input.falta { animation: voces-falta .45s ease; }
@keyframes voces-falta { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }

/* data e cor aparecem depois que os dois nomes foram escritos */
.voces-mais { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .7s cubic-bezier(.2,.8,.2,1), opacity .6s ease; }
.voces-mais.aberto { grid-template-rows: 1fr; opacity: 1; }
.voces-mais > div { overflow: hidden; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 18px 5vw; }
.voces-campo { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 3.4vh; }
.voces-campo .rot { font: 700 13px/1 var(--f); letter-spacing: .26em; text-transform: uppercase; color: var(--dourado); }
.voces-campo input[type="date"] { font: 600 19px/1 var(--f); font-variant-numeric: lining-nums; color: var(--tinta); background: #fff; border: 1.5px solid #D5DDEC; border-radius: 999px; padding: 9px 18px; min-height: 44px; }
.voces-campo input[type="date"]:focus-visible { outline: 2px solid var(--tinta); outline-offset: 2px; }
.voces-cores { display: grid; grid-template-columns: repeat(9, 26px); gap: 9px; padding: 3px; }
.voces-cores button { width: 26px; height: 26px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: var(--c); box-shadow: 0 0 0 1px #D5DDEC; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.voces-cores button:hover { transform: scale(1.12); }
.voces-cores button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--dourado); transform: scale(1.14); }
.voces-cores button:focus-visible { outline: 2px solid var(--tinta); outline-offset: 3px; }

.voces-acoes { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: center; align-items: center; margin-top: 3.6vh; }
.voces-acoes .botao { margin-top: 0; border: 0; cursor: pointer; font-family: var(--f); }
.voces-pular { background: none; border: 0; padding: 10px 4px; font: 600 18px/1 var(--f); color: var(--texto); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #C9D3E8; cursor: pointer; }
.voces-pular:hover { color: var(--tinta); }
.voces-pular:focus-visible { outline: 2px solid var(--tinta); outline-offset: 3px; border-radius: 6px; }
.voces-nota { margin: 1.8vh 0 0; font-size: 15px; color: var(--texto); }

.voces-feito[hidden], .voces-form[hidden] { display: none; }
.voces-prazer { margin: 0; font: italic 500 clamp(34px, min(4.4vw, 9vh), 76px)/1.15 var(--f); color: var(--tinta); }
.voces-prazer b { font-weight: 500; color: var(--dourado); }
.voces-daqui { margin: 2vh auto 0; max-width: 30em; font-size: clamp(20px, min(1.8vw, 3.6vh), 28px); line-height: 1.35; color: var(--texto); text-wrap: balance; }
.voces-feito.chegou .voces-prazer { animation: voces-chega .9s cubic-bezier(.2,.8,.2,1) both; }
.voces-feito.chegou .voces-daqui, .voces-feito.chegou .voces-acoes { animation: voces-chega .9s cubic-bezier(.2,.8,.2,1) .18s both; }
@keyframes voces-chega { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .acoes .selo-casal { height: 40px; min-width: 40px; padding: 0 11px; font-size: 16px; }
  .voces-nomes { font-size: clamp(30px, 9vw, 42px); }
  .voces-cores { grid-template-columns: repeat(6, 30px); gap: 10px; } .voces-cores button { width: 30px; height: 30px; }
  .voces-campo { padding-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .voces-mais { transition: none; } .voces-feito.chegou * { animation: none !important; } .acoes .selo-casal.pousou, .voces-nomes input.falta { animation: none; }
}

/* No celular a barra fixa cobre o alto da tela: a pergunta desce para não ficar atrás dela. */
@media (max-width: 760px) { .voces { padding-top: 104px; } }

/* Numeração dos sete capítulos (01 a 07), em itálico, antes do rótulo de cada tela de funcionalidade: dá ordem à leitura junto com o fio da barra. */
.sobre[data-n]::before { content: attr(data-n); display: inline-block; margin-right: 1.1em; padding-right: 1.1em; border-right: 1px solid #C9A255; font: italic 500 1.55em/1 var(--f); letter-spacing: 0; text-transform: none; vertical-align: -.08em; }

/* Fecho: as iniciais do casal acima do título, quando os nomes foram informados. */
.fecho-selo { display: inline-flex; align-items: center; justify-content: center; margin-bottom: 2.2vh; height: 54px; padding: 0 22px; border-radius: 999px; border: 1.5px solid #C9A255; background: rgba(255,255,255,.65); color: var(--dourado); font: italic 600 24px/1 var(--f); }
.fecho-selo[hidden] { display: none; }
/* As iniciais do casal na barra: a letra do modelo Clássico do site dos noivos (iniciais em azul, "&" dourado em cursiva). */
.acoes .selo-casal, .selo-voando { font: 500 24px/1 "Cormorant Garamond", var(--f); font-style: normal; letter-spacing: 0; color: #466192; }
.selo-e { margin: 0 .3em; font: 400 21px/1 "Parisienne", cursive; color: var(--dourado); }
@media (max-width: 760px) { .acoes .selo-casal { font-size: 20px; } .selo-e { font-size: 18px; } }
