/**
 * EDUVE — marca roxo #6F4EF5 + preto/neutros.
 * Sobrescreve variáveis do theme-twelve que ainda herdavam RGB/tons em verde.
 */

:root {
  --color-primary: #6f4ef5;
  --bs-primary: #6f4ef5;
  --bs-primary-rgb: 111, 78, 245;

  --color-primary-10: #faf9ff;
  --bs-primary-10-rgb: 250, 249, 255;
  --color-primary-25: #f5f3ff;
  --bs-primary-25-rgb: 245, 243, 255;
  --color-primary-50: #ede9fe;
  --bs-primary-50-rgb: 237, 233, 254;
  --color-primary-100: #ddd6fe;
  --bs-primary-100-rgb: 221, 214, 254;
  --color-primary-200: #c4b5fd;
  --bs-primary-200-rgb: 196, 181, 253;
  --color-primary-300: #a78bfa;
  --bs-primary-300-rgb: 167, 139, 250;
  --color-primary-400: #8b5cf6;
  --bs-primary-400-rgb: 139, 92, 246;
  --color-primary-500: #6f4ef5;
  --bs-primary-500-rgb: 111, 78, 245;
  --color-primary-600: #5a3fd4;
  --bs-primary-600-rgb: 90, 63, 212;
  --color-primary-700: #4c35b8;
  --bs-primary-700-rgb: 76, 53, 184;
  --color-primary-800: #3d2b94;
  --bs-primary-800-rgb: 61, 43, 148;
  --color-primary-900: #2e2070;
  --bs-primary-900-rgb: 46, 32, 112;
  --color-primary-950: #1f164c;
  --bs-primary-950-rgb: 31, 22, 76;

  --color-secondary: #f4f4f6;
  --bs-secondary-rgb: 244, 244, 246;
  --color-secondary-10: #fcfcfd;
  --bs-secondary-10-rgb: 252, 252, 253;
  --color-secondary-25: #f9f9fb;
  --bs-secondary-25-rgb: 249, 249, 251;
  --color-secondary-50: #f2f2f5;
  --bs-secondary-50-rgb: 242, 242, 245;
  --color-secondary-100: #e8e8ed;
  --bs-secondary-100-rgb: 232, 232, 237;
  --color-secondary-200: #d1d1d9;
  --bs-secondary-200-rgb: 209, 209, 217;
  --color-secondary-300: #b4b4c0;
  --bs-secondary-300-rgb: 180, 180, 192;
  --color-secondary-400: #9191a3;
  --bs-secondary-400-rgb: 145, 145, 163;
  --color-secondary-500: #73738a;
  --bs-secondary-500-rgb: 115, 115, 138;
  --color-secondary-600: #5c5c6f;
  --bs-secondary-600-rgb: 92, 92, 111;
  --color-secondary-700: #4a4a5a;
  --bs-secondary-700-rgb: 74, 74, 90;
  --color-secondary-800: #3d3d4a;
  --bs-secondary-800-rgb: 61, 61, 74;
  --color-secondary-900: #34343f;
  --bs-secondary-900-rgb: 52, 52, 63;
  --color-secondary-950: #22222a;
  --bs-secondary-950-rgb: 34, 34, 42;

  --color-tertiary: #f3f0ff;
  --bs-tertiary-rgb: 243, 240, 255;
  --color-tertiary-10: #fcfbff;
  --bs-tertiary-10-rgb: 252, 251, 255;
  --color-tertiary-25: #f8f6ff;
  --bs-tertiary-25-rgb: 248, 246, 255;
  --color-tertiary-50: #efecfc;
  --bs-tertiary-50-rgb: 239, 236, 252;
  --color-tertiary-100: #e4def8;
  --bs-tertiary-100-rgb: 228, 222, 248;
  --color-tertiary-200: #cdc4f0;
  --bs-tertiary-200-rgb: 205, 196, 240;
  --color-tertiary-300: #afa3e6;
  --bs-tertiary-300-rgb: 175, 163, 230;
  --color-tertiary-400: #8f7fdb;
  --bs-tertiary-400-rgb: 143, 127, 219;
  --color-tertiary-500: #7360ce;
  --bs-tertiary-500-rgb: 115, 96, 206;
  --color-tertiary-600: #5e4cb3;
  --bs-tertiary-600-rgb: 94, 76, 179;
  --color-tertiary-700: #4e3f95;
  --bs-tertiary-700-rgb: 78, 63, 149;
  --color-tertiary-800: #41367a;
  --bs-tertiary-800-rgb: 65, 54, 122;
  --color-tertiary-900: #382f63;
  --bs-tertiary-900-rgb: 56, 47, 99;
  --color-tertiary-950: #221c3c;
  --bs-tertiary-950-rgb: 34, 28, 60;

  --color-quaternary: #ebe8f4;
  --bs-quaternary-rgb: 235, 232, 244;
  --color-quaternary-10: #fbfafd;
  --bs-quaternary-10-rgb: 251, 250, 253;
  --color-quaternary-25: #f5f3f9;
  --bs-quaternary-25-rgb: 245, 243, 249;
  --color-quaternary-50: #ebe7f3;
  --bs-quaternary-50-rgb: 235, 231, 243;
  --color-quaternary-100: #dcd5eb;
  --bs-quaternary-100-rgb: 220, 213, 235;
  --color-quaternary-200: #c4b8de;
  --bs-quaternary-200-rgb: 196, 184, 222;
  --color-quaternary-300: #a896cc;
  --bs-quaternary-300-rgb: 168, 150, 204;
  --color-quaternary-400: #8770b7;
  --bs-quaternary-400-rgb: 135, 112, 183;
  --color-quaternary-500: #6c549e;
  --bs-quaternary-500-rgb: 108, 84, 158;
  --color-quaternary-600: #5a4585;
  --bs-quaternary-600-rgb: 90, 69, 133;
  --color-quaternary-700: #4c3a6d;
  --bs-quaternary-700-rgb: 76, 58, 109;
  --color-quaternary-800: #403059;
  --bs-quaternary-800-rgb: 64, 48, 89;
  --color-quaternary-900: #372a4b;
  --bs-quaternary-900-rgb: 55, 42, 75;
  --color-quaternary-950: #21182d;
  --bs-quaternary-950-rgb: 33, 24, 45;
}

/* Utilitários com hex fixo no CSS empacotado (menta → lavanda) */
.from-primary {
  --uc-gradient-from: #6f4ef5;
}

.to-primary-25 {
  --uc-gradient-to: rgb(245, 243, 255);
}

.to-primary-100 {
  --uc-gradient-to: rgb(221, 214, 254);
}

.to-primary-700 {
  --uc-gradient-to: rgb(76, 53, 184);
}

.to-primary-800 {
  --uc-gradient-to: rgb(61, 43, 148);
}

.from-tertiary {
  --uc-gradient-from: #f3f0ff;
}

.to-tertiary {
  --uc-gradient-to: #f3f0ff;
}

.from-quaternary {
  --uc-gradient-from: #ebe8f4;
}

.to-quaternary {
  --uc-gradient-to: #ebe8f4;
}

:where(.uc-dark) .dark\:from-primary-700 {
  --uc-gradient-from: rgb(139, 92, 246);
}

.btn.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #6f4ef5;
  --bs-btn-border-color: #6f4ef5;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #5a3fd4;
  --bs-btn-hover-border-color: #5a3fd4;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #4c35b8;
  --bs-btn-active-border-color: #4c35b8;
  --bs-btn-focus-shadow-rgb: 111, 78, 245;
}

.btn-soft-primary {
  --bs-btn-color: #6f4ef5;
  --bs-btn-bg: rgba(111, 78, 245, 0.12);
  --bs-btn-border-color: transparent;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #6f4ef5;
  --bs-btn-hover-border-color: #6f4ef5;
}

.btn-outline-primary {
  --bs-btn-color: #6f4ef5;
  --bs-btn-border-color: #6f4ef5;
  --bs-btn-hover-bg: #6f4ef5;
  --bs-btn-hover-border-color: #6f4ef5;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: #4c35b8;
  --bs-btn-active-border-color: #4c35b8;
}

.swiper-pagination-bullet-active {
  background: #6f4ef5;
}

/* Páginas legais (Termos, Privacidade) */
.eduve-legal section + section {
  padding-top: 0.25rem;
}

.eduve-legal h2 {
  color: inherit;
  scroll-margin-top: 6rem;
}

.eduve-legal p,
.eduve-legal li {
  line-height: 1.75;
  opacity: 0.92;
}

.eduve-legal ul li::marker {
  color: var(--color-primary);
}

.eduve-legal .table {
  --bs-table-bg: transparent;
}

.eduve-legal .table th,
.eduve-legal .table td {
  vertical-align: top;
  padding: 0.75rem 1rem;
}

.dark .eduve-legal .table-bordered {
  border-color: rgba(255, 255, 255, 0.12);
}

.dark .eduve-legal .table-bordered th,
.dark .eduve-legal .table-bordered td {
  border-color: rgba(255, 255, 255, 0.12);
}

/* Botões "Agendar demonstração" — texto em uma linha */
.eduve-btn-cta,
#cta .client-feedback .btn {
  white-space: nowrap;
  flex-shrink: 0;
}

#uc-menu-panel .eduve-btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.uc-navbar-right > .btn.btn-primary.eduve-btn-cta {
  flex-shrink: 0;
}

/* Conteúdo de artigos do blog */
/* Lexend aplica capitular gigante em .post-content — desativamos para texto uniforme */
.blog-details .post-content p::first-letter,
.eduve-blog-content p::first-letter {
  font-size: inherit !important;
  float: none !important;
  line-height: inherit !important;
  margin-right: 0 !important;
  font-weight: inherit !important;
  color: inherit !important;
}

.eduve-blog-content p {
  font-size: inherit;
  line-height: 1.75;
  margin-bottom: 1rem;
  text-transform: none;
}

.eduve-blog-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.eduve-blog-content ul,
.eduve-blog-content ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.eduve-blog-content li + li {
  margin-top: 0.35rem;
}

.eduve-blog-content p.lead {
  font-size: 1.125rem;
  opacity: 0.85;
}

.eduve-blog-content a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Página de detalhe do blog (Lexend blog-details) */
.blog-details .post-lead {
  line-height: 1.6;
}

.blog-details .post-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--color-primary);
  background: var(--color-primary-50, #ede9fe);
  border-radius: 0 0.5rem 0.5rem 0;
  font-style: italic;
  opacity: 0.9;
}

.blog-details .post-content figure {
  margin: 1.5rem 0;
}

.blog-details .post-content figure img {
  border-radius: 0.75rem;
  width: 100%;
}

.blog-details .post-content figcaption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  opacity: 0.65;
  text-align: center;
}

.blog-details .post-nav-link:hover {
  border-color: var(--color-primary-200, #c4b5fd);
  box-shadow: 0 0.2rem 1rem -0.1rem rgba(111, 78, 245, 0.15);
}

.post-related-item:hover {
  border-color: var(--color-primary-200, #c4b5fd);
}

@media (min-width: 768px) {
  .blog-details .post-navigation .text-md-end {
    text-align: end;
  }

  .blog-details .post-navigation .justify-md-end {
    justify-content: flex-end;
  }
}

/* Modal demonstração — feedback de envio */
#demo-form-alert {
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

#demo-form-alert.alert-success {
  background-color: #d1fae5;
  border: 1px solid #10b981;
  color: #047857;
  font-weight: 600;
}

#demo-form-alert.alert-danger {
  background-color: #fee2e2;
  border: 1px solid #f87171;
  color: #b91c1c;
  font-weight: 500;
}
