/* =============================================
   Nexus — Login & Cadastro
   style.css
   ============================================= */

@property --giro {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --dourado:      #c9a84c;
  --dourado-claro: #f0d080;
  --dourado-escuro: #7a6030;
  --roxo:         #6e50d4;
  --roxo-claro:   #9878ff;
  --fundo:        #080a10;
  --texto:        #e8e2d4;
  --texto-apagado: #8a8070;
  --borda-sutil:  rgba(201, 168, 76, 0.22);
  --vermelho:     #e06060;
  --verde:        #60c090;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--fundo);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* ── fundo ──────────────────────────────────── */

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 18% 82%, rgba(100,60,10,.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 82% 18%, rgba(60,40,120,.20) 0%, transparent 60%),
    #080a10;
}

.grade {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(201,168,76,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: moverGrade 28s linear infinite;
}

@keyframes moverGrade {
  to { transform: translate(60px, 60px); }
}

/* blobs do fundo */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: flutuarBlob 12s ease-in-out infinite;
}

.b1 {
  width: 500px; height: 500px;
  top: -110px; left: -110px;
  background: radial-gradient(circle, rgba(201,168,76,.11), transparent 70%);
  animation-delay: 0s;
}
.b2 {
  width: 420px; height: 420px;
  bottom: -90px; right: -90px;
  background: radial-gradient(circle, rgba(80,60,200,.11), transparent 70%);
  animation-delay: -5s;
}
.b3 {
  width: 280px; height: 280px;
  top: 38%; left: 62%;
  background: radial-gradient(circle, rgba(201,168,76,.07), transparent 70%);
  animation-delay: -2.5s;
}

@keyframes flutuarBlob {
  0%, 100% { opacity: .6; transform: translate(0, 0) scale(1); }
  33%       { opacity: 1;  transform: translate(28px, -18px) scale(1.06); }
  66%       { opacity: .7; transform: translate(-18px, 28px) scale(.95); }
}

/* ── wrapper / posicionamento do painel ──────── */

.wrap {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 480px;
  padding: 20px;
}

/* ── animação de borda externa ───────────────── */

@keyframes girarBorda {
  to { --giro: 360deg; }
}

/* halo pulsante (camada mais externa) */
.anel-halo {
  position: absolute;
  inset: -36px;
  border-radius: 58px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 110%, rgba(201,168,76,.13) 0%, transparent 58%),
    radial-gradient(ellipse at 50% -10%, rgba(100,80,200,.10) 0%, transparent 54%);
  animation: piscarHalo 4s ease-in-out infinite;
}

@keyframes piscarHalo {
  0%, 100% { opacity: .5; transform: scale(1); }
  50%       { opacity: 1;  transform: scale(1.04); }
}

/* brilho difuso giratório */
.anel-brilho {
  position: absolute;
  inset: -20px;
  border-radius: 44px;
  z-index: 0;
  pointer-events: none;
  filter: blur(16px);
  opacity: .85;
  background: conic-gradient(
    from var(--giro, 0deg),
    transparent         0%,
    rgba(201,168,76, 0) 18%,
    rgba(201,168,76,.20) 25%,
    rgba(240,210,100,.28) 30%,
    rgba(201,168,76,.20) 35%,
    transparent         44%,
    transparent         68%,
    rgba(100,80,220,.10) 78%,
    rgba(140,110,255,.22) 84%,
    rgba(100,80,220,.10) 90%,
    transparent         100%
  );
  animation: girarBorda 5s linear infinite;
}

/* borda fina giratória */
.anel-borda {
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  z-index: 0;
  pointer-events: none;
}

.anel-borda::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background: conic-gradient(
    from var(--giro, 0deg),
    transparent          0%,
    rgba(160,110,20, 0)  8%,
    rgba(201,168,76,.50) 18%,
    rgba(240,210,100,.95) 25%,
    rgba(201,168,76,.50) 32%,
    transparent          42%,
    transparent          60%,
    rgba(80,60,180, 0)   68%,
    rgba(110,85,220,.50) 78%,
    rgba(160,130,255,.88) 84%,
    rgba(110,85,220,.50) 90%,
    transparent          100%
  );
  animation: girarBorda 5s linear infinite;
}

/* máscara que esconde o interior, deixa só a linha de borda */
.anel-borda::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 24px;
  background: var(--fundo);
}

/* ── painel (card) ───────────────────────────── */

.painel {
  background: transparent;
  backdrop-filter: blur(28px) saturate(1.5);
  border-radius: 24px;
  padding: 48px 44px 40px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0,0,0,.72),
    0 0 0 1px rgba(201,168,76,.07);
  animation: entrarPainel .8s cubic-bezier(.16,1,.3,1) both;
}

@keyframes entrarPainel {
  from { opacity: 0; transform: translateY(40px) scale(.96); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

/* camadas de luz internas — ficam abaixo de todo conteúdo */
.luz-base {
  position: absolute;
  inset: 0;
  background: rgba(9, 12, 20, .93);
  z-index: 0;
  pointer-events: none;
  border-radius: 24px;
}

.luz-quente {
  position: absolute;
  width: 380px; height: 380px;
  bottom: -130px; left: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,.16) 0%, rgba(201,168,76,.06) 40%, transparent 70%);
  filter: blur(48px);
  z-index: 0;
  pointer-events: none;
  animation: moverQuente 9s ease-in-out infinite;
}

@keyframes moverQuente {
  0%, 100% { transform: translate(0, 0)      scale(1);    opacity: .75; }
  40%       { transform: translate(35px,-28px) scale(1.12); opacity: 1; }
  70%       { transform: translate(-18px,18px) scale(.94);  opacity: .8; }
}

.luz-fria {
  position: absolute;
  width: 300px; height: 300px;
  top: -90px; right: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100,80,210,.13) 0%, rgba(100,80,210,.05) 45%, transparent 70%);
  filter: blur(44px);
  z-index: 0;
  pointer-events: none;
  animation: moverFria 12s ease-in-out infinite;
}

@keyframes moverFria {
  0%, 100% { transform: translate(0,0)       scale(1);    opacity: .6; }
  35%       { transform: translate(-22px,22px) scale(1.09); opacity: .9; }
  65%       { transform: translate(16px,-12px) scale(.91);  opacity: .65; }
}

/* shimmer cônico girante — levíssimo */
.luz-giro {
  position: absolute;
  top: 50%; left: 50%;
  width: 140%; height: 140%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  background: conic-gradient(
    from var(--giro, 0deg) at 50% 50%,
    transparent              0%,
    rgba(201,168,76, 0)     20%,
    rgba(201,168,76,.05)    27%,
    rgba(240,210,100,.08)   30%,
    rgba(201,168,76,.05)    33%,
    transparent              42%,
    transparent              64%,
    rgba(110,85,220,.03)    72%,
    rgba(150,120,255,.06)   76%,
    rgba(110,85,220,.03)    80%,
    transparent              88%
  );
  animation: girarBorda 10s linear infinite;
}

/* garante que todo conteúdo fique acima das luzes */
.painel > *:not(.luz-base):not(.luz-quente):not(.luz-fria):not(.luz-giro):not(.canto) {
  position: relative;
  z-index: 2;
}

/* cantos decorativos */
.canto {
  position: absolute;
  width: 48px; height: 48px;
  z-index: 3;
  pointer-events: none;
  animation: piscarCanto 3s ease-in-out infinite;
}

.ct { top: 14px; left: 14px;   border-top:    1.5px solid rgba(201,168,76,.45); border-left:  1.5px solid rgba(201,168,76,.45); border-radius: 6px 0 0 0; }
.cb { bottom: 14px; right: 14px; border-bottom: 1.5px solid rgba(201,168,76,.45); border-right: 1.5px solid rgba(201,168,76,.45); border-radius: 0 0 6px 0; animation-delay: 1.5s; }

@keyframes piscarCanto {
  0%, 100% { opacity: .3; }
  50%       { opacity: .9; filter: drop-shadow(0 0 5px rgba(201,168,76,.45)); }
}

/* ── marca ───────────────────────────────────── */

.marca {
  text-align: center;
  margin-bottom: 28px;
  animation: subirFade .6s .1s cubic-bezier(.16,1,.3,1) both;
}

.marca-icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201,168,76,.2), rgba(201,168,76,.05));
  border: 1px solid rgba(201,168,76,.3);
  margin-bottom: 14px;
  box-shadow: 0 0 30px rgba(201,168,76,.1);
  animation: pulsarMarca 3s ease-in-out infinite;
}

@keyframes pulsarMarca {
  0%, 100% { box-shadow: 0 0 20px rgba(201,168,76,.1); }
  50%       { box-shadow: 0 0 40px rgba(201,168,76,.25); }
}

.marca-icone svg { width: 28px; height: 28px; }

.marca-nome {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--texto);
  letter-spacing: 1px;
  line-height: 1.2;
}

.marca-nome span { color: var(--dourado); }

.marca-slogan {
  font-size: 11px;
  color: var(--texto-apagado);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-top: 5px;
}

/* ── abas ────────────────────────────────────── */

.abas {
  display: flex;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--borda-sutil);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 34px;
  position: relative;
  animation: subirFade .6s .2s cubic-bezier(.16,1,.3,1) both;
}

.aba-pill {
  position: absolute;
  top: 4px; bottom: 4px; left: 4px;
  width: calc(50% - 4px);
  background: linear-gradient(135deg, rgba(201,168,76,.18), rgba(201,168,76,.08));
  border: 1px solid rgba(201,168,76,.35);
  border-radius: 9px;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 0 20px rgba(201,168,76,.1);
}

.aba-pill.direita { transform: translateX(calc(100%)); }

.aba {
  flex: 1;
  background: none;
  border: none;
  color: var(--texto-apagado);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .5px;
  padding: 10px;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: color .3s;
}

.aba.ativa { color: var(--dourado-claro); }

/* ── tela de sucesso ──────────────────────────── */

.tela-ok {
  display: none;
  text-align: center;
  padding: 20px 0;
  animation: subirFade .5s cubic-bezier(.16,1,.3,1) both;
}

.tela-ok.visivel { display: block; }

.ok-icone {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(96,192,144,.15), rgba(96,192,144,.05));
  border: 1.5px solid rgba(96,192,144,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 40px rgba(96,192,144,.15);
  animation: popIcone .6s .1s cubic-bezier(.34,1.56,.64,1) both;
}

@keyframes popIcone {
  from { opacity: 0; transform: scale(.4); }
  to   { opacity: 1; transform: scale(1); }
}

.ok-titulo {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--texto);
  margin-bottom: 8px;
}

.ok-msg {
  font-size: 14px;
  color: var(--texto-apagado);
  line-height: 1.6;
}

/* ── seções (login / cadastro) ───────────────── */

.secao {
  display: none;
  animation: deslizarDir .5s cubic-bezier(.16,1,.3,1) both;
}

.secao.ativa { display: block; }

.secao.da-esquerda { animation-name: deslizarEsq; }

@keyframes deslizarDir {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes deslizarEsq {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── campos de formulário ────────────────────── */

.campo {
  margin-bottom: 17px;
}

label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--texto-apagado);
  margin-bottom: 7px;
  transition: color .3s;
}

.campo:focus-within label { color: var(--dourado); }

.campo-inner {
  position: relative;
}

.campo-ico {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--texto-apagado);
  pointer-events: none;
  transition: color .3s;
}

.campo:focus-within .campo-ico { color: var(--dourado); }

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="tel"] {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--borda-sutil);
  border-radius: 10px;
  padding: 12px 14px 12px 42px;
  color: var(--texto);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  outline: none;
  -webkit-appearance: none;
  transition: border-color .3s, box-shadow .3s, background .3s;
}

input[type="date"] { padding-left: 42px; }

input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(.5) sepia(1) saturate(2) hue-rotate(20deg);
  opacity: .5;
  cursor: pointer;
}

input::placeholder { color: rgba(138,128,112,.5); }

input:focus {
  border-color: rgba(201,168,76,.5);
  background: rgba(201,168,76,.04);
  box-shadow: 0 0 0 3px rgba(201,168,76,.08);
}

input.invalido { border-color: rgba(224,96,96,.5); box-shadow: 0 0 0 3px rgba(224,96,96,.08); }
input.valido   { border-color: rgba(96,192,144,.4); }

/* botão de mostrar senha */
.olho {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--texto-apagado);
  cursor: pointer;
  padding: 4px;
  line-height: 0;
  transition: color .25s;
}

.olho:hover { color: var(--dourado); }

/* barra de força da senha */
.barra-forca {
  height: 3px;
  border-radius: 3px;
  margin-top: 6px;
  background: rgba(255,255,255,.06);
  overflow: hidden;
  display: none;
}

.barra-forca.visivel { display: block; }

.barra-fill {
  height: 100%;
  border-radius: 3px;
  transition: width .4s ease, background .4s ease;
}

/* mensagem de erro inline */
.erro {
  display: none;
  font-size: 11px;
  color: var(--vermelho);
  margin-top: 5px;
  padding-left: 2px;
}

.erro.visivel { display: block; }

/* linha dupla lado a lado */
.linha-dupla {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ── aceite de termos ─────────────────────────── */

.aceite {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  margin-top: 4px;
}

.check-custom {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 5px;
  border: 1.5px solid var(--borda-sutil);
  background: rgba(255,255,255,.03);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  transition: border-color .3s, background .3s, box-shadow .3s;
}

.check-custom.marcado {
  border-color: var(--dourado);
  background: rgba(201,168,76,.12);
  box-shadow: 0 0 12px rgba(201,168,76,.2);
}

.check-custom svg { opacity: 0; transform: scale(.5); transition: opacity .2s, transform .3s cubic-bezier(.34,1.56,.64,1); }
.check-custom.marcado svg { opacity: 1; transform: scale(1); }

.aceite-txt {
  font-size: 13px;
  color: var(--texto-apagado);
  line-height: 1.55;
}

.link-termos {
  background: none;
  border: none;
  border-bottom: 1px dashed rgba(201,168,76,.4);
  color: var(--dourado);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  transition: color .2s, border-color .2s;
}

.link-termos:hover {
  color: var(--dourado-claro);
  border-bottom-color: var(--dourado-claro);
}

/* ── botão principal ──────────────────────────── */

.btn-principal {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  color: #0a0800;
  background: linear-gradient(135deg, #c9a84c, #a07830, #c9a84c);
  background-size: 200% 100%;
  box-shadow: 0 4px 24px rgba(201,168,76,.25);
  transition: background-position .4s, transform .2s, box-shadow .3s;
}

.btn-principal::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.12), transparent);
  opacity: 0;
  transition: opacity .3s;
}

.btn-principal:hover::before { opacity: 1; }

.btn-principal:hover {
  background-position: 100% 0;
  box-shadow: 0 6px 32px rgba(201,168,76,.4);
  transform: translateY(-1px);
}

.btn-principal:active { transform: translateY(1px); }

/* brilho deslizante */
.brilho-btn {
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  transform: skewX(-20deg);
  animation: brilhoPassar 3s ease-in-out infinite;
}

@keyframes brilhoPassar {
  0%, 100% { left: -100%; }
  50%       { left: 160%; }
}

.rotulo { position: relative; z-index: 1; }

/* dots de loading */
.loading-pts {
  display: none;
  gap: 5px;
  justify-content: center;
  align-items: center;
}

.loading-pts i {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #0a0800;
  animation: pularDot .8s ease-in-out infinite;
  font-style: normal;
}

.loading-pts i:nth-child(2) { animation-delay: .15s; }
.loading-pts i:nth-child(3) { animation-delay: .3s; }

@keyframes pularDot {
  0%, 100% { transform: translateY(0);    opacity: .5; }
  50%       { transform: translateY(-5px); opacity: 1; }
}

/* estado de carregando */
.btn-principal.carregando .rotulo     { display: none; }
.btn-principal.carregando .loading-pts { display: flex; }

/* ── separador ───────────────────────────────── */

.separador {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 18px;
  color: var(--texto-apagado);
  font-size: 11px;
  letter-spacing: 1px;
}

.separador::before,
.separador::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--borda-sutil), transparent);
}

/* ── botões sociais ───────────────────────────── */

.sociais { display: flex; gap: 10px; }

.btn-social {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  border-radius: 10px;
  border: 1px solid var(--borda-sutil);
  background: rgba(255,255,255,.03);
  color: var(--texto);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  cursor: pointer;
  transition: border-color .3s, background .3s, transform .2s;
}

.btn-social:hover {
  border-color: rgba(201,168,76,.3);
  background: rgba(201,168,76,.05);
  transform: translateY(-1px);
}

.btn-social svg { width: 18px; height: 18px; }

/* ── rodapé / link troca de aba ──────────────── */

.rodape-link {
  text-align: center;
  margin-top: 22px;
  font-size: 13px;
  color: var(--texto-apagado);
}

.rodape-link button {
  background: none;
  border: none;
  border-bottom: 1px dashed rgba(201,168,76,.4);
  color: var(--dourado);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  margin-left: 4px;
  transition: color .2s;
}

.rodape-link button:hover { color: var(--dourado-claro); }

/* ── modal de termos ──────────────────────────── */

.modal-fundo {
  position: fixed;
  inset: 0;
  background: rgba(4,5,10,.85);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.modal-fundo.aberto {
  opacity: 1;
  pointer-events: all;
}

.modal-caixa {
  background: rgba(12,15,24,.98);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: 20px;
  max-width: 560px;
  width: 100%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 80px rgba(0,0,0,.8);
  transform: scale(.92) translateY(20px);
  transition: transform .4s cubic-bezier(.16,1,.3,1);
  overflow: hidden;
}

.modal-fundo.aberto .modal-caixa {
  transform: scale(1) translateY(0);
}

.modal-topo {
  padding: 26px 30px 18px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-topo h2 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--texto);
}

.modal-topo h2 span { color: var(--dourado); }

.modal-fechar {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--borda-sutil);
  color: var(--texto-apagado);
  width: 34px; height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}

.modal-fechar:hover {
  background: rgba(201,168,76,.1);
  color: var(--dourado);
}

.modal-corpo {
  padding: 22px 30px 26px;
  overflow-y: auto;
  font-size: 13.5px;
  color: var(--texto-apagado);
  line-height: 1.7;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,168,76,.2) transparent;
}

.modal-corpo h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dourado);
  margin: 18px 0 7px;
}

.modal-corpo h3:first-child { margin-top: 0; }

.modal-corpo p { margin-bottom: 9px; }

.modal-rodape {
  padding: 14px 30px 22px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.btn-ghost {
  padding: 10px 22px;
  border-radius: 10px;
  border: 1px solid var(--borda-sutil);
  background: none;
  color: var(--texto-apagado);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .25s, color .25s;
}

.btn-ghost:hover {
  border-color: rgba(201,168,76,.3);
  color: var(--dourado);
}

.btn-aceitar {
  padding: 10px 22px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #c9a84c, #a07830);
  color: #0a0800;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(201,168,76,.25);
  transition: box-shadow .25s, transform .2s;
}

.btn-aceitar:hover {
  box-shadow: 0 6px 24px rgba(201,168,76,.4);
  transform: translateY(-1px);
}

/* ── utilitários ──────────────────────────────── */

@keyframes subirFade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(201,168,76,.2); border-radius: 3px; }

/* mobile */
@media (max-width: 520px) {
  .painel { padding: 36px 22px 30px; }
  .linha-dupla { grid-template-columns: 1fr; }
  .modal-topo,
  .modal-corpo,
  .modal-rodape { padding-left: 18px; padding-right: 18px; }
}
