/* 20/10 · registo.css · a /sou-escola e a /sou-instrutor na D2 (server/siteD/registoD.ts). Só a disposição: as peças são as
   do blocos.css e do vida.css. O formulário é o de hoje (ids, campos e script iguais); a folha de hoje dele entra na página
   e aqui acerta-se-lhe a letra e o vidro pelos da D2. Nada de letra ciano (regra do dono): os realces vão a branco e âmbar. */

/* ---------- a capa ---------- */
.rg-capa .pg-capa-txt { min-width: 0; }
.rg-pilulas { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.rg-pilula { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 9999px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #E2E8F0; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.rg-pilula:first-child { color: #0F172A; background: #FBBF24; box-shadow: none; }
a.rg-pilula-l { color: #F8FAFC; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.4); }
a.rg-pilula-l:hover { background: rgba(255,255,255,.12); }
.rg-capa .pg-ctas { flex-wrap: wrap; }
.rg-nota { margin: 18px 0 0; font-size: 14px; }
.rg-nota a { color: #E2E8F0; text-decoration: underline; text-underline-offset: 3px; }

.rg-lado { position: relative; padding: 0 0 40px; }
.rg-os { margin-right: clamp(40px, 6vw, 90px); }
.rg-os img { display: block; width: 100%; height: auto; }
.rg-tel { position: absolute; right: 0; bottom: 0; width: clamp(120px, 12vw, 170px); transform: rotate(3deg); }
.rg-tel .vd-ecra-in { padding: 6px; border-radius: 28px; }
.rg-tel img { border-radius: 22px; aspect-ratio: 1200 / 2670; object-fit: cover; object-position: top; }
.rg-legenda { margin: 16px 0 0; font-size: 13px; color: #94A3B8; }

.rg-lado-foto { padding: 0; }
.rg-foto { position: relative; overflow: hidden; border-radius: clamp(24px, 3vw, 40px); aspect-ratio: 4 / 5; max-height: 640px; box-shadow: 0 60px 100px -50px rgba(0,0,0,.9); }
.rg-foto-m { position: absolute; inset: -6% 0; }
.rg-foto-m img { width: 100%; height: 100%; object-fit: cover; }
.rg-foto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(251,191,36,.14), transparent 45%); }

/* ---------- os cartões ---------- */
.rg-cartoes { padding-top: 8px; }

/* ---------- «Antes de começares a escrever» ---------- */
.rg-claro { margin-block: clamp(40px, 6vw, 80px); }
.rg-pd-sec { padding-block: 0; }
.rg-pd-col .pg-c-t { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.rg-pd-nao { box-shadow: inset 0 0 0 1px rgba(4,120,87,.28), 0 24px 48px -32px rgba(15,23,42,.35); }
.rg-pd-lista { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.rg-pd-lista li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.5; color: var(--vd-texto); }
.rg-pd-lista li::before { content: ''; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--vd-quente); }
.rg-pd-nao .rg-pd-lista li::before { background: #059669; }
.rg-pd-lista b { color: var(--vd-tinta); font-weight: 700; }
.rg-pd-lista small { display: block; margin-top: 4px; font-size: 13.5px; color: var(--vd-fraco); }
.rg-pd-lista a { color: var(--vd-tinta); text-decoration: underline; text-underline-offset: 3px; }
.rg-pd-pe { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 32px; }
.rg-pd-pe span { max-width: 52ch; font-size: 14px; color: var(--vd-fraco); }

/* ---------- o formulário de hoje, no vidro da D2, por cima da areia ---------- */
.rg-form-sec { padding-block: clamp(72px, 9vw, 140px); }
.rg-form-in { display: grid; justify-items: center; }
.rg-form-sec .se-form-wrap, .rg-form-sec .si-form-wrap { width: 100%; max-width: 600px; margin: 0; padding: 0; }
.rg-form-sec .se-form, .rg-form-sec .si-form { background: rgba(9,15,26,.78); border: 1px solid rgba(255,255,255,.14); border-radius: 28px; padding: clamp(24px, 4vw, 40px); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); box-shadow: 0 60px 120px -50px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.08); }
.rg-form-sec .se-form h2, .rg-form-sec .si-form h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.03em; font-weight: 800; color: #fff; }
.rg-form-sec .se-form-sub, .rg-form-sec .si-form-sub { font-size: 15px; color: #CBD5E1; }
.rg-form-sec .se-field label, .rg-form-sec .si-field label { color: #E2E8F0; letter-spacing: .06em; }
.rg-form-sec .se-input, .rg-form-sec .si-input { min-height: 48px; border-radius: 14px; background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.16); }
.rg-form-sec .se-input:focus, .rg-form-sec .si-input:focus { border-color: rgba(255,255,255,.55); box-shadow: 0 0 0 3px rgba(255,255,255,.12); }
.rg-form-sec .se-hint, .rg-form-sec .si-hint { color: #94A3B8; }
.rg-form-sec .se-accept, .rg-form-sec .si-accept { color: #E2E8F0; }
.rg-form-sec .se-accept a, .rg-form-sec .si-accept a { color: #fff; }
.rg-form-sec .se-submit.se-submit, .rg-form-sec .si-submit.si-submit { min-height: 54px; border-radius: 9999px; background: #fff; color: #0F172A; box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); }
.rg-form-sec .se-submit:hover, .rg-form-sec .si-submit:hover { background: #F1F5F9; color: #0F172A; }
.rg-form-sec .se-foot, .rg-form-sec .si-foot { max-width: 600px; margin: 22px auto 0; padding: 0; font-size: 13.5px; color: #CBD5E1; }
.rg-form-sec .se-foot a, .rg-form-sec .si-foot a { color: #fff; }
.rg-voltar { margin: 32px 0 0; text-align: center; font-size: 14px; }
.rg-voltar a { color: #CBD5E1; text-decoration: underline; text-underline-offset: 3px; }
/* 26/10 · medido a 390 px: «Voltar a Escolas» / «Voltar a Instrutores» com 17 px de altura para o dedo; cresce para 46 px sem mexer no resto (medido em /sou-instrutor: 133×46). */
.rg-voltar a { display: inline-block; padding: 12px 4px; margin: -12px 0; }

@media (max-width: 980px) {
  .rg-lado { max-width: 560px; }
  .rg-os { margin-right: 60px; }
}
@media (max-width: 620px) {
  .rg-tel { width: 104px; }
  .rg-os { margin-right: 44px; }
  .rg-pd-pe .bt { width: 100%; justify-content: center; }
}
