@import url("https://fonts.googleapis.com/css2?family=Uncial+Antiqua&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400&family=Montserrat:wght@500&family=Poppins:wght@600&display=swap');

:root{--purple:#6d28d9;--purple2:#8b5cf6;--ink:#241b35;--muted:#746b82;--bg:#fbfaff;--line:#eadff8;--card:rgba(255,255,255,.78);--ok:#159957;--danger:#d64545;--shadow:0 18px 55px rgba(70,35,110,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:"Roboto Sans",Arial,sans-serif;background:var(--bg);color:var(--ink);line-height:1.6}a{text-decoration:none;color:inherit}.container{width:min(1180px,92%);margin:auto}.topbar{position:sticky;top:0;z-index:20;background:rgba(251,250,255,.86);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}nav{height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:inline-flex;align-items:center;line-height:1}.site-logo{display:block;width:auto;height:48px;max-width:240px;object-fit:contain}.form-logo{display:block;width:min(330px,85%);height:auto;max-height:110px;object-fit:contain;margin:0 auto 22px}.topbar .brand{flex:0 0 auto}.navlinks{display:flex;gap:20px;align-items:center}.navlinks a{color:#5c5268;font-weight:600;font-size:.94rem}.navlinks a:hover{color:var(--purple)}.hero{padding:90px 0 70px;background:radial-gradient(circle at 15% 10%,#eee3ff,transparent 34%),radial-gradient(circle at 85% 20%,#f3eaff,transparent 28%)}.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:50px;align-items:center}.eyebrow{color:var(--purple);font-weight:800;text-transform:uppercase;letter-spacing:.14em;font-size:.75rem}.hero h1{font-size:clamp(2.6rem,6vw,5.1rem);line-height:.98;letter-spacing:-.065em;margin:14px 0 22px}.hero p{font-size:1.1rem;color:var(--muted);max-width:650px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:14px;padding:12px 18px;font:inherit;font-weight:700;cursor:pointer;transition:.2s}.btn-primary{background:linear-gradient(135deg,var(--purple),var(--purple2));color:#fff;box-shadow:0 10px 25px rgba(109,40,217,.22)}.btn-primary:hover{transform:translateY(-2px)}.btn-light{background:#fff;border:1px solid var(--line);color:var(--ink)}.btn-danger{background:#fff1f1;color:var(--danger);border:1px solid #ffd6d6}.glass{background:var(--card);border:1px solid rgba(255,255,255,.9);box-shadow:var(--shadow);backdrop-filter:blur(18px);border-radius:24px}.hero-card{padding:30px}.hero-card .orb{height:240px;border-radius:22px;background:linear-gradient(145deg,#f4edff,#fff);display:grid;place-items:center;color:var(--purple);font-size:4rem;font-weight:800}.section{padding:72px 0}.section-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:28px}.section h2{font-size:2rem;letter-spacing:-.04em;margin:0}.muted{color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{padding:24px}.card h3{margin:0 0 8px}.badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#f1e8ff;color:var(--purple);font-size:.76rem;font-weight:800}.footer{padding:35px 0;border-top:1px solid var(--line);color:var(--muted);font-size:.9rem}.form-page{min-height:100vh;display:grid;place-items:center;padding:40px 16px;background:radial-gradient(circle at 20% 20%,#eee3ff,transparent 30%),var(--bg)}.form-card{width:min(560px,100%);padding:34px}.form-card h1{margin-top:0;letter-spacing:-.04em}.field{display:grid;gap:7px;margin:15px 0}.field label{font-weight:700;font-size:.9rem}.field input,.field textarea,.field select{width:100%;border:1px solid var(--line);border-radius:12px;padding:12px 13px;background:#fff;font:inherit;outline:none}.field textarea{min-height:150px;resize:vertical}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--purple2);box-shadow:0 0 0 4px #eee5ff}.message{padding:12px 14px;border-radius:12px;margin:12px 0;background:#f4efff;color:var(--purple);font-weight:600}.dashboard{padding:38px 0}.dash-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.stat{padding:20px}.stat strong{display:block;font-size:1.8rem}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse}.table th,.table td{text-align:left;padding:14px;border-bottom:1px solid var(--line);white-space:nowrap}.status{font-weight:800}.status.approved{color:var(--ok)}.status.rejected{color:var(--danger)}.status.pending{color:#a66b00}.status.draft{color:#746b82}.empty{padding:35px;text-align:center;color:var(--muted)}.notice{padding:16px;border-left:4px solid var(--purple);background:#faf7ff;border-radius:12px}.modal{position:fixed;inset:0;background:rgba(27,15,42,.45);display:none;place-items:center;padding:20px;z-index:50}.modal.open{display:grid}.modal-box{width:min(850px,100%);max-height:90vh;overflow:auto;padding:28px;background:#fff;border-radius:22px}.mobile-toggle{display:none}@media(max-width:850px){.hero-grid{grid-template-columns:1fr}.grid{grid-template-columns:1fr 1fr}.stats{grid-template-columns:1fr 1fr}.navlinks{display:none}.mobile-toggle{display:block}.navlinks.open{display:flex;position:absolute;top:72px;left:0;right:0;background:#fff;padding:18px;flex-direction:column;border-bottom:1px solid var(--line)}}@media(max-width:580px){.grid,.stats{grid-template-columns:1fr}.hero{padding-top:55px}.section{padding:50px 0}.form-card{padding:24px}.dash-head{align-items:flex-start;flex-direction:column}}

/* Tipografia responsiva — padrão de leitura do site */
body{font-size:17px}
p{max-width:75ch}
.navlinks a{font-size:16px}
.eyebrow{font-size:13px}
.hero h1{font-size:clamp(32px,5vw,64px)}
.hero p{font-size:18px;line-height:1.7;max-width:65ch}
.section h2{font-size:28px}
.card h3{font-size:22px}
.badge{font-size:14px}
.footer{font-size:14px}
.field label{font-size:14px}
.field input,.field textarea,.field select{font-size:16px;line-height:1.5}
.message,.notice{font-size:14px}
.btn{min-height:48px;font-size:16px}
.stat strong{font-size:28px}
.table th,.table td{font-size:16px}
@media(max-width:580px){
  body{font-size:15px}
  .hero h1{font-size:clamp(24px,9vw,32px)}
  .hero p{font-size:16px;line-height:1.65}
  .section h2{font-size:24px}
  .card h3{font-size:20px}
  .field label{font-size:14px}
  .field input,.field textarea,.field select{font-size:16px}
  .btn{min-height:48px;font-size:15px}
  .table th,.table td{font-size:14px}
}

/* Padrão visual: todos os botões do site usam texto preto */
button,
.btn,
.btn-primary,
.btn-light,
.btn-danger,
.mobile-toggle,
.actions a,
.form-card button,
.navlinks a.btn {
  color:#000 !important;
}
.btn-primary,
.btn-light,
.btn-danger,
.mobile-toggle,
button {
  background:#fff !important;
  border:1px solid #000 !important;
  box-shadow:none !important;
}

/* Contraste global dos botões */
.btn-primary,
.btn-primary:visited,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
button.btn-primary,
button.btn-primary:hover,
button.btn-primary:focus,
button.btn-primary:active { color:#fff !important; }

/* Correção final de contraste e menu mobile */
.topbar nav{position:relative}
.btn-primary,
.btn-primary:visited,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.navlinks .btn-primary,
.actions .btn-primary{color:#fff !important;-webkit-text-fill-color:#fff !important}
.mobile-toggle{color:#000 !important;background:#fff !important;border:1px solid #000 !important}
@media(max-width:850px){
  .navlinks.open{display:flex !important;position:absolute;top:72px;left:0;right:0;z-index:100;background:#fff;padding:18px;flex-direction:column;align-items:stretch;border-bottom:1px solid var(--line);box-shadow:0 14px 30px rgba(0,0,0,.12)}
  .navlinks.open a{width:100%;min-height:48px;display:flex;align-items:center;justify-content:center}
  .navlinks.open .btn-primary{color:#fff !important;-webkit-text-fill-color:#fff !important}
}


/* V12 — padrão global de botões: roxo preenchido e texto branco */
button, .btn, .btn-primary, .btn-light, .btn-danger, .mobile-toggle, .actions a, .form-card button, .navlinks a.btn {
  background: #6d28d9 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border: 1px solid #6d28d9 !important;
  box-shadow: 0 8px 20px rgba(109,40,217,.18);
}
button:hover, .btn:hover, .btn-primary:hover, .btn-light:hover, .btn-danger:hover, .mobile-toggle:hover, .actions a:hover {
  background: #5b21b6 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}


/* Tipografia global Descendants RPG */
:root {
  --font-title: "Amsterdam Four", "Brush Script MT", cursive;
  --font-subtitle: "Montserrat", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-button: "Poppins", sans-serif;
}
body { font-family: var(--font-body), Arial, sans-serif !important; }
h1, h2, h3, h4, h5, h6,
.page-title, .section-title, .hero-title, .welcome-copy h1 {
  font-family: var(--font-title) !important;
  font-weight: 400 !important;
}
.subtitle, .section-heading, .section-heading h2,
.quick-label, .kicker, .form-card > p, .ficha-intro p {
  font-family: var(--font-subtitle) !important;
  font-weight: 500;
}
p, li, label, input, textarea, select, small, .muted, .description {
  font-family: var(--font-body), sans-serif;
  font-weight: 400;
}
button, .btn, .primary-action, .primary-small, .secondary-small,
.nav-link, .nav-exit, .section-link, .mobile-nav button, .ficha-button,
a.button, input[type="submit"] {
  font-family: var(--font-button), sans-serif !important;
  font-weight: 600 !important;
}


/* V15 — botões mais compactos, modernos e consistentes */
button, .btn, .btn-primary, .btn-light, .btn-danger, .mobile-toggle,
.actions a, .form-card button, .navlinks a.btn, input[type="submit"],
input[type="button"] {
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: .01em;
  box-shadow: 0 3px 8px rgba(61, 32, 102, .10);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
button:hover, .btn:hover, .actions a:hover, .form-card button:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(61, 32, 102, .16);
}
.navlinks.open a { min-height: 38px; padding: 8px 12px; }
.mobile-toggle { width: 40px; min-width: 40px; padding: 0; }
@media (max-width: 600px) {
  .btn, .btn-primary, .btn-light, .btn-danger, .actions a,
  .form-card button, input[type="submit"], input[type="button"] {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 12.5px;
  }
}


/* V16 — Uncial Antiqua nos títulos e botões; botões contornados */
:root {
  --font-title: "Uncial Antiqua", serif;
  --font-button: "Uncial Antiqua", serif;
}
h1, h2, h3, h4, h5, h6,
.page-title, .hero-title, .section-title, .brand-title, .logo-title {
  font-family: "Uncial Antiqua", serif !important;
}
button, .btn, .btn-primary, .btn-light, .btn-danger,
.primary-action, .secondary-action, .primary-small, .secondary-small,
.nav-link, .nav-exit, .menu-button, .section-link, .mobile-nav a,
.mobile-nav button, .record-actions a, .record-actions button,
.ficha-button, a.button, input[type="submit"], input[type="button"] {
  font-family: "Uncial Antiqua", serif !important;
  font-weight: 400 !important;
  background: transparent !important;
  color: #171717 !important;
  -webkit-text-fill-color: #171717 !important;
  border: 1px solid #171717 !important;
  box-shadow: none !important;
}
button:hover, .btn:hover, .btn-primary:hover, .btn-light:hover, .btn-danger:hover,
.primary-action:hover, .secondary-action:hover, .primary-small:hover, .secondary-small:hover,
.nav-link:hover, .nav-exit:hover, .menu-button:hover, .section-link:hover,
.mobile-nav a:hover, .mobile-nav button:hover, .record-actions a:hover,
.record-actions button:hover, .ficha-button:hover, a.button:hover,
input[type="submit"]:hover, input[type="button"]:hover {
  background: rgba(23, 23, 23, .055) !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  border-color: #000 !important;
  box-shadow: none !important;
  transform: translateY(-1px);
}

/* Logo oficial do Projeto Descendentes */
.site-logo {
  display: inline-block;
  width: auto;
  height: 44px;
  max-width: min(190px, 42vw);
  object-fit: contain;
  vertical-align: middle;
}
@media (max-width: 600px) {
  .site-logo { height: 36px; max-width: 145px; }
}

/* Logo oficial do Projeto Descendentes */
.site-logo {
  display: inline-block;
  width: auto;
  height: 44px;
  max-width: min(190px, 42vw);
  object-fit: contain;
  vertical-align: middle;
}
@media (max-width: 600px) {
  .site-logo { height: 36px; max-width: 145px; }
}

/* Logo oficial do Projeto Descendentes */
.site-logo {
  display: inline-block;
  width: auto;
  height: 44px;
  max-width: min(190px, 42vw);
  object-fit: contain;
  vertical-align: middle;
}
@media (max-width: 600px) {
  .site-logo { height: 36px; max-width: 145px; }
}

/* Logo oficial do Projeto Descendentes */
.site-logo {
  display: inline-block;
  width: auto;
  height: 44px;
  max-width: min(190px, 42vw);
  object-fit: contain;
  vertical-align: middle;
}
@media (max-width: 600px) {
  .site-logo { height: 36px; max-width: 145px; }
}






/* Rodapé global — classificação indicativa e aviso legal */
.site-footer {
  margin-top: 54px;
  background: #08060d;
  color: #eee8f8;
  border-top: 0;
}
.site-footer-divider {
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, transparent 0%, #6d28d9 16%, #bd83ff 50%, #6d28d9 84%, transparent 100%);
  box-shadow: 0 0 8px rgba(168,85,247,.8), 0 0 20px rgba(109,40,217,.42);
}
.site-footer-inner {
  width: min(1000px, calc(100% - 36px));
  margin: 0 auto;
  padding: 24px 0 22px;
}
.site-footer-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: 850px;
  margin: 0 auto;
  text-align: left;
}
.site-footer-rating-image {
  display: block;
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  object-fit: contain;
}
.site-footer-rating-copy p {
  margin: 0;
  color: #e8e1f2;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 1.65;
}
.site-footer-rating-copy .site-footer-rating-title {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}
.site-footer-separator {
  height: 1px;
  max-width: 850px;
  margin: 20px auto 16px;
  background: linear-gradient(90deg, transparent, rgba(174,130,225,.48), transparent);
}
.site-footer-disclaimer {
  max-width: 850px;
  margin: 0 auto;
  color: #bdb5c9;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  line-height: 1.75;
}
.site-footer-disclaimer strong { color: #e9dcff; font-weight: 600; }
.site-footer-disclaimer a {
  color: #c69aff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.site-footer-disclaimer a:hover { color: #fff; }
@media (max-width: 600px) {
  .site-footer { margin-top: 36px; }
  .site-footer-inner { width: calc(100% - 28px); padding: 20px 0 18px; }
  .site-footer-rating { align-items: flex-start; gap: 12px; }
  .site-footer-rating-image { width: 58px; height: 58px; flex-basis: 58px; }
  .site-footer-rating-copy p { font-size: 11px; }
  .site-footer-rating-copy .site-footer-rating-title { font-size: 12px; }
  .site-footer-disclaimer { font-size: 10px; line-height: 1.7; }
  .site-footer-separator { margin: 16px auto 13px; }
}


/* Ajuste solicitado: rodapé transparente com tipografia preta */
.site-footer {
  background: transparent !important;
  color: #000 !important;
}
.site-footer-rating-copy p,
.site-footer-rating-copy .site-footer-rating-title,
.site-footer-disclaimer,
.site-footer-disclaimer strong {
  color: #000 !important;
}
.site-footer-disclaimer a {
  color: #000 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.site-footer-disclaimer a:hover {
  color: #4b2675 !important;
}


/* V20 — padrão global: botões sem preenchimento, contorno roxo e texto preto */
button,
.btn,
.btn-primary,
.btn-light,
.btn-danger,
.mobile-toggle,
.actions a,
.form-card button,
.navlinks a.btn,
input[type="submit"],
input[type="button"],
.primary-action,
.secondary-action,
.primary-small,
.secondary-small,
.nav-link,
.nav-exit,
.menu-button,
.section-link,
.mobile-nav a,
.mobile-nav button,
.record-actions a,
.record-actions button,
.ficha-button,
a.button {
  background: transparent !important;
  background-color: transparent !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  border: 1px solid #7c3aed !important;
  box-shadow: none !important;
  font-weight: 400 !important;
}
button:hover,
.btn:hover,
.btn-primary:hover,
.btn-light:hover,
.btn-danger:hover,
.mobile-toggle:hover,
.actions a:hover,
.form-card button:hover,
.navlinks a.btn:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.primary-action:hover,
.secondary-action:hover,
.primary-small:hover,
.secondary-small:hover,
.nav-link:hover,
.nav-exit:hover,
.menu-button:hover,
.section-link:hover,
.mobile-nav a:hover,
.mobile-nav button:hover,
.record-actions a:hover,
.record-actions button:hover,
.ficha-button:hover,
a.button:hover {
  background: rgba(124, 58, 237, .07) !important;
  background-color: rgba(124, 58, 237, .07) !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  border-color: #6d28d9 !important;
  box-shadow: none !important;
}
button:focus-visible,
.btn:focus-visible,
a.button:focus-visible,
.ficha-button:focus-visible,
input[type="submit"]:focus-visible,
input[type="button"]:focus-visible {
  outline: 2px solid rgba(124, 58, 237, .35) !important;
  outline-offset: 2px;
}


/* V21 — sem preenchimento roxo ao clicar, pressionar ou focar */
button:active,
.btn:active,
.btn-primary:active,
.btn-light:active,
.btn-danger:active,
.mobile-toggle:active,
.actions a:active,
.form-card button:active,
.navlinks a.btn:active,
input[type="submit"]:active,
input[type="button"]:active,
.primary-action:active,
.secondary-action:active,
.primary-small:active,
.secondary-small:active,
.nav-link:active,
.nav-exit:active,
.menu-button:active,
.section-link:active,
.mobile-nav a:active,
.mobile-nav button:active,
.record-actions a:active,
.record-actions button:active,
.ficha-button:active,
a.button:active,
button:focus,
.btn:focus,
.btn-primary:focus,
.btn-light:focus,
.btn-danger:focus,
.mobile-toggle:focus,
.actions a:focus,
.form-card button:focus,
.navlinks a.btn:focus,
input[type="submit"]:focus,
input[type="button"]:focus,
.primary-action:focus,
.secondary-action:focus,
.primary-small:focus,
.secondary-small:focus,
.nav-link:focus,
.nav-exit:focus,
.menu-button:focus,
.section-link:focus,
.mobile-nav a:focus,
.mobile-nav button:focus,
.record-actions a:focus,
.record-actions button:focus,
.ficha-button:focus,
a.button:focus {
  background: transparent !important;
  background-color: transparent !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  border-color: #7c3aed !important;
  box-shadow: none !important;
}


/* V22 — somente o texto dos botões em roxo suave */
button,
.btn,
.btn-primary,
.btn-light,
.btn-danger,
.mobile-toggle,
.actions a,
.form-card button,
.navlinks a.btn,
input[type="submit"],
input[type="button"],
.primary-action,
.secondary-action,
.primary-small,
.secondary-small,
.nav-link,
.nav-exit,
.menu-button,
.section-link,
.mobile-nav a,
.mobile-nav button,
.record-actions a,
.record-actions button,
.ficha-button,
a.button {
  color: #8b6ac8 !important;
  -webkit-text-fill-color: #8b6ac8 !important;
  background: transparent !important;
  background-color: transparent !important;
  border-color: #7c3aed !important;
  box-shadow: none !important;
}
button:hover,
.btn:hover,
.btn-primary:hover,
.btn-light:hover,
.btn-danger:hover,
.mobile-toggle:hover,
.actions a:hover,
.form-card button:hover,
.navlinks a.btn:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.primary-action:hover,
.secondary-action:hover,
.primary-small:hover,
.secondary-small:hover,
.nav-link:hover,
.nav-exit:hover,
.menu-button:hover,
.section-link:hover,
.mobile-nav a:hover,
.mobile-nav button:hover,
.record-actions a:hover,
.record-actions button:hover,
.ficha-button:hover,
a.button:hover,
button:active,
.btn:active,
.btn-primary:active,
.btn-light:active,
.btn-danger:active,
.mobile-toggle:active,
.actions a:active,
.form-card button:active,
.navlinks a.btn:active,
input[type="submit"]:active,
input[type="button"]:active,
.primary-action:active,
.secondary-action:active,
.primary-small:active,
.secondary-small:active,
.nav-link:active,
.nav-exit:active,
.menu-button:active,
.section-link:active,
.mobile-nav a:active,
.mobile-nav button:active,
.record-actions a:active,
.record-actions button:active,
.ficha-button:active,
a.button:active,
button:focus,
.btn:focus,
.btn-primary:focus,
.btn-light:focus,
.btn-danger:focus,
.mobile-toggle:focus,
.actions a:focus,
.form-card button:focus,
.navlinks a.btn:focus,
input[type="submit"]:focus,
input[type="button"]:focus,
.primary-action:focus,
.secondary-action:focus,
.primary-small:focus,
.secondary-small:focus,
.nav-link:focus,
.nav-exit:focus,
.menu-button:focus,
.section-link:focus,
.mobile-nav a:focus,
.mobile-nav button:focus,
.record-actions a:focus,
.record-actions button:focus,
.ficha-button:focus,
a.button:focus {
  color: #8b6ac8 !important;
  -webkit-text-fill-color: #8b6ac8 !important;
  background: transparent !important;
  background-color: transparent !important;
  border-color: #7c3aed !important;
  box-shadow: none !important;
}


/* Correção específica — CTA "Criar conta" da página inicial */
.actions .btn-primary,
a.btn.btn-primary[href="cadastro.html"],
.navlinks a.btn.btn-primary[href="cadastro.html"] {
  color: #8b6ac8 !important;
  -webkit-text-fill-color: #8b6ac8 !important;
  opacity: 1 !important;
  visibility: visible !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 1px solid #7c3aed !important;
  text-shadow: none !important;
  mix-blend-mode: normal !important;
}
.actions .btn-primary *,
a.btn.btn-primary[href="cadastro.html"] *,
.navlinks a.btn.btn-primary[href="cadastro.html"] * {
  color: #8b6ac8 !important;
  -webkit-text-fill-color: #8b6ac8 !important;
}
.actions .btn-primary:hover,
.actions .btn-primary:focus,
.actions .btn-primary:active,
a.btn.btn-primary[href="cadastro.html"]:hover,
a.btn.btn-primary[href="cadastro.html"]:focus,
a.btn.btn-primary[href="cadastro.html"]:active,
.navlinks a.btn.btn-primary[href="cadastro.html"]:hover,
.navlinks a.btn.btn-primary[href="cadastro.html"]:focus,
.navlinks a.btn.btn-primary[href="cadastro.html"]:active {
  color: #8b6ac8 !important;
  -webkit-text-fill-color: #8b6ac8 !important;
  background: transparent !important;
  background-color: transparent !important;
  border-color: #7c3aed !important;
  opacity: 1 !important;
}


/* Página inicial: CTAs e menu móvel corrigidos */
.hero .actions .btn-primary { background: #6d28d9 !important; color: #fff !important; -webkit-text-fill-color: #fff !important; border: 1px solid #6d28d9 !important; }
.hero .actions .btn-light { background: #fff !important; color: #6d28d9 !important; -webkit-text-fill-color: #6d28d9 !important; border: 1px solid #d9c7f5 !important; }
.hero .actions .btn-whatsapp { display: inline-flex; align-items: center; justify-content: center; gap: 9px; background: linear-gradient(145deg,#168b53 0%,#21b56b 48%,#0e7544 100%) !important; color: #fff !important; -webkit-text-fill-color: #fff !important; border: 1px solid #0c7544 !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 5px 14px rgba(10,100,55,.25) !important; }
.hero .actions .btn-whatsapp:hover { background: linear-gradient(145deg,#117646,#159957) !important; color: #fff !important; -webkit-text-fill-color: #fff !important; }
.hero .actions .btn-whatsapp svg { flex: 0 0 21px; }
@media(max-width:850px) { .topbar nav { min-height:72px; height:auto; } .navlinks.open { display:flex !important; position:absolute; top:calc(100% - 1px); left:0; right:0; z-index:100; max-height:calc(100vh - 80px); overflow-y:auto; background:#fff; padding:14px 4%; gap:8px; flex-direction:column; align-items:stretch; border-bottom:1px solid var(--line); box-shadow:0 14px 30px rgba(0,0,0,.12); } .navlinks.open a { width:100%; min-height:44px; display:flex; align-items:center; justify-content:center; padding:10px 12px; border-radius:10px; } .mobile-toggle { width:auto; min-width:68px; padding:8px 12px !important; } .hero .actions { align-items:stretch; } .hero .actions a { width:100%; } }

/* Página inicial: os dois CTAs principais têm fundo roxo e texto branco. */
.hero .actions a.btn-primary, .hero .actions a.btn-primary:visited, .hero .actions a.btn-primary:hover, .hero .actions a.btn-primary:focus, .hero .actions a.btn-primary:active { background: linear-gradient(135deg,#6d28d9,#8b5cf6) !important; color:#fff !important; -webkit-text-fill-color:#fff !important; border:1px solid #6d28d9 !important; }
.hero .actions a.btn-whatsapp { color:#fff !important; -webkit-text-fill-color:#fff !important; }

/* Contador comunitário interativo — sem imagem decorativa ou iniciais */
.community-counter{padding:clamp(22px,4vw,34px);position:relative;overflow:hidden;background:linear-gradient(145deg,rgba(255,255,255,.97),rgba(247,241,255,.96));border:1px solid rgba(130,83,183,.18)}
.community-counter:before{content:"";position:absolute;width:190px;height:190px;right:-85px;top:60px;border-radius:50%;background:radial-gradient(circle,rgba(126,67,190,.13),transparent 70%);pointer-events:none}
.counter-topline,.counter-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}
.counter-live-label{font-size:.68rem;font-weight:900;letter-spacing:.13em;color:#6d28d9}
.live-dot,.counter-status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#28a86b;margin-right:5px;vertical-align:middle;box-shadow:0 0 0 3px rgba(40,168,107,.12)}
.counter-number-wrap{display:flex;align-items:center;gap:14px;margin-top:26px}
.counter-users-icon{display:grid;place-items:center;width:56px;height:56px;flex:0 0 56px;border-radius:18px;background:linear-gradient(145deg,#eee3ff,#fff);color:#6d28d9;border:1px solid rgba(109,40,217,.12)}
.counter-number{display:block;font-size:clamp(2.8rem,6vw,4.4rem);line-height:1;letter-spacing:-.065em;font-weight:900;color:#51218f;font-variant-numeric:tabular-nums}
.counter-number.counter-error{font-size:3rem;color:#857b91}
.counter-title{font-size:1.05rem;font-weight:800;margin:12px 0 3px!important;color:#2e2638}
.counter-caption{font-size:.9rem!important;line-height:1.5;margin:0!important;min-height:2.7em}
.counter-bottom{margin-top:24px;padding-top:15px;border-top:1px solid rgba(130,83,183,.14);font-size:.76rem;color:#766b83}
.counter-status-dot{width:6px;height:6px;background:#28a86b;box-shadow:none}
.counter-refresh{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(109,40,217,.2);border-radius:10px;background:#fff;color:#5b2a92;padding:8px 10px;font:inherit;font-weight:800;cursor:pointer;transition:background .2s,transform .2s}
.counter-refresh:hover{background:#f4edff;transform:translateY(-1px)}
.counter-refresh:disabled{opacity:.65;cursor:wait}
.counter-refresh.is-loading svg{animation:counter-spin .8s linear infinite}
@keyframes counter-spin{to{transform:rotate(360deg)}}
@media(max-width:420px){.counter-bottom{align-items:flex-start;flex-direction:column}.counter-number-wrap{gap:10px}.counter-users-icon{width:48px;height:48px;flex-basis:48px}}
@media(prefers-reduced-motion:reduce){.counter-refresh,.counter-number{transition:none}.counter-refresh.is-loading svg{animation:none}}


/* V23 — padrão solicitado: TODOS os botões preenchidos em roxo com texto branco. */
:where(button, input[type="button"], input[type="submit"], input[type="reset"], .btn, .admin-btn, .admin-tab, .admin-tabs button, .primary-action, .secondary-action, .primary-small, .secondary-small, .nav-link, .nav-exit, .menu-button, .section-link, .mobile-nav a, .mobile-nav button, .record-actions a, .record-actions button, .ficha-button, .ficha-start, a.button, .settings-cancel, .photo-select-button, .counter-refresh, .quick-access-card a, .actions a[role="button"], [role="button"]) {
  background: #6d28d9 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: #6d28d9 !important;
  text-decoration: none;
  opacity: 1;
}
:where(button, input[type="button"], input[type="submit"], input[type="reset"], .btn, .admin-btn, .admin-tab, .admin-tabs button, .primary-action, .secondary-action, .primary-small, .secondary-small, .nav-link, .nav-exit, .menu-button, .section-link, .mobile-nav a, .mobile-nav button, .record-actions a, .record-actions button, .ficha-button, .ficha-start, a.button, .settings-cancel, .photo-select-button, .counter-refresh, .quick-access-card a, .actions a[role="button"], [role="button"]):hover,
:where(button, input[type="button"], input[type="submit"], input[type="reset"], .btn, .admin-btn, .admin-tab, .admin-tabs button, .primary-action, .secondary-action, .primary-small, .secondary-small, .nav-link, .nav-exit, .menu-button, .section-link, .mobile-nav a, .mobile-nav button, .record-actions a, .record-actions button, .ficha-button, .ficha-start, a.button, .settings-cancel, .photo-select-button, .counter-refresh, .quick-access-card a, .actions a[role="button"], [role="button"]):focus,
:where(button, input[type="button"], input[type="submit"], input[type="reset"], .btn, .admin-btn, .admin-tab, .admin-tabs button, .primary-action, .secondary-action, .primary-small, .secondary-small, .nav-link, .nav-exit, .menu-button, .section-link, .mobile-nav a, .mobile-nav button, .record-actions a, .record-actions button, .ficha-button, .ficha-start, a.button, .settings-cancel, .photo-select-button, .counter-refresh, .quick-access-card a, .actions a[role="button"], [role="button"]):active,
:where(button, input[type="button"], input[type="submit"], input[type="reset"], .btn, .admin-btn, .admin-tab, .admin-tabs button, .primary-action, .secondary-action, .primary-small, .secondary-small, .nav-link, .nav-exit, .menu-button, .section-link, .mobile-nav a, .mobile-nav button, .record-actions a, .record-actions button, .ficha-button, .ficha-start, a.button, .settings-cancel, .photo-select-button, .counter-refresh, .quick-access-card a, .actions a[role="button"], [role="button"]):visited {
  background: #6d28d9 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: #6d28d9 !important;
  opacity: 1;
}
:where(button, input[type="button"], input[type="submit"], input[type="reset"], .btn, .admin-btn, .admin-tab, .admin-tabs button, .primary-action, .secondary-action, .primary-small, .secondary-small, .nav-link, .nav-exit, .menu-button, .section-link, .mobile-nav a, .mobile-nav button, .record-actions a, .record-actions button, .ficha-button, .ficha-start, a.button, .settings-cancel, .photo-select-button, .counter-refresh, .quick-access-card a, .actions a[role="button"], [role="button"]) * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
/* O botão de progenitores mantém o texto visível em telas touch, sem depender do hover. */
.quick-access-card a[href*="progenitores"], .quick-access-card a[href*="progenitores"]:hover, .quick-access-card a[href*="progenitores"]:focus, .quick-access-card a[href*="progenitores"]:active, .quick-access-card a[href*="progenitores"]:visited {
  display: inline-flex !important; align-items: center; justify-content: center;
  visibility: visible !important; opacity: 1 !important;
  background: #6d28d9 !important; color: #fff !important;
  -webkit-text-fill-color: #fff !important; border-color: #6d28d9 !important;
}

/* Ajustes de especificidade para regras antigas da página inicial. */
body .hero .actions .btn-light, body .hero .actions .btn-light:hover, body .hero .actions .btn-light:focus, body .hero .actions .btn-whatsapp, body .hero .actions .btn-whatsapp:hover, body .hero .actions .btn-whatsapp:focus, body .actions .btn-primary, body .actions .btn-primary:hover, body .actions .btn-primary:focus, body .actions .btn-primary:active, body a.btn.btn-primary[href="cadastro.html"], body a.btn.btn-primary[href="cadastro.html"]:hover, body .navlinks a.btn.btn-primary[href="cadastro.html"] { background:#6d28d9 !important; color:#fff !important; -webkit-text-fill-color:#fff !important; border-color:#6d28d9 !important; opacity:1 !important; visibility:visible !important; }
body .hero .actions .btn-light *, body .hero .actions .btn-whatsapp *, body .actions .btn-primary *, body a.btn.btn-primary[href="cadastro.html"] * { color:#fff !important; -webkit-text-fill-color:#fff !important; }


/* Ajustes finais solicitados: WhatsApp metalizado, card Avatares sem hover e texto do contador visível. */
body .hero .actions .btn-whatsapp,
body .hero .actions .btn-whatsapp:hover,
body .hero .actions .btn-whatsapp:focus,
body .hero .actions .btn-whatsapp:active,
body .hero .actions .btn-whatsapp:visited {
  background: linear-gradient(135deg, #3f8f59 0%, #267342 28%, #62a873 48%, #1f6338 72%, #4a9a61 100%) !important;
  color: #ffffff !important; -webkit-text-fill-color: #ffffff !important;
  border: 1px solid #78b987 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 5px 14px rgba(20,90,45,.25) !important;
  opacity: 1 !important; visibility: visible !important; filter: none !important;
}
body .hero .actions .btn-whatsapp *,
body .hero .actions .btn-whatsapp:hover *,
body .hero .actions .btn-whatsapp:focus * { color:#fff !important; -webkit-text-fill-color:#fff !important; }

/* Acesso rápido: o botão de Avatares usados não depende de hover/touch para exibir texto. */
.quick-access-card a[href*="avatares-usados"],
.quick-access-card a[href*="avatares-usados"]:hover,
.quick-access-card a[href*="avatares-usados"]:focus,
.quick-access-card a[href*="avatares-usados"]:active,
.quick-access-card a[href*="avatares-usados"]:visited {
  display:inline-flex !important; align-items:center !important; justify-content:center !important;
  background:#6d28d9 !important; color:#fff !important; -webkit-text-fill-color:#fff !important;
  border-color:#6d28d9 !important; opacity:1 !important; visibility:visible !important;
  transform:none !important; filter:none !important; box-shadow:none !important;
  transition:none !important;
}
.quick-access-card a[href*="avatares-usados"] *,
.quick-access-card a[href*="avatares-usados"]:hover * {
  color:#fff !important; -webkit-text-fill-color:#fff !important; opacity:1 !important; visibility:visible !important;
}

/* Garante que o botão de atualizar do contador mostre o rótulo ao lado do ícone. */
#refreshUsersCount.counter-refresh {
  display:inline-flex !important; align-items:center !important; justify-content:center !important;
  gap:8px !important; min-width:112px !important; width:auto !important;
  padding:9px 13px !important; white-space:nowrap !important;
  font-size:14px !important; line-height:1.2 !important;
}
#refreshUsersCount.counter-refresh span {
  display:inline !important; visibility:visible !important; opacity:1 !important;
  font-size:14px !important; line-height:1.2 !important; color:#fff !important;
  -webkit-text-fill-color:#fff !important; width:auto !important; height:auto !important;
  overflow:visible !important; clip:auto !important;
}


/* V24 — padrão global definitivo: sem efeitos de hover nos controles; botões roxos e texto branco. */
:where(a,button,input[type="button"],input[type="submit"],input[type="reset"],[role="button"],.btn,.nav-link,.nav-exit,.menu-button,.section-link,.mobile-nav a,.mobile-nav button,.record-actions a,.record-actions button,.ficha-button,.ficha-start,.counter-refresh,.quick-access-card a):hover,
:where(a,button,input[type="button"],input[type="submit"],input[type="reset"],[role="button"],.btn,.nav-link,.nav-exit,.menu-button,.section-link,.mobile-nav a,.mobile-nav button,.record-actions a,.record-actions button,.ficha-button,.ficha-start,.counter-refresh,.quick-access-card a):focus,
:where(a,button,input[type="button"],input[type="submit"],input[type="reset"],[role="button"],.btn,.nav-link,.nav-exit,.menu-button,.section-link,.mobile-nav a,.mobile-nav button,.record-actions a,.record-actions button,.ficha-button,.ficha-start,.counter-refresh,.quick-access-card a):active {
  transition: none !important;
  transform: none !important;
  filter: none !important;
  animation: none !important;
  opacity: 1 !important;
}
:where(button,input[type="button"],input[type="submit"],input[type="reset"],[role="button"],.btn,.nav-link,.nav-exit,.menu-button,.section-link,.mobile-nav a,.mobile-nav button,.record-actions a,.record-actions button,.ficha-button,.ficha-start,.counter-refresh,.quick-access-card a):not(.btn-whatsapp):not(.global-user-trigger):not(.global-user-item),
:where(button,input[type="button"],input[type="submit"],input[type="reset"],[role="button"],.btn,.nav-link,.nav-exit,.menu-button,.section-link,.mobile-nav a,.mobile-nav button,.record-actions a,.record-actions button,.ficha-button,.ficha-start,.counter-refresh,.quick-access-card a):not(.btn-whatsapp):not(.global-user-trigger):not(.global-user-item):hover,
:where(button,input[type="button"],input[type="submit"],input[type="reset"],[role="button"],.btn,.nav-link,.nav-exit,.menu-button,.section-link,.mobile-nav a,.mobile-nav button,.record-actions a,.record-actions button,.ficha-button,.ficha-start,.counter-refresh,.quick-access-card a):not(.btn-whatsapp):not(.global-user-trigger):not(.global-user-item):focus,
:where(button,input[type="button"],input[type="submit"],input[type="reset"],[role="button"],.btn,.nav-link,.nav-exit,.menu-button,.section-link,.mobile-nav a,.mobile-nav button,.record-actions a,.record-actions button,.ficha-button,.ficha-start,.counter-refresh,.quick-access-card a):not(.btn-whatsapp):not(.global-user-trigger):not(.global-user-item):active {
  background: #6d28d9 !important;
  background-color: #6d28d9 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border-color: #6d28d9 !important;
}
:where(button,input[type="button"],input[type="submit"],input[type="reset"],[role="button"],.btn,.nav-link,.nav-exit,.menu-button,.section-link,.mobile-nav a,.mobile-nav button,.record-actions a,.record-actions button,.ficha-button,.ficha-start,.counter-refresh,.quick-access-card a):not(.btn-whatsapp):not(.global-user-trigger):not(.global-user-item) *,
:where(button,input[type="button"],input[type="submit"],input[type="reset"],[role="button"],.btn,.nav-link,.nav-exit,.menu-button,.section-link,.mobile-nav a,.mobile-nav button,.record-actions a,.record-actions button,.ficha-button,.ficha-start,.counter-refresh,.quick-access-card a):not(.btn-whatsapp):not(.global-user-trigger):not(.global-user-item):hover * {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
/* Hamburger padronizado com os demais botões do site. */
.mobile-toggle,
.mobile-toggle:hover,
.mobile-toggle:focus,
.mobile-toggle:active {
  display: none;
  min-width: 42px !important;
  min-height: 42px !important;
  padding: 8px 13px !important;
  border: 1px solid #6d28d9 !important;
  border-radius: 10px !important;
  background: #6d28d9 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: none !important;
  transition: none !important;
  transform: none !important;
}
@media (max-width: 850px) { .mobile-toggle, .mobile-toggle:hover, .mobile-toggle:focus, .mobile-toggle:active { display: inline-flex !important; align-items:center; justify-content:center; } }
/* Exceção intencional: o WhatsApp mantém o verde metalizado. */
body .hero .actions .btn-whatsapp,
body .hero .actions .btn-whatsapp:hover,
body .hero .actions .btn-whatsapp:focus,
body .hero .actions .btn-whatsapp:active,
body .hero .actions .btn-whatsapp:visited {
  background: linear-gradient(145deg,#168b53 0%,#21b56b 48%,#0e7544 100%) !important;
  background-color: #168b53 !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  border-color:#0c7544 !important;
  transform:none !important;
  filter:none !important;
  transition:none !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 5px 14px rgba(10,100,55,.25) !important;
}
body .hero .actions .btn-whatsapp *, body .hero .actions .btn-whatsapp:hover * { color:#fff !important; -webkit-text-fill-color:#fff !important; }
/* Links comuns também não mudam de aparência só por passar o mouse. */
a:hover { transition:none !important; transform:none !important; filter:none !important; }

